There was an error while loading. Please reload this page.
2 parents bc823a1 + bb42457 commit 722b3feCopy full SHA for 722b3fe
lib/annotate.rb
@@ -71,7 +71,7 @@ def self.setup_options(options = {})
71
options[key] = (!ENV[key.to_s].blank?) ? ENV[key.to_s].split(',') : []
72
end
73
74
- if(!options[:model_dir])
+ if(options[:model_dir].empty?)
75
options[:model_dir] = ['app/models']
76
77
0 commit comments