diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2013-02-13 16:21:25 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2013-02-13 16:21:25 -0200 |
commit | 5d58948fe72e3b0422790b8adc0fab7bbf9e6573 (patch) | |
tree | 8aeca28ac13665259a5e5c78ce6f66e54f454882 /actionpack/lib/action_dispatch | |
parent | f8c8ad56c8a1cb48c6535fd8e248dcb9049e0aa3 (diff) | |
download | rails-5d58948fe72e3b0422790b8adc0fab7bbf9e6573.tar.gz rails-5d58948fe72e3b0422790b8adc0fab7bbf9e6573.tar.bz2 rails-5d58948fe72e3b0422790b8adc0fab7bbf9e6573.zip |
Avoid to_sym calls
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r-- | actionpack/lib/action_dispatch/http/response.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/response.rb b/actionpack/lib/action_dispatch/http/response.rb index e7e8905d7e..ca1ace4537 100644 --- a/actionpack/lib/action_dispatch/http/response.rb +++ b/actionpack/lib/action_dispatch/http/response.rb @@ -170,7 +170,7 @@ module ActionDispatch # :nodoc: alias_method :status_message, :message def respond_to?(method) - if method.to_sym == :to_path + if method.to_s == 'to_path' stream.respond_to?(:to_path) else super |