aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAndrii Dovgaliuk <andrey.dovgalyuk@adility.com>2012-10-24 09:47:19 -0400
committerAndrii Dovgaliuk <andrey.dovgalyuk@adility.com>2012-10-24 09:47:19 -0400
commit211accced6ccd457f54650bc3b7cf184f8ca0bba (patch)
tree9ae5eb55d2834e31d8fccaf8c3a135fdd322f1d6 /activerecord
parent1e593db13a83637e5a07a170b7b6a4dbc9b5175e (diff)
downloadrails-211accced6ccd457f54650bc3b7cf184f8ca0bba.tar.gz
rails-211accced6ccd457f54650bc3b7cf184f8ca0bba.tar.bz2
rails-211accced6ccd457f54650bc3b7cf184f8ca0bba.zip
fix a typo in comments to ActiveRecord::Associations::Association.stale_state
Diffstat (limited to 'activerecord')
-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 ba75c8be41..2a5f727728 100644
--- a/activerecord/lib/active_record/associations/association.rb
+++ b/activerecord/lib/active_record/associations/association.rb
@@ -223,7 +223,7 @@ module ActiveRecord
end
# This should be implemented to return the values of the relevant key(s) on the owner,
- # so that when state_state is different from the value stored on the last find_target,
+ # so that when stale_state is different from the value stored on the last find_target,
# the target is stale.
#
# This is only relevant to certain associations, which is why it returns nil by default.