aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2014-08-18 18:41:25 -0400
committerArthur Neves <arthurnn@gmail.com>2014-08-18 18:41:25 -0400
commit98c3f55a1aac4cc4ba25154e949b470c3b6f0374 (patch)
tree0eb5b0f4870e1b0cdb2c91d9ed69ee7e76cbea01 /activerecord
parent321d4cb191eabe3fbde120ef6871d61d2a57d831 (diff)
downloadrails-98c3f55a1aac4cc4ba25154e949b470c3b6f0374.tar.gz
rails-98c3f55a1aac4cc4ba25154e949b470c3b6f0374.tar.bz2
rails-98c3f55a1aac4cc4ba25154e949b470c3b6f0374.zip
Fix after_commit warning message
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/transactions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/transactions.rb b/activerecord/lib/active_record/transactions.rb
index 9a56291b35..1bb7aab8fb 100644
--- a/activerecord/lib/active_record/transactions.rb
+++ b/activerecord/lib/active_record/transactions.rb
@@ -5,7 +5,7 @@ module ActiveRecord
ACTIONS = [:create, :destroy, :update]
CALLBACK_WARN_MESSAGE = <<-EOF
Currently, Active Record will rescue any errors raised within
-after_rollback/after_create callbacks and print them to the logs. In the next
+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.