method

retrieve_connection

Importance_1
v2.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::Base
retrieve_connection(#:nodoc:) public

Locate the connection of the nearest super class. This can be an active or defined connection: if it is the latter, it will be opened and set as the active connection for the class it was defined for (not necessarily the current class).

Show source
Register or log in to add new notes.