aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-08-28 14:47:47 +0200
committerYves Senn <yves.senn@gmail.com>2014-08-28 14:49:34 +0200
commit2211caaa7c94db45ffab8355252e5d42447fa24d (patch)
tree00fd4856977893517afe876e6a66ba68021dd4d6 /activerecord/lib
parentbd7b4f76589ad9ab016aea3442f7ceef6251cced (diff)
downloadrails-2211caaa7c94db45ffab8355252e5d42447fa24d.tar.gz
rails-2211caaa7c94db45ffab8355252e5d42447fa24d.tar.bz2
rails-2211caaa7c94db45ffab8355252e5d42447fa24d.zip
make it easy to copy & paste the config from deprecation warning.
[ci skip]
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/transactions.rb5
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