From a60793ff73272f1e07d267a9cf800657be557c7c Mon Sep 17 00:00:00 2001 From: yui-knk Date: Mon, 11 May 2015 00:44:46 +0900 Subject: [ci skip] Fix comment of `ActiveRecord::Associations#association_instance_get` --- activerecord/lib/active_record/associations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib') 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 -- cgit v1.2.3