method

cacheable_query

rails latest stable - Class: ActiveRecord::ConnectionAdapters::DatabaseStatements
cacheable_query(klass, arel)
public

This is used in the StatementCache object. It returns an object that can be used to query the database repeatedly.