Exception: MongoidMigration::DuplicateMigrationNameError

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

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ DuplicateMigrationNameError

Returns a new instance of DuplicateMigrationNameError.



21
22
23
# File 'lib/mongoid_migration/migration.rb', line 21

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