From 2211caaa7c94db45ffab8355252e5d42447fa24d Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Thu, 28 Aug 2014 14:47:47 +0200 Subject: make it easy to copy & paste the config from deprecation warning. [ci skip] --- activerecord/lib/active_record/transactions.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'activerecord') 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 -- cgit v1.2.3