Exception: MongoMapper::DuplicateMigrationNameError

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

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ DuplicateMigrationNameError

Returns a new instance of DuplicateMigrationNameError.



14
15
16
# File 'lib/mongo_mapper/exceptions.rb', line 14

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