method
current_database
current_database()
public
Hide source
# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 400 def current_database select_value 'SELECT DATABASE() as db' end