Exception: Authlogic::ControllerAdapters::RailsAdapter::AuthlogicLoadedTooLateError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/authlogic/controller_adapters/rails_adapter.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#messageObject



12
13
14
15
16
17
18
19
20
21
# File 'lib/authlogic/controller_adapters/rails_adapter.rb', line 12

def message
  <<~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