method
new
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActiveRecord::DuplicateMigrationVersionError
new(version = nil)
public
Hide source
# File activerecord/lib/active_record/migration.rb, line 95 def initialize(version = nil) if version super("Multiple migrations have the version number #{version}.") else super("Duplicate migration version error.") end end