Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix test from 7537057

  • Loading branch information...
commit 372f7a6128c5a806daf0e2e36932a0b06ab29886 1 parent 7bc16e3
@tenderlove tenderlove authored rafaelfranca committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  activerecord/lib/active_record/attribute_methods.rb
View
1  activerecord/lib/active_record/attribute_methods.rb
@@ -201,6 +201,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
Please sign in to comment.
Something went wrong with that request. Please try again.