Permalink
Browse files

fix a typo in comments to ActiveRecord::Associations::Association.sta…

…le_state
  • Loading branch information...
Andrii Dovgaliuk
Andrii Dovgaliuk committed Oct 24, 2012
1 parent 1e593db commit 211accced6ccd457f54650bc3b7cf184f8ca0bba
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/associations/association.rb
@@ -223,7 +223,7 @@ def invertible_for?(record)
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.

0 comments on commit 211accc

Please sign in to comment.