123456789_123456789_123456789_123456789_123456789_

Exception: ActiveRecord::DuplicateMigrationVersionError

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(version = nil) ⇒ DuplicateMigrationVersionError

[ GitHub ]

  
# File 'activerecord/lib/active_record/migration.rb', line 92

def initialize(version = nil)
  if version
    super("Multiple migrations have the version number #{version}.")
  else
    super("Duplicate migration version error.")
  end
end