Exception: ActiveRecord::DuplicateMigrationVersionError

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

Overview

:nodoc:

Instance Method Summary (collapse)

Constructor Details

- (DuplicateMigrationVersionError) initialize(version)

Returns a new instance of DuplicateMigrationVersionError



6
7
8
# File 'activerecord/lib/active_record/migration.rb', line 6

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