Exception: Mongoid::DuplicateMigrationNameError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/mongoid_rails_migrations/active_record_ext/migrations.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ DuplicateMigrationNameError



15
16
17
# File 'lib/mongoid_rails_migrations/active_record_ext/migrations.rb', line 15

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