Skip to content

Instantly share code, notes, and snippets.

@proton
Created August 7, 2012 21:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save proton/0a8afde66e03142c41d5 to your computer and use it in GitHub Desktop.
Save proton/0a8afde66e03142c41d5 to your computer and use it in GitHub Desktop.
Started GET "/orders/501c46588524884e3c00000e/cart_add?model_id=4fbe4a568524884e67000ac6&product_id=4fbe4a568524884e67000ac5" for 127.0.0.1 at 2012-08-08 01:08:51 +0400
Processing by OrdersController#cart_add as HTML
Parameters: {"order_id"=>"501c46588524884e3c00000e"}
MONGODB (0ms) webra_development['users'].find({:_id=>BSON::ObjectId('4f39082085248847d0000002')}).limit(-1).sort([[:_id, :asc]])
MONGODB (0ms) webra_development['orders'].find({:_id=>BSON::ObjectId('501c46588524884e3c00000e')}).limit(-1).sort([[:_id, :asc]])
MONGODB (0ms) webra_development['orders'].update({"_id"=>BSON::ObjectId('501c46588524884e3c00000e')}, {"$set"=>{"updated_at"=>2012-08-07 21:08:51 UTC}, "$pushAll"=>{"cart.cart_items"=>[{"amount"=>1, "_id"=>BSON::ObjectId('502183e38524882445000013'), "title"=>"Title")}]}})
MONGODB (0ms) webra_development['orders'].update({"_id"=>BSON::ObjectId('501c46588524884e3c00000e')}, {"$set"=>{"updated_at"=>2012-08-07 21:08:51 UTC}, "$pushAll"=>{"cart.cart_items"=>[{"amount"=>1, "_id"=>BSON::ObjectId('502183e38524882445000013'), "title"=>"Title")}]}})
Redirected to http://localhost:3001/orders/501c46588524884e3c00000e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment