Permalink
Browse files

Removed Object#send! since it's no longer in active support

  • Loading branch information...
1 parent 019b0de commit c8050708224300a817683e59ae395a9ee99a46a6 @henrypoydar henrypoydar committed Oct 4, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/exception_notifier_helper.rb
@@ -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

0 comments on commit c805070

Please sign in to comment.