#15 √ resolved
JackC

Rails 2.1.0, filter_parameter_logging crashes exception_notifiable

Reported by JackC | June 4th, 2008 @ 04:48 PM

ActionView::TemplateError (protected method `filter_parameters' called for #) on line #3 of vendor/plugins/exception_notification/views/exception_notifier/_request.rhtml:

1: * URL : <%= @request.protocol %><%= @host %><%= @request.request_uri %>

2: * IP address: <%= @request.env["HTTP_X_FORWARDED_FOR"] || @request.env["REMOTE_ADDR"] %>

3: * Parameters: <%= filter_sensitive_post_data_parameters(@request.parameters).inspect %>

4: * Rails root: <%= @rails_root %>

It appears that filter_parameters is protected in Rails 2.1.0. @controller.filter_parameters is called in exception_notifier_helper.rb on lines 70 and 76.

Altering it to use send seems to make it work. Not sure what the proper fix would be.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Attachments