We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f1f217 + ed18925 commit 1ecc84aCopy full SHA for 1ecc84a
activesupport/lib/active_support/testing/strict_warnings.rb
@@ -16,7 +16,10 @@ class WarningError < StandardError; end
16
/Failed to validate the schema cache because/,
17
18
# TODO: We need to decide what to do with this.
19
- /Status code :unprocessable_entity is deprecated/
+ /Status code :unprocessable_entity is deprecated/,
20
+
21
+ # Allow this warning only in the `TransactionCallbacksTest`.
22
+ %r{.*/rails/activerecord/test/cases/transaction_callbacks_test\.rb:\d+: warning: redefining 'object_id' may cause serious problems}
23
)
24
25
SUPPRESSED_WARNINGS = Regexp.union(
0 commit comments