Skip to content

Commit 477b641

Browse files
committed
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
2 parents 5177edd + 6bd244b commit 477b641

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/tasks/annotate_models.rake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ task :annotate_models => :environment do
4343
options[:wrapper_close] = Annotate.fallback(ENV['wrapper_close'], ENV['wrapper'])
4444
options[:ignore_columns] = ENV.fetch('ignore_columns', nil)
4545
options[:ignore_routes] = ENV.fetch('ignore_routes', nil)
46+
options[:hide_limit_column_types] = Annotate.fallback(ENV['hide_limit_column_types'], '')
4647

4748
AnnotateModels.do_annotations(options)
4849
end

0 commit comments

Comments
 (0)