Exception: ActiveRecord::EnvironmentStorageError
- Inherits:
-
ActiveRecordError
- Object
- StandardError
- ActiveRecordError
- ActiveRecord::EnvironmentStorageError
- Defined in:
- activerecord/lib/active_record/migration.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize ⇒ EnvironmentStorageError
constructor
A new instance of EnvironmentStorageError.
Constructor Details
#initialize ⇒ EnvironmentStorageError
Returns a new instance of EnvironmentStorageError.
218 219 220 221 222 |
# File 'activerecord/lib/active_record/migration.rb', line 218 def initialize msg = +"You are attempting to store the environment in a database where metadata is disabled.\n" msg << "Check your database configuration to see if this is intended." super(msg) end |