lib/query_memcached.rb
# put this class method at the top of your AR model to enable memcache for the queryCache, 
# otherwise it will use standard query cache
put this class method at the top of your AR model to enable memcache for the queryCache,
otherwise it will use standard query cache
put this class method at the top of your AR model to enable memcache for the queryCache otherwise it will use standard query cache
def enable_memcache_querycache(options = {})
        if perform_caching? && memcached_store?
          options[:expires_in] ||= 90.minutes
          self.enableMemcacheQueryForModels[humanized_class_name()] = options
        else
          warn_cache_disabled!
        end
      end
def enable_memcache_querycache ( options = { } ) if perform_caching? && memcached_store? options [ :expires_in ] ||= 90 . minutes self . enableMemcacheQueryForModels [ humanized_class_name ( ) ] = options else warn_cache_disabled! end end
put this class method at the top of your AR model to enable memcache for the queryCache,
otherwise it will use standard query cache
put this class method at the top of your AR model to enable memcache for the queryCache otherwise it will use standard query cache
options
<not_specific>