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.
23 24 25 |
# File 'activerecord/lib/active_record/migration.rb', line 23 def initialize(version) super("No migration with version number #{version}") end |