Exception: ActiveRecord::DuplicateMigrationNameError

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

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ DuplicateMigrationNameError

Returns a new instance of DuplicateMigrationNameError.



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

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