Exception: Authentication::Logic::ModelSetupError

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#messageObject



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

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