Module: ActiveRecord::QueryMethods

Defined in:
lib/rcache/query_methods.rb

Instance Method Summary collapse

Instance Method Details

#rcache(opts = {}) ⇒ Object



3
4
5
6
7
# File 'lib/rcache/query_methods.rb', line 3

def rcache(opts = {})
  relation = clone
  relation.rcache_value = opts
  relation
end