diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-22 14:08:23 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-22 14:09:47 -0700 |
commit | b89190f07df5099b1a9dadfc627d4c49065c1c68 (patch) | |
tree | b91ec7a6e96df22f506cd9deb4e1380734a430e5 /activerecord/lib/active_record | |
parent | a2f13e15f324756fe55f4876184756d7e6c995b8 (diff) | |
download | rails-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.rb | 1 |
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 |