lib/dragonfly/dreamobjects_data_store.rb
def read(uid)
      object = bucket.objects[uid]
      data = object.read
      meta = Serializer.json_decode(object.metadata[:json])
        [
          data,     # can be a String, File, Pathname, Tempfile
          meta      # the same meta Hash that was stored with write
        ]
    end
def read(uid)
      object = bucket.objects[uid]
      data = object.read
      meta = Serializer.json_decode(object.metadata[:json])
        [
          data,     # can be a String, File, Pathname, Tempfile
          meta      # the same meta Hash that was stored with write
        ]
    end
# Retrieve the data and meta as a 2-item array