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