diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-10-14 21:48:33 -0700 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-10-14 21:48:33 -0700 |
commit | 62f96c9e1fdfa5b832073f90e1fe592fbf3163bb (patch) | |
tree | 6886622e6d76c2e54c558d87cbc63b7189d2438a /activerecord | |
parent | 1b38d05fb49d860b18b971c825995efbed11df69 (diff) | |
download | rails-62f96c9e1fdfa5b832073f90e1fe592fbf3163bb.tar.gz rails-62f96c9e1fdfa5b832073f90e1fe592fbf3163bb.tar.bz2 rails-62f96c9e1fdfa5b832073f90e1fe592fbf3163bb.zip |
Make the config actually copyable
The intention here is to make the required config copy-able from the console/logs, so add a newline at the end of the message to make that easier. (Otherwise it would be `... raise_in_transactional_callbacks = true (called from...`.)
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/transactions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/transactions.rb b/activerecord/lib/active_record/transactions.rb index e53297d0ab..bb06d0304b 100644 --- a/activerecord/lib/active_record/transactions.rb +++ b/activerecord/lib/active_record/transactions.rb @@ -11,7 +11,7 @@ module ActiveRecord "\n" \ "You can opt into the new behavior and remove this warning by setting:\n" \ "\n" \ - " config.active_record.raise_in_transactional_callbacks = true" + " config.active_record.raise_in_transactional_callbacks = true\n\n" included do define_callbacks :commit, :rollback, |