APIdock
/
Ruby on Rails
/
Browse
About
method
current
v5.0.0.1
-
Show latest stable
- Class:
ActiveRecord
::
Migrator
current
()
public
Alias for
ActiveRecord::Migrator#current_migration
Related methods
Instance methods
current
current_migration
current_version
load_migrated
migrate
migrated
migrations
pending_migrations
run
runnable
Class methods
any_migrations?
current_version
down
forward
get_all_versions
last_migration
match_to_migration_filename?
migrate
migrations
migrations_paths
needs_migration?
new
open
parse_migration_filename
rollback
run
schema_migrations_table_name
up
Private methods
current_environment
last_stored_environment
move
protected_environment?
ddl_transaction
down?
execute_migration_in_transaction
finish
generate_migrator_advisory_lock_id
invalid_target?
migrate_without_lock
ran?
record_environment
record_version_state_after_migrating
run_without_lock
start
target
up?
use_advisory_lock?
use_transaction?
validate
with_advisory_lock