We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba95021 commit 9cdf2d3Copy full SHA for 9cdf2d3
lib/annotate/annotate_models.rb
@@ -745,7 +745,8 @@ def parse_options(options = {})
745
end
746
747
def split_model_dir(option_value)
748
- option_value.split(',').map(&:strip).reject(&:empty?)
+ option_value = option_value.is_a?(Array) ? option_value : option_value.split(',')
749
+ option_value.map(&:strip).reject(&:empty?)
750
751
752
# We're passed a name of things that might be
0 commit comments