Exception: ActiveRecord::DuplicateMigrationNameError
- Inherits:
-
MigrationError
- Object
- StandardError
- ActiveRecordError
- MigrationError
- ActiveRecord::DuplicateMigrationNameError
- Defined in:
- activerecord/lib/active_record/migration.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(name) ⇒ DuplicateMigrationNameError
constructor
A new instance of DuplicateMigrationNameError.
Constructor Details
#initialize(name) ⇒ DuplicateMigrationNameError
Returns a new instance of DuplicateMigrationNameError.
23 24 25 |
# File 'activerecord/lib/active_record/migration.rb', line 23 def initialize(name) super("Multiple migrations have the name #{name}") end |