class

ActiveRecord::InvalidMigrationTimestampError

rails latest stable - Superclass: ActiveRecord::MigrationError

Class not available on this version

This class is only available on newer versions. The first available version (v7.2.3) is shown here.

No documentation available for this class.

Constants

MigrationProxy = Struct.new(:name, :version, :filename, :scope) do\ndef initialize(name, version, filename, scope)\nsuper\n@migration = nil\nend\n\ndef basename\nFile.basename(filename)\nend\n\ndelegate :migrate, :announce, :write, :disable_ddl_transaction, to: :migration\n\nprivate\ndef migration\n@migration ||= load_migration\nend\n\ndef load_migration\nObject.send(:remove_const, name) rescue nil\n\nload(File.expand_path(filename))\nname.constantize.new(name, version)\nend\nend

Files

  • activerecord/lib/active_record/migration.rb