Exception: ActiveRecord::DuplicateMigrationNameError

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

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ DuplicateMigrationNameError

Returns a new instance of DuplicateMigrationNameError.



12
13
14
# File 'lib/gems/activerecord-2.2.2/lib/active_record/migration.rb', line 12

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