From 3b0d34ca179d6bf83e2911fdcd36076da43ca321 Mon Sep 17 00:00:00 2001 From: Yves Senn Date: Wed, 2 Oct 2013 10:18:02 +0200 Subject: improving `reload` doc wording. #12418 [ci skip] --- activerecord/lib/active_record/persistence.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/persistence.rb b/activerecord/lib/active_record/persistence.rb index 21eabd69f2..267aa28058 100644 --- a/activerecord/lib/active_record/persistence.rb +++ b/activerecord/lib/active_record/persistence.rb @@ -345,7 +345,8 @@ module ActiveRecord # # Account Load (1.2ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = $1 LIMIT 1 [["id", 1]] # # => # # - # 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 ActiveRecord::RecordNotFound # is raised. Otherwise, in addition to the in-place modification the method -- cgit v1.2.3