Skip to content
Browse files

improving `reload` doc wording. #12418 [ci skip]

  • Loading branch information...
1 parent 4d38d33 commit 3b0d34ca179d6bf83e2911fdcd36076da43ca321 @senny committed Oct 2, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 activerecord/lib/active_record/persistence.rb
View
3 activerecord/lib/active_record/persistence.rb
@@ -345,7 +345,8 @@ def toggle!(attribute)
# # Account Load (1.2ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = $1 LIMIT 1 [["id", 1]]
# # => #<Account id: 1, email: 'account@example.com'>
#
- # Attributes are updated, and caches busted, in particular the associations cache.
+ # Attributes are reloaded from the database, and caches busted, in
+ # particular the associations cache.
#
# If the record no longer exists in the database <tt>ActiveRecord::RecordNotFound</tt>
# is raised. Otherwise, in addition to the in-place modification the method

0 comments on commit 3b0d34c

Please sign in to comment.
Something went wrong with that request. Please try again.