Skip to content

Instantly share code, notes, and snippets.

@RogerPodacter
Created March 31, 2012 18:00
module Dalli
class Client
def perform_with_hash(op, key, *args)
perform_without_hash(op, Digest::SHA1.hexdigest(key), *args)
end
alias_method_chain :perform, :hash
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment