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.
14 15 16 17 |
# File 'lib/active_record/migration.rb', line 14 def initialize( = nil) = "\n\n#{}\n\n" if super end |