diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2013-12-06 22:46:07 -0800 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2013-12-06 22:46:07 -0800 |
commit | 76dae289edf33d4b3fc937ecd9d2c77b294d8074 (patch) | |
tree | 770aca51bfd75623fe91f10ae03a10983bd7ce3a | |
parent | dd59228082ea7975bd29bae34cc7180ab9736b2b (diff) | |
parent | 4b6b6c8d8a65956d5521c3b4159a4cf3f615b357 (diff) | |
download | rails-76dae289edf33d4b3fc937ecd9d2c77b294d8074.tar.gz rails-76dae289edf33d4b3fc937ecd9d2c77b294d8074.tar.bz2 rails-76dae289edf33d4b3fc937ecd9d2c77b294d8074.zip |
Merge pull request #13221 from stereoscott/patch-1
fix tiny typo in comment, "state_state" should be "stale_state" [ci skip]
-rw-r--r-- | activerecord/lib/active_record/associations/association.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/association.rb b/activerecord/lib/active_record/associations/association.rb index 02f45731c9..ce7d41cf54 100644 --- a/activerecord/lib/active_record/associations/association.rb +++ b/activerecord/lib/active_record/associations/association.rb @@ -69,7 +69,7 @@ module ActiveRecord # The target is stale if the target no longer points to the record(s) that the # relevant foreign_key(s) refers to. If stale, the association accessor method # on the owner will reload the target. It's up to subclasses to implement the - # state_state method if relevant. + # stale_state method if relevant. # # Note that if the target has not been loaded, it is not considered stale. def stale_target? |