# File lib/dragonfly/data_storage/mongo_data_store.rb, line 28 def store(temp_object, opts={}) ensure_authenticated! temp_object.file do |f| mongo_id = grid.put(f, :metadata => marshal_encode(temp_object.attributes)) mongo_id.to_s end end