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 Connecting to database specified by database.yml Creating scope :public. Overwriting existing method SpudPage.public.  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (20.2ms) select table_name from information_schema.views where table_schema = 'spud_cms_test'  (4.1ms) TRUNCATE TABLE `spud_admin_permissions`;  (3.8ms) TRUNCATE TABLE `spud_menu_items`;  (2.3ms) TRUNCATE TABLE `spud_menus`;  (2.5ms) TRUNCATE TABLE `spud_page_liquid_tags`;  (2.2ms) TRUNCATE TABLE `spud_page_partial_revisions`;  (2.5ms) TRUNCATE TABLE `spud_page_partials`;  (4.2ms) TRUNCATE TABLE `spud_pages`;  (2.6ms) TRUNCATE TABLE `spud_permalinks`;  (2.8ms) TRUNCATE TABLE `spud_snippets`;  (2.4ms) TRUNCATE TABLE `spud_user_settings`;  (2.6ms) TRUNCATE TABLE `spud_users`;  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudPage Load (1.5ms) 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` = '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 (1.0ms) 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-10-09 13:36:53', NULL, 'html', NULL, NULL, NULL, 'Page1', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:53', NULL, 'page1', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PagesController#show as HTML Parameters: {"id"=>"page1"} SpudPage Load (0.2ms) 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 (1.8ms) Completed 200 OK in 53ms (Views: 35.4ms | ActiveRecord: 2.1ms)  (0.5ms) 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.4ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'home' LIMIT 1 SpudPage Exists (0.3ms) 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-10-09 13:36:53', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:53', NULL, 'home', 0, 0)  (0.2ms) RELEASE SAVEPOINT active_record_2 Processing by PagesController#show as HTML SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'home' LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (11) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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-10-09 13:36:53', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:53', NULL, 'about', 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 != 21) 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 (21, 'SpudPage', '2013-10-09 13:36:53', 0, '2013-10-09 13:36:53', 'about') SpudPage Exists (0.5ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about us' AND `spud_pages`.`id` != 21 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` != 21 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.3ms) UPDATE `spud_pages` SET `name` = 'about us', `url_name` = 'about-us', `updated_at` = '2013-10-09 13:36:53' WHERE `spud_pages`.`id` = 21  (0.2ms) RELEASE SAVEPOINT active_record_2 Processing by PagesController#show as HTML Parameters: {"id"=>"about"} SpudPage Load (0.4ms) 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` = 21 LIMIT 1 Redirected to http://test.host/about-us Completed 301 Moved Permanently in 6ms (ActiveRecord: 0.8ms)  (2.1ms) ROLLBACK  (0.0ms) 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.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.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-10-09 13:36:53', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:53', 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 (31) Redirected to http://test.host/spud/user_session/new Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.4ms) ROLLBACK  (0.0ms) 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.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8622d34913be6cf031d3bd242975634e08c493fa8c3b4f7dbb891bec9957f06826ccc4987d54f5a86167ac0b5904c2b628cfdd3cbfd44599c8c2373b2d15c318' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wgHDudQXGooSqITbk005' LIMIT 1 SQL (0.5ms) 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-10-09 13:36:53', '18a95340ba22759aee66ad34695f23aa55e7f64e1b7279e12f858fb2643cc044a44cb04f3efd594ec8065745a02b926c961fcbcb81c2cce79b3da45c6957cbc3', '2013-10-09 13:36:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:53', 'testuser', 1, 'aJVGea0HrrsbwBMZYKWp', 'xKCDmOhbm4kyf8thVJl', '8622d34913be6cf031d3bd242975634e08c493fa8c3b4f7dbb891bec9957f06826ccc4987d54f5a86167ac0b5904c2b628cfdd3cbfd44599c8c2373b2d15c318', 'wgHDudQXGooSqITbk005', 1, NULL, '2013-10-09 13:36:53')  (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-10-09 13:36:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EYzIR7SbV3tix1rUaLv', `updated_at` = '2013-10-09 13:36:53' WHERE `spud_users`.`id` = 1  (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 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.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about' 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-10-09 13:36:53', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:53', 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.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 (41) Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.6ms)  (0.5ms) 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.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-10-09 13:36:53', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:53', NULL, 'about', 0, 0)  (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' 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 32ms (Views: 29.8ms | ActiveRecord: 0.4ms)  (0.4ms) ROLLBACK  (0.2ms) 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` = '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-10-09 13:36:53', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:53', NULL, 'about', 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.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 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` = 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 '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-10-09 13:36:53', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 1, NULL, '2013-10-09 13:36:53', NULL, 'about', 0, 0)  (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' AND `spud_pages`.`site_id` = 1 LIMIT 1 SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (71) Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.0ms) 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` = '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-10-09 13:36:53', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:53', NULL, 'home', 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` = 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-10-09 13:36:53', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 1, NULL, '2013-10-09 13:36:53', NULL, 'home', 0, 0)  (0.1ms) 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' 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 (91) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (0.8ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) 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 '0f6d7eddfdd938eb9953ac6cdfbaf20854eb3b520b3628d27954b1071030ee2a17711bd38b401b185efcd0a5ce0300224f3b9a8501ba842fa91695f2ad8ab34e' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'RjdWsLdkzW5wbDEb61' 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-10-09 13:36:53', '49461b78c4fdd8c7f3d94ab456b13d253e3867e744250e78138a09f37c14a31ebdedb9265695487cc824ba7c468366fca8a0b3892eb099a57fd88a784aeb5a5e', '2013-10-09 13:36:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:53', 'testuser', 1, 'fTGAJ6MaudHXnEPsK8', 'EH2Q4ws2xqo1kXAp0LA', '0f6d7eddfdd938eb9953ac6cdfbaf20854eb3b520b3628d27954b1071030ee2a17711bd38b401b185efcd0a5ce0300224f3b9a8501ba842fa91695f2ad8ab34e', 'RjdWsLdkzW5wbDEb61', 1, NULL, '2013-10-09 13:36:53')  (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-10-09 13:36:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'DG4ZWSA1Oo9j9yzZenhx', `updated_at` = '2013-10-09 13:36:53' WHERE `spud_users`.`id` = 11  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.3ms) 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-10-09 13:36:53', NULL, 'Menu1', 0, '2013-10-09 13:36:53')  (0.0ms) 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-10-09 13:36:53', NULL, 0, 'Menu Item 1', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:36:53', 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-10-09 13:36:53', NULL, 0, 'Menu Item 2', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:36:53', NULL)  (0.0ms) 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` = 11 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 LIMIT 1 Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.5ms)  (0.3ms) 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.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7ef0ae46541e7e366ed53e343d99e26c430696c5eb7d243cfe1fba09ebabb0c62e9dddac856886956966201b541d865a36c9d333eec9a2bb9d7c37bd28470f1d' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FoijHxeEVuYI4hcGZeY6' 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-10-09 13:36:53', 'bc108fccec5ad592bc90af881f20e9d33ff7844d6707d046f0d9aee13d53adbf3f5446ac34cc45f8647e708c40e3701aae6d61812f9e48ae2b4b77c994eae172', '2013-10-09 13:36:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:53', 'testuser', 1, '0cPZyk4Mm313gjf5fC', '5ziScJZuUrVD0EjriO', '7ef0ae46541e7e366ed53e343d99e26c430696c5eb7d243cfe1fba09ebabb0c62e9dddac856886956966201b541d865a36c9d333eec9a2bb9d7c37bd28470f1d', 'FoijHxeEVuYI4hcGZeY6', 1, NULL, '2013-10-09 13:36:53')  (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-10-09 13:36:53', `last_login_ip` = '0.0.0.0', `perishable_token` = '9xHYywt8x65EBOc1NPW', `updated_at` = '2013-10-09 13:36:53' 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 'Menu2' 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-10-09 13:36:53', NULL, 'Menu2', 0, '2013-10-09 13:36:53')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#index as HTML Parameters: {"menu_id"=>"12"} 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` = 12 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.7ms) ROLLBACK  (0.0ms) 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.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 'b9f94f3ce1e0d77a07dddb24acc2317561df126d0aafb6c94a03b896f72306cc6ad3fa392b74503b6e2cf5536dd3ece1cd76f07076e86d1ec453298b8ef6c135' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Q55l5IYPybUl1BIH533m' 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-10-09 13:36:53', 'b892742877e5dab3c061a3e656d4d3ae3ce21250b494da83f21e827fad97ad21f966a77122a31ad5ca349aa58bc28a4dadbd9c88db1e57ea500887663e19d78d', '2013-10-09 13:36:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:53', 'testuser', 1, 'HFWcCB6uh7nxDHPtvTv', 'GWGpMnFmWjvdkXiWyz0Q', 'b9f94f3ce1e0d77a07dddb24acc2317561df126d0aafb6c94a03b896f72306cc6ad3fa392b74503b6e2cf5536dd3ece1cd76f07076e86d1ec453298b8ef6c135', 'Q55l5IYPybUl1BIH533m', 1, NULL, '2013-10-09 13:36:53')  (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-10-09 13:36:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'w8wNOEL5Bnpcau0Xe5', `updated_at` = '2013-10-09 13:36:53' WHERE `spud_users`.`id` = 31  (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 '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-10-09 13:36:53', NULL, 'Menu3', 0, '2013-10-09 13:36:53')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#new as HTML Parameters: {"menu_id"=>"21"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 31 LIMIT 1 SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 21 LIMIT 1 Completed 200 OK in 6ms (Views: 1.3ms | 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.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 '9b93c00cb0a80ecb31013c836cdaae46bd09c0318c226470ee92376bda3eecefecd0a21282d38918302f7137f46d19fa1ed375f5ce11d3db37cabc66633829e0' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XYrErO2dG7xq8PeaS6F' LIMIT 1 SQL (0.5ms) 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-10-09 13:36:53', '8af5ffd2bd5f198b9d749b5e9bf720265df2f9bc0738d0ea3fa46fa6d77a80086240dc70b6d69e3bbc69f77961edf49f3ecab00d2e6cf4fdd40721c7e33f7455', '2013-10-09 13:36:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:53', 'testuser', 1, 'Er39qFuutNCZUqDKr1Yi', 'Q4dgV04aLYj0hbWwWL9', '9b93c00cb0a80ecb31013c836cdaae46bd09c0318c226470ee92376bda3eecefecd0a21282d38918302f7137f46d19fa1ed375f5ce11d3db37cabc66633829e0', 'XYrErO2dG7xq8PeaS6F', 1, NULL, '2013-10-09 13:36:53')  (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-10-09 13:36:53', `last_login_ip` = '0.0.0.0', `perishable_token` = '6s1tLEFZpjvEVCzAbpgY', `updated_at` = '2013-10-09 13:36:53' WHERE `spud_users`.`id` = 41  (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 '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-10-09 13:36:53', NULL, 'Menu4', 0, '2013-10-09 13:36:53')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) 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"=>"31"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 41 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 31 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-10-09 13:36:53', NULL, 0, 'Menu Item 3', 31, 'SpudMenu', 31, NULL, '2013-10-09 13:36:53', NULL)  (0.0ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/31/menu_items Completed 302 Found in 12ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items`   (0.7ms) ROLLBACK  (0.1ms) 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.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 'f8ee8d56cc0931523e27dc057b5f993ac408f8ebcf8d23c51f491b3225a291d0e61abc1c8af2adc3bc5d46a5080b0cd661c822c1d99f7bd65f0cbdc1f6a12f52' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'p8MjZFQ0PJu6LnczMdWD' 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-10-09 13:36:53', '117d72c5525f7573c0f570bc450378fd4fa66cb329a5a0c6d148a8058a40527ee27ed79efd7a738c69aa0f170b403c1a7060c959b1520bf33e8767ecfb85a035', '2013-10-09 13:36:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:53', 'testuser', 1, 'awhAVlQuFG2sdk2cE5', 'CRDzcUa5eSn4LiwYF', 'f8ee8d56cc0931523e27dc057b5f993ac408f8ebcf8d23c51f491b3225a291d0e61abc1c8af2adc3bc5d46a5080b0cd661c822c1d99f7bd65f0cbdc1f6a12f52', 'p8MjZFQ0PJu6LnczMdWD', 1, NULL, '2013-10-09 13:36:53')  (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-10-09 13:36:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'A3LagjgEAXH50aSjAka', `updated_at` = '2013-10-09 13:36:53' WHERE `spud_users`.`id` = 51  (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 'Menu5' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-10-09 13:36:53', NULL, 'Menu5', 0, '2013-10-09 13:36:53')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) 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"=>"41"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 51 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 41 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (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_menu_items`   (0.6ms) ROLLBACK  (0.0ms) 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.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 'e6c0f3002fbe929cfcd393dc795e4a37f8a86eb2dddb3e24710d70fe7ac0c735813789641bd900f267dd73ce8a369e34f51366e961b8488fb90763e7fc6f8546' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ohCPVYdj2GMLMWqPSruS' LIMIT 1 SQL (0.8ms) 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-10-09 13:36:53', '4fb5dcad3037c82365a74d0326aa088ea0a842592c57c431a40afda2aefd9bc417b13954b4968ee5aa271e1bc90a835d87d4b50559e1624187e6a55faf1dc282', '2013-10-09 13:36:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:53', 'testuser', 1, 'IwPzEejzGAhVKNyrWNHm', 'pOixJTsV8TJVcB1ly2lv', 'e6c0f3002fbe929cfcd393dc795e4a37f8a86eb2dddb3e24710d70fe7ac0c735813789641bd900f267dd73ce8a369e34f51366e961b8488fb90763e7fc6f8546', 'ohCPVYdj2GMLMWqPSruS', 1, NULL, '2013-10-09 13:36:53')  (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-10-09 13:36:53', `last_login_ip` = '0.0.0.0', `perishable_token` = '2FAb1UotG3IAh3mHl', `updated_at` = '2013-10-09 13:36:53' WHERE `spud_users`.`id` = 61  (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-10-09 13:36:54', NULL, 'Menu6', 0, '2013-10-09 13:36:54')  (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-10-09 13:36:54', NULL, 0, 'Menu Item 4', 51, 'SpudMenu', 1, NULL, '2013-10-09 13:36:54', NULL)  (0.1ms) 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"=>"51"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 61 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:36:54', `perishable_token` = 'tLYBcQROwjBYKNVVjQb', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 61  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 51 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 51 LIMIT 1 SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 51 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-10-09 13:36:54', NULL, 1, 'Menu Item 5', 51, 'SpudMenu', 51, NULL, '2013-10-09 13:36:54', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/51/menu_items Completed 302 Found in 10ms (ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.0ms) 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.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 '087e29585e5f2be58dd052537a20fdafe1dc060aec965e987630ba2f873f9413c50c3582edcd8a76a4a62121d2f1551bcf3e4c05e070fcde371e64e30d42995a' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'G5I6acvZ646NBJlv4P' 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-10-09 13:36:54', 'a0da0b9f176f4e84fd63b991af957f618dcbe030a35376d402a9052851384afdc3cc5b698bc77bda72b5677911d0381a420b07427a8be0f7daf54518f249a76f', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'NsMPP630y5Kv6KYuhlY', 'KnyHKjgQaoVBMA8OUWpM', '087e29585e5f2be58dd052537a20fdafe1dc060aec965e987630ba2f873f9413c50c3582edcd8a76a4a62121d2f1551bcf3e4c05e070fcde371e64e30d42995a', 'G5I6acvZ646NBJlv4P', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'DN9M3ozPgvQKKoDjzqd', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 71  (0.0ms) 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-10-09 13:36:54', NULL, 'Menu7', 0, '2013-10-09 13:36:54')  (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.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page2' LIMIT 1 SpudPage Exists (0.1ms) 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-10-09 13:36:54', NULL, 'html', NULL, NULL, NULL, 'Page2', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:54', 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"=>"101"}, "menu_id"=>"61"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 71 LIMIT 1 SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 61 LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 101 LIMIT 1  (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-10-09 13:36:54', NULL, 0, 'Page2', 1, 'SpudMenuItem', 61, 101, '2013-10-09 13:36:54', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/61/menu_items Completed 302 Found in 9ms (ActiveRecord: 0.0ms)  (0.6ms) 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.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 '7a5990eeb62938357443d1ae9a34bc50018d26dd60a0de8fc89315fd2fb51e1f94ab4f462e0dd47e13de1a87d21b291bed3485666123edd11c85ebd471747145' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'I8umOqqnMW9QhfIjcr' 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-10-09 13:36:54', '582211d727fa3b6c62346af084798eda936ffad28d701481609dbe0c9c711d75ce3c32cae689f119403163fb9bdd299d49c91e318baa8b962b7ac33935ad29a8', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'qLUJjkXK102qoDdB1us', '1aiZMkQsXBiCKUzJhR', '7a5990eeb62938357443d1ae9a34bc50018d26dd60a0de8fc89315fd2fb51e1f94ab4f462e0dd47e13de1a87d21b291bed3485666123edd11c85ebd471747145', 'I8umOqqnMW9QhfIjcr', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'CPBCygykrWDFqbOQGOJw', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 81  (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 '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-10-09 13:36:54', NULL, 'Menu8', 0, '2013-10-09 13:36:54')  (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-10-09 13:36:54', NULL, 0, 'Menu Item 6', 71, 'SpudMenu', 1, NULL, '2013-10-09 13:36:54', NULL)  (0.0ms) 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"=>"61"}, "menu_id"=>"71"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 81 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 71 LIMIT 1  (0.2ms) 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-10-09 13:36:54', NULL, 0, 'Menu Item 7', 61, 'SpudMenuItem', 71, NULL, '2013-10-09 13:36:54', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/71/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` = 61 LIMIT 1  (0.8ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) 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.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 'fe04734e8de490035c9976b7ab6c3da264a3ecb3bcafc48fdc617c2e61545f5e46e4e02d1ba939c57d9c12070b0e95d296c3388b7b03e912b033d51bcf86e4b0' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Ao6mdQb223y1zKYeQkW' 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-10-09 13:36:54', '9bb0744e6abbbeef50cd9dca3827058d44fb18361e1d2536de5265c99a9d2da92d382b982b02d81f36b97cb3f354991c388f67a9f2dbf2aa4dc70d689a06369b', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'w8KHiUIgIJNzQbnKewWY', 'Ul7T3NExVaVeffa3cFm', 'fe04734e8de490035c9976b7ab6c3da264a3ecb3bcafc48fdc617c2e61545f5e46e4e02d1ba939c57d9c12070b0e95d296c3388b7b03e912b033d51bcf86e4b0', 'Ao6mdQb223y1zKYeQkW', 1, NULL, '2013-10-09 13:36:54')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.1ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = '79hxN9FsTmn6IXpfdFO', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 91  (0.0ms) 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 'Menu9' 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-10-09 13:36:54', NULL, 'Menu9', 0, '2013-10-09 13:36:54')  (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-10-09 13:36:54', NULL, 0, 'Menu Item 8', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:36:54', NULL)  (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-10-09 13:36:54', NULL, 0, 'Menu Item 9', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:36:54', NULL)  (0.0ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#edit as HTML Parameters: {"menu_id"=>"81", "id"=>"91"} SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 91 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 81 LIMIT 1 SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 91 LIMIT 1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (4.8ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) 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.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 '7d685598e133a135b8747055356ae57f5cb0058f2390bf451eee746f5e0d219bf381bb304226afaba00a65f70920546a3dd65106862db21f98c7f233d897f369' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LxTvxlvG0NPyOUXgS1k' 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-10-09 13:36:54', '06ee52a489743754fb31c1a09f346c5819d07a0bcb282790bf6ab2a072adc8fdd3302fde3929a558c22c399923860d19047f025ea0c1b266846dd740aae686ff', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'CwIYBswtDKOVQMkm9SCc', 'Q5S0Fl44GpEarU9ouYpL', '7d685598e133a135b8747055356ae57f5cb0058f2390bf451eee746f5e0d219bf381bb304226afaba00a65f70920546a3dd65106862db21f98c7f233d897f369', 'LxTvxlvG0NPyOUXgS1k', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'jfGjBThkhXkLaR2vzy', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 101  (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 '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-10-09 13:36:54', NULL, 'Menu10', 0, '2013-10-09 13:36:54')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#edit as HTML Parameters: {"menu_id"=>"91", "id"=>"345"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 101 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 91 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/91/menu_items Filter chain halted as :load_menu_item rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms)  (0.5ms) ROLLBACK  (0.0ms) 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 '79d7e166d743dd2a0b444d94f87ec20146cbf15af259b4867bf72c02b9528d7cf398bbf9abfff89f7b01e436418e213bb62bdac47912cd49b722b76c317ea96d' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4AVgNpj66R8u1W57BiR5' 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-10-09 13:36:54', 'eab51d42d66e42563cff18e3599daade212dbb76758c1b0f01ee321bb21f06308e44852434facb0f1f51e8de54863df503d892faacf8b3e1c3027bfeca11c588', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'K0cITyF6iEsR0K8cbc4', 'Tj7WLrCagyZFc6ftAKYI', '79d7e166d743dd2a0b444d94f87ec20146cbf15af259b4867bf72c02b9528d7cf398bbf9abfff89f7b01e436418e213bb62bdac47912cd49b722b76c317ea96d', '4AVgNpj66R8u1W57BiR5', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'SPYlQRw36RT5bz5ZKB0', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 111  (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 '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-10-09 13:36:54', NULL, 'Menu11', 0, '2013-10-09 13:36:54')  (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-10-09 13:36:54', NULL, 0, 'Menu Item 10', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:36:54', 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"=>"101", "id"=>"101"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 111 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 101 LIMIT 1 SpudMenuItem Load (0.1ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 101 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_menu_items` SET `parent_id` = 101, `name` = 'MyMenu', `spud_menu_id` = 101, `updated_at` = '2013-10-09 13:36:54' WHERE `spud_menu_items`.`id` = 101  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/101/menu_items Completed 302 Found in 9ms (ActiveRecord: 0.0ms) SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 101 LIMIT 1  (0.6ms) ROLLBACK  (0.1ms) 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.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 '62a8ace7761eccf7779e1d05422958f8c13e121e224728097816f441cfed0c4e60500a2a4e3cd6fbf6eebb4ee0fae6afb9cc1a9f682aae5875a35c72096c2067' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6lkH4EW4hcEoYY41Md4T' 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-10-09 13:36:54', '516baf32aec2381b1755f3763a0a97850b123cbeb1ea04037c472daa97a8f6dcfd8ae395204f986178dce72e4d80d771b02acf9c8cb5ed89da753b263ad2b953', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'G9bdrcuX0VO1Pox0rp0l', 'QOcXYQjN3tE3zODkhuc8', '62a8ace7761eccf7779e1d05422958f8c13e121e224728097816f441cfed0c4e60500a2a4e3cd6fbf6eebb4ee0fae6afb9cc1a9f682aae5875a35c72096c2067', '6lkH4EW4hcEoYY41Md4T', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Ec9VpSrIQTY8DABiMKU', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 121  (0.0ms) 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 '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-10-09 13:36:54', NULL, 'Menu12', 0, '2013-10-09 13:36:54')  (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-10-09 13:36:54', NULL, 0, 'Menu Item 11', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:36:54', NULL)  (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-10-09 13:36:54', NULL, 0, 'Menu Item 12', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:36:54', NULL)  (0.0ms) 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"=>"111", "item_type"=>nil, "spud_page_id"=>nil, "menu_order"=>"0", "url"=>nil, "name"=>"Menu Item 12", "classes"=>nil}, "menu_id"=>"111", "id"=>"121"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 121 LIMIT 1 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 111 LIMIT 1 SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 121 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_menu_items` SET `parent_type` = 'SpudMenuItem', `parent_id` = 111, `spud_menu_id` = 111, `updated_at` = '2013-10-09 13:36:54' WHERE `spud_menu_items`.`id` = 121  (0.0ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/111/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` = 121 LIMIT 1 SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 111 LIMIT 1  (0.6ms) 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 '224a065682e15eb7f5c764a79a113f1defe4181042d136dba424faae21a1773bf2281d383919f6e7adbe724e7313cc7b922c76a65ea2c895fcd1118d7719078d' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'a0hGWHfC2BLjxNaBuu6' 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-10-09 13:36:54', 'ead28f26d6294893520de0b4358150b74395e2dc23d2cc59a0d0d34bc3b8c1f6f2b12deabe5341b0341e69208f2fbbcf4fc8373195144e69905a06734b6534df', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'kqlFMdNwIOiQufSJy7', '3dqiVHX2mQ6UxUDdeqM', '224a065682e15eb7f5c764a79a113f1defe4181042d136dba424faae21a1773bf2281d383919f6e7adbe724e7313cc7b922c76a65ea2c895fcd1118d7719078d', 'a0hGWHfC2BLjxNaBuu6', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'PHkUf1W8C6qDo9dYQ7b', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 131  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.3ms) 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-10-09 13:36:54', NULL, 'Menu13', 0, '2013-10-09 13:36:54')  (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-10-09 13:36:54', NULL, 0, 'Menu Item 13', 121, 'SpudMenu', 1, NULL, '2013-10-09 13:36:54', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_menu_items`  Processing by Spud::Admin::MenuItemsController#destroy as HTML Parameters: {"menu_id"=>"121", "id"=>"131"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 131 LIMIT 1 SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 121 LIMIT 1 SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 131 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` = 131 AND `spud_menu_items`.`parent_type` = 'SpudMenuItem' SQL (0.2ms) DELETE FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 131  (0.0ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/121/menu_items Completed 302 Found in 13ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM `spud_menu_items`   (0.6ms) ROLLBACK  (0.0ms) 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 'f5971efc4b4e4857228f479836cf8ae71d95ca4d400ca83de3a0aa151fc9e64ffcc9980453b019b702981f22baf23709f20f162a62639c85621286da1e8b4dce' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '84pUDTyRJF4EouE3nGAB' 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-10-09 13:36:54', '23e5ada8c5a0dd6f6506d48e17e31c97c049321a3fb0b3d9004236f97e5da3ecddf4bcc9f0f71f444a757bc0a0f977748cce717ed4930f8896b5a7575ff765b9', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'LY40RWki0e0ywYPSPXSs', 'ceoEm6lwuvPp5Lm9Nt7', 'f5971efc4b4e4857228f479836cf8ae71d95ca4d400ca83de3a0aa151fc9e64ffcc9980453b019b702981f22baf23709f20f162a62639c85621286da1e8b4dce', '84pUDTyRJF4EouE3nGAB', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'B3ls50hIYOY8ZSefFa3O', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 141  (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.4ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-10-09 13:36:54', NULL, 'Menu14', 0, '2013-10-09 13:36:54')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) 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-10-09 13:36:54', NULL, 0, 'Menu Item 14', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:36:54', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#edit as HTML Parameters: {"id"=>"141", "menu_id"=>"131"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 141 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 131 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.5ms)  (0.4ms) ROLLBACK  (0.0ms) 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.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 'e503ead99116e77489f44d4ee0faeede504632d4c2fc354691e2e1cff3d2cb67ba57cf18c293cc631f3056457d014e1b65b6b5ae4ed3532f41bf43cc175177f9' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 's4WwXGtnxDUgom8Isox' 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-10-09 13:36:54', '6230f944dd6cd82750c4f717d616a19b739fbc85f2c7b77f549618fdbb0439085339b0522068e167fa0f8a83026baed26d9653fab95b396472eef16695613a84', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, '9FdWPhws7RpE400Ce7D', 'qY6Zsy7Vsm9BFndteeSw', 'e503ead99116e77489f44d4ee0faeede504632d4c2fc354691e2e1cff3d2cb67ba57cf18c293cc631f3056457d014e1b65b6b5ae4ed3532f41bf43cc175177f9', 's4WwXGtnxDUgom8Isox', 1, NULL, '2013-10-09 13:36:54')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.5ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = '4k3R2dpSjccM6Su6jpez', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 151  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu15' AND `spud_menus`.`site_id` = 0) LIMIT 1 SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-10-09 13:36:54', NULL, 'Menu15', 0, '2013-10-09 13:36:54')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu16' 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-10-09 13:36:54', NULL, 'Menu16', 0, '2013-10-09 13:36:54')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#index as HTML SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 151 LIMIT 1 Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.3ms)  (0.3ms) SELECT COUNT(*) FROM `spud_menus` WHERE `spud_menus`.`site_id` = 0  (0.7ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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.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 '8bec21cd9a9c6fed066808cc223fbc35f7adf6df0af2e296ec1c54550ada0938603124766c101fe5fa517450486cd6ddde1e1c3e9b4d21f1300f1ad0bb3a084e' LIMIT 1 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5IeTP7Gt4Gbu4mHlFdmK' 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-10-09 13:36:54', '8db95f1ad335cf40d70350ac8f11c9ea005d5f7a95f0cb068caea308a6289273f88adfff841e22f037ac8abe4cf1217982ceabd93c4ab334e31aeba16062c1a9', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'GEgjm1bB4943KRrAyto', 'P2H7nDB6MdA2aT2Ix7dO', '8bec21cd9a9c6fed066808cc223fbc35f7adf6df0af2e296ec1c54550ada0938603124766c101fe5fa517450486cd6ddde1e1c3e9b4d21f1300f1ad0bb3a084e', '5IeTP7Gt4Gbu4mHlFdmK', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rhItGVsLFRej0WCrXTlO', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 161  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#new as HTML SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 161 LIMIT 1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) 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.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 'efd2d3c9b2e587c13fe519e019343a795c12a8ee57d7b9fe7bfed71c48ddc6b59b8e2e6993e0446c44a274d1338fe07e59f69bec778e0c4eb715363464889750' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UE2AygqWnq4Z9kx0LKrN' 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-10-09 13:36:54', '7950493e8e0f7c5c73d59e5d03519683ac433e99a739477886b90ccbcea8ebef60b771d137ef1b41fe18d0c1baebb89ef9e34c6287beeecc35076a376e219b28', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'E2M8i6lrXT9pu4Oo2yOr', 'ID8y0dOSapuzofeVA9qO', 'efd2d3c9b2e587c13fe519e019343a795c12a8ee57d7b9fe7bfed71c48ddc6b59b8e2e6993e0446c44a274d1338fe07e59f69bec778e0c4eb715363464889750', 'UE2AygqWnq4Z9kx0LKrN', 1, NULL, '2013-10-09 13:36:54')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.5ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'IVssIwLOgTL8xQxeKPtJ', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 171  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) 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` = 171 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-10-09 13:36:54', NULL, 'Menu17', 0, '2013-10-09 13:36:54')  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/161/menu_items Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.1ms) SELECT COUNT(*) FROM `spud_menus`  (0.8ms) ROLLBACK  (0.0ms) 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.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '26e497c38f3f713825723e27fbac5e47da63b69443ddb7bc1115a9c90314487fa02d586f740180ab791564096a30e3b99ae17f9813ad662c8f766f3633d898ae' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BQntrYHZZtr3Piz1W1k' 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-10-09 13:36:54', '39efba847d50338b5e608646763082efc61acee367f3add3bafac75696860ce2ee959e431c4e73c635d6f4e278ecca5bd7379bf4bdf0129cb3a9d74366be7363', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'E6T9EkcydM52ypfvHZKe', 'xmEv7hJBeXdeHrRHPuz', '26e497c38f3f713825723e27fbac5e47da63b69443ddb7bc1115a9c90314487fa02d586f740180ab791564096a30e3b99ae17f9813ad662c8f766f3633d898ae', 'BQntrYHZZtr3Piz1W1k', 1, NULL, '2013-10-09 13:36:54')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.3ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'G8emcLaBld4pULPjAHwD', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 181  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.3ms) 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` = 181 LIMIT 1  (0.2ms) SAVEPOINT active_record_2 SpudMenu Exists (0.3ms) 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 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM `spud_menus`  (0.7ms) 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.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 'eee944003be83ad6620bc69d43311d3ec13cd48338acab4d9d8b5bbcd8eef2d2215a787b20c19d72944ac51ce2004c6fe8ec10b53379fa69af30231767cb0f55' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cIc1wq6DpDIyOO6T91xK' 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-10-09 13:36:54', '60dd5995916b458db51c16c6b3ed91ae059f311dd1d7b34fd4247ba39f25c1128b69ece2e58f00ee513178c41c0fb18d03d71a5302761ccec7bcf9fdd9d86bab', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'VHEX3Aoxm5JUV16AVjw', 'bCiwl4BfcEO1tEdWI0fL', 'eee944003be83ad6620bc69d43311d3ec13cd48338acab4d9d8b5bbcd8eef2d2215a787b20c19d72944ac51ce2004c6fe8ec10b53379fa69af30231767cb0f55', 'cIc1wq6DpDIyOO6T91xK', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 's2Lgn3xEQgorJNbJOw', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 191  (0.0ms) 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 '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-10-09 13:36:54', NULL, 'Menu18', 1, '2013-10-09 13:36:54')  (0.0ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#edit as HTML Parameters: {"id"=>"171"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 191 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 171 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.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 '48445abb83368895f5412a2779ab682acd4ab589dae855265372f93af2383ea0b65f6024e5516d91ff84724dfcc6b3aa15da5c222483a8fb7178cc8b9c67de2e' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uvqpYdXmL9m2pTvCqMJL' 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-10-09 13:36:54', '256fe06e440bb7072927393ddc18b6809d0b9b6ff8fada8703ab97695c1bdab6d7f49502edb049d59b26ec1a601f6668f9836a4d880dbfbda62bba90dc1a469a', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'NQjiaCu0Ojs9Wne0ZZ2', 'Wkhp8Ayi8cZ4ZdySIhK', '48445abb83368895f5412a2779ab682acd4ab589dae855265372f93af2383ea0b65f6024e5516d91ff84724dfcc6b3aa15da5c222483a8fb7178cc8b9c67de2e', 'uvqpYdXmL9m2pTvCqMJL', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'eB5ENa3xu3Kt13qJFvXO', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 201  (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-10-09 13:36:54', NULL, 'Menu19', 0, '2013-10-09 13:36:54')  (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 'Menu20' 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-10-09 13:36:54', NULL, 'Menu20', 0, '2013-10-09 13:36:54')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#edit as HTML Parameters: {"id"=>"191"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 201 LIMIT 1 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 191 LIMIT 1 Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.3ms)  (0.6ms) ROLLBACK  (0.0ms) 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 '5c0c260034041ec61e71a8f28c124c3e8a4427ecc63cbd50ae807e01f6e609a6970d9d78a1106ff40c757276a1d0471326d8e184d399c8d3adab41aa1a211aad' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KTsQyjKq06Ae2KovLbw' 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-10-09 13:36:54', 'd03d2d59fed6774487cac7d96c80342761d75508eb2014fdf2e15c086c3531012d9a21bb35099e6a5d0e121e6e4e2c1c585c18b1ba7739b4b469ea5257442c76', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'GkKr9iAS2883xsKzMvN', 'K1U1h2N5TmIUtxucJdeK', '5c0c260034041ec61e71a8f28c124c3e8a4427ecc63cbd50ae807e01f6e609a6970d9d78a1106ff40c757276a1d0471326d8e184d399c8d3adab41aa1a211aad', 'KTsQyjKq06Ae2KovLbw', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'RWJW6vxSb5FjW1T5ggm', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 211  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#edit as HTML Parameters: {"id"=>"3"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 211 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 4ms (ActiveRecord: 0.6ms)  (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.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 '113a110ae17a9a1aced0de1903841850b72333fe7f7e0e57383e84ec4378c8d4d4b05060bacef2161317ef99e8c951a40023b0c2ba753ff746145d9c62e02809' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gGUmSdk30d0gM6eTG0' 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-10-09 13:36:54', '13ffae955b1fb1b0c7601b7b22403dbf47a7132ff380d8b723bd0aec3b0726947b5f05bd1e4843592de4fbf32ed3dcac5b1f42ca6b2b173c21fcb5c1a9b31660', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'EVJGdXOmT5AVwoFe2', 'ubFWvHmHQxAGX1ge541', '113a110ae17a9a1aced0de1903841850b72333fe7f7e0e57383e84ec4378c8d4d4b05060bacef2161317ef99e8c951a40023b0c2ba753ff746145d9c62e02809', 'gGUmSdk30d0gM6eTG0', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'P0edFna7DIK1wH1nyY', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 221  (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 'Menu21' 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-10-09 13:36:54', NULL, 'Menu21', 0, '2013-10-09 13:36:54')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#update as HTML Parameters: {"spud_menu"=>{"name"=>"MyMenu", "description"=>nil, "created_at"=>"2013-10-09 13:36:54 UTC", "updated_at"=>"2013-10-09 13:36:54 UTC"}, "id"=>"201"} SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 221 LIMIT 1 SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 201 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'MyMenu' AND `spud_menus`.`id` != 201 AND `spud_menus`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_menus` SET `name` = 'MyMenu', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_menus`.`id` = 201  (0.0ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/201/menu_items Completed 302 Found in 10ms (ActiveRecord: 0.0ms) SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 201 LIMIT 1  (2.8ms) ROLLBACK  (0.0ms) 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.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '42c4451d003f8be1c8ddb214dd8370218a4e244fbd3753e5e217347f78068286cdebb42fde64917225c49790df7535b1642fe9139fae86dad453df07deb15584' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '71lafpz7FGK76cr74Ly' 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-10-09 13:36:54', '2681d2af93615c2cc6518d03a0e9eebb94e4afc50208ac1d2d380eb05e46fb815fe79855edb7b338ffbd2dd6353b4f7bd6398d8f44f8cfc25b12675b16b5dc10', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'YKzGmKvh1PFCYT6KPdrR', 'ONLhyYX63ByFSWQ0wd', '42c4451d003f8be1c8ddb214dd8370218a4e244fbd3753e5e217347f78068286cdebb42fde64917225c49790df7535b1642fe9139fae86dad453df07deb15584', '71lafpz7FGK76cr74Ly', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QDERLajaOylNNJxonZDt', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 231  (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 'Menu22' 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-10-09 13:36:54', NULL, 'Menu22', 0, '2013-10-09 13:36:54')  (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-10-09 13:36:54 UTC", "updated_at"=>"2013-10-09 13:36:54 UTC"}, "id"=>"211"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 231 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 211 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'MyMenu' AND `spud_menus`.`id` != 211 AND `spud_menus`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_menus` SET `name` = 'MyMenu', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_menus`.`id` = 211  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/211/menu_items Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) 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.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 '2e29c6d6bf6883b719741044e18b562493ac764f554225f68f12d41af450607069a36f3547b28b84ed4881478fc326530bf2fa8644a6f203ae9638ad783c54dc' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'X3MwfVQJgzvz6BfX8QYi' 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-10-09 13:36:54', '15e801935c610341e94bdd2d78fc9e1ee6ba4d1a5b1e8d440278b95c0d9062468aec48fadd24323f738ac9452c286ecb8206d19fd9b05a83e0f671d1792c3ccf', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'wDpzvA2qKG4biOiPefTB', 'OXhqhE37JMEaHFGNNFM', '2e29c6d6bf6883b719741044e18b562493ac764f554225f68f12d41af450607069a36f3547b28b84ed4881478fc326530bf2fa8644a6f203ae9638ad783c54dc', 'X3MwfVQJgzvz6BfX8QYi', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = '9ObN6aPRBQYhetlHvoIK', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 241  (0.0ms) 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 '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-10-09 13:36:54', NULL, 'Menu23', 0, '2013-10-09 13:36:54')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_menus` Processing by Spud::Admin::MenusController#destroy as HTML Parameters: {"id"=>"221"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 241 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 221 LIMIT 1  (0.2ms) SAVEPOINT active_record_2 SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 221 AND `spud_menu_items`.`parent_type` = 'SpudMenu' SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`spud_menu_id` = 221 SQL (0.2ms) DELETE FROM `spud_menus` WHERE `spud_menus`.`id` = 221  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus Completed 302 Found in 10ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM `spud_menus`  (0.6ms) 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.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 '7845c9d111348568cf70d6918d7b148c7d43885cf5b2b17079e38ac92acf6137dd3cd57b3494384a5f800aba7ccdbb6837217e0440c6017183e96bb729714700' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ILJnFSlsik9xKuykDKbq' 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-10-09 13:36:54', '903c2e9bad3415bbf54412cb7dbcd31a8117025c82671281e6d6875a7f953434324d219638cc617de5119d6c38848401b7a151d5b3ec093e4e99acfdc6e41f79', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'YQsg3rSvaA1z3tFWn1', 'iOsQUfVPRKg2Pe0xY1g', '7845c9d111348568cf70d6918d7b148c7d43885cf5b2b17079e38ac92acf6137dd3cd57b3494384a5f800aba7ccdbb6837217e0440c6017183e96bb729714700', 'ILJnFSlsik9xKuykDKbq', 1, NULL, '2013-10-09 13:36:54')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hgnzoGSIlHKAkIhIRyBN', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 251  (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 'Menu24' 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-10-09 13:36:54', NULL, 'Menu24', 0, '2013-10-09 13:36:54')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) 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` = 251 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.2ms) SELECT COUNT(*) FROM `spud_menus`  (0.6ms) 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 '3d3a5411acc067efe20a0144bf765579237e15ae8b8c938096e10f5df61fc00f8ca2914476ac0eb5bf4451d659778ba89e9b3c75dfdabfe8786c11e76b9db6e3' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4Z7ok94EA34D6FvKDknd' 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-10-09 13:36:54', 'c56b49b22a073bd563944a8ef8521372d547e1c0eb8434bdc50b4b9f0ad955b361aebf4e28ee0683e85b3870a7ff620325c04b8731743b9e1bee9407c059319f', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, '6YhDJenJz02eP8f90eL', 'uQuyKLta1RiU25ao9ow', '3d3a5411acc067efe20a0144bf765579237e15ae8b8c938096e10f5df61fc00f8ca2914476ac0eb5bf4451d659778ba89e9b3c75dfdabfe8786c11e76b9db6e3', '4Z7ok94EA34D6FvKDknd', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'CGBnbhbGTiw7bc26iPp', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 261  (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.5ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page3' LIMIT 1 SpudPage Exists (0.3ms) 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.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page3' 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-10-09 13:36:54', NULL, 'html', NULL, NULL, NULL, 'Page3', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:54', NULL, 'page3', 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.2ms) 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-10-09 13:36:54', NULL, 'html', NULL, NULL, NULL, 'Page4', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:54', NULL, 'page4', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#index as HTML SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 261 LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`url_name` = 'home' LIMIT 1 Completed 200 OK in 6ms (Views: 1.5ms | 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.0ms) ROLLBACK  (0.0ms) 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.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '61d42da80d76a4dec2ab075f543fa4ce4b90b6cdb9eb86a6dc3c4e14b6be08f680f4d197edcd7b0088bd93fdca2a68016f77204b37a5f446b18d672629c2d72f' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bgMYjDSbczK34jeL' 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-10-09 13:36:54', 'a38168c22d3d4a61d40949bf0b814e3d04532a5a7d6996318b9aed2a1e6659403e5c79a96f418d27806d904011b00bd33c7cc42b67e18020a6d717449efd1cb1', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'ZPSToTOPkqzLcl5mLmrB', 'bvHg8xAlsnFVtqnMPzMA', '61d42da80d76a4dec2ab075f543fa4ce4b90b6cdb9eb86a6dc3c4e14b6be08f680f4d197edcd7b0088bd93fdca2a68016f77204b37a5f446b18d672629c2d72f', 'bgMYjDSbczK34jeL', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YmI0M1PxBKtDaQmvH4VA', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 271  (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` = 'page5' LIMIT 1 SpudPage Exists (0.4ms) 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.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page5' 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-10-09 13:36:54', NULL, 'html', NULL, NULL, NULL, 'Page5', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:54', NULL, 'page5', 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 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.2ms) 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-10-09 13:36:54', NULL, 'html', NULL, NULL, NULL, 'Page6', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:54', NULL, 'page6', 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`.`id` = 1 LIMIT 1 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` = 'page7' LIMIT 1 SpudPage Exists (0.2ms) 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.1ms) 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-10-09 13:36:54', NULL, 'html', NULL, NULL, NULL, 'Page7', NULL, NULL, NULL, 1, 0, 1, '2013-10-09 13:36:54', NULL, 'page7', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#index as HTML SpudUser Load (0.5ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 271 LIMIT 1 SpudPage Load (0.5ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`url_name` = 'home' LIMIT 1 Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 1.0ms)  (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.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 'f5d5a3283b017a4afc7f9169bad93a398a24b0f0b8783f6fcee3798091e052df7168536d6c8ade65c07384705351f2fd9bf5a764ddbef22d5985501531963a6b' LIMIT 1 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5sPe8qGJ1lmEckKQVh' 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-10-09 13:36:54', 'c4c8f678402752acbe363eaa986c225b962d43adb12b224d48b796d997a7de36fefbc173d4ea6cb23ee0b10cbd2cdff1aa986c2d221c42dd5cf728016090097a', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'mf2XOUyiAPK9NhxHzCCw', 'w6WwxuNlqrxOx8fY9YwF', 'f5d5a3283b017a4afc7f9169bad93a398a24b0f0b8783f6fcee3798091e052df7168536d6c8ade65c07384705351f2fd9bf5a764ddbef22d5985501531963a6b', '5sPe8qGJ1lmEckKQVh', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = '29fMDXg7Sz1M9fKoPhn5', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 281  (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` = '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.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-10-09 13:36:54', NULL, 'html', NULL, NULL, NULL, 'Page8', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:54', NULL, 'page8', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#show as HTML Parameters: {"id"=>"161"} SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 281 LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 161 LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (161) Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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 '57a69ccd5797d4fcf7ca551474f4280e900cca7a8de1a01c853880671b72f8f84d3890d3941ab93ec0bc780623f1ab752d8fe971414fc7a17e157e9f0ad5bad4' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 't7tXNzbvv7Mo22ZNfzz' 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-10-09 13:36:54', '9b858f97bb5fbee95784768698a5d767baf2319c4144bbfd609a70f7390eb25b0a676b19e509513bcfa7fbdc54c7d689a4f4efcd99d10bc36d4483dc41e7d2c7', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'u0lFGipLlc1UgWrD1zK4', 'IcXZNFU5kWmY7nf8qo', '57a69ccd5797d4fcf7ca551474f4280e900cca7a8de1a01c853880671b72f8f84d3890d3941ab93ec0bc780623f1ab752d8fe971414fc7a17e157e9f0ad5bad4', 't7tXNzbvv7Mo22ZNfzz', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Thv020WQGqq3OGz4Bln', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 291  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#new as HTML SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 291 LIMIT 1 Completed 200 OK in 17ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.5ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) 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.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 '06aed364108c2a44bdf2f24d8560095f0af663db42112c96c1c80abd7373d10f88aed7fd58d93d6002f3eb9aa510e4f9350a12a1666125cc97c5f39fc368ddb1' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'byNu4fVd7MQ0XAZ6TFf0' 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-10-09 13:36:54', '1330dd29a636cf867e4be01d4856c06db8edbfd68ca2132f01e370de202b84fa5f387980b8ae9ab5298fd59f3bb7c8688983503f91d2ad3baa6b33f8087f0988', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, '2Cu27P9RtIS2pU16m4Ck', '7CAIwB1Hg8MTkM2jiHJ0', '06aed364108c2a44bdf2f24d8560095f0af663db42112c96c1c80abd7373d10f88aed7fd58d93d6002f3eb9aa510e4f9350a12a1666125cc97c5f39fc368ddb1', 'byNu4fVd7MQ0XAZ6TFf0', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'xrEKN748RaKolujCfcHM', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 301  (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` = 301 LIMIT 1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.2ms)  (0.6ms) ROLLBACK  (0.0ms) 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 '55349281f79f0854a58ce78e73464e0316b23594cd8a6587950a03fe0416b9403f0fb98c2c80a1a047b984a0bfa493e4aa865df9915b1fbe20a7b7ad68723733' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'aUeaf5OsIRMU3rn7KAT' 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-10-09 13:36:54', '7af7bdf1d636b7a2b16d47c2b326c828d8f1b148ed0210634288d84cab11590d494982a11e6e7c38ca45561ca02b7e1b88a0fea203a8b115254df86ea4ab9938', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'eXlBzdIHaoAPLS4azvaP', 'bhWQfWYVWBdP57AHv2x', '55349281f79f0854a58ce78e73464e0316b23594cd8a6587950a03fe0416b9403f0fb98c2c80a1a047b984a0bfa493e4aa865df9915b1fbe20a7b7ad68723733', 'aUeaf5OsIRMU3rn7KAT', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'l6r8enbTpFuKhxTclFD', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 311  (0.1ms) RELEASE SAVEPOINT active_record_2  (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` = '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.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page9' 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-10-09 13:36:54', NULL, 'html', NULL, NULL, NULL, 'Page9', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:54', NULL, 'page9', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#edit as HTML Parameters: {"id"=>"171"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 311 LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 171 LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (171) Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 0.7ms)  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.2ms) 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.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 '354bc33369ca2d69f4165c281adff975ab5af45efaa661745a2fb9e09d5c3dca743d3ae986ac088157253f49386f71384f3324785f9cb8aca5dd217e45a39af1' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OCykPfqZI9seVw3M2qM0' 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-10-09 13:36:54', '816af790147f6acc83088f73f21d3aa4ba1df947eff6951b3cf355478bbe359ec7cabc69ddc0d4b8edebde7c94404f1449086b0f070d8ffa6f0311786f338143', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'eiIcCDI7tx52QHpAAMJh', '2pkKIDBuNi9O0ZYt5ZD', '354bc33369ca2d69f4165c281adff975ab5af45efaa661745a2fb9e09d5c3dca743d3ae986ac088157253f49386f71384f3324785f9cb8aca5dd217e45a39af1', 'OCykPfqZI9seVw3M2qM0', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'B5V1Z5UgflQN448JmHqf', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 321  (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.2ms) 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-10-09 13:36:54', NULL, 'html', NULL, NULL, NULL, 'Page10', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:54', 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"=>"181"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 321 LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 181 LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (181)  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 181) 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 '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 (181, 'SpudPage', '2013-10-09 13:36:54', 0, '2013-10-09 13:36:54', 'page10') SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Adam' AND `spud_pages`.`id` != 181 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` != 181 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'Adam', `url_name` = 'adam', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_pages`.`id` = 181  (0.0ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/pages Completed 302 Found in 14ms (ActiveRecord: 2.0ms) SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 181 LIMIT 1  (0.6ms) 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.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cd2861dd5ac6695e2c3479a9505977225b8a7c236eee02b90b04059a7685dcac4cf2782e189f65e5d5997434eb6253d6a7b63a73a07cab8d3e35e802a2148033' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eTAtFWYpDX3aGcxvIcJ5' 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-10-09 13:36:54', 'ccdb09a45751804d2dac50cbf075400d467ffd2f582ae8f75848f6417db20386b186a81c1d4fa1f0e853b3033d7900b7b1dde135dd05007046f4d89b53fb0a56', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'OMlIh9DFXJIL2nQQQ', '00X7N3NDK1v2ABeR1mt', 'cd2861dd5ac6695e2c3479a9505977225b8a7c236eee02b90b04059a7685dcac4cf2782e189f65e5d5997434eb6253d6a7b63a73a07cab8d3e35e802a2148033', 'eTAtFWYpDX3aGcxvIcJ5', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iJyEr9DyB1TqqDYunjni', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 331  (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` = '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-10-09 13:36:54', NULL, 'html', NULL, NULL, NULL, 'Page11', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:54', NULL, 'page11', 0, 0)  (0.0ms) 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"=>"191"} SpudUser Load (0.6ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 331 LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 191 LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (191)  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 191) 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.3ms) 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 (191, 'SpudPage', '2013-10-09 13:36:54', 0, '2013-10-09 13:36:54', 'page11') SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Adam' AND `spud_pages`.`id` != 191 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 'adam' AND `spud_pages`.`id` != 191 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'Adam', `url_name` = 'adam', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_pages`.`id` = 191  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/pages Completed 302 Found in 15ms (ActiveRecord: 2.7ms)  (0.8ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) 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.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'af8dd3ebea79115ff06b7bbe6cc4a2f649c65f1056e15d7d576057a8e57fc215860ecd30eb680ccf55a59bc243f4389bd1dba369b368793b495a2941a4b8da59' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PHHTo52EyIq1cmkzxMRs' 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-10-09 13:36:54', 'ba3650df3f1395db39601a41b6e8d5c2ffee0acc1e47c8a0a1e0e65138fa4daabcf4323cb4fe21405abca70d0c9af7cb35d77df387fd8dd19a4294141b751c07', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'hlw75vzyvlksd6aHNmhP', 'GYnRLWeebJD7PfSSKIKl', 'af8dd3ebea79115ff06b7bbe6cc4a2f649c65f1056e15d7d576057a8e57fc215860ecd30eb680ccf55a59bc243f4389bd1dba369b368793b495a2941a4b8da59', 'PHHTo52EyIq1cmkzxMRs', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'WDWkC6EIpbNo4aS1lLbL', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 341  (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` = 0 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page12' LIMIT 1 SpudPage Exists (0.1ms) 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-10-09 13:36:54', NULL, 'html', NULL, NULL, NULL, 'Page12', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:54', NULL, 'page12', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_pages`  Processing by Spud::Admin::PagesController#destroy as HTML Parameters: {"id"=>"201"} SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 341 LIMIT 1 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 201 LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (201)  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`spud_page_id` = 201 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 201 AND `spud_permalinks`.`attachment_type` = 'SpudPage' SQL (0.1ms) DELETE FROM `spud_pages` WHERE `spud_pages`.`id` = 201  (0.0ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/pages Completed 302 Found in 10ms (ActiveRecord: 1.5ms)  (0.1ms) SELECT COUNT(*) FROM `spud_pages`  (0.4ms) ROLLBACK  (0.0ms) 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.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f9dbade848f12554ec2c52868207f4e8d344c9e379dcdcc109d500a119af63c502bcf8f578351defde31ac422022018599564a6844b533ffcd18e40682bb4cfc' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'k9mK3ISm40AZQJRQBAv6' 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-10-09 13:36:54', '7a04ef7356d4370abfcdd2b9b55e763d61640e4a5b0ad3370040e01dec13f3ed7bef02fa7673866271b65ef8b4e761d00286c131c314be21d3e1fc4c1c768712', '2013-10-09 13:36:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:36:54', 'testuser', 1, 'hS0tMTiuZK7J1933rd8Y', 'rUGMxc3iZfiMsUXEV0b', 'f9dbade848f12554ec2c52868207f4e8d344c9e379dcdcc109d500a119af63c502bcf8f578351defde31ac422022018599564a6844b533ffcd18e40682bb4cfc', 'k9mK3ISm40AZQJRQBAv6', 1, NULL, '2013-10-09 13:36:54')  (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-10-09 13:36:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QMwKb4RAMRpw5eZfald9', `updated_at` = '2013-10-09 13:36:54' WHERE `spud_users`.`id` = 351  (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.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page13' LIMIT 1 SpudPage Exists (0.3ms) 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.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page13' 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-10-09 13:36:54', NULL, 'html', NULL, NULL, NULL, 'Page13', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:54', NULL, 'page13', 0, 0)  (0.0ms) 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` = 351 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 3ms (ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM `spud_pages`   (2.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN 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 ORDER BY spud_page_id Completed 200 OK in 16ms (Views: 13.1ms | ActiveRecord: 0.3ms) 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.1ms) 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.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.2ms) 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` = 'page14' LIMIT 1 SpudPage Exists (0.4ms) 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.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page14' 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-10-09 13:36:54', NULL, 'html', NULL, NULL, NULL, 'Page14', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:54', NULL, 'page14', 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` = '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.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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page15', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'page15', 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.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page16' LIMIT 1 SpudPage Exists (0.1ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page16', NULL, NULL, NULL, 1, 1, NULL, '2013-10-09 13:36:55', NULL, 'page16', 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` = 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page17', NULL, NULL, NULL, 1, 1, NULL, '2013-10-09 13:36:55', 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.1ms) 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.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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page18', NULL, NULL, NULL, 1, 1, NULL, '2013-10-09 13:36:55', NULL, 'page18', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Cms::SitemapsController#show as XML SpudPage Load (0.5ms) 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 4ms (Views: 0.8ms | ActiveRecord: 0.5ms) 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.5ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) 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.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-10-09 13:36:55', NULL, 'Main', 0, '2013-10-09 13:36:55')  (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-10-09 13:36:55', NULL, 0, 'Menu Item 15', 241, 'SpudMenu', 241, NULL, '2013-10-09 13:36:55', '/')  (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-10-09 13:36:55', NULL, 0, 'Menu Item 16', 241, 'SpudMenu', 241, NULL, '2013-10-09 13:36:55', '/')  (0.0ms) 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.4ms) 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` = 241 ORDER BY parent_type, parent_id  (0.7ms) 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.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-10-09 13:36:55', NULL, 'Menu25', 0, '2013-10-09 13:36:55')  (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-10-09 13:36:55', NULL, 0, 'Menu Item 17', 251, 'SpudMenu', 251, NULL, '2013-10-09 13:36:55', '/')  (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-10-09 13:36:55', NULL, 0, 'Menu Item 18', 251, 'SpudMenu', 251, NULL, '2013-10-09 13:36:55', '/')  (0.0ms) 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.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` = 251 ORDER BY parent_type, parent_id  (0.2ms) 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 'Main2' 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-10-09 13:36:55', NULL, 'Main2', 0, '2013-10-09 13:36:55')  (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-10-09 13:36:55', NULL, 0, 'Menu Item 19', 261, 'SpudMenu', 261, NULL, '2013-10-09 13:36:55', '/')  (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-10-09 13:36:55', NULL, 0, 'Menu Item 20', 261, 'SpudMenu', 261, NULL, '2013-10-09 13:36:55', '/')  (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-10-09 13:36:55', NULL, 0, 'SubItem', 191, 'SpudMenuItem', 261, NULL, '2013-10-09 13:36:55', '/')  (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` = 261 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 'Main4' 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-10-09 13:36:55', NULL, 'Main4', 0, '2013-10-09 13:36:55')  (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-10-09 13:36:55', NULL, 0, 'Menu Item 21', 271, 'SpudMenu', 271, NULL, '2013-10-09 13:36:55', '/')  (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-10-09 13:36:55', NULL, 0, 'Menu Item 22', 271, 'SpudMenu', 271, NULL, '2013-10-09 13:36:55', '/')  (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-10-09 13:36:55', NULL, 0, 'SubItem', 221, 'SpudMenuItem', 271, NULL, '2013-10-09 13:36:55', '/')  (0.1ms) 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` = 271 ORDER BY parent_type, parent_id  (0.5ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.6ms) 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-10-09 13:36:55', NULL, 'Menu26', 0, '2013-10-09 13:36:55')  (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-10-09 13:36:55', NULL, 0, 'Menu Item 23', 281, 'SpudMenu', 281, NULL, '2013-10-09 13:36:55', '/')  (0.1ms) 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.3ms) 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 'Main3' 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-10-09 13:36:55', NULL, 'Main3', 0, '2013-10-09 13:36:55')  (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-10-09 13:36:55', NULL, 0, 'Menu Item 24', 291, 'SpudMenu', 291, NULL, '2013-10-09 13:36:55', '/')  (0.1ms) 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-10-09 13:36:55', NULL, 0, 'Menu Item 25', 291, 'SpudMenu', 291, NULL, '2013-10-09 13:36:55', '/')  (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-10-09 13:36:55', NULL, 0, 'SubItem', 261, 'SpudMenuItem', 291, NULL, '2013-10-09 13:36:55', '/')  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main3' LIMIT 1 SpudMenuItem Load (0.4ms) 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` = 291 ORDER BY parent_type, parent_id  (0.7ms) ROLLBACK  (0.1ms) 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 '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-10-09 13:36:55', NULL, 'Menu27', 0, '2013-10-09 13:36:55')  (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-10-09 13:36:55', NULL, 0, 'Menu Item 26', 301, 'SpudMenu', 301, NULL, '2013-10-09 13:36:55', '/')  (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.4ms) 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.3ms) 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.2ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page19', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'page19', 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` = 'page20' LIMIT 1 SpudPage Exists (0.2ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page20', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'page20', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 271 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.2ms) 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` = 271) 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.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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page21', NULL, NULL, NULL, 1, 0, 271, '2013-10-09 13:36:55', NULL, 'page19/page21', 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.4ms) 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.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page22' LIMIT 1 SpudPage Exists (0.2ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page22', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'page22', 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` = '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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page23', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'page23', 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.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.2ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page24', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'page24', 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` = '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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page25', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', 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.4ms) ROLLBACK  (0.0ms) 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` = '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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page26', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'page26', 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` = 0 SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page27' LIMIT 1 SpudPage Exists (0.1ms) 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.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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page27', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'page27', 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` = 341 LIMIT 1 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` = 'page26/page28' LIMIT 1 SpudPage Exists (0.1ms) 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` = 341) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page28', NULL, NULL, NULL, 1, 0, 341, '2013-10-09 13:36:55', 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.7ms) 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.4ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page29' LIMIT 1 SpudPage Exists (0.3ms) 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.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page29' 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page29', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'page29', 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.1ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page30', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'page30', 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`.`id` = 371 LIMIT 1 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` = 'page29/page31' LIMIT 1 SpudPage Exists (0.1ms) 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` = 371) LIMIT 1 SpudPage Exists (0.1ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page31', NULL, NULL, NULL, 1, 0, 371, '2013-10-09 13:36:55', 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.4ms) 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` = 'page32' LIMIT 1 SpudPage Exists (0.2ms) 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.4ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page32', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'page32', 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.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page33' LIMIT 1 SpudPage Exists (0.5ms) 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.5ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page33' AND `spud_pages`.`site_id` = 1) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page33', NULL, NULL, NULL, 1, 1, NULL, '2013-10-09 13:36:55', NULL, 'page33', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1 AND `spud_pages`.`site_id` = 1  (0.4ms) 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.1ms) BEGIN  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.1ms) 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-10-09 13:36:55', NULL, 'Test Page', NULL, 'test_page', '2013-10-09 13:36:55') 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.3ms) UPDATE `spud_page_partials` SET `content_processed` = '' WHERE `spud_page_partials`.`id` = 1  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.1ms) 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-10-09 13:36:55', NULL, 'Test Page', 1, '2013-10-09 13:36:55')  (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.3ms) 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-10-09 13:36:55', NULL, 'Test Page', 1, 'test_page', '2013-10-09 13:36:55') SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 11 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.1ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Home Sweet Home', '2013-10-09 13:36:55', NULL, 'Test Page', 1, '2013-10-09 13:36:55')  (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' SpudPage Load (0.2ms) 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-10-09 13:36:55', NULL, 'Test Page', 1, 'test_page', '2013-10-09 13:36:55') SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 21 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Nah', '2013-10-09 13:36:55', NULL, 'Test Page', 1, '2013-10-09 13:36:55')  (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.2ms) UPDATE `spud_page_partials` SET `content` = 'Nah', `content_processed` = 'Nah', `updated_at` = '2013-10-09 13:36:55' WHERE `spud_page_partials`.`id` = 21 SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 21 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) 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-10-09 13:36:55', NULL, 'Test Page', 1, '2013-10-09 13:36:55')  (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.2ms) DELETE FROM `spud_page_partial_revisions` WHERE `spud_page_partial_revisions`.`id` = 11  (0.2ms) UPDATE `spud_page_partials` SET `content` = 'Another change', `content_processed` = 'Another change', `updated_at` = '2013-10-09 13:36:55' WHERE `spud_page_partials`.`id` = 21 SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 21 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.8ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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.1ms) 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.1ms) BEGIN SpudPage Exists (0.5ms) 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.2ms) ROLLBACK  (0.1ms) 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.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'test' 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page34', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'test', 1, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudPage Exists (0.3ms) 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.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'test' AND `spud_pages`.`site_id` = 0) LIMIT 1  (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.1ms) 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.2ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'test', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'test', 0, 0)  (0.0ms) 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.2ms) 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.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` = 'page36' LIMIT 1 SpudPage Exists (0.3ms) 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.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page36' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.5ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page36', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'page36', 0, 0) SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 441 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-10-09 13:36:55', NULL, 'body', 441, 'body', '2013-10-09 13:36:55') SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 31 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial' SQL (0.2ms) UPDATE `spud_page_partials` SET `content_processed` = '' WHERE `spud_page_partials`.`id` = 31  (0.0ms) 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` = 441 SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 31 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial' SQL (0.1ms) DELETE FROM `spud_page_partials` WHERE `spud_page_partials`.`id` = 31 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 441 AND `spud_permalinks`.`attachment_type` = 'SpudPage' SQL (0.1ms) DELETE FROM `spud_pages` WHERE `spud_pages`.`id` = 441  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_page_partials`   (0.3ms) 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) ROLLBACK  (0.0ms) 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` = 'parent' LIMIT 1 SpudPage Exists (0.3ms) 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.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'parent' 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'parent', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', 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.2ms) 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` = 451) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page 1', NULL, NULL, NULL, 1, 0, 451, '2013-10-09 13:36:55', NULL, 'parent/page-1', 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` = '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` = 451) 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.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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'Page 2', NULL, NULL, NULL, 1, 0, 451, '2013-10-09 13:36:55', 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.5ms) 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.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.1ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'about', 0, 0)  (0.0ms) 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` = '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` = 481) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about/test' 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.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` = '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.1ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'testimonials', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', 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.1ms) 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.3ms) 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` = 'another' LIMIT 1 SpudPage Exists (0.1ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'another', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'another', 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`.`site_id` = 0 AND (id != 501) SpudPermalink Load (0.1ms) 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.1ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (501, 'SpudPage', '2013-10-09 13:36:55', 0, '2013-10-09 13:36:55', 'another') SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'again' AND `spud_pages`.`id` != 501 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` != 501 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'again', `url_name` = 'again', `updated_at` = '2013-10-09 13:36:55' WHERE `spud_pages`.`id` = 501  (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.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another' LIMIT 1 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 501 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.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'another-1' AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.6ms) 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.1ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'permapage', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'permapage', 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 != 511) SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage-new' LIMIT 1 SpudPermalink Exists (0.3ms) 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 (511, 'SpudPage', '2013-10-09 13:36:55', 0, '2013-10-09 13:36:55', 'permapage') SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'permapage new' AND `spud_pages`.`id` != 511 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` != 511 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.8ms) UPDATE `spud_pages` SET `name` = 'permapage new', `url_name` = 'permapage-new', `updated_at` = '2013-10-09 13:36:55' WHERE `spud_pages`.`id` = 511  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_permalinks`  (0.2ms) SELECT COUNT(*) FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 511 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 != 511) SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage' LIMIT 1 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 511 LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) DELETE FROM `spud_permalinks` WHERE `spud_permalinks`.`id` = 41  (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.1ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (511, 'SpudPage', '2013-10-09 13:36:55', 0, '2013-10-09 13:36:55', 'permapage-new')  (0.0ms) 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` != 511 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` != 511 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) SELECT COUNT(*) FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 511 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.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.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'original' 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'original', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'original', 0, 0)  (0.0ms) 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.2ms) ROLLBACK  (0.0ms) 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` = '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.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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'original', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', 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 != 531) 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.2ms) 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 (531, 'SpudPage', '2013-10-09 13:36:55', 0, '2013-10-09 13:36:55', 'original') SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'original2' AND `spud_pages`.`id` != 531 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` != 531 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'original2', `url_name` = 'original2', `updated_at` = '2013-10-09 13:36:55' WHERE `spud_pages`.`id` = 531  (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` = '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.1ms) 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-10-09 13:36:55', NULL, 'html', NULL, NULL, NULL, 'new', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:36:55', NULL, 'new', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 541 LIMIT 1 SpudPermalink Load (0.1ms) 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` = 531 LIMIT 1  (1.0ms) ROLLBACK  (0.0ms) ROLLBACK Connecting to database specified by database.yml Creating scope :public. Overwriting existing method SpudPage.public. Connecting to database specified by database.yml Creating scope :public. Overwriting existing method SpudPage.public. Connecting to database specified by database.yml Creating scope :public. Overwriting existing method SpudPage.public. Connecting to database specified by database.yml Creating scope :public. Overwriting existing method SpudPage.public. Connecting to database specified by database.yml Creating scope :public. Overwriting existing method SpudPage.public. Connecting to database specified by database.yml Creating scope :public. Overwriting existing method SpudPage.public.  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (5.0ms) select table_name from information_schema.views where table_schema = 'spud_cms_test'  (1.1ms) TRUNCATE TABLE `spud_admin_permissions`;  (1.6ms) TRUNCATE TABLE `spud_menu_items`;  (1.3ms) TRUNCATE TABLE `spud_menus`;  (1.7ms) TRUNCATE TABLE `spud_page_liquid_tags`;  (0.8ms) TRUNCATE TABLE `spud_page_partial_revisions`;  (0.8ms) TRUNCATE TABLE `spud_page_partials`;  (2.0ms) TRUNCATE TABLE `spud_pages`;  (1.8ms) TRUNCATE TABLE `spud_permalinks`;  (1.3ms) TRUNCATE TABLE `spud_snippets`;  (0.5ms) TRUNCATE TABLE `spud_user_settings`;  (1.1ms) TRUNCATE TABLE `spud_users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudPage Load (1.6ms) 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.5ms) 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.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page1' 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-10-09 13:45:47', NULL, 'html', NULL, NULL, NULL, 'Page1', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:47', NULL, 'page1', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by PagesController#show as HTML Parameters: {"id"=>"page1"} SpudPage Load (0.4ms) 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 (0.2ms) Completed 200 OK in 54ms (Views: 32.5ms | ActiveRecord: 2.3ms)  (0.9ms) ROLLBACK  (0.1ms) 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.1ms) 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.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'home' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (1.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-10-09 13:45:47', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:47', NULL, 'home', 0, 0)  (0.2ms) 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' LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (11) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.6ms)  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) 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.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.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-10-09 13:45:47', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:47', 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 != 21) 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 (21, 'SpudPage', '2013-10-09 13:45:47', 0, '2013-10-09 13:45:47', 'about') SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about us' AND `spud_pages`.`id` != 21 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 'about-us' AND `spud_pages`.`id` != 21 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'about us', `url_name` = 'about-us', `updated_at` = '2013-10-09 13:45:47' WHERE `spud_pages`.`id` = 21  (0.0ms) 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 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`url_name` = 'about' LIMIT 1 SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 21 LIMIT 1 Redirected to http://test.host/about-us Completed 301 Moved Permanently in 6ms (ActiveRecord: 0.7ms)  (0.6ms) ROLLBACK  (0.0ms) 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.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.9ms) 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-10-09 13:45:48', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:48', 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 (31) Redirected to http://test.host/spud/user_session/new Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.0ms) 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 '5ad32e950430e82d9f171ffaa7fe8c9177cd2d05ae8580e3a85b24bee944e9d406831111c5bef3331c5feb37c1a5c65a089da7c1471eec00ddc02872cfbd8b27' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KxC3SWUWRSz0ktq77lXz' 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-10-09 13:45:48', 'e19edcf99633a2288612664d1dca2edab9af81f5ef768990d924b55356e72b0383e2444ee0a85eb041081410c300991b5fc475de86015c51e082492b71c521e6', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'Mrr5a9NU33iuocfBeJwB', 'cPtmRTqrrg50wQxED6Fa', '5ad32e950430e82d9f171ffaa7fe8c9177cd2d05ae8580e3a85b24bee944e9d406831111c5bef3331c5feb37c1a5c65a089da7c1471eec00ddc02872cfbd8b27', 'KxC3SWUWRSz0ktq77lXz', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = '2ahF14104dZkGAc7Ca', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 1  (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` = '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-10-09 13:45:48', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:48', NULL, 'about', 0, 1)  (0.2ms) 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  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'mOImRHm65TSf9n3osJpW', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 1  (0.1ms) RELEASE SAVEPOINT active_record_2 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 (41) Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.9ms)  (0.9ms) 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.7ms) 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-10-09 13:45:48', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:48', NULL, 'about', 0, 0)  (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' 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 31ms (Views: 28.7ms | ActiveRecord: 0.4ms)  (0.6ms) ROLLBACK  (0.1ms) 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` = '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` = 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-10-09 13:45:48', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:48', NULL, 'about', 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` = '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` = 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-10-09 13:45:48', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 1, NULL, '2013-10-09 13:45:48', NULL, 'about', 0, 0)  (0.0ms) 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 (71) Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (0.5ms) 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` = '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.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'home' AND `spud_pages`.`site_id` = 0) LIMIT 1 SQL (0.9ms) 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-10-09 13:45:48', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:48', NULL, 'home', 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.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 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` = 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 '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-10-09 13:45:48', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 1, NULL, '2013-10-09 13:45:48', NULL, 'home', 0, 0)  (0.1ms) 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' 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 (91) Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) 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 '81a356bf3b6246c17312322987713867dd78568af736f9c3d180cd065cdf53270c275c170ca452fa6615d335fef69757d32cd96efa5da73102480c70a1da7f9b' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fYcYJDgzQsLSaoQMf' 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-10-09 13:45:48', 'a69789828de92219edf3c862e3218ad0e33e42aeee9af7e26b83bc9c59adc0b9cb5297abd069e8b7b3929e33f1f5e7fd33fe6e8eba813dd2a10697c8c2830ea0', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'XvhbhjTRkI5s4O6meXJ', 'hQXUhbgXfCdAmvs6B', '81a356bf3b6246c17312322987713867dd78568af736f9c3d180cd065cdf53270c275c170ca452fa6615d335fef69757d32cd96efa5da73102480c70a1da7f9b', 'fYcYJDgzQsLSaoQMf', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'CW6YteHEHkzTtNaH2YHy', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 11  (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 '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-10-09 13:45:48', NULL, 'Menu1', 0, '2013-10-09 13:45:48')  (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-10-09 13:45:48', NULL, 0, 'Menu Item 1', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:45:48', 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-10-09 13:45:48', NULL, 0, 'Menu Item 2', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:45:48', 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` = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'Vf8g0lUGgA0OCbcVZOR', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 11  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 LIMIT 1 Completed 200 OK in 10ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.3ms) SELECT COUNT(*) FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 1 AND `spud_menu_items`.`parent_type` = 'SpudMenu'  (0.6ms) 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.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 '37bb4699aec1c7688f726fdaf7af7d1c04bdd5cdc45579a63ad89022a8efd9f2a0dfe247ff9c1ba3fd440ffc05c73201b5b67c43472ffef0b932d2b4c1007bbf' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'r7YyA15fpwI4guMvwK1D' 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-10-09 13:45:48', 'b09e378b5175e93869bbe223eac7bb1f70fb2195c360e8843484ef03502210a7e8247a3545f63d5568e011e9c55bb9e26b614b2e73631fa7b44484b1155732f2', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'WRl2H0d7sfnKllEpSo', 'wESdm2ixFDTdHtLsYTT7', '37bb4699aec1c7688f726fdaf7af7d1c04bdd5cdc45579a63ad89022a8efd9f2a0dfe247ff9c1ba3fd440ffc05c73201b5b67c43472ffef0b932d2b4c1007bbf', 'r7YyA15fpwI4guMvwK1D', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = '14cnwtaJQHZo7RSRdYP', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 21  (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 'Menu2' 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-10-09 13:45:48', NULL, 'Menu2', 0, '2013-10-09 13:45:48')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#index as HTML Parameters: {"menu_id"=>"12"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 21 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = '8N5GD48DH1cDgVoDktQ', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 21  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 12 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.6ms)  (0.6ms) 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 '5c8c043732120555ad9cdad8dcf5e7a345ecb7b6b47404db042b4929c48f8b1bc542c053c425179478fee71fa4096af9052c6d5020e6756898d78d55844feed8' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FUST0MEe8f132NvL3KY' 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-10-09 13:45:48', '998a71d9adad7f878af86790dca20eff37f73a0e5e3dfa8e3efdf59471ec583dbbf266794d66f5f81ca4290845ba6fd6e6b24eb2f1a71cb31c3ee6ea39f7a30a', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, '0pRhdxzNb1gmsqMXtEYD', 'TcczSd7PAOGSczFJLQ', '5c8c043732120555ad9cdad8dcf5e7a345ecb7b6b47404db042b4929c48f8b1bc542c053c425179478fee71fa4096af9052c6d5020e6756898d78d55844feed8', 'FUST0MEe8f132NvL3KY', 1, NULL, '2013-10-09 13:45:48')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.1ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'YtNxdmGbeSuKkF0ECfJ', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 31  (0.0ms) 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 '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-10-09 13:45:48', NULL, 'Menu3', 0, '2013-10-09 13:45:48')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#new as HTML Parameters: {"menu_id"=>"21"} SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 31 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'WHlIYokuwNOVwZ3iqlLh', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 31  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 21 LIMIT 1 Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 1.0ms)  (0.9ms) 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 'dc2b03e9e808b9ed70024004fa4b54e89c4647c1b168a8b18b2d3e5470cabb5141128bc117827267c773e7cb8ec89fe7e717100dd068ae9ea07ca172f5f0f2f1' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YMXjT4wAl07VbyCwatCW' 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-10-09 13:45:48', '6994ad1dac4eb2c3664b3fd0f07e056a229be0a053bf00ad1f6546dcd8808f2be83bdcb3d671504f52744f3a404e9ef2a5ded81a472560dab6f59ccb83c68982', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'JDLag1Q0ABBddvUb4PI', 'gY1A61GQ8RCfAF92LDA', 'dc2b03e9e808b9ed70024004fa4b54e89c4647c1b168a8b18b2d3e5470cabb5141128bc117827267c773e7cb8ec89fe7e717100dd068ae9ea07ca172f5f0f2f1', 'YMXjT4wAl07VbyCwatCW', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'hQBtFxCKfcfIAxCFCf9', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 41  (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-10-09 13:45:48', NULL, 'Menu4', 0, '2013-10-09 13:45:48')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) 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"=>"31"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 41 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'xTdXI0nlobwuBeLuzyV', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 41  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 31 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-10-09 13:45:48', NULL, 0, 'Menu Item 3', 31, 'SpudMenu', 31, NULL, '2013-10-09 13:45:48', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/31/menu_items Completed 302 Found in 42ms (ActiveRecord: 0.0ms)  (0.4ms) SELECT COUNT(*) FROM `spud_menu_items`  (0.8ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) 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.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 'bf994af5d064b8ac97b10e6cd7e0f73b285fb5a293086f3392ed7a556de7714678f2c042fede22ddcab7a1a718c840471fc761a014a167b5d783fd55ea18659c' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'I8jevRBquEhpGF3Lyh' 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-10-09 13:45:48', '5562e41e6ac0f7b386ea3696fec1b8cb59729c6ece5e22a164c5e83ea1808ac0956bcbe92c7cae8c855adbf816eb3fa4950fc9a7c8cb66f2e376c48015d62a54', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'D6881OXhRaRcfxOhfIg', 'aGlhhZQgfzlvb8JoWRa', 'bf994af5d064b8ac97b10e6cd7e0f73b285fb5a293086f3392ed7a556de7714678f2c042fede22ddcab7a1a718c840471fc761a014a167b5d783fd55ea18659c', 'I8jevRBquEhpGF3Lyh', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'moovlRz4oJ0xyLzkRBsH', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 51  (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 'Menu5' 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-10-09 13:45:48', NULL, 'Menu5', 0, '2013-10-09 13:45:48')  (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"=>nil, "parent_type"=>"SpudMenu", "parent_id"=>nil}, "menu_id"=>"41"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 51 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = '2rP3ZgfGOrDVBZoIogl5', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 51  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 41 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2 Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items`   (0.5ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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.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 '310df96c52d6991837085f8f03a2b247eeef3d7b44586e8f0b50d1bdad2f6cbd1efe72be76ea744919e26ef33540a908efe268cf327894c845eb5bbc6cb2d9ff' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pAi9sbZIH6GCJfBYPD' 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-10-09 13:45:48', '24099efaf22a85b902db19216d2eaa176b257ba5203b556fe35ef57985123f32053d47eb70e4cb646c689084a4a6b6423f21a1f2e3edf367e6c412b49c6decd1', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'mgeSNsKXkLaiE4IBZOA', 'hT5kc37JYRud6yr64O', '310df96c52d6991837085f8f03a2b247eeef3d7b44586e8f0b50d1bdad2f6cbd1efe72be76ea744919e26ef33540a908efe268cf327894c845eb5bbc6cb2d9ff', 'pAi9sbZIH6GCJfBYPD', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'e9rjqyoFLMm2zNgejkT', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 61  (0.3ms) 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.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-10-09 13:45:48', NULL, 'Menu6', 0, '2013-10-09 13:45:48')  (0.1ms) 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-10-09 13:45:48', NULL, 0, 'Menu Item 4', 51, 'SpudMenu', 1, NULL, '2013-10-09 13:45:48', NULL)  (0.1ms) 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"=>"51"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 61 LIMIT 1  (0.3ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = '3DrYXmB1tCQzUOYtZoc0', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 61  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 51 LIMIT 1 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 51 LIMIT 1 SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 51 AND `spud_menu_items`.`parent_type` = 'SpudMenu' ORDER BY menu_order desc 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-10-09 13:45:48', NULL, 1, 'Menu Item 5', 51, 'SpudMenu', 51, NULL, '2013-10-09 13:45:48', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/51/menu_items Completed 302 Found in 11ms (ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) 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.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cb52a3040a826f1e4030f5611924e11947848bebff41b359694c2be15b1b182b220ccc183aeec2be0dad09cf3299ee4b2aae19fa278f2aa85ca2003c6496d438' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4rTYzEkTbqx09zPb7cl' 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-10-09 13:45:48', '30a4105b2c84ac5afd6649dba07cf707cd5a333dbe24d645918b640ba22f275c505e914d89a5a3dcfd2c12e961def2321555fc187136b1d4a03d5e34309b8a4b', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'grC0ppr4UrRwmjqVHA', 'BI3gAd8FXlegWlyK6t89', 'cb52a3040a826f1e4030f5611924e11947848bebff41b359694c2be15b1b182b220ccc183aeec2be0dad09cf3299ee4b2aae19fa278f2aa85ca2003c6496d438', '4rTYzEkTbqx09zPb7cl', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'oPifUj7IlE8yejbrsLG', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 71  (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 '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-10-09 13:45:48', NULL, 'Menu7', 0, '2013-10-09 13:45:48')  (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` = '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.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-10-09 13:45:48', NULL, 'html', NULL, NULL, NULL, 'Page2', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:48', NULL, 'page2', 0, 0)  (0.1ms) 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"=>"101"}, "menu_id"=>"61"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 71 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'kar6wmnFBdAJpEt9mKF', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 71  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 61 LIMIT 1 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 101 LIMIT 1  (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-10-09 13:45:48', NULL, 0, 'Page2', 1, 'SpudMenuItem', 61, 101, '2013-10-09 13:45:48', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/61/menu_items Completed 302 Found in 10ms (ActiveRecord: 0.0ms)  (6.1ms) 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.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 'bf89dc70a8bc16c04336559c5e5b94060d621e6c7d6afb87d3e3043e71f1c19991e12b7edc119fd6cece93fe5a24f321b084cf264d80f3e7adac5dd74daeea6a' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'H1NN2duDesSze1rxeigE' 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-10-09 13:45:48', '43e5cc262dd5447c0b2fd751c9bb7124c0ca75e70d54cbd45426436db46704baa386dc067dc3e4a362695b9e031d4b4a495e23be386a892674f6d7627b5507e6', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'FHVWukrsf4r5YMZUi', 'vCkIdJZoSrXh6X16q13b', 'bf89dc70a8bc16c04336559c5e5b94060d621e6c7d6afb87d3e3043e71f1c19991e12b7edc119fd6cece93fe5a24f321b084cf264d80f3e7adac5dd74daeea6a', 'H1NN2duDesSze1rxeigE', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'Ht58ObJEdKdMQ4No2mf', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 81  (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-10-09 13:45:48', NULL, 'Menu8', 0, '2013-10-09 13:45:48')  (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-10-09 13:45:48', NULL, 0, 'Menu Item 6', 71, 'SpudMenu', 1, NULL, '2013-10-09 13:45:48', 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"=>"61"}, "menu_id"=>"71"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 81 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'gqExdZs5T0qHlH1zVGor', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 81  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 71 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-10-09 13:45:48', NULL, 0, 'Menu Item 7', 61, 'SpudMenuItem', 71, NULL, '2013-10-09 13:45:48', NULL)  (0.0ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/71/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` = 61 LIMIT 1  (0.7ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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 'ebe992467bc93957207c73538568afc634125a3295e274c95bd188efb6b0ffb276a964c720301d4ca3d4ddc17d319e64a2e6671baa1f2441380aa2c9d2e29e20' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pyFrb8BXbBIlhvtuvPUR' 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-10-09 13:45:48', '068825855596038f14d133a3c6237f8d56a0064b3d4f35b1554be63ccb7b63ab61f714b9c7a2df0b2feedf9c973946026502f37fa5ee6baacce740aff5a7f6f7', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'KOYE4ma3gd6NzidaXXfR', 'QLGgir2kuCfMx2yTSVyn', 'ebe992467bc93957207c73538568afc634125a3295e274c95bd188efb6b0ffb276a964c720301d4ca3d4ddc17d319e64a2e6671baa1f2441380aa2c9d2e29e20', 'pyFrb8BXbBIlhvtuvPUR', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'MlUnOvFt0FP7ba9uR', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 91  (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.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-10-09 13:45:48', NULL, 'Menu9', 0, '2013-10-09 13:45:48')  (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-10-09 13:45:48', NULL, 0, 'Menu Item 8', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:45:48', NULL)  (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-10-09 13:45:48', NULL, 0, 'Menu Item 9', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:45:48', NULL)  (0.0ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#edit as HTML Parameters: {"menu_id"=>"81", "id"=>"91"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 91 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'LTW2vTAnYKZiHSq9lWto', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 91  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 81 LIMIT 1 SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 91 LIMIT 1 Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (0.8ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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 'ad048ed978dc9b7ab68876be65400804f94a48d836156d3a436ffc102bb3cdff7bdee4758ca367a0d805841d51e219968b0bec689143ab0addcc5d81e751cdf6' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'subYu85TrkZbudCSp' 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-10-09 13:45:48', 'f98e40666279d69e5778585050fc78d5504a8b0498781295563e684dcf4a7d0226dd9c784107cde40614c6fc3943a33a35629a58d9d026b4885bca8e9375f9ba', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'duE6eVzm3YcdHDTqYNZT', 'ZBibFftDIOWn4PPeNZH', 'ad048ed978dc9b7ab68876be65400804f94a48d836156d3a436ffc102bb3cdff7bdee4758ca367a0d805841d51e219968b0bec689143ab0addcc5d81e751cdf6', 'subYu85TrkZbudCSp', 1, NULL, '2013-10-09 13:45:48')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'dkArV7kMBaQnKpXY8rA', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 101  (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 'Menu10' 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-10-09 13:45:48', NULL, 'Menu10', 0, '2013-10-09 13:45:48')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#edit as HTML Parameters: {"menu_id"=>"91", "id"=>"345"} SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 101 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'FiRXZ8MSTkJ6tjIVaGEb', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 101  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 91 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/91/menu_items Filter chain halted as :load_menu_item rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.6ms) 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.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 '0eb3151f48fefffe5d764669f4f6a13242fc5d61a80a16f44dfa23ad8d888ff55ecb5ffcb8557422c0f45282ed87eb6a5956d029b38036817db4d68413c665a6' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6ANdPHT3uedUT0ENaRg' 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-10-09 13:45:48', '63c729efd6470dd2315093fb4dd57e762791b54e1998d64bc651828ea4bf74a790ecf232111b46538e1277499a2db10495a4ae07f62fe119fe202344351637c6', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, '7i6eIUWOhdi5JJvdWB', 'qGmfdU6hSdKMWdGPtJI', '0eb3151f48fefffe5d764669f4f6a13242fc5d61a80a16f44dfa23ad8d888ff55ecb5ffcb8557422c0f45282ed87eb6a5956d029b38036817db4d68413c665a6', '6ANdPHT3uedUT0ENaRg', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'hByoNCFQFoBsAqgj1FcU', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 111  (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 '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-10-09 13:45:48', NULL, 'Menu11', 0, '2013-10-09 13:45:48')  (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-10-09 13:45:48', NULL, 0, 'Menu Item 10', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:45:48', 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"=>"101", "id"=>"101"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 111 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'SNgOEi44wLwkNcR8CZaC', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 111  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 101 LIMIT 1 SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 101 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_menu_items` SET `parent_id` = 101, `name` = 'MyMenu', `spud_menu_id` = 101, `updated_at` = '2013-10-09 13:45:48' WHERE `spud_menu_items`.`id` = 101  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/101/menu_items Completed 302 Found in 10ms (ActiveRecord: 0.0ms) SpudMenuItem Load (0.4ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 101 LIMIT 1  (0.8ms) 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 'cf51e7c9eb3478a30c49dd778d1a2df0db2844ead63d70dcec39b15b2007d38ad5970292fbeb4a57ac4e9725dc3c20a2de62461e1081a76b6526380b86476763' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fUwOPx8loA7XGqUNLuvE' 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-10-09 13:45:48', '762afef04a52a6d48a37af9a62a0f63b16bd800dff400f2ad196bb74ed526adfa3cc44a59ebda4edd1ac13f5790a398907218ec35ea3f8ee7a7bc1e8c79da6c5', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'sVcccXnYOpnpYzVs1KY9', 'mVtV3sbRWPZFUID2D5Nx', 'cf51e7c9eb3478a30c49dd778d1a2df0db2844ead63d70dcec39b15b2007d38ad5970292fbeb4a57ac4e9725dc3c20a2de62461e1081a76b6526380b86476763', 'fUwOPx8loA7XGqUNLuvE', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'KWoTsED7QsLdBYpIykn', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 121  (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 '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-10-09 13:45:48', NULL, 'Menu12', 0, '2013-10-09 13:45:48')  (0.1ms) 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-10-09 13:45:48', NULL, 0, 'Menu Item 11', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:45:48', NULL)  (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-10-09 13:45:48', NULL, 0, 'Menu Item 12', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:45:48', 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"=>"111", "item_type"=>nil, "spud_page_id"=>nil, "menu_order"=>"0", "url"=>nil, "name"=>"Menu Item 12", "classes"=>nil}, "menu_id"=>"111", "id"=>"121"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 121 LIMIT 1  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'zfCwwwDfiUFBfqr1glN9', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 121  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 111 LIMIT 1 SpudMenuItem Load (0.1ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 121 LIMIT 1  (0.0ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_menu_items` SET `parent_type` = 'SpudMenuItem', `parent_id` = 111, `spud_menu_id` = 111, `updated_at` = '2013-10-09 13:45:48' WHERE `spud_menu_items`.`id` = 121  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/111/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` = 121 LIMIT 1 SpudMenuItem Load (0.1ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 111 LIMIT 1  (1.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 SpudUser Exists (0.1ms) 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 '65d12ef75e8e9274855858f0d24fa5a1732411132187d7f30090cb0e7405aafd1f547539fb964833292437f88a508ba2a05f4c54832e98f266db7f189362bbdf' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7aURKx1JbaiL869jl4i' 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-10-09 13:45:48', 'd9a18878a3951a261fa01fd48f7454e3a58b13e843ae80bc4e0e4fc75caa42f15d568f712ae966727ccaa66718a4d22890881b55bbd955561b05f1bdd48c78e3', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'UdOQO5MAwcJnzXJjqb', 'HhV4QoK5kq2Lz8eKpTn4', '65d12ef75e8e9274855858f0d24fa5a1732411132187d7f30090cb0e7405aafd1f547539fb964833292437f88a508ba2a05f4c54832e98f266db7f189362bbdf', '7aURKx1JbaiL869jl4i', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = '5V7ISKa0HvsCDj6qauy', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 131  (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 '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-10-09 13:45:48', NULL, 'Menu13', 0, '2013-10-09 13:45:48')  (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-10-09 13:45:48', NULL, 0, 'Menu Item 13', 121, 'SpudMenu', 1, NULL, '2013-10-09 13:45:48', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_menu_items`  Processing by Spud::Admin::MenuItemsController#destroy as HTML Parameters: {"menu_id"=>"121", "id"=>"131"} SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 131 LIMIT 1  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'VUenpTEZ9M4z8oj6Oh2t', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 131  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 121 LIMIT 1 SpudMenuItem Load (0.1ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 131 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` = 131 AND `spud_menu_items`.`parent_type` = 'SpudMenuItem' SQL (0.2ms) DELETE FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 131  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/121/menu_items Completed 302 Found in 47ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM `spud_menu_items`  (0.8ms) 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.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 '45e2025393a0bb865b51a4518a7ea8bbc2c16d80bb5d7fa8b4fd0554fa3951b6e239a486976890bb131820af83aaa2eba660c0048b598c434a427a4ac217d111' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OsNPS4okawC3BIPm6OZ' 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-10-09 13:45:48', 'f39257876056c652801b8c32ace2e9ef0730995e4dbce586d6ea259de5cfa2c05912cea8e572f375cdd6ef990b32aa910ceb0ead02caf2d26ba6c18d00d59bcb', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'Z2geTLR8JpOjUOw2rLA6', 'zQ1han0CcGuOWEbpu8fJ', '45e2025393a0bb865b51a4518a7ea8bbc2c16d80bb5d7fa8b4fd0554fa3951b6e239a486976890bb131820af83aaa2eba660c0048b598c434a427a4ac217d111', 'OsNPS4okawC3BIPm6OZ', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'Cs03NnVAd3NwZcSpaVI', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 141  (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-10-09 13:45:48', NULL, 'Menu14', 0, '2013-10-09 13:45:48')  (0.1ms) 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-10-09 13:45:48', NULL, 0, 'Menu Item 14', 1, 'SpudMenu', 1, NULL, '2013-10-09 13:45:48', NULL)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenuItemsController#edit as HTML Parameters: {"id"=>"141", "menu_id"=>"131"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 141 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'y2MVwYEm88wQqtwa7P4', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 141  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 131 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.7ms)  (0.7ms) 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 '5a0acada9cf07dd1b7a1f9370fa793c0391e9fef94fec8b45f82e785f31242fa5f3d67dfffab9b67eebcd50a3c1f4d9c517e87474d8965c0923cd2ea2cace86c' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'w2zNMYls5h17FIBazxjs' 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-10-09 13:45:48', '06ebf289a9acad87515cc6ffa96bcdf0f2c85b65b62c2d1b440a4b32866eb905afa0e877777b55a55acae19c92ca8ce12761e12ec2e0e560f718e185e6d73d87', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'WYR8AsIY95EOwlkX6C', 'j6AiyOUzjhY1qSqn6BA', '5a0acada9cf07dd1b7a1f9370fa793c0391e9fef94fec8b45f82e785f31242fa5f3d67dfffab9b67eebcd50a3c1f4d9c517e87474d8965c0923cd2ea2cace86c', 'w2zNMYls5h17FIBazxjs', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'O1R6HMelYClv8TpZg09', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 151  (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 '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-10-09 13:45:48', NULL, 'Menu15', 0, '2013-10-09 13:45:48')  (0.0ms) 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-10-09 13:45:48', NULL, 'Menu16', 0, '2013-10-09 13:45:48')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#index as HTML SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 151 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'PbpYPTTbdAgI3Y3hsWRT', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 151  (0.1ms) RELEASE SAVEPOINT active_record_2 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM `spud_menus` WHERE `spud_menus`.`site_id` = 0  (0.5ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) 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.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 'd26d8aba3a2dc17f441e1bb13e6ee95fa3a9e43c4a2299efb6d7d30288bbf515e1ad78e412b0aba5b05a76592531f7f6a8f4a4c41cc5635c408630c7abb18e75' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'psUiXHot9hM6Hsd9RhKU' 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-10-09 13:45:48', 'dd1a5dad875c8b2f5aee65cbcbd99b14f0c712b3ff3a148bab8a65dc53bfcb0ab5cf75a93d34e05a0abb796c0541d56a7d2b95a6bdea84e15bf5fe1d39c7e0db', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'NMPtn8vZpTu0zYcDhr1', 'uQZxvZCTcsDCws4EsG3', 'd26d8aba3a2dc17f441e1bb13e6ee95fa3a9e43c4a2299efb6d7d30288bbf515e1ad78e412b0aba5b05a76592531f7f6a8f4a4c41cc5635c408630c7abb18e75', 'psUiXHot9hM6Hsd9RhKU', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'wvVrS5jf8OJQpzcxfa3', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 161  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#new as HTML SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 161 LIMIT 1  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = '4NNWGQD2A3ISvHikZ9cP', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 161  (0.1ms) RELEASE SAVEPOINT active_record_2 Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.7ms)  (1.4ms) ROLLBACK  (0.2ms) 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 '6797b89d2c460aeedc2f4daa980061facbac238dc8e397aa05761df786ff0b93f55e60bf9b2858f2e8c01d681b6870cb25ae1cc8be5ad14293d97086c7f87823' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Nk8gyaa9DSrzgBjTVZVm' 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-10-09 13:45:48', '9504c805e4bac82419e560ac6e2f3721eca8cd35f1e9066b284250ecd5c361d1131a956f5f8e8bf2758abef6c49069a05309a9aa3df5b5d1ed97bf120b436d3a', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, '7bYe7ztE1G2wCu0InjGl', 'ay65TWbDq9pSFonHRHxn', '6797b89d2c460aeedc2f4daa980061facbac238dc8e397aa05761df786ff0b93f55e60bf9b2858f2e8c01d681b6870cb25ae1cc8be5ad14293d97086c7f87823', 'Nk8gyaa9DSrzgBjTVZVm', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'itdx2Hfhja57mnUbkCE', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 171  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SELECT COUNT(*) FROM `spud_menus` Processing by Spud::Admin::MenusController#create as HTML Parameters: {"spud_menu"=>{"name"=>"Menu17"}} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 171 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = '8a9BgMLf214PI2px5tGu', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 171  (0.0ms) 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 '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-10-09 13:45:48', NULL, 'Menu17', 0, '2013-10-09 13:45:48')  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/161/menu_items Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM `spud_menus`   (2.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.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1e0173a7227e3a96b85b6d1b494b322f968c3e4f0d60253fa46fa6b1f425e4e71dcc011b06888d87b46b447db099c6d0ab9f52d7bb101e934a7ebc5d48266566' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ElqzPGlN7p6Wb8dHyP' 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-10-09 13:45:48', '3cd0a03048fc1e32b1431100038554d9f3203187494dac7bbd144081167558980881147f1d50fd2f69d3d9950b5e8d76d4b7878df5a4424e974db98b5491b92a', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, '8ctfhlTeJxwLllr02su', 'PA2icOIbjl8glX4o59', '1e0173a7227e3a96b85b6d1b494b322f968c3e4f0d60253fa46fa6b1f425e4e71dcc011b06888d87b46b447db099c6d0ab9f52d7bb101e934a7ebc5d48266566', 'ElqzPGlN7p6Wb8dHyP', 1, NULL, '2013-10-09 13:45:48')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'ileuVDbkDP71SC8I5gb', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 181  (0.0ms) 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` = 181 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'LxvVw1u1LnjswDiETesL', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 181  (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` IS NULL AND `spud_menus`.`site_id` = 0) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2 Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM `spud_menus`  (0.6ms) 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 '51054fab0a5265a6f7f1b88690ef04757c84edb5cbe9ffadfa1d44868e5e549780df78b09defcbca4f69f456982a07cf368d7523479b1bdcbaa3be0c4e23fee7' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FlvkV729jzq9mMGvjdxl' 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-10-09 13:45:48', 'd11d235707faec46c81f34b4d6c0a4be12584c593ed0f6b4657868b0c6eefe85cdf71b3560e4474ddd5b155f9fd6cff3b7069da73d95028711136b6510b77b36', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'ZVu9IwiYnc33qg37RSS3', 'geYNU6wxuot3KXkyJlZ6', '51054fab0a5265a6f7f1b88690ef04757c84edb5cbe9ffadfa1d44868e5e549780df78b09defcbca4f69f456982a07cf368d7523479b1bdcbaa3be0c4e23fee7', 'FlvkV729jzq9mMGvjdxl', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'WDfl4uGSs2wRqz4c3Yit', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 191  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.4ms) 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-10-09 13:45:48', NULL, 'Menu18', 1, '2013-10-09 13:45:48')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#edit as HTML Parameters: {"id"=>"171"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 191 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'lxsCtJg8b6cnbzFNRK3V', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 191  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 171 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.8ms)  (0.7ms) 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.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 '6c233ec7059fcf5bc07e188d08f3008c0460babf39919197075785317c314271c72b11553da07060067b92e74c3032f1ed7df738a72f4d9648d0cbd67115a20c' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '3RGCfmOe0HP7USFFunGr' 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-10-09 13:45:48', '48bed9769c23bebb326e7080906deb0abc4ecdb1beace6322a5f6898006a69ddd4c94de97cdfe230ccdfa1c27230f57c1580f34c2947c27ffa60c8ab9eff3f38', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'D3jfody8Za9qDdht1Wsw', 'qMaPj2JvVxnRttoL3pJ', '6c233ec7059fcf5bc07e188d08f3008c0460babf39919197075785317c314271c72b11553da07060067b92e74c3032f1ed7df738a72f4d9648d0cbd67115a20c', '3RGCfmOe0HP7USFFunGr', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'OyPnTzuiqPA5rkHueulO', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 201  (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 '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-10-09 13:45:48', NULL, 'Menu19', 0, '2013-10-09 13:45:48')  (0.0ms) 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 '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-10-09 13:45:48', NULL, 'Menu20', 0, '2013-10-09 13:45:48')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#edit as HTML Parameters: {"id"=>"191"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 201 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'GXtqGYaqcdFpZqOQBwu4', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 201  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 191 LIMIT 1 Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.8ms)  (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.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 'c4a7bcb3cd76cfc83dd56ee3b6c9aca9fbe334817e27e0d81e6c6169a09fb6995d3d7a93680b799f20d9027d0f395d23d4cf6190433f50c094a037b3a88889c2' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sovhFkdTIhhK4npqayB' 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-10-09 13:45:48', '3dd280141165ac73e2606d3c7b8bf2f0a0c5f86df2ee6dff9e8849b989f26d49d3d96f975b09eb824afc14726a0222d1981e20ff93517a4304e58b9ab059bb41', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, '8HU3Iopw0WXlbuSBKxwn', 'yKW8x04mo1ytPIY8a7Tk', 'c4a7bcb3cd76cfc83dd56ee3b6c9aca9fbe334817e27e0d81e6c6169a09fb6995d3d7a93680b799f20d9027d0f395d23d4cf6190433f50c094a037b3a88889c2', 'sovhFkdTIhhK4npqayB', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'DwdpjisJl1iagFSxCq61', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 211  (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` = 211 LIMIT 1  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'h4o9FMGrSluuFDOkBH6', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 211  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) 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 4ms (ActiveRecord: 0.8ms)  (0.8ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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 'c73e1efd02ba6eddcba53ec542b044387d034b3d912fb68bf723d479b87976750953da6d2dbb4269a1fd81278e80f5472d44e328eeb8f0bd1d39cf6789951500' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '2YCOJs7OkQNXEjXlplie' 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-10-09 13:45:48', '7dc49d2f1020f7bf4b23a83d35380098294c2aa493c267721177f574a1c43599e64298775db0ba50703cdc9594e7fde1f6fa36d169961bedc673711c70a28ff3', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, '8oygMfaRUnMLjgusQry', 'YuUXd6RSzzT4gliXLY8', 'c73e1efd02ba6eddcba53ec542b044387d034b3d912fb68bf723d479b87976750953da6d2dbb4269a1fd81278e80f5472d44e328eeb8f0bd1d39cf6789951500', '2YCOJs7OkQNXEjXlplie', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'y6YMpVhIf51QfcMTozTU', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 221  (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 '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-10-09 13:45:48', NULL, 'Menu21', 0, '2013-10-09 13:45:48')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#update as HTML Parameters: {"spud_menu"=>{"name"=>"MyMenu", "description"=>nil, "created_at"=>"2013-10-09 13:45:48 UTC", "updated_at"=>"2013-10-09 13:45:48 UTC"}, "id"=>"201"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 221 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'q708zwyNOMTcCU2XFjfn', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 221  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 201 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` != 201 AND `spud_menus`.`site_id` = 0) LIMIT 1  (0.1ms) UPDATE `spud_menus` SET `name` = 'MyMenu', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_menus`.`id` = 201  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/201/menu_items Completed 302 Found in 11ms (ActiveRecord: 0.0ms) SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 201 LIMIT 1  (0.9ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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.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 'a54606cfd776c618f7498a9242508ebf43dbe0290a64b256b9f64842059b426bc5878c79be6793d58a6594a81d6a56003c13187d41bcdf790cf6e708bb32142c' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6Hhm1lyAjTxpEEFoVzY' 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-10-09 13:45:48', 'c6fd400d110170b45e3add3c252ab177d73d1fc65c0612afeae3ae67e6daeef9632a628cea8945eb96f5c7254136aea5d5431d14f2f3d8c96307c2b8f8d7fe1d', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, '4aTr6QMNcGDSUO17yGe', 'C9cpOMkzMcc0J7A2FDdG', 'a54606cfd776c618f7498a9242508ebf43dbe0290a64b256b9f64842059b426bc5878c79be6793d58a6594a81d6a56003c13187d41bcdf790cf6e708bb32142c', '6Hhm1lyAjTxpEEFoVzY', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = '3xhJN7Lzj6tPAG110LNT', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 231  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.3ms) 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-10-09 13:45:48', NULL, 'Menu22', 0, '2013-10-09 13:45:48')  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::MenusController#update as HTML Parameters: {"spud_menu"=>{"name"=>"MyMenu", "description"=>nil, "created_at"=>"2013-10-09 13:45:48 UTC", "updated_at"=>"2013-10-09 13:45:48 UTC"}, "id"=>"211"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 231 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = '8yQMq2xPemZ6Hndw1mz', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 231  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 211 LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'MyMenu' AND `spud_menus`.`id` != 211 AND `spud_menus`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_menus` SET `name` = 'MyMenu', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_menus`.`id` = 211  (0.0ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus/211/menu_items Completed 302 Found in 9ms (ActiveRecord: 0.0ms)  (0.9ms) ROLLBACK  (0.0ms) 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 '0b1f6a2386b941862ac97f6024b17487b0b5329b73d3f6ea5e18378f4e77a6868082053808744b6309b91a1db6a92af9fdd7d4a5418a61680494e0569342dda3' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gr6cU63UOX7kHAvzmu7N' 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-10-09 13:45:48', '9ebeedccf258dc4f0ba440a5e7ff57e75387fc3b3d5f3b720d7b1ba3cb7267ee8f6b45121af25c6099cc42666f064d073f9af6a87a117ae552d4aac311dc019b', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'yKISPH36VGKLlIm5iJi1', 'SemMejtHqTdVjUYFdO0A', '0b1f6a2386b941862ac97f6024b17487b0b5329b73d3f6ea5e18378f4e77a6868082053808744b6309b91a1db6a92af9fdd7d4a5418a61680494e0569342dda3', 'gr6cU63UOX7kHAvzmu7N', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'MeYWHKAfUJmZQWVOnCAI', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 241  (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-10-09 13:45:48', NULL, 'Menu23', 0, '2013-10-09 13:45:48')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SELECT COUNT(*) FROM `spud_menus`  Processing by Spud::Admin::MenusController#destroy as HTML Parameters: {"id"=>"221"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 241 LIMIT 1  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'UrNzLds3a5IVRdAJN0T7', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 241  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 221 LIMIT 1  (0.0ms) SAVEPOINT active_record_2 SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 221 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` = 221 SQL (0.2ms) DELETE FROM `spud_menus` WHERE `spud_menus`.`id` = 221  (0.0ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/menus Completed 302 Found in 11ms (ActiveRecord: 0.0ms)  (0.2ms) SELECT COUNT(*) FROM `spud_menus`  (0.5ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) 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.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 '973f314253aa2c6c767c2d29b9da6a1166f5c3e57cb2efdc4f43a9e5723a2620d8dd6dce15a1485519f27f014ab5e26527cc3881e7f75b7d75289dc8f42981ea' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZiPLSMbMXSAnWjGU8FTB' 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-10-09 13:45:48', '18462bba36901b0e762e5e7e20db51704b651e0f70eb5b7fb4691c51926b2377fa322b51ba1630bdf46afa4064cfa457b8588eefe1a9d25975b428281582dacf', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'Jz0hN3wJhWw1s8aRYyuP', 'Ou7vOIuckj8WK3HZZ7wz', '973f314253aa2c6c767c2d29b9da6a1166f5c3e57cb2efdc4f43a9e5723a2620d8dd6dce15a1485519f27f014ab5e26527cc3881e7f75b7d75289dc8f42981ea', 'ZiPLSMbMXSAnWjGU8FTB', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'j62YgjYwsxvAN4Zr11kb', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 251  (0.0ms) 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 '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-10-09 13:45:48', NULL, 'Menu24', 0, '2013-10-09 13:45:48')  (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` = 251 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'CtCrSJCFxjJ6xPvejCx', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 251  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) 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 4ms (ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM `spud_menus`   (0.6ms) 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.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 '91558fc94f6b98bac34eb1fd52d826058ffe8b699487d6cbf6d33020aece07933ad6d96fdf240e08bbdd6faa3ac9ea7e6f18565e7aa424d8d5b8a0de05ad2236' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yGAVyVTByI10h25rWiXY' 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-10-09 13:45:48', '172306cd3eca345e39ab9f4fe43cfbc4d72999891eb042ddb7f36c987058df994be7160825f254965ee6d2f308a906b4868b0fd92db8b664f40201aff37c392f', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'dJrn4GfjyfqO6GFOFF34', '14dUKsgOae1uLE5Ya2bb', '91558fc94f6b98bac34eb1fd52d826058ffe8b699487d6cbf6d33020aece07933ad6d96fdf240e08bbdd6faa3ac9ea7e6f18565e7aa424d8d5b8a0de05ad2236', 'yGAVyVTByI10h25rWiXY', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'UzOFXbJ9krLYTSX4TpD', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 261  (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` = 0 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page3' LIMIT 1 SpudPage Exists (0.1ms) 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.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-10-09 13:45:48', NULL, 'html', NULL, NULL, NULL, 'Page3', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:48', NULL, 'page3', 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.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.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-10-09 13:45:48', NULL, 'html', NULL, NULL, NULL, 'Page4', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:48', NULL, 'page4', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#index as HTML SpudUser Load (0.5ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 261 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'eV2faIHR57ZdKGIUaavy', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 261  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`url_name` = 'home' LIMIT 1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 1.0ms)  (0.2ms) SELECT COUNT(*) FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL  (0.8ms) 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 '39ecde90c449b921211f11f6deadb9110c7659469e3776b90c7bf31e7b96af4ce4178ef44fb36f1ad892916a02dc65bd07664b713065ea0579bebedb31c45609' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lwE5O6LHYplnSp9qwouE' 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-10-09 13:45:48', '30fc1b70431e173bce16de5ba253d310c164f82b80ab50ad52aa1a75b81487dc85915cd85c9d9f033638bf7ec4ce2ffcc5d77dcbc0e65c4e46f77d7c6b41aa85', '2013-10-09 13:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:48', 'testuser', 1, 'WtsLwScIBF9EmelbdtpP', 'prSCDrpzd4nb1L8tCQDn', '39ecde90c449b921211f11f6deadb9110c7659469e3776b90c7bf31e7b96af4ce4178ef44fb36f1ad892916a02dc65bd07664b713065ea0579bebedb31c45609', 'lwE5O6LHYplnSp9qwouE', 1, NULL, '2013-10-09 13:45:48')  (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-10-09 13:45:48', `current_login_at` = '2013-10-09 13:45:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'MYmwqwbYT7t05QeYygZ7', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 271  (0.0ms) 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` = 'page5' LIMIT 1 SpudPage Exists (0.1ms) 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.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page5' 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-10-09 13:45:48', NULL, 'html', NULL, NULL, NULL, 'Page5', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:48', NULL, 'page5', 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` = 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.1ms) 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.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page6' 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-10-09 13:45:48', NULL, 'html', NULL, NULL, NULL, 'Page6', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:48', NULL, 'page6', 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`.`id` = 1 LIMIT 1 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` = 'page7' LIMIT 1 SpudPage Exists (0.2ms) 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.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-10-09 13:45:48', NULL, 'html', NULL, NULL, NULL, 'Page7', NULL, NULL, NULL, 1, 0, 1, '2013-10-09 13:45:48', 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` = 271 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:48', `perishable_token` = 'Hf4igNPazoqL63YyiVMD', `updated_at` = '2013-10-09 13:45:48' WHERE `spud_users`.`id` = 271  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`url_name` = 'home' LIMIT 1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.7ms)  (0.3ms) SELECT COUNT(*) FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL  (2.3ms) ROLLBACK  (0.0ms) 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 'dd2149cc4a0695cb118bbe0255f4bfe951f889872e87bf97f4592aafc99abeff4eb9665bdbc26309298595ad2a0ecfbdd80324dc0a0596879c7c67f53c4e8be8' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UZlONcrC4LoxxrjUhz3V' 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-10-09 13:45:49', '69702840d77361a20531d1a60c579ea2699c1330ca537febfbc5b6956764b1ab57efb385bb53e18b575727c8a8d8613934b6ac9c70d4e07c09d678b9499b1240', '2013-10-09 13:45:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:49', 'testuser', 1, '3Wigv5qkXsVThITGV', 'e2NoIE5Gop0IETiPnOeN', 'dd2149cc4a0695cb118bbe0255f4bfe951f889872e87bf97f4592aafc99abeff4eb9665bdbc26309298595ad2a0ecfbdd80324dc0a0596879c7c67f53c4e8be8', 'UZlONcrC4LoxxrjUhz3V', 1, NULL, '2013-10-09 13:45:49')  (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-10-09 13:45:49', `current_login_at` = '2013-10-09 13:45:49', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = 'uqMPDd8VtxOv1ROgx4Gm', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 281  (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` = 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.2ms) 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.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page8' 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page8', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'page8', 0, 0)  (0.2ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#show as HTML Parameters: {"id"=>"161"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 281 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = 'TmEYtaMOS0Axr9gOHb18', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 281  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 161 LIMIT 1 SpudPagePartial Load (0.1ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (161) Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (0.7ms) 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 'd29fec57ad34dfd97177b704cfd9ab41e636b47f2e1a0b6bed4514499716f4e219bf2a1aa7074701a956ef23e1b724d53140d07fae4d9200c7d769d9cce0e44e' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'rHjstkXtctj2BCEcUpDa' 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-10-09 13:45:49', 'b4a1c85ba077cdff0d33c81ef6b36d5f873ec8175b18ba820d3bb4a60a62754accb680440702bd3a2a65d9cdc554899c4067ea1fc15db42fc5d1e619b943de4f', '2013-10-09 13:45:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:49', 'testuser', 1, 'PraetxsVsMj9wlhkpCcO', 'bI45ieguTEy7yMIWC2HO', 'd29fec57ad34dfd97177b704cfd9ab41e636b47f2e1a0b6bed4514499716f4e219bf2a1aa7074701a956ef23e1b724d53140d07fae4d9200c7d769d9cce0e44e', 'rHjstkXtctj2BCEcUpDa', 1, NULL, '2013-10-09 13:45:49')  (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-10-09 13:45:49', `current_login_at` = '2013-10-09 13:45:49', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = 'R5hTjJMIFTiQKf8XpspI', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 291  (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` = 291 LIMIT 1  (0.2ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = 'mNGSBQb3H6Votd6WJ6BD', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 291  (0.0ms) RELEASE SAVEPOINT active_record_2 Completed 200 OK in 16ms (Views: 1.1ms | ActiveRecord: 0.7ms)  (0.6ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) 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.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 'e2d091bf9e239235995c7d03590c081dfeadc9e066635e3ca50cffb5f5da0f49bab84a5eb1e01b251e72a0981b0c274202519217b10636753ccef61b771c815f' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WbvEfdI4q0OKG2geBPmW' 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-10-09 13:45:49', '7cad499e595a3f815d4f34d36e9b5030dd7faceea28fc77c6685e2d411d813f5267fcbf08fa26eb96f641fc56602605aee97e5cf6b5d3315d0936f0af318ea01', '2013-10-09 13:45:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:49', 'testuser', 1, 'pM7W5dMtL9HdHYRgzRMC', 's95x7BznzGnruBVJVqo', 'e2d091bf9e239235995c7d03590c081dfeadc9e066635e3ca50cffb5f5da0f49bab84a5eb1e01b251e72a0981b0c274202519217b10636753ccef61b771c815f', 'WbvEfdI4q0OKG2geBPmW', 1, NULL, '2013-10-09 13:45:49')  (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-10-09 13:45:49', `current_login_at` = '2013-10-09 13:45:49', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = 'udnSUb0hHA6kVAlaVAcG', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 301  (0.0ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#new as HTML SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 301 LIMIT 1  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = 'IBZNCSmRVhJUGRu4Kjp1', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 301  (0.1ms) RELEASE SAVEPOINT active_record_2 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.7ms)  (0.6ms) 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 '408639583a80d47e28cdc1e20f2dadf8830cd3ba1b247587d39d6d5308c7dfc6c16c420739e85fec8f93c5feb4d247e45d852fb9af48199f0663c1a5b15bccd0' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YmvvrWq94Vv2vLVQBHk' 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-10-09 13:45:49', '84ce34e9199b7cfe37ae33c55660026d403f1de168fd37ae7010a58709480ab77d71bef7bee62ec807a7325adb3ad4825de536dc7189bbf330bbdd3422d5a2c7', '2013-10-09 13:45:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:49', 'testuser', 1, 'nTCwPNhZw0gwe4a9aRrS', '08IYGBlOuzRm8htJUfap', '408639583a80d47e28cdc1e20f2dadf8830cd3ba1b247587d39d6d5308c7dfc6c16c420739e85fec8f93c5feb4d247e45d852fb9af48199f0663c1a5b15bccd0', 'YmvvrWq94Vv2vLVQBHk', 1, NULL, '2013-10-09 13:45:49')  (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-10-09 13:45:49', `current_login_at` = '2013-10-09 13:45:49', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = '1oI3xuTlqfOL79v1kIB', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 311  (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` = 'page9' LIMIT 1 SpudPage Exists (0.1ms) 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.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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page9', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'page9', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::PagesController#edit as HTML Parameters: {"id"=>"171"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 311 LIMIT 1  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = 'O23a1ad4eDhglYPvK1lf', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 311  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 171 LIMIT 1 SpudPagePartial Load (0.1ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (171) Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (0.8ms) 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 '306507bde90a232c9cc828501ff3ada79b34e8db8f4255f5267140cb600d86c7a0fd0981ed309bb7b41d6aa7aedec711951a5aacc031f354848cd374f77476f3' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KwJSKs3h8Ih53ayDP4y' 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-10-09 13:45:49', 'ad6115aba149359c494a44958a4b84e85e8cff62576f400717bca051b79425f2f274afa29f27c5df037c89f463a3ca9a7b1bdf87d1a55c766621183582748b9e', '2013-10-09 13:45:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:49', 'testuser', 1, '8xQjecjUeM0XUTIglIy', 'SdBKhtq5oCI1sLTKZPFl', '306507bde90a232c9cc828501ff3ada79b34e8db8f4255f5267140cb600d86c7a0fd0981ed309bb7b41d6aa7aedec711951a5aacc031f354848cd374f77476f3', 'KwJSKs3h8Ih53ayDP4y', 1, NULL, '2013-10-09 13:45:49')  (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-10-09 13:45:49', `current_login_at` = '2013-10-09 13:45:49', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = '0idm9zcquuUz5KwYHRX2', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 321  (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` = 'page10' LIMIT 1 SpudPage Exists (0.1ms) 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.2ms) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page10', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', 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"=>"181"} SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 321 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = 'JJ7NdgFwRPgKx0fr2RW', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 321  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 181 LIMIT 1 SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (181)  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 181) 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 (181, 'SpudPage', '2013-10-09 13:45:49', 0, '2013-10-09 13:45:49', 'page10') SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Adam' AND `spud_pages`.`id` != 181 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` != 181 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'Adam', `url_name` = 'adam', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_pages`.`id` = 181  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/pages Completed 302 Found in 15ms (ActiveRecord: 2.5ms) SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 181 LIMIT 1  (0.7ms) 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.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a2b97e3cfeb4a8c481f14bec231bf3c8cafa3a874c12168b7b84b00f774f76e89867b7c604e44631bb637aa420d384b7d4ad38756fbfc88f5c993aabebbf080b' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ivx8ijKsyg1HmKD51C0' 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-10-09 13:45:49', '09ebb1c5717d84b13c8bb3793f5199ad7c6cdd69e74701847f01e36efc8c424ca62b2a21f548930220832fe6b8fdec4a037c7f44eab75c54967902aa10247e68', '2013-10-09 13:45:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:49', 'testuser', 1, 'zpizIzkfDug01aRLR', 'zFu8q7c8uAm3gd1AqPkU', 'a2b97e3cfeb4a8c481f14bec231bf3c8cafa3a874c12168b7b84b00f774f76e89867b7c604e44631bb637aa420d384b7d4ad38756fbfc88f5c993aabebbf080b', 'ivx8ijKsyg1HmKD51C0', 1, NULL, '2013-10-09 13:45:49')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-10-09 13:45:49', `current_login_at` = '2013-10-09 13:45:49', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = 'ex4QxJ1qWUmUiuN6UQ', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 331  (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` = '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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page11', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', 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"=>"191"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 331 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = 'RYLyhClgdxXZhBUB0vZG', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 331  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 191 LIMIT 1 SpudPagePartial Load (0.1ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (191)  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 191) 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 '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 (191, 'SpudPage', '2013-10-09 13:45:49', 0, '2013-10-09 13:45:49', 'page11') SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Adam' AND `spud_pages`.`id` != 191 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` != 191 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'Adam', `url_name` = 'adam', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_pages`.`id` = 191  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/pages Completed 302 Found in 14ms (ActiveRecord: 2.4ms)  (0.7ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) 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.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3d8757243f3204d65a8815f8afbc0c5fa78e97a74e966f071a0f243addcaa54731016ebc15ed35d68e442ddfce569a25a5471de95f6d44e6e901ecb20016955c' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iFRRM7YvErT16Ntemh' 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-10-09 13:45:49', '1ff532d639e64380a6a305a259a68acb8399f33aedff128bc8bf034861033fdf085e425c3828a1bbd59447fcc7ef1e3e6025a7a61649828c7162f284244816af', '2013-10-09 13:45:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:49', 'testuser', 1, '35L53PQsPpCp42B5m9u', '2PS014TwIKbSSB728jW', '3d8757243f3204d65a8815f8afbc0c5fa78e97a74e966f071a0f243addcaa54731016ebc15ed35d68e442ddfce569a25a5471de95f6d44e6e901ecb20016955c', 'iFRRM7YvErT16Ntemh', 1, NULL, '2013-10-09 13:45:49')  (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-10-09 13:45:49', `current_login_at` = '2013-10-09 13:45:49', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = '4HaeClURRO1CQ8uRQk', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 341  (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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page12', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', 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"=>"201"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 341 LIMIT 1  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = 'veik68DmaGpuP6HfgRc', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 341  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 201 LIMIT 1 SpudPagePartial Load (0.1ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (201)  (0.1ms) SAVEPOINT active_record_2 SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`spud_page_id` = 201 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 201 AND `spud_permalinks`.`attachment_type` = 'SpudPage' SQL (0.1ms) DELETE FROM `spud_pages` WHERE `spud_pages`.`id` = 201  (0.1ms) RELEASE SAVEPOINT active_record_2 Redirected to http://test.host/spud/admin/pages Completed 302 Found in 11ms (ActiveRecord: 1.6ms)  (0.1ms) SELECT COUNT(*) FROM `spud_pages`  (0.8ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.1ms) 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 '5ce3c1bf65a8970a04ffbe284b48d069a3799541acedc2ee0b77bea6b681f570b13dc2580359b8a4688d100e9b382ed25f43e1ea7d280315a68b587789ef43fb' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'm8xnEQNPKCJB1zTBgXQ' 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-10-09 13:45:49', 'a355a1c6a3c5c29c7725d397274f7164022134d30b917e0ff5efe9e01b2eebc05480eabeafe4f2248592480287720e812728002a253c2904cfe7cb5d0b38c499', '2013-10-09 13:45:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-10-09 13:45:49', 'testuser', 1, '8j2GW5KbqYMlZcESBLAn', 'Qa3wsOZPSmsX9D1VbKm9', '5ce3c1bf65a8970a04ffbe284b48d069a3799541acedc2ee0b77bea6b681f570b13dc2580359b8a4688d100e9b382ed25f43e1ea7d280315a68b587789ef43fb', 'm8xnEQNPKCJB1zTBgXQ', 1, NULL, '2013-10-09 13:45:49')  (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-10-09 13:45:49', `current_login_at` = '2013-10-09 13:45:49', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = 'lGBJXVNSxiEXKWiGeXUq', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 351  (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` = 'page13' LIMIT 1 SpudPage Exists (0.1ms) 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.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page13' 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page13', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', 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.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 351 LIMIT 1  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-10-09 13:45:49', `perishable_token` = '8vCygYjUQqO49FQ41QiL', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_users`.`id` = 351  (0.1ms) RELEASE SAVEPOINT active_record_2 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 5ms (ActiveRecord: 1.0ms)  (0.1ms) SELECT COUNT(*) FROM `spud_pages`  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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 4ms (Views: 2.2ms | ActiveRecord: 0.2ms) 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  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) 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` = '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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page14', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'page14', 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.1ms) 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.1ms) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page15', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'page15', 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` = 'page16' LIMIT 1 SpudPage Exists (0.1ms) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page16', NULL, NULL, NULL, 1, 1, NULL, '2013-10-09 13:45:49', NULL, 'page16', 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` = 1 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page17' LIMIT 1 SpudPage Exists (0.3ms) 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.1ms) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page17', NULL, NULL, NULL, 1, 1, NULL, '2013-10-09 13:45:49', NULL, 'page17', 0, 0)  (0.2ms) 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` = 1 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page18' LIMIT 1 SpudPage Exists (0.1ms) 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.1ms) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page18', NULL, NULL, NULL, 1, 1, NULL, '2013-10-09 13:45:49', 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.6ms | ActiveRecord: 0.3ms) SpudPage Load (0.8ms) 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.5ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) 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 '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-10-09 13:45:49', NULL, 'Main', 0, '2013-10-09 13:45:49')  (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-10-09 13:45:49', NULL, 0, 'Menu Item 15', 241, 'SpudMenu', 241, NULL, '2013-10-09 13:45:49', '/')  (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-10-09 13:45:49', NULL, 0, 'Menu Item 16', 241, 'SpudMenu', 241, NULL, '2013-10-09 13:45:49', '/')  (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.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` = 241 ORDER BY parent_type, parent_id  (0.4ms) ROLLBACK  (0.1ms) 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.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-10-09 13:45:49', NULL, 'Menu25', 0, '2013-10-09 13:45:49')  (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-10-09 13:45:49', NULL, 0, 'Menu Item 17', 251, 'SpudMenu', 251, NULL, '2013-10-09 13:45:49', '/')  (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-10-09 13:45:49', NULL, 0, 'Menu Item 18', 251, 'SpudMenu', 251, NULL, '2013-10-09 13:45:49', '/')  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Menu25' 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` = 251 ORDER BY parent_type, parent_id  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) 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-10-09 13:45:49', NULL, 'Main2', 0, '2013-10-09 13:45:49')  (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-10-09 13:45:49', NULL, 0, 'Menu Item 19', 261, 'SpudMenu', 261, NULL, '2013-10-09 13:45:49', '/')  (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-10-09 13:45:49', NULL, 0, 'Menu Item 20', 261, 'SpudMenu', 261, NULL, '2013-10-09 13:45:49', '/')  (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-10-09 13:45:49', NULL, 0, 'SubItem', 191, 'SpudMenuItem', 261, NULL, '2013-10-09 13:45:49', '/')  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) 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` = 261 ORDER BY parent_type, parent_id  (0.2ms) ROLLBACK  (0.0ms) 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 '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-10-09 13:45:49', NULL, 'Main4', 0, '2013-10-09 13:45:49')  (0.2ms) 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-10-09 13:45:49', NULL, 0, 'Menu Item 21', 271, 'SpudMenu', 271, NULL, '2013-10-09 13:45:49', '/')  (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-10-09 13:45:49', NULL, 0, 'Menu Item 22', 271, 'SpudMenu', 271, NULL, '2013-10-09 13:45:49', '/')  (0.1ms) 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-10-09 13:45:49', NULL, 0, 'SubItem', 221, 'SpudMenuItem', 271, NULL, '2013-10-09 13:45:49', '/')  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.1ms) 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` = 271 ORDER BY parent_type, parent_id  (3.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudMenu Exists (0.3ms) 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-10-09 13:45:49', NULL, 'Menu26', 0, '2013-10-09 13:45:49')  (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-10-09 13:45:49', NULL, 0, 'Menu Item 23', 281, 'SpudMenu', 281, NULL, '2013-10-09 13:45:49', '/')  (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.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) 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-10-09 13:45:49', NULL, 'Main3', 0, '2013-10-09 13:45:49')  (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-10-09 13:45:49', NULL, 0, 'Menu Item 24', 291, 'SpudMenu', 291, NULL, '2013-10-09 13:45:49', '/')  (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-10-09 13:45:49', NULL, 0, 'Menu Item 25', 291, 'SpudMenu', 291, NULL, '2013-10-09 13:45:49', '/')  (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-10-09 13:45:49', NULL, 0, 'SubItem', 261, 'SpudMenuItem', 291, NULL, '2013-10-09 13:45:49', '/')  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main3' LIMIT 1 SpudMenuItem Load (0.5ms) 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` = 291 ORDER BY parent_type, parent_id  (0.5ms) ROLLBACK  (0.0ms) 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-10-09 13:45:49', NULL, 'Menu27', 0, '2013-10-09 13:45:49')  (0.1ms) 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-10-09 13:45:49', NULL, 0, 'Menu Item 26', 301, 'SpudMenu', 301, NULL, '2013-10-09 13:45:49', '/')  (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.2ms) 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` = '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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page19', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'page19', 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`.`site_id` = 0 SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page20' LIMIT 1 SpudPage Exists (0.2ms) 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.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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page20', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'page20', 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`.`id` = 271 LIMIT 1 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/page21' LIMIT 1 SpudPage Exists (0.2ms) 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` = 271) LIMIT 1 SpudPage Exists (0.2ms) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page21', NULL, NULL, NULL, 1, 0, 271, '2013-10-09 13:45:49', NULL, 'page19/page21', 0, 0)  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1  (0.7ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) 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.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page22' LIMIT 1 SpudPage Exists (0.2ms) 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.2ms) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page22', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'page22', 0, 0)  (0.0ms) 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.2ms) 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.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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page23', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'page23', 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.5ms) ROLLBACK  (0.0ms) 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.2ms) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page24', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', 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.2ms) 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.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page25' 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page25', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'page25', 0, 0)  (0.2ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (33.5ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1 AND (name NOT IN ('Page25'))  (0.4ms) ROLLBACK  (0.0ms) 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.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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page26', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page27', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'page27', 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` = 341 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` = '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` = 341) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page28', NULL, NULL, NULL, 1, 0, 341, '2013-10-09 13:45:49', 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.5ms) 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.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page29' LIMIT 1 SpudPage Exists (0.1ms) 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.1ms) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page29', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'page29', 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` = '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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page30', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'page30', 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`.`id` = 371 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` = '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` = 371) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page31', NULL, NULL, NULL, 1, 0, 371, '2013-10-09 13:45:49', NULL, 'page29/page31', 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.5ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) BEGIN  (0.2ms) 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` = '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.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page32' 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page32', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'page32', 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` = '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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page33', NULL, NULL, NULL, 1, 1, NULL, '2013-10-09 13:45:49', NULL, 'page33', 0, 0)  (0.2ms) 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.2ms) 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.0ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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.2ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.1ms) 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-10-09 13:45:49', NULL, 'Test Page', NULL, 'test_page', '2013-10-09 13:45:49') 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.2ms) UPDATE `spud_page_partials` SET `content_processed` = '' WHERE `spud_page_partials`.`id` = 1  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) 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-10-09 13:45:49', NULL, 'Test Page', 1, '2013-10-09 13:45:49')  (0.4ms) 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.3ms) 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-10-09 13:45:49', NULL, 'Test Page', 1, 'test_page', '2013-10-09 13:45:49') SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 11 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.5ms) 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-10-09 13:45:49', NULL, 'Test Page', 1, '2013-10-09 13:45:49')  (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-10-09 13:45:49', NULL, 'Test Page', 1, 'test_page', '2013-10-09 13:45:49') SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 21 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SQL (0.2ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Nah', '2013-10-09 13:45:49', NULL, 'Test Page', 1, '2013-10-09 13:45:49')  (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.2ms) UPDATE `spud_page_partials` SET `content` = 'Nah', `content_processed` = 'Nah', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_page_partials`.`id` = 21 SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 21 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SQL (0.1ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Another change', '2013-10-09 13:45:49', NULL, 'Test Page', 1, '2013-10-09 13:45:49')  (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.3ms) 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` = 11  (0.2ms) UPDATE `spud_page_partials` SET `content` = 'Another change', `content_processed` = 'Another change', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_page_partials`.`id` = 21 SpudPageLiquidTag Load (0.1ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 21 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'  (0.0ms) RELEASE SAVEPOINT active_record_2  (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.4ms) 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.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.1ms) 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.3ms) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page34', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'test', 1, 0)  (0.0ms) 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.3ms) ROLLBACK  (0.0ms) 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` = '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.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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'test', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'test', 0, 0)  (0.0ms) 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.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'test-1' 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.1ms) 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.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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page36', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'page36', 0, 0) SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 441 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-10-09 13:45:49', NULL, 'body', 441, 'body', '2013-10-09 13:45:49') SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 31 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial' SQL (0.2ms) UPDATE `spud_page_partials` SET `content_processed` = '' WHERE `spud_page_partials`.`id` = 31  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_page_partials`  (0.0ms) SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`spud_page_id` = 441 SpudPageLiquidTag Load (0.1ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 31 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial' SQL (0.1ms) DELETE FROM `spud_page_partials` WHERE `spud_page_partials`.`id` = 31 SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 441 AND `spud_permalinks`.`attachment_type` = 'SpudPage' SQL (0.1ms) DELETE FROM `spud_pages` WHERE `spud_pages`.`id` = 441  (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.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) 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' 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.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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'parent', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'parent', 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` = 'parent/page-1' LIMIT 1 SpudPage Exists (0.2ms) 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` = 451) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page 1', NULL, NULL, NULL, 1, 0, 451, '2013-10-09 13:45:49', 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` = 451) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'Page 2', NULL, NULL, NULL, 1, 0, 451, '2013-10-09 13:45:49', NULL, 'parent/page-2', 0, 0)  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0  (0.8ms) 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.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` = '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.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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'about', 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.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about/test' LIMIT 1 SpudPage Exists (0.1ms) 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` = 481) LIMIT 1 SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about/test' AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.4ms) 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` = '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.1ms) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'testimonials', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'testimonials', 0, 0)  (0.0ms) RELEASE 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` = 'testimonials-1' LIMIT 1 SpudPage Exists (0.3ms) 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.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.1ms) 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.3ms) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'another', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', 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 != 501) 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.1ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (501, 'SpudPage', '2013-10-09 13:45:49', 0, '2013-10-09 13:45:49', 'another') SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'again' AND `spud_pages`.`id` != 501 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 'again' AND `spud_pages`.`id` != 501 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'again', `url_name` = 'again', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_pages`.`id` = 501  (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.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another' LIMIT 1 SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 501 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  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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` = 'permapage' LIMIT 1 SpudPage Exists (0.2ms) 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.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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'permapage', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'permapage', 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 AND (id != 511) SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage-new' LIMIT 1 SpudPermalink Exists (0.4ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'permapage' 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 (511, 'SpudPage', '2013-10-09 13:45:49', 0, '2013-10-09 13:45:49', 'permapage') SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'permapage new' AND `spud_pages`.`id` != 511 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` != 511 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'permapage new', `url_name` = 'permapage-new', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_pages`.`id` = 511  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_permalinks`   (0.2ms) SELECT COUNT(*) FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 511 AND `spud_permalinks`.`attachment_type` = 'SpudPage' AND `spud_permalinks`.`url_name` = 'permapage' SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 511) SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage' LIMIT 1 SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 511 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SQL (0.1ms) DELETE FROM `spud_permalinks` WHERE `spud_permalinks`.`id` = 41  (0.1ms) 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.1ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (511, 'SpudPage', '2013-10-09 13:45:49', 0, '2013-10-09 13:45:49', 'permapage-new')  (0.0ms) 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` != 511 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`.`id` != 511 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.1ms) SELECT COUNT(*) FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 511 AND `spud_permalinks`.`attachment_type` = 'SpudPage' AND `spud_permalinks`.`url_name` = 'permapage'  (0.5ms) 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.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.2ms) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'original', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'original', 0, 0)  (0.0ms) 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.3ms) 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.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` = '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.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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'original', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', NULL, 'original', 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`.`site_id` = 0 AND (id != 531) 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 (531, 'SpudPage', '2013-10-09 13:45:49', 0, '2013-10-09 13:45:49', 'original') SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'original2' AND `spud_pages`.`id` != 531 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` != 531 AND `spud_pages`.`site_id` = 0) LIMIT 1  (0.2ms) UPDATE `spud_pages` SET `name` = 'original2', `url_name` = 'original2', `updated_at` = '2013-10-09 13:45:49' WHERE `spud_pages`.`id` = 531  (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` = 'new' LIMIT 1 SpudPage Exists (0.1ms) 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.1ms) 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-10-09 13:45:49', NULL, 'html', NULL, NULL, NULL, 'new', NULL, NULL, NULL, 1, 0, NULL, '2013-10-09 13:45:49', 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` = 541 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.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 531 LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK