Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Get rid of Object#send! that has been removed from Ruby 1.9 and Activ…

…eSupport.

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
commit ed0b914ff493f9137abc4f68ee08e3c3cd7a3211 1 parent 019b0de
Cheah Chu Yeow chuyeow authored lifo committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/exception_notifier_helper.rb
4 lib/exception_notifier_helper.rb
View
@@ -67,12 +67,12 @@ def exclude_raw_post_parameters?
end
def filter_sensitive_post_data_parameters(parameters)
- exclude_raw_post_parameters? ? @controller.send!(:filter_parameters, parameters) : parameters
+ exclude_raw_post_parameters? ? @controller.__send__(:filter_parameters, parameters) : parameters
end
def filter_sensitive_post_data_from_env(env_key, env_value)
return env_value unless exclude_raw_post_parameters?
return PARAM_FILTER_REPLACEMENT if (env_key =~ /RAW_POST_DATA/i)
- return @controller.send!(:filter_parameters, {env_key => env_value}).values[0]
+ return @controller.__send__(:filter_parameters, {env_key => env_value}).values[0]
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.