Commit 477b641b by Cuong Tran

Merge pull request #326 from mitaku/feature/support_hide_limit_column_types_in_annotate_models_task

Support hide_limit_column_types options in annotate_models.rake
parents 5177edd4 6bd244b6
......@@ -43,6 +43,7 @@ task :annotate_models => :environment do
options[:wrapper_close] = Annotate.fallback(ENV['wrapper_close'], ENV['wrapper'])
options[:ignore_columns] = ENV.fetch('ignore_columns', nil)
options[:ignore_routes] = ENV.fetch('ignore_routes', nil)
options[:hide_limit_column_types] = Annotate.fallback(ENV['hide_limit_column_types'], '')
AnnotateModels.do_annotations(options)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment