aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authoryui-knk <spiketeika@gmail.com>2015-05-11 00:44:46 +0900
committeryui-knk <spiketeika@gmail.com>2015-05-11 00:44:46 +0900
commita60793ff73272f1e07d267a9cf800657be557c7c (patch)
tree714827576011cd1401aeb8f769a2ce9a170f55fd /activerecord
parent7fb45a6130598703b3da8fe9ef29a5c7a1eb9d09 (diff)
downloadrails-a60793ff73272f1e07d267a9cf800657be557c7c.tar.gz
rails-a60793ff73272f1e07d267a9cf800657be557c7c.tar.bz2
rails-a60793ff73272f1e07d267a9cf800657be557c7c.zip
[ci skip] Fix comment of `ActiveRecord::Associations#association_instance_get`
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/associations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb
index 7deb15b047..94f59f9e95 100644
--- a/activerecord/lib/active_record/associations.rb
+++ b/activerecord/lib/active_record/associations.rb
@@ -185,7 +185,7 @@ module ActiveRecord
super
end
- # Returns the specified association instance if it responds to :loaded?, nil otherwise.
+ # Returns the specified association instance if it exists, nil otherwise.
def association_instance_get(name)
@association_cache[name]
end