Although ActiveRecord handles the majority, if not all, of your data persistence requirements, there is often a need to get access to the underlying database connection for tasks like bulk SQL copies, one-off stored procedure calls, etc. The included code snippet demonstrates getting the connection and calling a stored procedure.