Skip to content

Commit

Permalink
fix typo, "state_state" should be "stale_state" [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
stereoscott committed Dec 7, 2013
1 parent dd59228 commit 4b6b6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/associations/association.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 4b6b6c8

Please sign in to comment.