aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2014-05-22 14:08:23 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2014-05-22 14:09:47 -0700
commitb89190f07df5099b1a9dadfc627d4c49065c1c68 (patch)
treeb91ec7a6e96df22f506cd9deb4e1380734a430e5 /activerecord/lib/active_record
parenta2f13e15f324756fe55f4876184756d7e6c995b8 (diff)
downloadrails-b89190f07df5099b1a9dadfc627d4c49065c1c68.tar.gz
rails-b89190f07df5099b1a9dadfc627d4c49065c1c68.tar.bz2
rails-b89190f07df5099b1a9dadfc627d4c49065c1c68.zip
fix test from 7537057888d2d63c3b6c2019d5828bc445fbd6c9
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/attribute_methods.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb
index 8bd51dc71f..6c2403d87e 100644
--- a/activerecord/lib/active_record/attribute_methods.rb
+++ b/activerecord/lib/active_record/attribute_methods.rb
@@ -200,6 +200,7 @@ module ActiveRecord
# this is probably horribly slow, but should only happen at most once for a given AR class
attribute_method.bind(self).call(*args, &block)
else
+ return super unless respond_to_missing?(method, true)
send(method, *args, &block)
end
else