Skip to content

Instantly share code, notes, and snippets.

@larcher
Created April 27, 2009 04:19
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 larcher/102324 to your computer and use it in GitHub Desktop.
Save larcher/102324 to your computer and use it in GitHub Desktop.
featured_order - not saving
SQL (0.1ms) SET NAMES 'utf8'
SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
Processing CollectionsController#featured_order (for 127.0.0.1 at 2009-04-26 23:16:12) [POST]
Parameters: {"action"=>"featured_order", "authenticity_token"=>"MkQYr8ogHWaKhFtM/sLOr+nct9jDopSmalGH3lhKxY0=", "order"=>"6,5,4", "controller"=>"collections"}
Library Load (0.3ms) SELECT * FROM `libraries` LIMIT 1
Library Columns (2.2ms) SHOW FIELDS FROM `libraries`
User Columns (2.1ms) SHOW FIELDS FROM `users`
User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 4) LIMIT 1
Role Load (0.2ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 4))
Role Columns (1.2ms) SHOW FIELDS FROM `roles`
Collection Columns (1.8ms) SHOW FIELDS FROM `collections`
Collection Load (0.6ms) SELECT * FROM `collections` WHERE (`collections`.`id` IN (6,5,4)) ORDER BY collections.priority desc, collections.updated_at desc
SQL (0.1ms) BEGIN
SQL (0.1ms) COMMIT
SQL (0.1ms) BEGIN
SQL (0.1ms) COMMIT
SQL (0.1ms) BEGIN
SQL (0.1ms) COMMIT
Completed in 90ms (View: 2, DB: 9) | 200 OK [http://localhost/collections/featured/order]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment