Exception: ActiveRecord::DuplicateMigrationVersionError
- Inherits:
-
ActiveRecordError
- Object
- StandardError
- ActiveRecordError
- ActiveRecord::DuplicateMigrationVersionError
- Defined in:
- lib/gems/activerecord-2.2.2/lib/active_record/migration.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(version) ⇒ DuplicateMigrationVersionError
constructor
A new instance of DuplicateMigrationVersionError.
Constructor Details
#initialize(version) ⇒ DuplicateMigrationVersionError
Returns a new instance of DuplicateMigrationVersionError.
6 7 8 |
# File 'lib/gems/activerecord-2.2.2/lib/active_record/migration.rb', line 6 def initialize(version) super("Multiple migrations have the version number #{version}") end |