Exception: ActiveRecord::UnknownMigrationVersionError
- Inherits:
-
MigrationError
- Object
- StandardError
- ActiveRecordError
- MigrationError
- ActiveRecord::UnknownMigrationVersionError
- Defined in:
- activerecord/lib/active_record/migration.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(version) ⇒ UnknownMigrationVersionError
constructor
A new instance of UnknownMigrationVersionError.
Constructor Details
#initialize(version) ⇒ UnknownMigrationVersionError
Returns a new instance of UnknownMigrationVersionError.
29 30 31 |
# File 'activerecord/lib/active_record/migration.rb', line 29 def initialize(version) super("No migration with version number #{version}") end |