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