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