Exception: ActiveRecord::MigrationError
- Inherits:
-
ActiveRecordError
- Object
- StandardError
- ActiveRecordError
- ActiveRecord::MigrationError
- Defined in:
- lib/active_record/migration.rb
Overview
:nodoc:
Direct Known Subclasses
ConcurrentMigrationError, DuplicateMigrationNameError, DuplicateMigrationVersionError, IllegalMigrationNameError, InvalidMigrationTimestampError, IrreversibleMigration, NoEnvironmentInSchemaError, 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.
11 12 13 14 |
# File 'lib/active_record/migration.rb', line 11 def initialize( = nil) = "\n\n#{}\n\n" if super end |