Module: RecordCache::Arel::TreeManager::InstanceMethods
- Defined in:
- lib/record_cache/datastore/active_record_30.rb,
lib/record_cache/datastore/active_record_31.rb,
lib/record_cache/datastore/active_record_32.rb,
lib/record_cache/datastore/active_record_40.rb,
lib/record_cache/datastore/active_record_41.rb
Instance Method Summary collapse
Instance Method Details
#to_sql_with_record_cache ⇒ Object
78 79 80 81 82 |
# File 'lib/record_cache/datastore/active_record_30.rb', line 78 def to_sql_with_record_cache sql = to_sql_without_record_cache sql.instance_variable_set(:@arel, self) sql end |