Permalink
Browse files

Merge pull request #14387 from huoxito/touch-api-doc

Update callbacks executed on AR::Base#touch [skip ci]
  • Loading branch information...
2 parents 6d5724d + a215ca6 commit eb31a86f3090b04a7171c4db054ad0ec98cac760 @arthurnn arthurnn committed Mar 14, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/persistence.rb
@@ -405,8 +405,8 @@ def reload(options = nil)
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.
#

0 comments on commit eb31a86

Please sign in to comment.