Connecting to database specified by database.yml Creating scope :public. Overwriting existing method SpudPage.public.  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (0.8ms) select table_name from information_schema.views where table_schema = 'spud_cms_test'  (0.6ms) TRUNCATE TABLE `spud_admin_permissions`;  (0.7ms) TRUNCATE TABLE `spud_menu_items`;  (0.6ms) TRUNCATE TABLE `spud_menus`;  (0.6ms) TRUNCATE TABLE `spud_page_liquid_tags`;  (0.6ms) TRUNCATE TABLE `spud_page_partial_revisions`;  (0.6ms) TRUNCATE TABLE `spud_page_partials`;  (0.6ms) TRUNCATE TABLE `spud_pages`;  (0.5ms) TRUNCATE TABLE `spud_permalinks`;  (0.5ms) TRUNCATE TABLE `spud_snippets`;  (0.4ms) TRUNCATE TABLE `spud_user_settings`;  (0.7ms) TRUNCATE TABLE `spud_users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (1.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page1' LIMIT 1 SpudPage Exists (0.4ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page1' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page1' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.3ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:26', NULL, 'html', NULL, NULL, NULL, 'Page1', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:26', NULL, 'page1', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PagesController#show as HTML Parameters: {"id"=>"page1"} SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'page1' LIMIT 1 SpudPagePartial Load (0.1ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (1) Rendered /Users/davidestes/projects/spud_rails/spud_cms/app/views/pages/show.html.erb within layouts/application (24.1ms) Completed 200 OK in 50ms (Views: 32.3ms | ActiveRecord: 1.8ms)  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'home' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'home' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'home' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:26', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:26', NULL, 'home', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2 Processing by PagesController#show as HTML SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'home' LIMIT 1 SpudPagePartial Load (0.1ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (2) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:26', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:26', NULL, 'about', 0, 0)  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 3) SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about-us' LIMIT 1 SpudPermalink Exists (0.3ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'about' AND `spud_permalinks`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (3, 'SpudPage', '2013-03-09 02:53:26', 0, '2013-03-09 02:53:26', 'about') SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about us' AND `spud_pages`.`id` != 3 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about-us' AND `spud_pages`.`id` != 3 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'about us', `url_name` = 'about-us', `updated_at` = '2013-03-09 02:53:26' WHERE `spud_pages`.`id` = 3  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PagesController#show as HTML Parameters: {"id"=>"about"} SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' LIMIT 1 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`url_name` = 'about' LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 3 LIMIT 1 Redirected to http://test.host/about-us Completed 301 Moved Permanently in 6ms (ActiveRecord: 0.7ms)  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:27', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:27', NULL, 'about', 0, 1)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PagesController#show as HTML Parameters: {"id"=>"about"} SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (4) Redirected to http://test.host/spud/user_session/new Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '01f22bdef4d61125058adde84d058dd7eed5967147b6c386c4cccc202f16716cf8155bc502d838ddea6d9bd653c2630d4ebd0410d5b0f28a7fd2aa074776d028' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'O4nbLX5qNxcPQt5lfu6' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', '24f85f03123e8ffc71e0d7c714f3e1d377f4230fbf972282a27f4d9bbc9ded593a995d96c22e0321413a569c385719ff8564f8d4288c63a3808dfb458c3f3f51', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'LcNcOR60A0NB4WCwwa90', '7jjuhjmhyyu6Sks0JR', '01f22bdef4d61125058adde84d058dd7eed5967147b6c386c4cccc202f16716cf8155bc502d838ddea6d9bd653c2630d4ebd0410d5b0f28a7fd2aa074776d028', 'O4nbLX5qNxcPQt5lfu6', 1, NULL, '2013-03-09 02:53:27')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MFBaUDwMm3S1ICM8N3QX', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 1  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:27', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:27', NULL, 'about', 0, 1)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PagesController#show as HTML Parameters: {"id"=>"about"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (5) Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1 SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:27', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:27', NULL, 'about', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PagesController#show as HTML Parameters: {"id"=>"about"} SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' AND `spud_pages`.`site_id` = 1 LIMIT 1 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`url_name` = 'about' AND `spud_permalinks`.`site_id` = 1 LIMIT 1 Completed 404 Not Found in 5ms (Views: 2.2ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:27', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:27', NULL, 'about', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 1 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about' AND `spud_pages`.`site_id` = 1) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:27', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 1, NULL, '2013-03-09 02:53:27', NULL, 'about', 0, 0)  (0.2ms) RELEASE SAVEPOINT active_record_2 Processing by PagesController#show as HTML Parameters: {"id"=>"about"} SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' AND `spud_pages`.`site_id` = 1 LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (8) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.4ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'home' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'home' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'home' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:27', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:27', NULL, 'home', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'home' LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'home' AND `spud_pages`.`site_id` = 1 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'home' AND `spud_pages`.`site_id` = 1) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:27', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 1, NULL, '2013-03-09 02:53:27', NULL, 'home', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PagesController#show as HTML SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'home' AND `spud_pages`.`site_id` = 1 LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (10) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'aa91baaae09a054d99eb2c3a338ebdc81ddd937002ebd56ed0b5fbf84fec1ca43a7d184903d615ec42ca95352da8d086ca910ab86f74e239982faf5bda844a24' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WrfNqX2fqszi48FA5F' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', '6d0eb951b1a36b213f2395b8f519f100bb5a1b1b355ce31ee1a5f08ba7a55368eb2fababa74ddf68c81037b774d23cd914c2f337a289f6e9f6cba8c83323934e', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'r8TsVaGpWS1ENGwBb3CF', 'UP80MNB9jFrZhsVtOdfk', 'aa91baaae09a054d99eb2c3a338ebdc81ddd937002ebd56ed0b5fbf84fec1ca43a7d184903d615ec42ca95352da8d086ca910ab86f74e239982faf5bda844a24', 'WrfNqX2fqszi48FA5F', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = '3sREnEvBbTnDOyYt2BJY', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 2  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu1' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu1', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 0, 'Menu Item 1', 1, 'SpudMenu', 1, NULL, '2013-03-09 02:53:27', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 0, 'Menu Item 2', 1, 'SpudMenu', 1, NULL, '2013-03-09 02:53:27', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#index as HTML Parameters: {"menu_id"=>"1"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 LIMIT 1 Completed 200 OK in 9ms (Views: 2.2ms | ActiveRecord: 0.5ms)  (0.4ms) SELECT COUNT(*) FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 1 AND `spud_menu_items`.`parent_type` = 'SpudMenu'  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1e51d3816f87a86041d677265c794e7af4f5fd51e4273f8c57f6de28bf9d2ee07c50c5ca8a9b931b802b50f1a5a25227cf51e13e0bbf735022e627a531b69da5' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'AeBDWSOXU4medKWPw5MK' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'e46201519a1b323ff2ae6f219097ccbab889e7b8ff69ef50c35eb4e31de622e93cfe63426e3b4b5733937eab84bc3c496c986c1c2c7c5efb71d137d8d1f19bf0', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'sWZFIDLpFz1o6Dkitsm4', 'ppexf3aOoZjoiiy7E1rv', '1e51d3816f87a86041d677265c794e7af4f5fd51e4273f8c57f6de28bf9d2ee07c50c5ca8a9b931b802b50f1a5a25227cf51e13e0bbf735022e627a531b69da5', 'AeBDWSOXU4medKWPw5MK', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'BzZHmp3Q4Tl3EszeWLq', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 3  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu2' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu2', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#index as HTML Parameters: {"menu_id"=>"3"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 3 LIMIT 1 Redirected to http://test.host/spud/admin/menus Filter chain halted as :load_menu rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '908bca40710b9965d709340cd2a84c6b95cc4704ead2be31319aa4839de64477158759f59c5823cb9ccf2815a3cdc3fa2811dfd88f812c0b89c7bc2bfdda1ffe' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6Yc2uTHgAoREltW7N0ei' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'a5d3ea4adddef7222326c0967e2071153d89f989c099040a892c2113382da9f0fbe006c233add3859c1a2f6bac8b5d71bc8f62af8db300f6d84e8cf7ff4f1050', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'ExUEi96qdxQBFHYtr0CT', 'rXZEEwSV4Gp4NaoAoSL', '908bca40710b9965d709340cd2a84c6b95cc4704ead2be31319aa4839de64477158759f59c5823cb9ccf2815a3cdc3fa2811dfd88f812c0b89c7bc2bfdda1ffe', '6Yc2uTHgAoREltW7N0ei', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Ub1T5Kln42DXoz8QvLH', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 4  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu3' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu3', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#new as HTML Parameters: {"menu_id"=>"3"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1 SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 3 LIMIT 1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2adefd4f4d88b174bbfd0a3f1ef573d521003c51d8d8210c2348ca712ad73a7e9855ba0c5aa3e3b452bc4eaed645475ccfe401149ef7be713e5c078a9fbbe832' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5FwOfDLff8ZhQVukGnL' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', '0f136463d27931e92d854ab107a5608e99e0bca94a2ea1290057fbff253ae87d85c594c8ad8d9fd162e5c725cc9cb20fd300b6f4876785c226ca32a76220f811', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'HHDFrRJju1R7ccSHAHR', 'Lz4ZQE7upKzshtFdxjpz', '2adefd4f4d88b174bbfd0a3f1ef573d521003c51d8d8210c2348ca712ad73a7e9855ba0c5aa3e3b452bc4eaed645475ccfe401149ef7be713e5c078a9fbbe832', '5FwOfDLff8ZhQVukGnL', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'G3YWLlckeeRgtpBNFG3', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 5  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu4' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu4', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_menu_items`  Processing by Spud::Admin::MenuItemsController#create as HTML Parameters: {"spud_menu_item"=>{"name"=>"Menu Item 3", "parent_type"=>"SpudMenu", "parent_id"=>nil}, "menu_id"=>"4"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 0, 'Menu Item 3', 4, 'SpudMenu', 4, NULL, '2013-03-09 02:53:27', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/4/menu_items Completed 302 Found in 12ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items`   (0.5ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ba1a5395b49a2e997b1a548eb339949916800d8d3b1fa6c5010b222463ee407c5409c726423eacf64c6983971fe562eb34602835775617a8a61213c6cdee966d' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jv6299yV4hmvIhOhwea2' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'bbc416f9a37f0a5d28e907776e479a8ec556fb2491236d031bd7b627decb25f75dbdb7fbc224e1823fc7b2eef26f082f45ae3e0164963f9862787cc8b6e11c48', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'SsErDGKocyHMtlTAfJw', 'MY94u2ZvOekqqBt3oI', 'ba1a5395b49a2e997b1a548eb339949916800d8d3b1fa6c5010b222463ee407c5409c726423eacf64c6983971fe562eb34602835775617a8a61213c6cdee966d', 'jv6299yV4hmvIhOhwea2', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'CIAOf8qkLVbC2yaMVH44', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 6  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.1ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu5' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu5', 0, '2013-03-09 02:53:27')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_menu_items` Processing by Spud::Admin::MenuItemsController#create as HTML Parameters: {"spud_menu_item"=>{"name"=>nil, "parent_type"=>"SpudMenu", "parent_id"=>nil}, "menu_id"=>"5"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1 SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 5 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2 Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items`   (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0d3bffca470d6719b59f4630776494da8859eb80e730167c13fda11ff628836ce840390dc5330b3129f2a65d9a49093e343c73dad2e9241c5f3d4e897deb4e7f' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pYj9a5F3F5gEOANTHoe' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', '763d18d9b15894e0df675cdd1fa60417d6b3d291a1c233acbc83aea147683eeef4f288fff595e4266504fcc62bcd5f74bd172959342c0be100898922dc344fbf', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'syILERcWM1wiublGc3Gr', 'uX6rZuhaC7t57CHT2Vus', '0d3bffca470d6719b59f4630776494da8859eb80e730167c13fda11ff628836ce840390dc5330b3129f2a65d9a49093e343c73dad2e9241c5f3d4e897deb4e7f', 'pYj9a5F3F5gEOANTHoe', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.3ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'KcR1QWYQiCiAdjfpAVB', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 7  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu6' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu6', 0, '2013-03-09 02:53:27')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 0, 'Menu Item 4', 6, 'SpudMenu', 1, NULL, '2013-03-09 02:53:27', NULL)  (0.0ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#create as HTML Parameters: {"spud_menu_item"=>{"name"=>"Menu Item 5", "parent_type"=>"SpudMenu", "parent_id"=>nil, "menu_order"=>nil}, "menu_id"=>"6"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 6 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 6 LIMIT 1 SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 6 AND `spud_menu_items`.`parent_type` = 'SpudMenu' ORDER BY menu_order desc LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 1, 'Menu Item 5', 6, 'SpudMenu', 6, NULL, '2013-03-09 02:53:27', NULL)  (0.2ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/6/menu_items Completed 302 Found in 9ms (ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '23df5073e9bc87f07116a6bc5a406cbfb59381484292653e4468ff5eee1b4ed5d1e75a40ff073c0b2648d8395498c249d8e81587098805b7fe98255c7611507d' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mIKf07tV7L5NCGhg5ef' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', '584d0645695d9091bfee7e8adc9777051d0e00a2fd364bda966998520dd11804685fc70b155ea12bd5a8361843d45c9af85bd0639d813bd4f82545ecbbde0076', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'KglI8dpfG4TuBAv3GJ', 'jbszlBhJFMOAdirv2dJa', '23df5073e9bc87f07116a6bc5a406cbfb59381484292653e4468ff5eee1b4ed5d1e75a40ff073c0b2648d8395498c249d8e81587098805b7fe98255c7611507d', 'mIKf07tV7L5NCGhg5ef', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Kbcr72yuq6VE8ZB9OMvu', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 8  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu7' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu7', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page2' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page2' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page2' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:27', NULL, 'html', NULL, NULL, NULL, 'Page2', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:27', NULL, 'page2', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#create as HTML Parameters: {"spud_menu_item"=>{"name"=>nil, "parent_type"=>"SpudMenu", "parent_id"=>"1", "spud_page_id"=>"11"}, "menu_id"=>"7"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 7 LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 0, 'Page2', 1, 'SpudMenuItem', 7, 11, '2013-03-09 02:53:27', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/7/menu_items Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '23762708cca8e81862e1993f5101c3c43be20e21d28bd0606278e74a29da17b98e78b795c6768a2889e151f110593b1ccc08e9ebc28e1c897241e9b53d00b8d6' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '3UBMLYa8qkD05xJzqnW' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'd51dc3862904e8cb7705a62756e0d266abd8286b03aa07bc244505164fc32dbbe6b0d027cf35c50b1dd4dfcda5f1b65adda539a3c58257f6cffef75bd40b9703', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'aCV89fEbHzHfLVk7yeMc', 'LAsVll8JcKhtaSZ0TdyB', '23762708cca8e81862e1993f5101c3c43be20e21d28bd0606278e74a29da17b98e78b795c6768a2889e151f110593b1ccc08e9ebc28e1c897241e9b53d00b8d6', '3UBMLYa8qkD05xJzqnW', 1, NULL, '2013-03-09 02:53:27')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'C6MQJbSCs5kEJssZg3v', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 9  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu8' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu8', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 0, 'Menu Item 6', 8, 'SpudMenu', 1, NULL, '2013-03-09 02:53:27', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#create as HTML Parameters: {"spud_menu_item"=>{"name"=>"Menu Item 7", "parent_type"=>"SpudMenu", "parent_id"=>"7"}, "menu_id"=>"8"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 8 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 0, 'Menu Item 7', 7, 'SpudMenuItem', 8, NULL, '2013-03-09 02:53:27', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/8/menu_items Completed 302 Found in 6ms (ActiveRecord: 0.0ms) SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 7 LIMIT 1  (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0f34d757a35737423faaca89d9821f4532ae40033bdfbc06bab9f6949821b3a480d3f451919d8060cc4d4ad05db6ba391044bd809fb497ad339ab1c4b50083e3' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'JVxaz0G3eWHS98E9XKAs' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'd288d978632d79bead1f8c48e70de37a7a9c7aeb0db2cc93cafec6ced41a343993c4ec72a1f5acc16f0b20faa598c9353ada3415846f27f344ae58ea6bdc33c6', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'MBjnNiopRVIe6gyXoKXD', 'uXcfi5BTdDiybHUFZkJ', '0f34d757a35737423faaca89d9821f4532ae40033bdfbc06bab9f6949821b3a480d3f451919d8060cc4d4ad05db6ba391044bd809fb497ad339ab1c4b50083e3', 'JVxaz0G3eWHS98E9XKAs', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Hmox13w6XG7r32anzDn', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 10  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu9' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu9', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 0, 'Menu Item 8', 1, 'SpudMenu', 1, NULL, '2013-03-09 02:53:27', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 0, 'Menu Item 9', 1, 'SpudMenu', 1, NULL, '2013-03-09 02:53:27', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#edit as HTML Parameters: {"menu_id"=>"9", "id"=>"10"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 9 LIMIT 1 SpudMenuItem Load (0.1ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 10 LIMIT 1 Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '36d7940489721e4a451ea1f9ad2a593a92a1eb430c03652acba1aa08e33e538e08136263e27ce7934f0aa29e7d44825d4226988794bd8513b06a626492393308' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'e9Gj30H5C3bM75foaJqd' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'b215dd56a1b0eaf815010b3faebd2efc643bfab900131a7646517a5cfc22c8d8cad55db27e476dfed9c291b6915cdae7356416619eb08b3273805b19568b4c6b', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, '3fkcCQJ0HwxgW3mMGbvv', 'rJPbi5Fpu7TU3MaBSXwQ', '36d7940489721e4a451ea1f9ad2a593a92a1eb430c03652acba1aa08e33e538e08136263e27ce7934f0aa29e7d44825d4226988794bd8513b06a626492393308', 'e9Gj30H5C3bM75foaJqd', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ppjwvBurSkU6q12hoL', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 11  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu10' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu10', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#edit as HTML Parameters: {"menu_id"=>"10", "id"=>"345"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 10 LIMIT 1 SpudMenuItem Load (0.1ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 345 LIMIT 1 Redirected to http://test.host/spud/admin/menus/10/menu_items Filter chain halted as :load_menu_item rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4b0ef49cc11558787c379e32b86ad671d6b6f1a42d83282295c2f52d5fd182c899628938383ce6dcd3265553a00e9ba9a2ea2fae397dd6d35cffdb71936863f4' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wxay3QUrdU5vFDCO8X63' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', '4f83e13268961e3bf148c864afa075b41c8c9406d32adcccbc103b2ab5f857f96580bdf43c27c7123c4871dc76f9d05ef52beddc943d9b56263026e421723c32', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, '2xGUmAM6KJd0H3YlRda', 'MxZyLf1v0CUaQTXjsNd0', '4b0ef49cc11558787c379e32b86ad671d6b6f1a42d83282295c2f52d5fd182c899628938383ce6dcd3265553a00e9ba9a2ea2fae397dd6d35cffdb71936863f4', 'wxay3QUrdU5vFDCO8X63', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'X7vVa58WEXyXlbtm6YQt', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 12  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu11' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu11', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 0, 'Menu Item 10', 1, 'SpudMenu', 1, NULL, '2013-03-09 02:53:27', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#update as HTML Parameters: {"spud_menu_item"=>{"parent_type"=>"SpudMenu", "parent_id"=>nil, "item_type"=>nil, "spud_page_id"=>nil, "menu_order"=>"0", "url"=>nil, "name"=>"MyMenu", "classes"=>nil}, "menu_id"=>"11", "id"=>"11"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 11 LIMIT 1 SpudMenuItem Load (0.1ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_menu_items` SET `parent_id` = 11, `name` = 'MyMenu', `spud_menu_id` = 11, `updated_at` = '2013-03-09 02:53:27' WHERE `spud_menu_items`.`id` = 11  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/11/menu_items Completed 302 Found in 9ms (ActiveRecord: 0.0ms) SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 11 LIMIT 1  (0.6ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '491bd667112084b62d8871cbc99c8780c8236457b8446b2f81427c89ed82d8ed125b4fb0334512f8b6c74a3fe476ab96375ca8b49e353a3a35363d820f0b1ddc' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qAe66OS64QTK2Z9Q6u2e' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'aa02490abb3e86f1b3e9dd34e516b06a2fe3cb875deb68f6196ae1b67da9db7b82e7c9cdfc94eeb6d5778ccfac3d4b70b49001f1aaffd12020a943f56a70a98f', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'AXAqOQqJwQDaIt7aKrSw', 'Tkddq8NRrRvJjP8wUs', '491bd667112084b62d8871cbc99c8780c8236457b8446b2f81427c89ed82d8ed125b4fb0334512f8b6c74a3fe476ab96375ca8b49e353a3a35363d820f0b1ddc', 'qAe66OS64QTK2Z9Q6u2e', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'TiE1u9V5N8j9zSbNqfa', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 13  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu12' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu12', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 0, 'Menu Item 11', 1, 'SpudMenu', 1, NULL, '2013-03-09 02:53:27', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 0, 'Menu Item 12', 1, 'SpudMenu', 1, NULL, '2013-03-09 02:53:27', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 LIMIT 1 Processing by Spud::Admin::MenuItemsController#update as HTML Parameters: {"spud_menu_item"=>{"parent_type"=>"SpudMenu", "parent_id"=>"12", "item_type"=>nil, "spud_page_id"=>nil, "menu_order"=>"0", "url"=>nil, "name"=>"Menu Item 12", "classes"=>nil}, "menu_id"=>"12", "id"=>"13"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 12 LIMIT 1 SpudMenuItem Load (0.1ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 13 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_menu_items` SET `parent_type` = 'SpudMenuItem', `parent_id` = 12, `spud_menu_id` = 12, `updated_at` = '2013-03-09 02:53:27' WHERE `spud_menu_items`.`id` = 13  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/12/menu_items Completed 302 Found in 7ms (ActiveRecord: 0.0ms) SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 13 LIMIT 1 SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 12 LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a165030776594f3ddbf6ee086165140b6c63c5237b0f026d351f1ed450aac06114c828faacbc9b2a9eca0af8782d8781b5ba90aa5b0413eb5a849ff93041fb8e' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cOF10FyJRttXrCG2tvV' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'a25bf8e9903322618ef3e15eecae451a08007768ed5b184b8807373330fec01dd79c20bd46cc852352751b392e829944b558428e26fa23a763919971f589d6eb', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'SN1mRTchskffszSeHE', 'eE3ARkagXHBV0pfFdoCs', 'a165030776594f3ddbf6ee086165140b6c63c5237b0f026d351f1ed450aac06114c828faacbc9b2a9eca0af8782d8781b5ba90aa5b0413eb5a849ff93041fb8e', 'cOF10FyJRttXrCG2tvV', 1, NULL, '2013-03-09 02:53:27')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'CYojaSMeUMokY6r5t6T7', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 14  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu13' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu13', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 0, 'Menu Item 13', 13, 'SpudMenu', 1, NULL, '2013-03-09 02:53:27', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items` Processing by Spud::Admin::MenuItemsController#destroy as HTML Parameters: {"menu_id"=>"13", "id"=>"14"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 13 LIMIT 1 SpudMenuItem Load (0.1ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 14 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 14 AND `spud_menu_items`.`parent_type` = 'SpudMenuItem' SQL (0.2ms) DELETE FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 14  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/13/menu_items Completed 302 Found in 11ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items`  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f3a210ddd99f3715d2104f9e3627be063a2bbdc1d1c9af51a5cbbb60f4cc9455184674c205bccf5232cc71049e5a468bd75cc427eaef31a716933e785aed7c8f' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fFyNxcOo9rT232n2PcA' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'da7da0248f666f50eb687fbcc7790e26f7c6cbb442c3ffdfe483b362d951f027793c561c64850732b4abdb8945b7db648904f340752b83c70a69ebc793843e98', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'CXunxKgmClFpu7Z7a86', 'YKb09j3GsgDfbpddYk', 'f3a210ddd99f3715d2104f9e3627be063a2bbdc1d1c9af51a5cbbb60f4cc9455184674c205bccf5232cc71049e5a468bd75cc427eaef31a716933e785aed7c8f', 'fFyNxcOo9rT232n2PcA', 1, NULL, '2013-03-09 02:53:27')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 's236d1jCTCdQG1sP12fx', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 15  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu14' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu14', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:27', NULL, 0, 'Menu Item 14', 1, 'SpudMenu', 1, NULL, '2013-03-09 02:53:27', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#edit as HTML Parameters: {"id"=>"15", "menu_id"=>"14"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 14 LIMIT 1 Redirected to http://test.host/spud/admin/menus Filter chain halted as :load_menu rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ffbc53fcf8203ce0ded00c960cf93859d2078659f270247e87968d164fba25e16011bcac31b9ee2e8c44caefafd40f850092f07f138ab57bd67b34f5a8e4e9df' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ACxBwuvEx0etW9eJPuU' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'e7e16f21335658eff75d0e29d71f1a7b01710711ee7b1f0443018f2b0ea5fb68b8baea50197abeadb3ef0b3743af907bedd92ffa0dcea18c5216896fd6431b85', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, '4zH3qZfZrBctpiXFUTnP', '17gR7tgzOnHvAY74Kcc', 'ffbc53fcf8203ce0ded00c960cf93859d2078659f270247e87968d164fba25e16011bcac31b9ee2e8c44caefafd40f850092f07f138ab57bd67b34f5a8e4e9df', 'ACxBwuvEx0etW9eJPuU', 1, NULL, '2013-03-09 02:53:27')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ALlY30tzmW3O7hp4Ioon', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 16  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.1ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu15' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu15', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudMenu Exists (0.1ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu16' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu16', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#index as HTML SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 16 LIMIT 1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.2ms)  (0.2ms) SELECT COUNT(*) FROM `spud_menus` WHERE `spud_menus`.`site_id` = 0  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9c25230fdf12284bc5ea6814aeaf10146c9d99b4db5f0ca9cefc3b39212e5d08ff523087327c26c94d5d5fccd0fb79dfc0822b8ed21d6a5c1602f485c86e2e4e' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NDmnopRhmoMfHmnpPbg' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'ce2674ff549edd68f7bfce589f59925037c12827580b5d56bffac52c3a410f8b55c4515dbdda51bc76416c0ec442c646a4b8141bd910a31aa1e31d7fc5dc8cea', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'CmXNkwbZdMMEoUftmIRB', 'nWLRTVfNyI5WI53YQ2E', '9c25230fdf12284bc5ea6814aeaf10146c9d99b4db5f0ca9cefc3b39212e5d08ff523087327c26c94d5d5fccd0fb79dfc0822b8ed21d6a5c1602f485c86e2e4e', 'NDmnopRhmoMfHmnpPbg', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Le8fTgf8ndEKOdIteD7R', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 17  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#new as HTML SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 17 LIMIT 1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_2 SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9dea6364929def238697947567d9a2b88634c42e902fb9d1eb3c0c43d0368409d2750a9ed5cbefb09b636c834c7dc110e5242e9ba4ba05a2fda0713ae2a6127b' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VW33NTxi8uakop5aZwwI' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', '98adeac32a2d01b37fb65e3bf24475e76ae3bad5b4585b42f377058fffc4bdf8938ba9ced81a9ac2802e98ab106eecb468727d84cf1464e16ea92027dcaf09b8', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, '33UszbMvPhVPi0g3kOB1', 'v2DP0TnXXs1Wy26zOEz3', '9dea6364929def238697947567d9a2b88634c42e902fb9d1eb3c0c43d0368409d2750a9ed5cbefb09b636c834c7dc110e5242e9ba4ba05a2fda0713ae2a6127b', 'VW33NTxi8uakop5aZwwI', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iXaMzpsxeiI42vJmyWN', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 18  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_menus`  Processing by Spud::Admin::MenusController#create as HTML Parameters: {"spud_menu"=>{"name"=>"Menu17"}} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 18 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu17' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu17', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/17/menu_items Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM `spud_menus`   (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5e8e14300d4ff7bdd4e1957e5503ad3bff3b02ffa00186be2637fe329ff7bf45cdff069e99ceceed0144f6c466254562e2d3d9a0467f2e74a7dac6a7776b445c' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Sqv5wdwM8KZ1lUSPpAZ' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', '9cc7c0b5ba8ce0b42c4342b705e1f197c20eb969ec76f1ce6ff17e0f0ff82179071e808a5e93580226994edb92c8735eec9c6c0456f750d54440fcd9bf5a2ac3', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'qiQXZHloJiET9bqTrH5', 'lRzQ6n28gk3sjszgti9', '5e8e14300d4ff7bdd4e1957e5503ad3bff3b02ffa00186be2637fe329ff7bf45cdff069e99ceceed0144f6c466254562e2d3d9a0467f2e74a7dac6a7776b445c', 'Sqv5wdwM8KZ1lUSPpAZ', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = '9h0IGmGMzqe9RoHE89EK', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 19  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_menus` Processing by Spud::Admin::MenusController#create as HTML Parameters: {"spud_menu"=>{"name"=>nil}} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 19 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` IS NULL AND `spud_menus`.`site_id` = 0) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2 Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM `spud_menus`   (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '95c077cd9405e4ec33cd7b6376a7c8a2b23db41fafffc967483402f5109b947f6a93b5c86e3abf2a8793896407173a9e028446b1103a6fabcd5154255b8ad26b' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dxu2xuuMH52Pp91YQXm' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', '61aaff3e28bca7a382a578f312e754e648385ae970a451b536ec0b473e63b6e913271f3347a461e505fd21fcff870033803680e47f16ed1a9683af1fbf8bc99c', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'he5TJK4D6P26y6jXcBO', 'BDL6oPpDcdmwRcQ4xI', '95c077cd9405e4ec33cd7b6376a7c8a2b23db41fafffc967483402f5109b947f6a93b5c86e3abf2a8793896407173a9e028446b1103a6fabcd5154255b8ad26b', 'dxu2xuuMH52Pp91YQXm', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'FpiqaYe6m1ADxvVsqD8', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 20  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu18' AND `spud_menus`.`site_id` = 1) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu18', 1, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#edit as HTML Parameters: {"id"=>"18"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 20 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 18 LIMIT 1 Redirected to http://test.host/spud/admin/menus Filter chain halted as :load_menu rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '22670d21a8b2deb5fb4bbc66ff0c6ca245ecbcff37ad99f1ad2c4c84ed2734c359fb1f59f6cc5ac92d332d3f4de466289c82de2691050b47afbd2b8d2d403954' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yIn7BazcwMDImWMVYbJd' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'dc44ca0e127c5799f9a8a0fe4e548fc6dbfed1ec0f949b34a464ec3fa4dcd8f5e898bfe2985499f19436353d4543cbfa7c0fdceaef91f38cf5aa9ff0fe28f849', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'hwJuFxqVrYg7dK4CNC', 'COYbrhrxQy4BwE7WVJE', '22670d21a8b2deb5fb4bbc66ff0c6ca245ecbcff37ad99f1ad2c4c84ed2734c359fb1f59f6cc5ac92d332d3f4de466289c82de2691050b47afbd2b8d2d403954', 'yIn7BazcwMDImWMVYbJd', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.1ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Qq53GHoArRrhwmIIqAZ6', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 21  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu19' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu19', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu20' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu20', 0, '2013-03-09 02:53:27')  (0.0ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#edit as HTML Parameters: {"id"=>"20"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 21 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 20 LIMIT 1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '11a7244bfa3cb4ee5ed1e11a03dd01f9c3aa3c006335921dca90489212229a686587fb17ae3241ae5a2ace563b06b516daec9cd2fd9ee8226e9b2a1e9354bd78' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cTvfGsSYOAxidZStpCbL' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'faf404f6b2975ff4206ea8e3bebe85877d467b80e3ef3c314a78753f21fda17c84920360b28a2aaf901e67bfd4df38d468f68e66d66829ca2121c76c90db4f66', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'mMAiwlLEWanGCwtzj4U', 'XDVgKnJGtP3qn3QmLogF', '11a7244bfa3cb4ee5ed1e11a03dd01f9c3aa3c006335921dca90489212229a686587fb17ae3241ae5a2ace563b06b516daec9cd2fd9ee8226e9b2a1e9354bd78', 'cTvfGsSYOAxidZStpCbL', 1, NULL, '2013-03-09 02:53:27')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'cvPF7rYVHuTPKUiMA7hv', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 22  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#edit as HTML Parameters: {"id"=>"3"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 3 LIMIT 1 Redirected to http://test.host/spud/admin/menus Filter chain halted as :load_menu rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4f299b7317ac6dfba1e87e0efe26a21bf3ce26e274e8219e7c76b771356e0a09e12a7c3c42ff39595c3d62e984ac3c08e97ef86a74723f63cb5455fb1dfb6c7b' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qK5Px0bVCFtyGHzh3S' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'bf94a7f09157b686df7e4101abf6bf0db2cfc66cfc6e622452165f697ebb1bda87928503e26637c45845587cd0555fd1628965fd32f9dcde270dfd7aa854cb7d', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'kn4fPAy0y08dPd7cqt4c', '4JrJNisp3RYDgBi2Zd81', '4f299b7317ac6dfba1e87e0efe26a21bf3ce26e274e8219e7c76b771356e0a09e12a7c3c42ff39595c3d62e984ac3c08e97ef86a74723f63cb5455fb1dfb6c7b', 'qK5Px0bVCFtyGHzh3S', 1, NULL, '2013-03-09 02:53:27')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = '8jTDnQBLQrnvbc1gG2', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 23  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu21' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu21', 0, '2013-03-09 02:53:27')  (0.0ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#update as HTML Parameters: {"spud_menu"=>{"name"=>"MyMenu", "description"=>nil, "created_at"=>"2013-03-09 02:53:27 UTC", "updated_at"=>"2013-03-09 02:53:27 UTC"}, "id"=>"21"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 23 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'MyMenu' AND `spud_menus`.`id` != 21 AND `spud_menus`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_menus` SET `name` = 'MyMenu', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_menus`.`id` = 21  (0.0ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/21/menu_items Completed 302 Found in 10ms (ActiveRecord: 0.0ms) SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 21 LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9333d878ec9aa4df454f99ee5bb00e7ad8c1d729e3611ddfb682e291762401026d43a8ac31b74f7a6efd1a0f298792ab92f44c07c98de9f2805308010787a1cb' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'egZIUSVvPDWwYLKvQ9v' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', '26486855510608e8a62c661e97e81b898cfaa7e0f8ed49062fd052817df1968d81e005b53d1ea1e7e008ccf25328af0c57269b786667f1e59029a1296c16c695', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'VdtdIx1I7xKNuweWSXv0', 'wxDfOXFg2R6LfDv693hK', '9333d878ec9aa4df454f99ee5bb00e7ad8c1d729e3611ddfb682e291762401026d43a8ac31b74f7a6efd1a0f298792ab92f44c07c98de9f2805308010787a1cb', 'egZIUSVvPDWwYLKvQ9v', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = '2RsOCHN4OBmMkUyG40yg', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 24  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu22' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu22', 0, '2013-03-09 02:53:27')  (0.0ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#update as HTML Parameters: {"spud_menu"=>{"name"=>"MyMenu", "description"=>nil, "created_at"=>"2013-03-09 02:53:27 UTC", "updated_at"=>"2013-03-09 02:53:27 UTC"}, "id"=>"22"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 24 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 22 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'MyMenu' AND `spud_menus`.`id` != 22 AND `spud_menus`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_menus` SET `name` = 'MyMenu', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_menus`.`id` = 22  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/22/menu_items Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c6e01e74fdf2ad91dfd22736e2d3f0eb68173d8c9aeb00e08a2c04047fb4ac16dfed6e89dfed3acc9e7a814fe9c1cb626b03ea3dd634150bf0c0be205be7a52b' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SjHGe2Za3Aj63VYbCtG' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'cf20c948a623fa46c02d287c90954126ce36f91138241b2bdfb68d655ba73f5dd7c5322c09e5fabf758d83e955db0573e8805bdd3f34e2b8c132003d1931a732', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'NBWRO4c4uFAVxDBzbOft', 'krdbOYeb8v6qjI3IOIn0', 'c6e01e74fdf2ad91dfd22736e2d3f0eb68173d8c9aeb00e08a2c04047fb4ac16dfed6e89dfed3acc9e7a814fe9c1cb626b03ea3dd634150bf0c0be205be7a52b', 'SjHGe2Za3Aj63VYbCtG', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'JvMjMNJNaDNA8sLVtrX', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 25  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu23' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu23', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_menus`  Processing by Spud::Admin::MenusController#destroy as HTML Parameters: {"id"=>"23"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 25 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 23 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 23 AND `spud_menu_items`.`parent_type` = 'SpudMenu' SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`spud_menu_id` = 23 SQL (0.2ms) DELETE FROM `spud_menus` WHERE `spud_menus`.`id` = 23  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus Completed 302 Found in 9ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM `spud_menus`   (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5a829ca0776bfe8c796870e6f6573319bb99c7bacf52539439fe5ea297e5b39c0a103c9f655e4ef9bfb99f640c6e2040aabec965bc0ee21e8cc9bfa313e65537' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '79KSaYNn7mcakYbjH7nn' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', '14c233f4f7ce6d544862de80480d0c6fd107a556957e9b66b0dd767790604eb05fdf808eaafb8c6729ae79e56e2cf2696c42f17af926f2d85649cc5a1bfdb346', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'IcyZ89A6Ck1k6u9rctR0', 'YlpEIPta1DAObhdy8RUI', '5a829ca0776bfe8c796870e6f6573319bb99c7bacf52539439fe5ea297e5b39c0a103c9f655e4ef9bfb99f640c6e2040aabec965bc0ee21e8cc9bfa313e65537', '79KSaYNn7mcakYbjH7nn', 1, NULL, '2013-03-09 02:53:27')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'FC0haQehRZhHqVTxbD', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 26  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu24' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:27', NULL, 'Menu24', 0, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_menus` Processing by Spud::Admin::MenusController#destroy as HTML Parameters: {"id"=>"23532"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 26 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 23532 LIMIT 1 Redirected to http://test.host/spud/admin/menus Filter chain halted as :load_menu rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM `spud_menus`   (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ff967d743c7817db21044e555d0b6bf3d7db7315c6f9c7bdedc8ba92ee4803fb6eb76b2ea09e84895c26cb190cf1e612df2a5ab9b5ed5565cbce848c7957cfc3' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iiS26vdHDGnhgdK4gW' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'ad0c2726d9f254d9f62ecb5a47bd3704cc5dcc0397e0c3c74055be80b558348ecf5a136a9d1665e28a110359d9bb1021bc682512d7c433b8307e8eefb71c061c', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, '9nXdNYrh6Zo93s2WuQq', 'VA8d1TGkkhyiaWQ0T8yp', 'ff967d743c7817db21044e555d0b6bf3d7db7315c6f9c7bdedc8ba92ee4803fb6eb76b2ea09e84895c26cb190cf1e612df2a5ab9b5ed5565cbce848c7957cfc3', 'iiS26vdHDGnhgdK4gW', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = '3f1zuU1PGtKTG39FM0Rw', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 27  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page3' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page3' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page3' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:27', NULL, 'html', NULL, NULL, NULL, 'Page3', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:27', NULL, 'page3', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page4' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page4' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page4' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:27', NULL, 'html', NULL, NULL, NULL, 'Page4', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:27', NULL, 'page4', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#index as HTML SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 27 LIMIT 1 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`url_name` = 'home' LIMIT 1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.5ms)  (0.3ms) SELECT COUNT(*) FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL  (0.5ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a8113ac5a2315accb82e14dde02fa664da0237e4d3937c52b01be0d280c982b63581f491a0684b350da0d0780af0f11c3f5d087ca6edee4033d73d703270b495' LIMIT 1 SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '2q85di8GTCbYlp9iMBMZ' LIMIT 1 SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', 'ffde2b95a4da7a231e6054e870d891ff1a7ea7c057c8a4ff94f74cf345e6dffb526621189569dead210aa3a2e93023ec4cccc2272d4587578654ad20f36d9d5a', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'ZRpSC5tEQzE0pDV47NgD', 'ITULFGQlCXoW2H6Kzo7', 'a8113ac5a2315accb82e14dde02fa664da0237e4d3937c52b01be0d280c982b63581f491a0684b350da0d0780af0f11c3f5d087ca6edee4033d73d703270b495', '2q85di8GTCbYlp9iMBMZ', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gSlLKmZ8lUWwtuC3wPIW', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 28  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page5' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page5' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page5' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:27', NULL, 'html', NULL, NULL, NULL, 'Page5', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:27', NULL, 'page5', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page6' LIMIT 1 SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page6' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page6' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:27', NULL, 'html', NULL, NULL, NULL, 'Page6', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:27', NULL, 'page6', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 LIMIT 1 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page7' LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page7' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` = 1) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page7' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:27', NULL, 'html', NULL, NULL, NULL, 'Page7', NULL, NULL, NULL, 1, 0, 1, '2013-03-09 02:53:27', NULL, 'page7', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#index as HTML SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 28 LIMIT 1 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`url_name` = 'home' LIMIT 1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.3ms) SELECT COUNT(*) FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL  (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6c42de0507676de6e02e9f53160bb916476650c2b8166f760c2bbd44b78743e7b4892f215c25542741aefb9ae5909fab05ee063d78a024ae92519620e648781f' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jlmUE1zIak0u8QvFjF' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', '0e5339320f56f5426e871958fee3a53d2623cd1b5aa268cf66e57af7caecee3bd419c5bab526c337ee2908596d485f202e464a9d5d49235dcf94346f52de9caa', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'Nj9dDU4EpIJmA9JIjvT3', 'yEbx7dGPAZame6tN5Qzy', '6c42de0507676de6e02e9f53160bb916476650c2b8166f760c2bbd44b78743e7b4892f215c25542741aefb9ae5909fab05ee063d78a024ae92519620e648781f', 'jlmUE1zIak0u8QvFjF', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = '65mbccvhluy0jV3x9kio', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 29  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page8' LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page8' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page8' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:27', NULL, 'html', NULL, NULL, NULL, 'Page8', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:27', NULL, 'page8', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#show as HTML Parameters: {"id"=>"17"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 29 LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 17 LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (17) Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.6ms)  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4d2c2105fbba06055bb65e325c3475afebec77635384b8db513d29767dabea209a97070e716af028bc422329c79f16b9d2bb8eca2001df475cc2639072de53e5' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gP11eAp2X4bxzhg2lrk' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:27', '66cddc50b7fb76b8e28ea633fbdcb6aaef99db1e936cec0a468110911183269de8d8873f797c3c48d39a3c3e090fd076081bea22fc9a40bf8cc990fc81b8c7b8', '2013-03-09 02:53:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:27', 'testuser', 1, 'pdxmdc4yW8dBXwWs8T', 'RyggoRlaPnRDkXKvoac', '4d2c2105fbba06055bb65e325c3475afebec77635384b8db513d29767dabea209a97070e716af028bc422329c79f16b9d2bb8eca2001df475cc2639072de53e5', 'gP11eAp2X4bxzhg2lrk', 1, NULL, '2013-03-09 02:53:27')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'TrmKiNT4r7HjpsOWHpRJ', `updated_at` = '2013-03-09 02:53:27' WHERE `spud_users`.`id` = 30  (0.0ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#new as HTML SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 30 LIMIT 1 Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 0.2ms)  (0.6ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7c844aadc96ad0a3a7b65a5bb678bb884395a8e3375091124028f404657baec0a57f779327214eafee1e53c09b87278783610a1d682329b76a9d7c0dc0aaf55d' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TdiVeQ30Ts4bz3SLkpj' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:28', 'b20436a44640eefeb65c279ffe1cda2a17d26d0ef06a5dbc0b04cc7558878cd0ef564e31d1f175fca4ea0aa141eec739e36bee66ed0dbae39645d54188b7c4a6', '2013-03-09 02:53:28', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:28', 'testuser', 1, 'YnIvYn44CICFx1XNOPM6', 'kx0vVvlcf4IzyfhIS3VH', '7c844aadc96ad0a3a7b65a5bb678bb884395a8e3375091124028f404657baec0a57f779327214eafee1e53c09b87278783610a1d682329b76a9d7c0dc0aaf55d', 'TdiVeQ30Ts4bz3SLkpj', 1, NULL, '2013-03-09 02:53:28')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:28', `last_login_ip` = '0.0.0.0', `perishable_token` = 'aCOVVwMApmVFd1IFo1', `updated_at` = '2013-03-09 02:53:28' WHERE `spud_users`.`id` = 31  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#new as HTML SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 31 LIMIT 1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '62897847f8f6a22df32f59f0f16368095fc138a0e05f1177c094eb88fbf14647dc68acb677c3d2b3ad8b20b59d603251fc81c348894e80f6946fe76d57cfd6da' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'aMaE7lV5CqTXUe2cOqu9' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:28', '1bda0583c832e7cc47a72bb3e8632503ab4c1062badc6d736ecdd7c2dbe34b9a058b017c7c9e3ba7894ca559f981b1e6d791eaa49a978e4abe46b0e2c71c7dd4', '2013-03-09 02:53:28', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:28', 'testuser', 1, 'iFkdzQ0KYoQNWApLc57Z', 'M4ej5yppkGGNCrMXUW5', '62897847f8f6a22df32f59f0f16368095fc138a0e05f1177c094eb88fbf14647dc68acb677c3d2b3ad8b20b59d603251fc81c348894e80f6946fe76d57cfd6da', 'aMaE7lV5CqTXUe2cOqu9', 1, NULL, '2013-03-09 02:53:28')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:28', `last_login_ip` = '0.0.0.0', `perishable_token` = 'cDpGkP6Sc0nyMwbqlcmg', `updated_at` = '2013-03-09 02:53:28' WHERE `spud_users`.`id` = 32  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page9' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page9' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page9' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page9', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page9', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#edit as HTML Parameters: {"id"=>"18"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 32 LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 18 LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (18) Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.6ms)  (0.7ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '98892268414ca50674b84290574335b31fd3595ee9240da4577c03b34c68729333208f4f35800a1234ced513d63023f4c42d5905bb5d1aef9e8c97a8947c0f1d' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'umG3aGUMIdBM4BQG0bI' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:28', '33d82517324f4b6eb47eff3f69f327548a68a9fd2bce3d308424c3f66fcb0c8fb62b0dc1aa6b71a78b460256fc76d9105d2c55b8db19a63be5b95c1d11caedf0', '2013-03-09 02:53:28', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:28', 'testuser', 1, 'kJezAmUO4u6ssaSHPKpe', 'MRGQs7KSlk85fsQG32E4', '98892268414ca50674b84290574335b31fd3595ee9240da4577c03b34c68729333208f4f35800a1234ced513d63023f4c42d5905bb5d1aef9e8c97a8947c0f1d', 'umG3aGUMIdBM4BQG0bI', 1, NULL, '2013-03-09 02:53:28')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:28', `last_login_ip` = '0.0.0.0', `perishable_token` = '7hq0Zbb35xPfhXBLc08w', `updated_at` = '2013-03-09 02:53:28' WHERE `spud_users`.`id` = 33  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page10' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page10' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page10' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page10', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page10', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#update as HTML Parameters: {"spud_page"=>{"name"=>"Adam", "url_name"=>"page10", "publish_at"=>nil, "created_by"=>nil, "updated_by"=>nil, "format"=>"html", "spud_page_id"=>nil, "meta_description"=>nil, "meta_keywords"=>nil, "page_order"=>nil, "visibility"=>"0", "published"=>true, "use_custom_url_name"=>false, "notes"=>nil, "layout"=>nil}, "id"=>"19"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 33 LIMIT 1 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 19 LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (19)  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 19) SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'adam' LIMIT 1 SpudPermalink Exists (0.2ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'page10' AND `spud_permalinks`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (19, 'SpudPage', '2013-03-09 02:53:28', 0, '2013-03-09 02:53:28', 'page10') SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Adam' AND `spud_pages`.`id` != 19 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'adam' AND `spud_pages`.`id` != 19 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'Adam', `url_name` = 'adam', `updated_at` = '2013-03-09 02:53:28' WHERE `spud_pages`.`id` = 19  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/pages Completed 302 Found in 14ms (ActiveRecord: 2.2ms) SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 19 LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6624545fefbeba9541c185d629c1d32ddc330938d56c76cd4cc7b82a3c735ea254882cfcc62bf10e43bc86d1775df89d25719bb0656a3341490942f3052b09ed' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KF4Hz0lKgn23NBZNhiwU' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:28', 'e12673c0abfe3c6814a32ec3f834a19151b4b5968f9d46c36e3a1cadb5cf48da2205a468506a6bf8a659cda775e51673d880dc997115f7b641247e0d457c0a35', '2013-03-09 02:53:28', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:28', 'testuser', 1, 'QdoTkcGnA7fkpOrgVQ', 'e89HsFNpQco8EpjVdG8', '6624545fefbeba9541c185d629c1d32ddc330938d56c76cd4cc7b82a3c735ea254882cfcc62bf10e43bc86d1775df89d25719bb0656a3341490942f3052b09ed', 'KF4Hz0lKgn23NBZNhiwU', 1, NULL, '2013-03-09 02:53:28')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:28', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rPahlKdcX2Gnwx5GLc', `updated_at` = '2013-03-09 02:53:28' WHERE `spud_users`.`id` = 34  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page11' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page11' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page11' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page11', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page11', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#update as HTML Parameters: {"spud_page"=>{"name"=>"Adam", "url_name"=>"page11", "publish_at"=>nil, "created_by"=>nil, "updated_by"=>nil, "format"=>"html", "spud_page_id"=>nil, "meta_description"=>nil, "meta_keywords"=>nil, "page_order"=>nil, "visibility"=>"0", "published"=>true, "use_custom_url_name"=>false, "notes"=>nil, "layout"=>nil}, "id"=>"20"} SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 34 LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 20 LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (20)  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 20) SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'adam' LIMIT 1 SpudPermalink Exists (0.2ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'page11' AND `spud_permalinks`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (20, 'SpudPage', '2013-03-09 02:53:28', 0, '2013-03-09 02:53:28', 'page11') SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Adam' AND `spud_pages`.`id` != 20 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'adam' AND `spud_pages`.`id` != 20 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.1ms) UPDATE `spud_pages` SET `name` = 'Adam', `url_name` = 'adam', `updated_at` = '2013-03-09 02:53:28' WHERE `spud_pages`.`id` = 20  (0.0ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/pages Completed 302 Found in 12ms (ActiveRecord: 2.2ms)  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e95849e1e58f9d18c9fb877565817601828b2eb9389539dcdbd09384dc091ff22db2c76b0f71e2257dac33a17d3e6ce97fa0e8ca39ba48d4abd68d72dc274eb5' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'owxGoc0jw4gWw4z1Kcf' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:28', '3bfd799cd12873400bbe704f59870ff0d3387cfb82964032c64c716feb420b18ab35666fcaa29bd3fe7282331187144b6286a24453703d9259670a8dc634a496', '2013-03-09 02:53:28', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:28', 'testuser', 1, 'SWE2rtqQ837iYD8VC3wT', 'FPBivXpuyOSBMxmkg', 'e95849e1e58f9d18c9fb877565817601828b2eb9389539dcdbd09384dc091ff22db2c76b0f71e2257dac33a17d3e6ce97fa0e8ca39ba48d4abd68d72dc274eb5', 'owxGoc0jw4gWw4z1Kcf', 1, NULL, '2013-03-09 02:53:28')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:28', `last_login_ip` = '0.0.0.0', `perishable_token` = '9VdF29zNJpMO0NUPTeIS', `updated_at` = '2013-03-09 02:53:28' WHERE `spud_users`.`id` = 35  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page12' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page12' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page12' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page12', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page12', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_pages` Processing by Spud::Admin::PagesController#destroy as HTML Parameters: {"id"=>"21"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 35 LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 21 LIMIT 1 SpudPagePartial Load (0.1ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (21)  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`spud_page_id` = 21 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 21 AND `spud_permalinks`.`attachment_type` = 'SpudPage' SQL (0.1ms) DELETE FROM `spud_pages` WHERE `spud_pages`.`id` = 21  (0.0ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/pages Completed 302 Found in 9ms (ActiveRecord: 1.2ms)  (0.2ms) SELECT COUNT(*) FROM `spud_pages`   (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '61dad0a6a08f21f16f35c2d8170ebb1d2ba8d8c8cad80d97779cabbdbd1dd4ba238e1ad88076d70b24b63495b81a2be65f64e085b714ed818ca70d2dcaf7c5f0' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'DXHux1vPoJATpseAePZ' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-03-09 02:53:28', '27c2fff5e23b55556b66436ccd9db26304f1549db6845201a22d52d158a96d5f328f99a49366a26415e2077f2df417ec16a4acaa2da59b15e48503b9419f2889', '2013-03-09 02:53:28', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-03-09 02:53:28', 'testuser', 1, 'pX1JU7fbboVytxK0rV8', 'u2Us8QYzVo0h7g7ayv3S', '61dad0a6a08f21f16f35c2d8170ebb1d2ba8d8c8cad80d97779cabbdbd1dd4ba238e1ad88076d70b24b63495b81a2be65f64e085b714ed818ca70d2dcaf7c5f0', 'DXHux1vPoJATpseAePZ', 1, NULL, '2013-03-09 02:53:28')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-03-09 02:53:28', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vJrfxYmwpZnINIMJ2Dtq', `updated_at` = '2013-03-09 02:53:28' WHERE `spud_users`.`id` = 36  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page13' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page13' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page13' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.3ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page13', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page13', 0, 0)  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SELECT COUNT(*) FROM `spud_pages`  Processing by Spud::Admin::PagesController#destroy as HTML Parameters: {"id"=>"23532"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 36 LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 23532 LIMIT 1 Redirected to http://test.host/spud/admin/pages Filter chain halted as :load_page rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms)  (0.2ms) SELECT COUNT(*) FROM `spud_pages`  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN Processing by Spud::Cms::SitemapsController#show as XML SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`visibility` = 0 ORDER BY spud_page_id Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.2ms) SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`visibility` = 0 ORDER BY spud_page_id  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN Processing by Spud::Cms::SitemapsController#show as HTML SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`visibility` = 0 ORDER BY spud_page_id Completed 406 Not Acceptable in 2ms (ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page14' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page14' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page14' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page14', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page14', 0, 0)  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page15' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page15' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page15' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page15', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page15', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page16' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page16' AND `spud_pages`.`site_id` = 1 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page16' AND `spud_pages`.`site_id` = 1) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page16', NULL, NULL, NULL, 1, 1, NULL, '2013-03-09 02:53:28', NULL, 'page16', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page17' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page17' AND `spud_pages`.`site_id` = 1 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page17' AND `spud_pages`.`site_id` = 1) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page17', NULL, NULL, NULL, 1, 1, NULL, '2013-03-09 02:53:28', NULL, 'page17', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page18' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page18' AND `spud_pages`.`site_id` = 1 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page18' AND `spud_pages`.`site_id` = 1) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page18', NULL, NULL, NULL, 1, 1, NULL, '2013-03-09 02:53:28', NULL, 'page18', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Cms::SitemapsController#show as XML SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`visibility` = 0 AND `spud_pages`.`site_id` = 1 ORDER BY spud_page_id Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms) SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`visibility` = 0 AND `spud_pages`.`site_id` = 1 ORDER BY spud_page_id  (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Main' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:28', NULL, 'Main', 0, '2013-03-09 02:53:28')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'Menu Item 15', 25, 'SpudMenu', 25, NULL, '2013-03-09 02:53:28', '/')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'Menu Item 16', 25, 'SpudMenu', 25, NULL, '2013-03-09 02:53:28', '/')  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main' LIMIT 1 SpudMenuItem Load (0.3ms) SELECT spud_menu_items.id as id, spud_menu_items.url as url, spud_menu_items.classes as classes, spud_menu_items.parent_type as parent_type, spud_menu_items.menu_order as menu_order, spud_menu_items.parent_id as parent_id, spud_menu_items.name as name, spud_pages.url_name as url_name FROM `spud_menu_items` LEFT JOIN spud_pages ON (spud_pages.id = spud_menu_items.spud_page_id) WHERE `spud_menu_items`.`spud_menu_id` = 25 ORDER BY parent_type, parent_id  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu25' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:28', NULL, 'Menu25', 0, '2013-03-09 02:53:28')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'Menu Item 17', 26, 'SpudMenu', 26, NULL, '2013-03-09 02:53:28', '/')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'Menu Item 18', 26, 'SpudMenu', 26, NULL, '2013-03-09 02:53:28', '/')  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Menu25' LIMIT 1 SpudMenuItem Load (0.3ms) SELECT spud_menu_items.id as id, spud_menu_items.url as url, spud_menu_items.classes as classes, spud_menu_items.parent_type as parent_type, spud_menu_items.menu_order as menu_order, spud_menu_items.parent_id as parent_id, spud_menu_items.name as name, spud_pages.url_name as url_name FROM `spud_menu_items` LEFT JOIN spud_pages ON (spud_pages.id = spud_menu_items.spud_page_id) WHERE `spud_menu_items`.`spud_menu_id` = 26 ORDER BY parent_type, parent_id  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Main2' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:28', NULL, 'Main2', 0, '2013-03-09 02:53:28')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'Menu Item 19', 27, 'SpudMenu', 27, NULL, '2013-03-09 02:53:28', '/')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'Menu Item 20', 27, 'SpudMenu', 27, NULL, '2013-03-09 02:53:28', '/')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'SubItem', 20, 'SpudMenuItem', 27, NULL, '2013-03-09 02:53:28', '/')  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main2' LIMIT 1 SpudMenuItem Load (0.2ms) SELECT spud_menu_items.id as id, spud_menu_items.url as url, spud_menu_items.classes as classes, spud_menu_items.parent_type as parent_type, spud_menu_items.menu_order as menu_order, spud_menu_items.parent_id as parent_id, spud_menu_items.name as name, spud_pages.url_name as url_name FROM `spud_menu_items` LEFT JOIN spud_pages ON (spud_pages.id = spud_menu_items.spud_page_id) WHERE `spud_menu_items`.`spud_menu_id` = 27 ORDER BY parent_type, parent_id  (0.2ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Main4' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:28', NULL, 'Main4', 0, '2013-03-09 02:53:28')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'Menu Item 21', 28, 'SpudMenu', 28, NULL, '2013-03-09 02:53:28', '/')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'Menu Item 22', 28, 'SpudMenu', 28, NULL, '2013-03-09 02:53:28', '/')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'SubItem', 23, 'SpudMenuItem', 28, NULL, '2013-03-09 02:53:28', '/')  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main4' LIMIT 1 SpudMenuItem Load (0.2ms) SELECT spud_menu_items.id as id, spud_menu_items.url as url, spud_menu_items.classes as classes, spud_menu_items.parent_type as parent_type, spud_menu_items.menu_order as menu_order, spud_menu_items.parent_id as parent_id, spud_menu_items.name as name, spud_pages.url_name as url_name FROM `spud_menu_items` LEFT JOIN spud_pages ON (spud_pages.id = spud_menu_items.spud_page_id) WHERE `spud_menu_items`.`spud_menu_id` = 28 ORDER BY parent_type, parent_id  (0.2ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu26' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:28', NULL, 'Menu26', 0, '2013-03-09 02:53:28')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'Menu Item 23', 29, 'SpudMenu', 29, NULL, '2013-03-09 02:53:28', '/')  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`site_id` = 1 AND `spud_menus`.`name` = 'Menu26' LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Main3' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:28', NULL, 'Main3', 0, '2013-03-09 02:53:28')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'Menu Item 24', 30, 'SpudMenu', 30, NULL, '2013-03-09 02:53:28', '/')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'Menu Item 25', 30, 'SpudMenu', 30, NULL, '2013-03-09 02:53:28', '/')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'SubItem', 27, 'SpudMenuItem', 30, NULL, '2013-03-09 02:53:28', '/')  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main3' LIMIT 1 SpudMenuItem Load (0.2ms) SELECT spud_menu_items.id as id, spud_menu_items.url as url, spud_menu_items.classes as classes, spud_menu_items.parent_type as parent_type, spud_menu_items.menu_order as menu_order, spud_menu_items.parent_id as parent_id, spud_menu_items.name as name, spud_pages.url_name as url_name FROM `spud_menu_items` LEFT JOIN spud_pages ON (spud_pages.id = spud_menu_items.spud_page_id) WHERE `spud_menu_items`.`spud_menu_id` = 30 ORDER BY parent_type, parent_id  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu27' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-03-09 02:53:28', NULL, 'Menu27', 0, '2013-03-09 02:53:28')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-03-09 02:53:28', NULL, 0, 'Menu Item 26', 31, 'SpudMenu', 31, NULL, '2013-03-09 02:53:28', '/')  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Menu27' AND `spud_menus`.`site_id` = 1 LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page19' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page19' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page19' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page19', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page19', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page20' LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page20' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page20' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page20', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page20', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 28 LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page19/page21' LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page21' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` = 28) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page19/page21' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page21', NULL, NULL, NULL, 1, 0, 28, '2013-03-09 02:53:28', NULL, 'page19/page21', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1  (0.3ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page22' LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page22' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page22' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page22', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page22', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page23' LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page23' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page23' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page23', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page23', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page24' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page24' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page24' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page24', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page24', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page25' LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page25' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page25' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page25', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page25', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1 AND (name NOT IN ('Page25'))  (0.2ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page26' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page26' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page26' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page26', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page26', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page27' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page27' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page27' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page27', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page27', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 35 LIMIT 1 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page26/page28' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page28' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` = 35) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page26/page28' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page28', NULL, NULL, NULL, 1, 0, 35, '2013-03-09 02:53:28', NULL, 'page26/page28', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1  (0.2ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page29' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page29' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page29' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page29', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page29', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page30' LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page30' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page30' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page30', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page30', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 38 LIMIT 1 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page29/page31' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page31' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` = 38) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page29/page31' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page31', NULL, NULL, NULL, 1, 0, 38, '2013-03-09 02:53:28', NULL, 'page29/page31', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page32' LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page32' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page32' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page32', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page32', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page33' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page33' AND `spud_pages`.`site_id` = 1 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page33' AND `spud_pages`.`site_id` = 1) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page33', NULL, NULL, NULL, 1, 1, NULL, '2013-03-09 02:53:28', NULL, 'page33', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1 AND `spud_pages`.`site_id` = 1  (0.3ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_page_partials` (`content`, `content_processed`, `created_at`, `format`, `name`, `spud_page_id`, `symbol_name`, `updated_at`) VALUES (NULL, '', '2013-03-09 02:53:28', NULL, 'Test Page', NULL, 'test_page', '2013-03-09 02:53:28') SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 1 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial' SQL (0.1ms) UPDATE `spud_page_partials` SET `content_processed` = '' WHERE `spud_page_partials`.`id` = 1  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SQL (0.3ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Home Sweet Home', '2013-03-09 02:53:28', NULL, 'Test Page', 1, '2013-03-09 02:53:28')  (0.3ms) SELECT COUNT(*) FROM `spud_page_partial_revisions` WHERE `spud_page_partial_revisions`.`spud_page_id` = 1 AND `spud_page_partial_revisions`.`name` = 'Test Page' SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 LIMIT 1 SQL (0.2ms) INSERT INTO `spud_page_partials` (`content`, `content_processed`, `created_at`, `format`, `name`, `spud_page_id`, `symbol_name`, `updated_at`) VALUES ('Home Sweet Home', 'Home Sweet Home', '2013-03-09 02:53:28', NULL, 'Test Page', 1, 'test_page', '2013-03-09 02:53:28') SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 2 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SELECT COUNT(*) FROM `spud_page_partial_revisions` WHERE `spud_page_partial_revisions`.`spud_page_id` = 1 AND `spud_page_partial_revisions`.`name` = 'Test Page'  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Home Sweet Home', '2013-03-09 02:53:28', NULL, 'Test Page', 1, '2013-03-09 02:53:28')  (0.1ms) SELECT COUNT(*) FROM `spud_page_partial_revisions` WHERE `spud_page_partial_revisions`.`spud_page_id` = 1 AND `spud_page_partial_revisions`.`name` = 'Test Page' SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 LIMIT 1 SQL (0.1ms) INSERT INTO `spud_page_partials` (`content`, `content_processed`, `created_at`, `format`, `name`, `spud_page_id`, `symbol_name`, `updated_at`) VALUES ('Home Sweet Home', 'Home Sweet Home', '2013-03-09 02:53:28', NULL, 'Test Page', 1, 'test_page', '2013-03-09 02:53:28') SpudPageLiquidTag Load (0.1ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 3 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Nah', '2013-03-09 02:53:28', NULL, 'Test Page', 1, '2013-03-09 02:53:28')  (0.1ms) SELECT COUNT(*) FROM `spud_page_partial_revisions` WHERE `spud_page_partial_revisions`.`spud_page_id` = 1 AND `spud_page_partial_revisions`.`name` = 'Test Page'  (0.2ms) UPDATE `spud_page_partials` SET `content` = 'Nah', `content_processed` = 'Nah', `updated_at` = '2013-03-09 02:53:28' WHERE `spud_page_partials`.`id` = 3 SpudPageLiquidTag Load (0.1ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 3 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Another change', '2013-03-09 02:53:28', NULL, 'Test Page', 1, '2013-03-09 02:53:28')  (0.2ms) SELECT COUNT(*) FROM `spud_page_partial_revisions` WHERE `spud_page_partial_revisions`.`spud_page_id` = 1 AND `spud_page_partial_revisions`.`name` = 'Test Page' SpudPagePartialRevision Load (0.2ms) SELECT `spud_page_partial_revisions`.* FROM `spud_page_partial_revisions` WHERE `spud_page_partial_revisions`.`spud_page_id` = 1 AND `spud_page_partial_revisions`.`name` = 'Test Page' ORDER BY created_at ASC LIMIT 1 SQL (0.1ms) DELETE FROM `spud_page_partial_revisions` WHERE `spud_page_partial_revisions`.`id` = 2  (0.2ms) UPDATE `spud_page_partials` SET `content` = 'Another change', `content_processed` = 'Another change', `updated_at` = '2013-03-09 02:53:28' WHERE `spud_page_partials`.`id` = 3 SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 3 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SELECT COUNT(*) FROM `spud_page_partial_revisions` WHERE `spud_page_partial_revisions`.`spud_page_id` = 1 AND `spud_page_partial_revisions`.`name` = 'Test Page'  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` IS NULL AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` IS NULL AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page34' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'test' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page34', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'test', 1, 0)  (0.2ms) RELEASE SAVEPOINT active_record_2 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page35' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'test' AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'test' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'test' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'test' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'test', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'test', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'test-1' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'test' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'test-1' AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page36' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page36' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page36' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page36', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'page36', 0, 0) SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 45 LIMIT 1 SQL (0.2ms) INSERT INTO `spud_page_partials` (`content`, `content_processed`, `created_at`, `format`, `name`, `spud_page_id`, `symbol_name`, `updated_at`) VALUES (NULL, '', '2013-03-09 02:53:28', NULL, 'body', 45, 'body', '2013-03-09 02:53:28') SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 4 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial' SQL (0.1ms) UPDATE `spud_page_partials` SET `content_processed` = '' WHERE `spud_page_partials`.`id` = 4  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_page_partials`  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`spud_page_id` = 45 SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 4 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial' SQL (0.1ms) DELETE FROM `spud_page_partials` WHERE `spud_page_partials`.`id` = 4 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 45 AND `spud_permalinks`.`attachment_type` = 'SpudPage' SQL (0.2ms) DELETE FROM `spud_pages` WHERE `spud_pages`.`id` = 45  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_page_partials`  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'parent' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'parent' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'parent' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'parent', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'parent', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'parent/page-1' LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page 1' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` = 46) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'parent/page-1' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page 1', NULL, NULL, NULL, 1, 0, 46, '2013-03-09 02:53:28', NULL, 'parent/page-1', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'parent/page-2' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page 2' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` = 46) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'parent/page-2' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'Page 2', NULL, NULL, NULL, 1, 0, 46, '2013-03-09 02:53:28', NULL, 'parent/page-2', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'about', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about/test' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'test' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` = 49) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about/test' AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'testimonials' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'testimonials' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'testimonials' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'testimonials', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'testimonials', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'testimonials-1' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'testimonials' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'testimonials-1' AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'another' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'another' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'another', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'another', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 51) SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'again' LIMIT 1 SpudPermalink Exists (0.2ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'another' AND `spud_permalinks`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (51, 'SpudPage', '2013-03-09 02:53:28', 0, '2013-03-09 02:53:28', 'another') SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'again' AND `spud_pages`.`id` != 51 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'again' AND `spud_pages`.`id` != 51 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'again', `url_name` = 'again', `updated_at` = '2013-03-09 02:53:28' WHERE `spud_pages`.`id` = 51  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another' LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 51 LIMIT 1 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another-1' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'another' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'another-1' AND `spud_pages`.`site_id` = 0) LIMIT 1  (1.6ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage' LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'permapage' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'permapage' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'permapage', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'permapage', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 52) SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage-new' LIMIT 1 SpudPermalink Exists (0.2ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'permapage' AND `spud_permalinks`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (52, 'SpudPage', '2013-03-09 02:53:28', 0, '2013-03-09 02:53:28', 'permapage') SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'permapage new' AND `spud_pages`.`id` != 52 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'permapage-new' AND `spud_pages`.`id` != 52 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'permapage new', `url_name` = 'permapage-new', `updated_at` = '2013-03-09 02:53:28' WHERE `spud_pages`.`id` = 52  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.3ms) SELECT COUNT(*) FROM `spud_permalinks`   (0.2ms) SELECT COUNT(*) FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 52 AND `spud_permalinks`.`attachment_type` = 'SpudPage' AND `spud_permalinks`.`url_name` = 'permapage' SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 52) SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage' LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 52 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) DELETE FROM `spud_permalinks` WHERE `spud_permalinks`.`id` = 5  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudPermalink Exists (0.2ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'permapage-new' AND `spud_permalinks`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (52, 'SpudPage', '2013-03-09 02:53:28', 0, '2013-03-09 02:53:28', 'permapage-new')  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'permapage' AND `spud_pages`.`id` != 52 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'permapage' AND `spud_pages`.`id` != 52 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 52 AND `spud_permalinks`.`attachment_type` = 'SpudPage' AND `spud_permalinks`.`url_name` = 'permapage'  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original' LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'original' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'original' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'original', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'original', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'new' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'original' AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.5ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'original' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'original' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'original', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'original', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 54) SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original2' LIMIT 1 SpudPermalink Exists (0.3ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'original' AND `spud_permalinks`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (54, 'SpudPage', '2013-03-09 02:53:28', 0, '2013-03-09 02:53:28', 'original') SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'original2' AND `spud_pages`.`id` != 54 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'original2' AND `spud_pages`.`id` != 54 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'original2', `url_name` = 'original2', `updated_at` = '2013-03-09 02:53:28' WHERE `spud_pages`.`id` = 54  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'new' LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'new' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'new' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-03-09 02:53:28', NULL, 'html', NULL, NULL, NULL, 'new', NULL, NULL, NULL, 1, 0, NULL, '2013-03-09 02:53:28', NULL, 'new', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 55 LIMIT 1 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original' LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 54 LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK