method
new
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActiveRecord::UnknownMigrationVersionError
new(version = nil)
public
Hide source
# File activerecord/lib/active_record/migration.rb, line 115 def initialize(version = nil) if version super("No migration with version number #{version}.") else super("Unknown migration version.") end end