Class: ActiveRecord::StatementCache::Query
- Inherits:
-
Object
- Object
- ActiveRecord::StatementCache::Query
- Defined in:
- lib/active_record/statement_cache.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(sql) ⇒ Query
constructor
:nodoc:.
- #sql_for(binds, connection) ⇒ Object
Constructor Details
#initialize(sql) ⇒ Query
:nodoc:
31 32 33 |
# File 'lib/active_record/statement_cache.rb', line 31 def initialize(sql) @sql = sql end |
Instance Method Details
#sql_for(binds, connection) ⇒ Object
35 36 37 |
# File 'lib/active_record/statement_cache.rb', line 35 def sql_for(binds, connection) @sql end |