Exception: ActiveRecord::UnknownMigrationVersionError
- Inherits:
-
ActiveRecordError
- Object
- StandardError
- ActiveRecordError
- 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.
22 23 24 |
# File 'activerecord/lib/active_record/migration.rb', line 22 def initialize(version) super("No migration with version number #{version}") end |