Exception: MongoidMigration::DuplicateMigrationVersionError

Inherits:
MongoidMigrationError show all
Defined in:
lib/mongoid_migration/migration.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ DuplicateMigrationVersionError

Returns a new instance of DuplicateMigrationVersionError.



15
16
17
# File 'lib/mongoid_migration/migration.rb', line 15

def initialize(version)
  super("Multiple migrations have the version number #{version}")
end