Exception: Authlogic::ModelSetupError

Inherits:
Error
  • Object
show all
Defined in:
lib/authlogic/errors.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#messageObject



38
39
40
41
42
43
44
45
46
47
48
# File 'lib/authlogic/errors.rb', line 38

def message
  <<-EOS
    You must establish a database connection and run the migrations before
    using acts_as_authentic. If you need to load the User model before the
    database is set up correctly, please set the following:

        acts_as_authentic do |c|
          c.raise_on_model_setup_error = false
        end
  EOS
end