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
77 78 79 80 81 |
# File 'lib/record_cache/datastore/active_record_30.rb', line 77 def to_sql_with_record_cache sql = to_sql_without_record_cache sql.instance_variable_set(:@arel, self) sql end |