method

mysql_connection

rails latest stable - Class: ActiveRecord::ConnectionHandling

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

mysql_connection(config)
public

Establishes a connection to the database that’s used by all Active Record objects.