mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
improving reload
doc wording. #12418 [ci skip]
This commit is contained in:
parent
4d38d33de1
commit
3b0d34ca17
1 changed files with 2 additions and 1 deletions
|
@ -345,7 +345,8 @@ module ActiveRecord
|
||||||
# # Account Load (1.2ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = $1 LIMIT 1 [["id", 1]]
|
# # Account Load (1.2ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = $1 LIMIT 1 [["id", 1]]
|
||||||
# # => #<Account id: 1, email: 'account@example.com'>
|
# # => #<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>
|
# 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
|
# is raised. Otherwise, in addition to the in-place modification the method
|
||||||
|
|
Loading…
Reference in a new issue