Skip to content

Commit

Permalink
fix test from 7537057
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove authored and rafaelfranca committed May 24, 2014
1 parent f70058a commit 7afd944
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions activerecord/lib/active_record/attribute_methods.rb
Expand Up @@ -161,6 +161,7 @@ def method_missing(method, *args, &block) # :nodoc:
# 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
Expand Down

0 comments on commit 7afd944

Please sign in to comment.