Exception: Mongoid::DuplicateMigrationVersionError

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(version) ⇒ DuplicateMigrationVersionError

Returns a new instance of DuplicateMigrationVersionError.



9
10
11
# File 'lib/mongoid_rails_migrations/active_record_ext/migrations.rb', line 9

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