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 d57ef25 commit e02d122Copy full SHA for e02d122
lib/tasks/annotate_models.rake
@@ -47,7 +47,7 @@ task annotate_models: :environment do
47
options[:ignore_routes] = ENV.fetch('ignore_routes', nil)
48
options[:hide_limit_column_types] = Annotate.fallback(ENV['hide_limit_column_types'], '')
49
options[:hide_default_column_types] = Annotate.fallback(ENV['hide_default_column_types'], '')
50
- options[:with_comment] = Annotate.fallback(ENV['with_comment'], '')
+ options[:with_comment] = Annotate.true?(ENV['with_comment'])
51
52
AnnotateModels.do_annotations(options)
53
end
0 commit comments