Exception: MongoMapper::DuplicateMigrationVersionError

Inherits:
MongoMapperError
  • Object
show all
Defined in:
lib/mongrations/exceptions.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ DuplicateMigrationVersionError

Returns a new instance of DuplicateMigrationVersionError.



8
9
10
# File 'lib/mongrations/exceptions.rb', line 8

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