1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #10165 from wangjohn/public_send_for_instance

Using public send instead of send for the PerThreadRegistry module.
This commit is contained in:
Rafael Mendonça França 2013-04-10 07:16:03 -07:00
commit 4658b0d48c

View file

@ -35,7 +35,7 @@ module ActiveSupport
protected
def method_missing(*args, &block)
instance.send(*args, &block)
instance.public_send(*args, &block)
end
end
end