Exception: Mongoid::UnknownMigrationVersionError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/mongoid_rails_migrations/active_record_ext/migrations.rb

Overview

:nodoc:

Instance Method Summary (collapse)

Constructor Details

- (UnknownMigrationVersionError) initialize(version)

Returns a new instance of UnknownMigrationVersionError



21
22
23
# File 'lib/mongoid_rails_migrations/active_record_ext/migrations.rb', line 21

def initialize(version)
  super("No migration with version number #{version}")
end