1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #13221 from stereoscott/patch-1

fix tiny typo in comment, "state_state" should be "stale_state" [ci skip]
This commit is contained in:
Godfrey Chan 2013-12-06 22:46:07 -08:00
commit 76dae289ed

View file

@ -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?