aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-01-12 13:22:42 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-01-12 14:27:08 -0800
commitbc993c690b656256e0f1dc5336a2f69c9d8dbe5d (patch)
treee9ec0e220481c0034afbce473cc76ef5386dffe7 /activerecord
parent49696e0a62f39648d82660c689d15e56bb5f5207 (diff)
downloadrails-bc993c690b656256e0f1dc5336a2f69c9d8dbe5d.tar.gz
rails-bc993c690b656256e0f1dc5336a2f69c9d8dbe5d.tar.bz2
rails-bc993c690b656256e0f1dc5336a2f69c9d8dbe5d.zip
default return value is nil
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/associations/association_proxy.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/association_proxy.rb b/activerecord/lib/active_record/associations/association_proxy.rb
index c19ded242e..ee0631edb6 100644
--- a/activerecord/lib/active_record/associations/association_proxy.rb
+++ b/activerecord/lib/active_record/associations/association_proxy.rb
@@ -331,7 +331,6 @@ module ActiveRecord
#
# This is only relevant to certain associations, which is why it returns nil by default.
def stale_state
- nil
end
end
end