diff options
-rw-r--r-- | activerecord/lib/active_record/transactions.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/transactions.rb b/activerecord/lib/active_record/transactions.rb index 1bb7aab8fb..0402384c56 100644 --- a/activerecord/lib/active_record/transactions.rb +++ b/activerecord/lib/active_record/transactions.rb @@ -9,8 +9,9 @@ after_rollback/after_commit callbacks and print them to the logs. In the next version, these errors will no longer be rescued. Instead, they will simply bubble just like other Active Record callbacks. -You can opt into the new behavior and remove this warning by setting -config.active_record.raise_in_transactional_callbacks to true. +You can opt into the new behavior and remove this warning by setting: + + config.active_record.raise_in_transactional_callbacks = true EOF included do |