Upgrade to Rails 3.1.1 and Authlogic

Just upgraded my rails application to Rails 3.1.1 and got the following error:

Routing Error undefined method `filter_parameter_logging' for ApplicationController:Class 

application_controller.rb:

 class ApplicationController < ActionController::Base protect_from_forgery helper :all helper_method :current_user_session, :current_user filter_parameter_logging :password, :password_confirmation ... 

Do you have any ideas on this? Thanks!

+8
ruby-on-rails ruby-on-rails-3
source share
1 answer

Add this line to application.rb

 config.filter_parameters += [:password, :password_confirmation] 

and remove filter_parameter_logging from application_controller as it does not work in Rails 3

0
source share

All Articles