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.
2 parents 513303a + a355dad commit 2bea946Copy full SHA for 2bea946
lib/tasks/annotate_models.rake
@@ -20,7 +20,7 @@ task :annotate_models => :environment do
20
options[:show_foreign_keys] = Annotate.true?(ENV['show_foreign_keys'])
21
options[:show_indexes] = Annotate.true?(ENV['show_indexes'])
22
options[:simple_indexes] = Annotate.true?(ENV['simple_indexes'])
23
- options[:model_dir] = ENV['model_dir'] ? ENV['model_dir'].split(',') : []
+ options[:model_dir] = ENV['model_dir'] ? ENV['model_dir'].split(',') : ['app/models']
24
options[:include_version] = Annotate.true?(ENV['include_version'])
25
options[:require] = ENV['require'] ? ENV['require'].split(',') : []
26
options[:exclude_tests] = Annotate.true?(ENV['exclude_tests'])
0 commit comments