Exception: DataMapper::DuplicateMigrationNameError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dm-migrations/migration.rb

Instance Method Summary collapse

Constructor Details

#initialize(migration) ⇒ DuplicateMigrationNameError

Returns a new instance of DuplicateMigrationNameError.



7
8
9
# File 'lib/dm-migrations/migration.rb', line 7

def initialize(migration)
  super("Duplicate Migration Name: '#{migration.name}', version: #{migration.position}")
end