method
mysql2_connection
v3.2.13 -
Show latest stable
- Class:
ActiveRecord::Base
mysql2_connection(config)public
Establishes a connection to the database that’s used by all Active Record objects.
mysql2_connection(config)Establishes a connection to the database that’s used by all Active Record objects.