Exception: Authlogic::ControllerAdapters::RailsAdapter::AuthlogicLoadedTooLateError
- Inherits:
-
StandardError
- Object
- StandardError
- Authlogic::ControllerAdapters::RailsAdapter::AuthlogicLoadedTooLateError
- Defined in:
- lib/authlogic/controller_adapters/rails_adapter.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#message ⇒ Object
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/authlogic/controller_adapters/rails_adapter.rb', line 14 def <<~EOS.squish Authlogic is trying to add a callback to ActionController::Base but ApplicationController has already been loaded, so the callback won't be copied into your application. Generally this is due to another gem or plugin requiring your ApplicationController prematurely, such as the resource_controller plugin. Please require Authlogic first, before these other gems / plugins. EOS end |