method
current_database
current_database()
public
Hide source
# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 322 def current_database select_one("SELECT DATABASE() as db")["db"] end