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



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

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