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 humanized_class_name 
          begin
            ActiveRecord::Base.send(:class_name_of_active_record_descendant, self).to_s
          rescue => exception
            nil
          end  
        end
def humanized_class_name begin ActiveRecord :: Base . send ( :class_name_of_active_record_descendant , self ) . to_s rescue => exception nil 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