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.



231
232
233
234
235
# File 'lib/active_record/migration.rb', line 231

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