From b89190f07df5099b1a9dadfc627d4c49065c1c68 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 22 May 2014 14:08:23 -0700 Subject: fix test from 7537057888d2d63c3b6c2019d5828bc445fbd6c9 --- activerecord/lib/active_record/attribute_methods.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/lib') 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 -- cgit v1.2.3