Exception: ActiveRecord::EnvironmentStorageError

Inherits:
ActiveRecordError show all
Defined in:
lib/active_record/migration.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initializeEnvironmentStorageError

Returns a new instance of EnvironmentStorageError.



234
235
236
237
238
# File 'lib/active_record/migration.rb', line 234

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