Exception: ActiveRecord::MigrationError
- Inherits:
-
ActiveRecordError
- Object
- StandardError
- ActiveRecordError
- ActiveRecord::MigrationError
- Defined in:
- lib/active_record/migration.rb
Overview
:nodoc:
Direct Known Subclasses
DuplicateMigrationNameError, DuplicateMigrationVersionError, IllegalMigrationNameError, IrreversibleMigration, PendingMigrationError, UnknownMigrationVersionError
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ MigrationError
constructor
A new instance of MigrationError.
Constructor Details
#initialize(message = nil) ⇒ MigrationError
Returns a new instance of MigrationError.
6 7 8 9 |
# File 'lib/active_record/migration.rb', line 6 def initialize( = nil) = "\n\n#{}\n\n" if super end |