Browse files

Merge pull request #13221 from stereoscott/patch-1

fix tiny typo in comment, "state_state" should be "stale_state" [ci skip]
  • Loading branch information...
2 parents dd59228 + 4b6b6c8 commit 76dae289edf33d4b3fc937ecd9d2c77b294d8074 @chancancode chancancode committed Dec 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/associations/association.rb
View
2 activerecord/lib/active_record/associations/association.rb
@@ -69,7 +69,7 @@ def loaded!
# 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?

0 comments on commit 76dae28

Please sign in to comment.