Exception: ActiveRecord::MigrationError

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

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ MigrationError

Returns a new instance of MigrationError.



12
13
14
15
# File 'activerecord/lib/active_record/migration.rb', line 12

def initialize(message = nil)
  message = "\n\n#{message}\n\n" if message
  super
end