active_record-annotate
active_record-annotate copied to clipboard
Dont annotate errors by default
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.