Skip to content
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...
1 parent 0c7691f commit 8431a9979d99cde71963e7be02687d338ca37eb8 @chancancode chancancode committed with carlosantoniodasilva
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
@@ -70,7 +70,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 8431a99

Please sign in to comment.
Something went wrong with that request. Please try again.