diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-04-10 07:16:03 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-04-10 07:16:03 -0700 |
commit | 4658b0d48c6b339c504cb3273f5a1eb6960f85a4 (patch) | |
tree | ab9f24623df47dd8a0cd9f6061875f2332f55d9c /activesupport | |
parent | bb61d2defab7017807c310ac221c9e69d7f99d96 (diff) | |
parent | 60a5ac78b05f3116e30f2e9d2c86c2ed174fc144 (diff) | |
download | rails-4658b0d48c6b339c504cb3273f5a1eb6960f85a4.tar.gz rails-4658b0d48c6b339c504cb3273f5a1eb6960f85a4.tar.bz2 rails-4658b0d48c6b339c504cb3273f5a1eb6960f85a4.zip |
Merge pull request #10165 from wangjohn/public_send_for_instance
Using public send instead of send for the PerThreadRegistry module.
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/per_thread_registry.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/per_thread_registry.rb b/activesupport/lib/active_support/per_thread_registry.rb index b89ce2cbeb..fb9a4c0e33 100644 --- a/activesupport/lib/active_support/per_thread_registry.rb +++ b/activesupport/lib/active_support/per_thread_registry.rb @@ -35,7 +35,7 @@ module ActiveSupport protected def method_missing(*args, &block) - instance.send(*args, &block) + instance.public_send(*args, &block) end end end |