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 connection_with_memcache_query_cache
        conn = connection_without_memcache_query_cache
        conn.memcache_query_cache_options = self.enableMemcacheQueryForModels[humanized_class_name()]
        conn
      end
def connection_with_memcache_query_cache conn = connection_without_memcache_query_cache conn . memcache_query_cache_options = self . enableMemcacheQueryForModels [ humanized_class_name ( ) ] conn 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