Skip to content

Commit

Permalink
Merge pull request #17439 from prathamesh-sonpatki/rails-4-1
Browse files Browse the repository at this point in the history
Update documentation of touch method
  • Loading branch information
rafaelfranca committed Oct 30, 2014
2 parents dd8613d + d0fe2ad commit 23089d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/lib/active_record/persistence.rb
Expand Up @@ -404,8 +404,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.
#
Expand Down

0 comments on commit 23089d9

Please sign in to comment.