Exception: Mongoid::DuplicateMigrationNameError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Mongoid::DuplicateMigrationNameError
- Defined in:
- lib/mongoid_rails_migrations/active_record_ext/migrations.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(name) ⇒ DuplicateMigrationNameError
constructor
A new instance of DuplicateMigrationNameError.
Constructor Details
#initialize(name) ⇒ DuplicateMigrationNameError
Returns a new instance of 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 |