Exception: ActiveRecord::DuplicateMigrationVersionError

Inherits:
MigrationError show all
Defined in:
lib/active_record/migration.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ DuplicateMigrationVersionError

Returns a new instance of DuplicateMigrationVersionError.



17
18
19
# File 'lib/active_record/migration.rb', line 17

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