Routing Error When Using Authlogic With Rails 3.2.9

I configured authlogic gem for user management needs by https://github.com/jonathandean/authlogic_example . I set everything up correctly. I am using Rails 3.2.9 and ruby ​​1.8.7. I get the following error when I took localhost:3000

 Routing Error undefined method `filter_parameter_logging' for ApplicationController:Class Try running rake routes for more information on available routes. 

Please help solve this problem. Thanks for any help :) -

0
ruby-on-rails runtime-error rails-routing authlogic
source share
1 answer

I solved the problem.

Answer: in Rails 3, filter_parameter_logging in ActionController deprecated and has no effect, so delete this line and set 'config.filter_parameters' to config/application.rb instead, for example:

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

The problem is resolved.

+1
source share

All Articles