bin/annotate in annotate-2.6.0.beta2 vs bin/annotate in annotate-2.6.0

- old
+ new

@@ -132,9 +132,14 @@ end opts.on('--trace', 'If unable to annotate a file, print the full stack trace, not just the exception message.') do |value| ENV['trace'] = 'yes' end + + opts.on('-I', '--ignore-columns REGEX', "don't annotate columns that match a given REGEX (i.e., `annotate -I '^(id|updated_at|created_at)'`" ) do |regex| + ENV['ignore_columns'] = regex + end + end.parse! options=Annotate.setup_options({ :is_rake => !ENV['is_rake'].blank? }) Annotate.eager_load(options)