Skip to content

Instantly share code, notes, and snippets.

@jakeboxer
Created December 4, 2012 10:21
Show Gist options
  • Save jakeboxer/4202454 to your computer and use it in GitHub Desktop.
Save jakeboxer/4202454 to your computer and use it in GitHub Desktop.
send_message(:read_objects, miss_oids, type).each do |object|
key = object_key(object['oid'])
objects[key] = object
@cache.set(key, object)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment