method
current_version
v5.0.0.1 -
Show latest stable
- Class:
ActiveRecord::Migrator
current_version(connection = Base.connection)public
No documentation available.
# File activerecord/lib/active_record/migration.rb, line 1037
def current_version(connection = Base.connection)
get_all_versions(connection).max || 0
end