Authlogic::ControllerAdapters::RailsAdapter::AuthlogicLoadedTooLateError

Posted by chs on Stack Overflow See other posts from Stack Overflow or by chs
Published on 2010-06-01T06:48:57Z Indexed on 2010/06/01 6:53 UTC
Read the original article Hit count: 272

Filed under:
|

Authlogic is trying to prepend a before_filter in ActionController::Base to active itself, the problem is that ApplicationController has already been loaded meaning the before_filter won't get copied into your application. Generally this is due to another gem or plugin requiring your ApplicationController prematurely, such as the resource_controller plugin. The solution is to require Authlogic before these other gems / plugins. Please require authlogic first to get rid of this error. (Authlogic::ControllerAdapters::RailsAdapter::AuthlogicLoadedTooLateError)

I had installed radiant 0.9.rc2, extension reader and required gem Authologic So while running script/server on ubuntu 9.04 i am receiving the above error Any Suggestion, Thanx in advance

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about radiant