method
current_version
current_version()
public
Hide source
# File activerecord/lib/active_record/migration.rb, line 372 def current_version version = Base.connection.select_values( "SELECT version FROM #{schema_migrations_table_name}" ).map(&:to_i).max rescue nil version || 0 end