2011-11-04 13 views
8

Wystarczy uaktualnieniu moje szyny do aplikacji Rails 3.1.1 i mają się następujący błąd:Uaktualnienie do Rails 3.1.1 i Authlogic

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 
    ... 

Czy masz jakiś pomysł na ten temat? Dzięki!

+1

Wydaje powielać tego: http://stackoverflow.com/questions/16206234/ routing-error-when-used-authlogic-with-rails-3-2-9 – jacopobeschi

Odpowiedz

0

Dodaj tę linię w environment.rb

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

i usunąć filter_parameter_logging z application_controller jak to działa w Rails 3

Powiązane problemy