active_record-annotate icon indicating copy to clipboard operation
active_record-annotate copied to clipboard

Dont annotate errors by default

Open westonganger opened this issue 6 years ago • 0 comments

I don't want to see error messages being annotated on the top of classes that failed. This happens commonly on parent classes such as ApplicationRecord or other custom ParentModel.

Examples:

  • # # can't find table ''

OR

# Could not dump table "other_db.foobars" because of following NoMethodError
#   undefined method `[]' for nil:NilClass

These messages should not be shown by default. Maybe we could add something like an optional --debug flag to the rake task which would still print these messages.

westonganger avatar Jan 22 '19 18:01 westonganger