Skip to content

Instantly share code, notes, and snippets.

/log

Created May 7, 2014 06:34
Show Gist options
  • Save anonymous/ab454a4fa63de0ee7115 to your computer and use it in GitHub Desktop.
Save anonymous/ab454a4fa63de0ee7115 to your computer and use it in GitHub Desktop.
Started POST "/api/v0/products" for 127.0.0.1 at 2014-05-07 11:38:12 +0530
Processing by Api::V0::ProductsController#create as JSON
Parameters: {"title"=>"This should do it", "sub_categorisations_attributes"=>[{"sub_category_id"=>3}, {"sub_category_id"=>4}], "product"=>{"title"=>"This should do it"}}
User Load (0.4ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 1 ORDER BY `users`.`id` ASC LIMIT 1
(0.1ms) BEGIN
SQL (0.3ms) INSERT INTO `products` (`created_at`, `title`, `updated_at`) VALUES ('2014-05-07 06:08:12', 'Third Product', '2014-05-07 06:08:12')
(0.5ms) COMMIT
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.3ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment