Exception: ActiveRecord::DuplicateMigrationNameError
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
MigrationError ,
ActiveRecordError ,
StandardError
|
|
Instance Chain:
self,
MigrationError ,
ActiveRecordError ,
StandardError
|
|
Inherits: |
ActiveRecord::MigrationError
|
Defined in: | activerecord/lib/active_record/migration.rb |
Class Method Summary
Constructor Details
.new(name = nil) ⇒ DuplicateMigrationNameError
# File 'activerecord/lib/active_record/migration.rb', line 102
def initialize(name = nil) if name super("Multiple migrations have the name #{name}.") else super("Duplicate migration name.") end end