Skip to content

Instantly share code, notes, and snippets.

@mishawagon
Created December 1, 2009 17:36
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 mishawagon/246472 to your computer and use it in GitHub Desktop.
Save mishawagon/246472 to your computer and use it in GitHub Desktop.
Processing Admin::ProductsController#update (for 127.0.0.1 at 2009-12-01 12:29:06) [PUT]
Parameters: {"action"=>"update", "_method"=>"put", "authenticity_token"=>"r+KLUyyvKNpX1GCON0Sk9FynxDeQJucxVlf7zexTcyA=", "id"=>"adsf", "product"=>{"price"=>"3.0", "name"=>"adsf", "tax_category_id"=>"", "available_on"=>"", "shipping_category_id"=>"", "depth"=>"", "non_stock_url"=>"sfg", "weight"=>"", "meta_description"=>"", "meta_keywords"=>"", "on_hand"=>"0", "height"=>"", "sku"=>"", "description"=>"qwre", "width"=>""}, "controller"=>"admin/products"}
Taxonomy Load (0.8ms) SELECT * FROM `taxonomies`
Taxonomy Columns (1.0ms) SHOW FIELDS FROM `taxonomies`
Product Columns (1.5ms) SHOW FIELDS FROM `products`
SQL (1.0ms) SHOW TABLES
Property Columns (0.9ms) SHOW FIELDS FROM `properties`
Property Load (0.2ms) SELECT * FROM `properties` WHERE (`properties`.`name` = 'brand') LIMIT 1
SQL (0.8ms) SHOW TABLES
Taxon Load (0.3ms) SELECT `taxons`.* FROM `taxons` WHERE (`taxons`.taxonomy_id IN (475199832,854451430) AND (parent_id is null))
Taxon Columns (1.0ms) SHOW FIELDS FROM `taxons`
Taxon Load (0.5ms) SELECT `taxons`.* FROM `taxons` WHERE (`taxons`.parent_id IN (20000,1000)) ORDER BY position
SQL (0.9ms) SHOW TABLES
AppConfiguration Columns (0.9ms) SHOW FIELDS FROM `configurations`
AppConfiguration Load (0.3ms) SELECT * FROM `configurations` WHERE (`configurations`.`name` = 'Default configuration') AND ( (`configurations`.`type` = 'AppConfiguration' ) ) LIMIT 1
Cache hit: Spree::Config ({})
User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = '1') LIMIT 1
SQL (0.1ms) BEGIN
Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`name` = 'user') LIMIT 1
roles_users Columns (0.9ms) SHOW FIELDS FROM `roles_users`
Role Load (0.2ms) SELECT * FROM `roles` INNER JOIN `roles_users` ON `roles`.id = `roles_users`.role_id WHERE (`roles_users`.user_id = 1 )
User Update (0.2ms) UPDATE `users` SET `updated_at` = '2009-12-01 17:29:07', `perishable_token` = '-Z7t4fbVmXV7N9rcyY27', `last_request_at` = '2009-12-01 17:29:07' WHERE `id` = 1
SQL (0.4ms) COMMIT
TaxCategory Load (0.3ms) SELECT * FROM `tax_categories` ORDER BY name
ShippingCategory Load (0.3ms) SELECT * FROM `shipping_categories` ORDER BY name
Product Load (0.3ms) SELECT * FROM `products` WHERE (`products`.`permalink` = 'adsf') LIMIT 1
CACHE (0.0ms) SELECT * FROM `products` WHERE (`products`.`permalink` = 'adsf') LIMIT 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment