aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@basecamp.com>2014-08-18 15:42:11 -0700
committerDavid Heinemeier Hansson <david@basecamp.com>2014-08-18 15:42:11 -0700
commit79a05c4e45b72170cb4249a7b0255e54bbbc045a (patch)
tree0eb5b0f4870e1b0cdb2c91d9ed69ee7e76cbea01 /activerecord/lib
parent321d4cb191eabe3fbde120ef6871d61d2a57d831 (diff)
parent98c3f55a1aac4cc4ba25154e949b470c3b6f0374 (diff)
downloadrails-79a05c4e45b72170cb4249a7b0255e54bbbc045a.tar.gz
rails-79a05c4e45b72170cb4249a7b0255e54bbbc045a.tar.bz2
rails-79a05c4e45b72170cb4249a7b0255e54bbbc045a.zip
Merge pull request #16548 from arthurnn/fix_warn_message
Fix after_commit warning message
Diffstat (limited to 'activerecord/lib')
-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.