aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorArthur Nogueira Neves <arthurnn@gmail.com>2014-03-14 19:22:10 -0400
committerArthur Nogueira Neves <arthurnn@gmail.com>2014-03-14 19:22:10 -0400
commiteb31a86f3090b04a7171c4db054ad0ec98cac760 (patch)
tree936b49cafc53663f4fbfc822518cb153f9017a7f /activerecord
parent6d5724de3e5a9dd3fd9c6adc64995a20485f4564 (diff)
parenta215ca63355d7c404db6d2daae868a80c0aa23b6 (diff)
downloadrails-eb31a86f3090b04a7171c4db054ad0ec98cac760.tar.gz
rails-eb31a86f3090b04a7171c4db054ad0ec98cac760.tar.bz2
rails-eb31a86f3090b04a7171c4db054ad0ec98cac760.zip
Merge pull request #14387 from huoxito/touch-api-doc
Update callbacks executed on AR::Base#touch [skip ci]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/persistence.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb
index 4e63206cf4..d85fad1e13 100644
--- a/activerecord/lib/active_record/persistence.rb
+++ b/activerecord/lib/active_record/persistence.rb
@@ -405,8 +405,8 @@ module ActiveRecord
end
# Saves the record with the updated_at/on attributes set to the current time.
- # Please note that no validation is performed and only the +after_touch+
- # callback is executed.
+ # Please note that no validation is performed and only the +after_touch+,
+ # +after_commit+ and +after_rollback+ callbacks are executed.
# If an attribute name is passed, that attribute is updated along with
# updated_at/on attributes.
#