aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorScott M <scott@stereointeractive.com>2013-12-07 01:03:28 -0500
committerScott Meves <scott@stereointeractive.com>2013-12-07 01:24:22 -0500
commit4b6b6c8d8a65956d5521c3b4159a4cf3f615b357 (patch)
tree770aca51bfd75623fe91f10ae03a10983bd7ce3a /activerecord/lib
parentdd59228082ea7975bd29bae34cc7180ab9736b2b (diff)
downloadrails-4b6b6c8d8a65956d5521c3b4159a4cf3f615b357.tar.gz
rails-4b6b6c8d8a65956d5521c3b4159a4cf3f615b357.tar.bz2
rails-4b6b6c8d8a65956d5521c3b4159a4cf3f615b357.zip
fix typo, "state_state" should be "stale_state" [ci skip]
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/associations/association.rb2
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?