tb_cms 0.9.18 → 1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1872,3 +1872,1880 @@ Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.3ms)
1872
1872
  SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 54 LIMIT 1
1873
1873
   (0.4ms) ROLLBACK
1874
1874
   (0.1ms) ROLLBACK
1875
+ Connecting to database specified by database.yml
1876
+ Creating scope :public. Overwriting existing method SpudPage.public.
1877
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
1878
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
1879
+  (0.1ms) SELECT DATABASE() as db
1880
+  (10.2ms) select table_name from information_schema.views where table_schema = 'spud_cms_test'
1881
+  (5.1ms) TRUNCATE TABLE `spud_admin_permissions`;
1882
+  (5.0ms) TRUNCATE TABLE `spud_menu_items`;
1883
+  (1.3ms) TRUNCATE TABLE `spud_menus`;
1884
+  (4.0ms) TRUNCATE TABLE `spud_page_liquid_tags`;
1885
+  (3.9ms) TRUNCATE TABLE `spud_page_partial_revisions`;
1886
+  (2.7ms) TRUNCATE TABLE `spud_page_partials`;
1887
+  (3.1ms) TRUNCATE TABLE `spud_pages`;
1888
+  (8.1ms) TRUNCATE TABLE `spud_permalinks`;
1889
+  (5.3ms) TRUNCATE TABLE `spud_snippets`;
1890
+  (3.0ms) TRUNCATE TABLE `spud_user_settings`;
1891
+  (3.5ms) TRUNCATE TABLE `spud_users`;
1892
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
1893
+  (0.0ms) BEGIN
1894
+  (0.0ms) BEGIN
1895
+  (0.2ms) SAVEPOINT active_record_2
1896
+ SpudPage Load (1.8ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1897
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page1' LIMIT 1
1898
+ 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
1899
+ 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
1900
+ SQL (0.6ms) 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-06-19 02:54:15', NULL, 'html', NULL, NULL, NULL, 'Page1', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:15', NULL, 'page1', 0, 0)
1901
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1902
+ Processing by PagesController#show as HTML
1903
+ Parameters: {"id"=>"page1"}
1904
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'page1' LIMIT 1
1905
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (1)
1906
+ Rendered /Users/gregwoods/Source/twice_baked/tb_cms/app/views/pages/show.html.erb within layouts/application (3.0ms)
1907
+ Completed 200 OK in 67ms (Views: 39.1ms | ActiveRecord: 2.3ms)
1908
+  (0.5ms) ROLLBACK
1909
+  (0.0ms) ROLLBACK
1910
+  (0.0ms) BEGIN
1911
+  (0.0ms) BEGIN
1912
+  (0.0ms) SAVEPOINT active_record_2
1913
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1914
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'home' LIMIT 1
1915
+ 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
1916
+ 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
1917
+ 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-06-19 02:54:15', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:15', NULL, 'home', 0, 0)
1918
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1919
+ Processing by PagesController#show as HTML
1920
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'home' LIMIT 1
1921
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (2)
1922
+ Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.6ms)
1923
+  (0.5ms) ROLLBACK
1924
+  (0.2ms) ROLLBACK
1925
+  (0.0ms) BEGIN
1926
+  (0.0ms) BEGIN
1927
+  (0.1ms) SAVEPOINT active_record_2
1928
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1929
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
1930
+ 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
1931
+ 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
1932
+ 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-06-19 02:54:15', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:15', NULL, 'about', 0, 0)
1933
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1934
+  (0.1ms) SAVEPOINT active_record_2
1935
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 3)
1936
+ 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
1937
+ 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
1938
+ SQL (0.9ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (3, 'SpudPage', '2013-06-19 02:54:15', 0, '2013-06-19 02:54:15', 'about')
1939
+ SpudPage Exists (0.4ms) 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
1940
+ 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
1941
+  (0.3ms) UPDATE `spud_pages` SET `name` = 'about us', `url_name` = 'about-us', `updated_at` = '2013-06-19 02:54:15' WHERE `spud_pages`.`id` = 3
1942
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1943
+ Processing by PagesController#show as HTML
1944
+ Parameters: {"id"=>"about"}
1945
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' LIMIT 1
1946
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`url_name` = 'about' LIMIT 1
1947
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 3 LIMIT 1
1948
+ Redirected to http://test.host/about-us
1949
+ Completed 301 Moved Permanently in 8ms (ActiveRecord: 0.8ms)
1950
+  (0.4ms) ROLLBACK
1951
+  (0.1ms) ROLLBACK
1952
+  (0.0ms) BEGIN
1953
+  (0.0ms) BEGIN
1954
+  (0.1ms) SAVEPOINT active_record_2
1955
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1956
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
1957
+ 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
1958
+ 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
1959
+ 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-06-19 02:54:15', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:15', NULL, 'about', 0, 1)
1960
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1961
+ Processing by PagesController#show as HTML
1962
+ Parameters: {"id"=>"about"}
1963
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' LIMIT 1
1964
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (4)
1965
+ Redirected to http://test.host/spud/user_session/new
1966
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
1967
+  (0.8ms) ROLLBACK
1968
+  (0.0ms) ROLLBACK
1969
+  (0.0ms) BEGIN
1970
+  (0.0ms) BEGIN
1971
+  (0.2ms) SAVEPOINT active_record_2
1972
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1973
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1974
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c090b0a0a482bf15e9723ad10882b201282c74f216072b0b9c2d998b73d4d2dd4b6783a52e1f00fb18f95b9bd54d4f23cb20014abc1c32676ab46f53637f4369' LIMIT 1
1975
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bh5IzCjggzZhRVLvT72l' LIMIT 1
1976
+ SQL (1.1ms) 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-06-19 02:54:15', '49345a76bc7b0d2e5c0670f316c4e3c0535ddbe3838cd902b7e286b0e012e5c649fdc2a04c1e1d82d948807da76e23370e6e3020cef55542ce2d1559301893f4', '2013-06-19 02:54:15', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:15', 'testuser', 1, 'ZilD0RBfe5tuZGliTB1T', '6LomWtVzxt0ZKtSdo2r2', 'c090b0a0a482bf15e9723ad10882b201282c74f216072b0b9c2d998b73d4d2dd4b6783a52e1f00fb18f95b9bd54d4f23cb20014abc1c32676ab46f53637f4369', 'bh5IzCjggzZhRVLvT72l', 1, NULL, '2013-06-19 02:54:15')
1977
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1978
+  (0.1ms) SAVEPOINT active_record_2
1979
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:15', `last_login_ip` = '0.0.0.0', `perishable_token` = 'lhlCbTrHpjfvsIBVkAP', `updated_at` = '2013-06-19 02:54:15' WHERE `spud_users`.`id` = 1
1980
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1981
+  (0.0ms) SAVEPOINT active_record_2
1982
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1983
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
1984
+ 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
1985
+ 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
1986
+ 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-06-19 02:54:15', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:15', NULL, 'about', 0, 1)
1987
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1988
+ Processing by PagesController#show as HTML
1989
+ Parameters: {"id"=>"about"}
1990
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
1991
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' LIMIT 1
1992
+ SpudPagePartial Load (0.4ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (5)
1993
+ Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.8ms)
1994
+  (0.5ms) ROLLBACK
1995
+  (0.1ms) ROLLBACK
1996
+  (0.1ms) BEGIN
1997
+  (0.1ms) BEGIN
1998
+  (0.2ms) SAVEPOINT active_record_2
1999
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
2000
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
2001
+ 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
2002
+ 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
2003
+ 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-06-19 02:54:15', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:15', NULL, 'about', 0, 0)
2004
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2005
+ Processing by PagesController#show as HTML
2006
+ Parameters: {"id"=>"about"}
2007
+ 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
2008
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`url_name` = 'about' AND `spud_permalinks`.`site_id` = 1 LIMIT 1
2009
+ Completed 404 Not Found in 5ms (Views: 2.1ms | ActiveRecord: 0.6ms)
2010
+  (0.6ms) ROLLBACK
2011
+  (0.1ms) ROLLBACK
2012
+  (0.0ms) BEGIN
2013
+  (0.0ms) BEGIN
2014
+  (0.1ms) SAVEPOINT active_record_2
2015
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
2016
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
2017
+ 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
2018
+ 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
2019
+ 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-06-19 02:54:15', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:15', NULL, 'about', 0, 0)
2020
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2021
+  (0.1ms) SAVEPOINT active_record_2
2022
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
2023
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
2024
+ 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
2025
+ 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
2026
+ 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-06-19 02:54:15', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 1, NULL, '2013-06-19 02:54:15', NULL, 'about', 0, 0)
2027
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2028
+ Processing by PagesController#show as HTML
2029
+ Parameters: {"id"=>"about"}
2030
+ 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
2031
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (8)
2032
+ Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.5ms)
2033
+  (0.5ms) ROLLBACK
2034
+  (0.1ms) ROLLBACK
2035
+  (0.0ms) BEGIN
2036
+  (0.0ms) BEGIN
2037
+  (0.0ms) SAVEPOINT active_record_2
2038
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
2039
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'home' LIMIT 1
2040
+ 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
2041
+ 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
2042
+ 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-06-19 02:54:15', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:15', NULL, 'home', 0, 0)
2043
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2044
+  (0.0ms) SAVEPOINT active_record_2
2045
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
2046
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'home' LIMIT 1
2047
+ 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
2048
+ 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
2049
+ 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-06-19 02:54:15', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 1, NULL, '2013-06-19 02:54:15', NULL, 'home', 0, 0)
2050
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2051
+ Processing by PagesController#show as HTML
2052
+ 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
2053
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (10)
2054
+ Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.7ms)
2055
+  (0.6ms) ROLLBACK
2056
+  (0.1ms) ROLLBACK
2057
+  (0.0ms) BEGIN
2058
+  (0.0ms) BEGIN
2059
+  (0.1ms) ROLLBACK
2060
+  (0.0ms) ROLLBACK
2061
+  (0.0ms) BEGIN
2062
+  (0.0ms) BEGIN
2063
+  (0.3ms) SAVEPOINT active_record_2
2064
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2065
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2066
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '51dfff74110838077a7aec201ca2d9b9fa6f026cc2b17ab734acadd6edfbaf5f11b7841a084e658d0d24638eb505dbc5dcfe949f894134e2965fad128e6ec508' LIMIT 1
2067
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PLAE95CA6hkw1bqFQU32' LIMIT 1
2068
+ 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-06-19 02:54:15', '68619430f8c8a80b2230f3e39f90e9aaeecc8565e5ac595fd929e230c9ece292456972a44b85e61b804325aed3a967bfb084acddc3dc3bbbda74727b9a4fe799', '2013-06-19 02:54:15', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:15', 'testuser', 1, 'sI6i6u0kfTz8yh39bmLf', 'H54CdOFTbI0r30yPYACI', '51dfff74110838077a7aec201ca2d9b9fa6f026cc2b17ab734acadd6edfbaf5f11b7841a084e658d0d24638eb505dbc5dcfe949f894134e2965fad128e6ec508', 'PLAE95CA6hkw1bqFQU32', 1, NULL, '2013-06-19 02:54:15')
2069
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2070
+  (0.1ms) SAVEPOINT active_record_2
2071
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:15', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QulUtHIUuxKLkQGnH0i', `updated_at` = '2013-06-19 02:54:15' WHERE `spud_users`.`id` = 2
2072
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2073
+  (0.1ms) SAVEPOINT active_record_2
2074
+ 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
2075
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:15', NULL, 'Menu1', 0, '2013-06-19 02:54:15')
2076
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2077
+  (0.1ms) SAVEPOINT active_record_2
2078
+ SQL (0.7ms) 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-06-19 02:54:15', NULL, 0, 'Menu Item 1', 1, 'SpudMenu', 1, NULL, '2013-06-19 02:54:15', NULL)
2079
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2080
+  (0.2ms) SAVEPOINT active_record_2
2081
+ 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-06-19 02:54:15', NULL, 0, 'Menu Item 2', 1, 'SpudMenu', 1, NULL, '2013-06-19 02:54:15', NULL)
2082
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2083
+ Processing by Spud::Admin::MenuItemsController#index as HTML
2084
+ Parameters: {"menu_id"=>"1"}
2085
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
2086
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 LIMIT 1
2087
+ Completed 200 OK in 11ms (Views: 3.2ms | ActiveRecord: 0.7ms)
2088
+  (0.4ms) SELECT COUNT(*) FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 1 AND `spud_menu_items`.`parent_type` = 'SpudMenu'
2089
+  (0.7ms) ROLLBACK
2090
+  (0.0ms) ROLLBACK
2091
+  (0.1ms) BEGIN
2092
+  (0.2ms) BEGIN
2093
+  (0.2ms) SAVEPOINT active_record_2
2094
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2095
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2096
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4dc70aa04ea82b7933824003ad5bfd5fd721fc661ac92d8f6353da91be9021ab0a0f8202990f8d2ba33d600a103fcd49110a1d3834916f6f432e46b0d038fa40' LIMIT 1
2097
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ztRlDf0RFb3CZCsYlPw2' LIMIT 1
2098
+ 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-06-19 02:54:16', 'df5057bf56b9bc621b4c039f622414d1971b1d4a875061d9ea2112d00f060ced7f879dced82f442168e489342e79fbffbbe411f187fc0e4850287c2988fccbe3', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'SazK4YA4OCqBPNOUJQBN', '6jQpczvbP3ngQttbENOq', '4dc70aa04ea82b7933824003ad5bfd5fd721fc661ac92d8f6353da91be9021ab0a0f8202990f8d2ba33d600a103fcd49110a1d3834916f6f432e46b0d038fa40', 'ztRlDf0RFb3CZCsYlPw2', 1, NULL, '2013-06-19 02:54:16')
2099
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2100
+  (0.1ms) SAVEPOINT active_record_2
2101
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vmmhgDkSa6ed2ShZ9t', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 3
2102
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2103
+  (0.1ms) SAVEPOINT active_record_2
2104
+ 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
2105
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu2', 0, '2013-06-19 02:54:16')
2106
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2107
+ Processing by Spud::Admin::MenuItemsController#index as HTML
2108
+ Parameters: {"menu_id"=>"3"}
2109
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
2110
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 3 LIMIT 1
2111
+ Redirected to http://test.host/spud/admin/menus
2112
+ Filter chain halted as :load_menu rendered or redirected
2113
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
2114
+  (0.6ms) ROLLBACK
2115
+  (0.0ms) ROLLBACK
2116
+  (0.0ms) BEGIN
2117
+  (0.0ms) BEGIN
2118
+  (0.1ms) SAVEPOINT active_record_2
2119
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2120
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2121
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '500f33cb70b29af9d9e7305536da91f8c47054402e71e0ce00eaf0adbda884484464ec1817caa001df0c36908af58b61c451069d1c5e635a1466b55031f92909' LIMIT 1
2122
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ail7yw63uLcwFv9gtABG' LIMIT 1
2123
+ 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-06-19 02:54:16', '950e0a268b738ae50e69d9e2b2e024d27b52c42c99a185d430b36d182f590e1dd357c1e5ebe9a9e052087b796a5820d5f4c239d51aa61f9826f070d58dd93a5b', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'KgnekuyID0At79fG29ll', 'MyYR2AocTL9IlneEBF5', '500f33cb70b29af9d9e7305536da91f8c47054402e71e0ce00eaf0adbda884484464ec1817caa001df0c36908af58b61c451069d1c5e635a1466b55031f92909', 'ail7yw63uLcwFv9gtABG', 1, NULL, '2013-06-19 02:54:16')
2124
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2125
+  (0.1ms) SAVEPOINT active_record_2
2126
+  (0.7ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Fm0zRsdMHSj4lcJPB0op', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 4
2127
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2128
+  (0.0ms) SAVEPOINT active_record_2
2129
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu3' AND `spud_menus`.`site_id` = 0) LIMIT 1
2130
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu3', 0, '2013-06-19 02:54:16')
2131
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2132
+ Processing by Spud::Admin::MenuItemsController#new as HTML
2133
+ Parameters: {"menu_id"=>"3"}
2134
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
2135
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 3 LIMIT 1
2136
+ Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.5ms)
2137
+  (0.5ms) ROLLBACK
2138
+  (0.1ms) ROLLBACK
2139
+  (0.1ms) BEGIN
2140
+  (0.1ms) BEGIN
2141
+  (0.1ms) SAVEPOINT active_record_2
2142
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2143
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2144
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c2ca6a70dc69d2283737eb887889da30ede4c80aa031e186a7ae92d88323ecdf200e166552e79d847a9cd6ce5b6883a2c2e2e4b61ee678848336669ae9433870' LIMIT 1
2145
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'IkCkdCypT8wBI6agfSJM' LIMIT 1
2146
+ SQL (0.7ms) 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-06-19 02:54:16', 'fb0b0189064398b4daf89a617f21985f165c0e06c1f6ca997cfff69ef2c2a20a250586bf0a22d45cb15159106ea2c800920812829617da355030ec5373044f6f', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'LQmPcc2Fa7Ap7jIr98r', 'iBYL6UOub8vhH7RrN61M', 'c2ca6a70dc69d2283737eb887889da30ede4c80aa031e186a7ae92d88323ecdf200e166552e79d847a9cd6ce5b6883a2c2e2e4b61ee678848336669ae9433870', 'IkCkdCypT8wBI6agfSJM', 1, NULL, '2013-06-19 02:54:16')
2147
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2148
+  (0.1ms) SAVEPOINT active_record_2
2149
+  (0.9ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'JdIkrvXyDBhu2twHjR1', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 5
2150
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2151
+  (0.1ms) SAVEPOINT active_record_2
2152
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu4' AND `spud_menus`.`site_id` = 0) LIMIT 1
2153
+ SQL (0.4ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu4', 0, '2013-06-19 02:54:16')
2154
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2155
+  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items` 
2156
+ Processing by Spud::Admin::MenuItemsController#create as HTML
2157
+ Parameters: {"spud_menu_item"=>{"name"=>"Menu Item 3", "parent_type"=>"SpudMenu", "parent_id"=>nil}, "menu_id"=>"4"}
2158
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
2159
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 4 LIMIT 1
2160
+  (0.1ms) SAVEPOINT active_record_2
2161
+ 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-06-19 02:54:16', NULL, 0, 'Menu Item 3', 4, 'SpudMenu', 4, NULL, '2013-06-19 02:54:16', NULL)
2162
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2163
+ Redirected to http://test.host/spud/admin/menus/4/menu_items
2164
+ Completed 302 Found in 54ms (ActiveRecord: 0.0ms)
2165
+  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items` 
2166
+  (0.7ms) ROLLBACK
2167
+  (0.1ms) ROLLBACK
2168
+  (0.1ms) BEGIN
2169
+  (0.0ms) BEGIN
2170
+  (0.2ms) SAVEPOINT active_record_2
2171
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2172
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2173
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4379cb6e99bc30afe3ac1280b66747047f25f81f3348f4e8e7756fab9ddd4b03cc1d58ef753d0dd9abd848c80d5d2580857ff60efe80180fe6d3a5bee019d937' LIMIT 1
2174
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WvoNlN5KHCJ8qzWiVMJ1' LIMIT 1
2175
+ SQL (1.1ms) 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-06-19 02:54:16', 'cf0372e6b975ff6e9a36f34c061737baf29ea623a97e61e51e95089fd53f67c9a3cbc80a49fd39020613afcd041796047d7bddbdfd29004ef2762f1a96f7d02f', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'EVBqpsiLJjz9leqPPahA', 'XZjfHgFsH2mNoAcXB8u', '4379cb6e99bc30afe3ac1280b66747047f25f81f3348f4e8e7756fab9ddd4b03cc1d58ef753d0dd9abd848c80d5d2580857ff60efe80180fe6d3a5bee019d937', 'WvoNlN5KHCJ8qzWiVMJ1', 1, NULL, '2013-06-19 02:54:16')
2176
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2177
+  (0.1ms) SAVEPOINT active_record_2
2178
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Tunir5n1mJS18DSdt7WA', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 6
2179
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2180
+  (0.0ms) SAVEPOINT active_record_2
2181
+ 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
2182
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu5', 0, '2013-06-19 02:54:16')
2183
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2184
+  (0.1ms) SELECT COUNT(*) FROM `spud_menu_items`
2185
+ Processing by Spud::Admin::MenuItemsController#create as HTML
2186
+ Parameters: {"spud_menu_item"=>{"name"=>nil, "parent_type"=>"SpudMenu", "parent_id"=>nil}, "menu_id"=>"5"}
2187
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
2188
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 5 LIMIT 1
2189
+  (0.1ms) SAVEPOINT active_record_2
2190
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2
2191
+ Completed 200 OK in 10ms (Views: 1.0ms | ActiveRecord: 0.0ms)
2192
+  (0.3ms) SELECT COUNT(*) FROM `spud_menu_items` 
2193
+  (0.6ms) ROLLBACK
2194
+  (0.0ms) ROLLBACK
2195
+  (0.0ms) BEGIN
2196
+  (0.1ms) BEGIN
2197
+  (0.1ms) SAVEPOINT active_record_2
2198
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2199
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2200
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6d457efe57afede9e6739f86bb882b90e7dc2cde7f8fdee94e41bd33bc334e489a90e860f29421697e375dd6f8ec70ffecb495e22568577600017af004861ac9' LIMIT 1
2201
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'W0EoQr8tEMCuVecONWC' LIMIT 1
2202
+ 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-06-19 02:54:16', 'e19ea16ba1353d385370662b87d6eecaafb380e2cd036857986a647613d631f7c8515990c05bb30781c70c95d751516b83671c95e117276b9a6b2e1167b304bd', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'ggKSFQOXZc0zfyewQfgr', 'iEg60gwSaFWF4OSRKsz', '6d457efe57afede9e6739f86bb882b90e7dc2cde7f8fdee94e41bd33bc334e489a90e860f29421697e375dd6f8ec70ffecb495e22568577600017af004861ac9', 'W0EoQr8tEMCuVecONWC', 1, NULL, '2013-06-19 02:54:16')
2203
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2204
+  (0.1ms) SAVEPOINT active_record_2
2205
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kn2FW13eQAyFY4NKVL6d', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 7
2206
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2207
+  (0.1ms) SAVEPOINT active_record_2
2208
+ 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
2209
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu6', 0, '2013-06-19 02:54:16')
2210
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2211
+  (0.1ms) SAVEPOINT active_record_2
2212
+ 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-06-19 02:54:16', NULL, 0, 'Menu Item 4', 6, 'SpudMenu', 1, NULL, '2013-06-19 02:54:16', NULL)
2213
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2214
+ Processing by Spud::Admin::MenuItemsController#create as HTML
2215
+ Parameters: {"spud_menu_item"=>{"name"=>"Menu Item 5", "parent_type"=>"SpudMenu", "parent_id"=>nil, "menu_order"=>nil}, "menu_id"=>"6"}
2216
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
2217
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 6 LIMIT 1
2218
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 6 LIMIT 1
2219
+ SpudMenuItem Load (0.4ms) 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
2220
+  (0.2ms) SAVEPOINT active_record_2
2221
+ 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-06-19 02:54:16', NULL, 1, 'Menu Item 5', 6, 'SpudMenu', 6, NULL, '2013-06-19 02:54:16', NULL)
2222
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2223
+ Redirected to http://test.host/spud/admin/menus/6/menu_items
2224
+ Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
2225
+  (1.1ms) ROLLBACK
2226
+  (0.1ms) ROLLBACK
2227
+  (0.1ms) BEGIN
2228
+  (0.0ms) BEGIN
2229
+  (0.1ms) SAVEPOINT active_record_2
2230
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2231
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2232
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ca6769e4c06ababd1b899eb1ee5e40a9cf65a15559a5a24ce9cef1a876bb33822e822de98015e369792dc7ddd79f184a138f93c0ca203a08e2bc9b10f1a4d795' LIMIT 1
2233
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fI4xKi9etmf790CzIw' LIMIT 1
2234
+ 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-06-19 02:54:16', '05b076190d76e7fdd0937dcc57edd5716b9b57fcd273ed58d8565f79c3b5b0c0bf9d09dbc9be5f52e73fb8fbd31caf87f3ff59b24b49f0e2259a6af412984f91', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'DZSm5MOqWUA6KJBFV2j', 'kakjGgyCAEhcTDiGXJ5p', 'ca6769e4c06ababd1b899eb1ee5e40a9cf65a15559a5a24ce9cef1a876bb33822e822de98015e369792dc7ddd79f184a138f93c0ca203a08e2bc9b10f1a4d795', 'fI4xKi9etmf790CzIw', 1, NULL, '2013-06-19 02:54:16')
2235
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2236
+  (0.2ms) SAVEPOINT active_record_2
2237
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vYpTJO3hf5E3M5i0sRPv', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 8
2238
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2239
+  (0.1ms) SAVEPOINT active_record_2
2240
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu7' AND `spud_menus`.`site_id` = 0) LIMIT 1
2241
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu7', 0, '2013-06-19 02:54:16')
2242
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2243
+  (0.1ms) SAVEPOINT active_record_2
2244
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
2245
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page2' LIMIT 1
2246
+ 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
2247
+ 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
2248
+ 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-06-19 02:54:16', NULL, 'html', NULL, NULL, NULL, 'Page2', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:16', NULL, 'page2', 0, 0)
2249
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2250
+ Processing by Spud::Admin::MenuItemsController#create as HTML
2251
+ Parameters: {"spud_menu_item"=>{"name"=>nil, "parent_type"=>"SpudMenu", "parent_id"=>"1", "spud_page_id"=>"11"}, "menu_id"=>"7"}
2252
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
2253
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 7 LIMIT 1
2254
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 11 LIMIT 1
2255
+  (0.2ms) SAVEPOINT active_record_2
2256
+ 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-06-19 02:54:16', NULL, 0, 'Page2', 1, 'SpudMenuItem', 7, 11, '2013-06-19 02:54:16', NULL)
2257
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2258
+ Redirected to http://test.host/spud/admin/menus/7/menu_items
2259
+ Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
2260
+  (0.4ms) ROLLBACK
2261
+  (0.0ms) ROLLBACK
2262
+  (0.0ms) BEGIN
2263
+  (0.0ms) BEGIN
2264
+  (0.1ms) SAVEPOINT active_record_2
2265
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2266
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2267
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a5c0b39697bd77f994a4e8db72d70c290f0d00036330f75bf8f062da014dcdba1f6da6cfe7a4e6f2af438668d4abbafccbfe3619f76d3faf90ced7aebf1e46da' LIMIT 1
2268
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BhOqyvJSkMOWbN9AEZp9' LIMIT 1
2269
+ 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-06-19 02:54:16', '2a44d3f854a8aeb0527c6d28f1a1d442c9022dc5074b4a011714001dbef343aceaba2deae8f2254e35f0046a709e83a908363ea9ee2ee6741db2627658b2a3aa', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'H3L6XQHMYToeTKpj7yOY', 'zbhwS3T2pdQ6I5KCImH2', 'a5c0b39697bd77f994a4e8db72d70c290f0d00036330f75bf8f062da014dcdba1f6da6cfe7a4e6f2af438668d4abbafccbfe3619f76d3faf90ced7aebf1e46da', 'BhOqyvJSkMOWbN9AEZp9', 1, NULL, '2013-06-19 02:54:16')
2270
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2271
+  (0.2ms) SAVEPOINT active_record_2
2272
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'efxJ6ocLO2v3Bk6I2fqt', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 9
2273
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2274
+  (0.1ms) SAVEPOINT active_record_2
2275
+ 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
2276
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu8', 0, '2013-06-19 02:54:16')
2277
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2278
+  (0.1ms) SAVEPOINT active_record_2
2279
+ 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-06-19 02:54:16', NULL, 0, 'Menu Item 6', 8, 'SpudMenu', 1, NULL, '2013-06-19 02:54:16', NULL)
2280
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2281
+ Processing by Spud::Admin::MenuItemsController#create as HTML
2282
+ Parameters: {"spud_menu_item"=>{"name"=>"Menu Item 7", "parent_type"=>"SpudMenu", "parent_id"=>"7"}, "menu_id"=>"8"}
2283
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
2284
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 8 LIMIT 1
2285
+  (0.1ms) SAVEPOINT active_record_2
2286
+ 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-06-19 02:54:16', NULL, 0, 'Menu Item 7', 7, 'SpudMenuItem', 8, NULL, '2013-06-19 02:54:16', NULL)
2287
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2288
+ Redirected to http://test.host/spud/admin/menus/8/menu_items
2289
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
2290
+ SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 7 LIMIT 1
2291
+  (0.7ms) ROLLBACK
2292
+  (0.0ms) ROLLBACK
2293
+  (0.0ms) BEGIN
2294
+  (0.0ms) BEGIN
2295
+  (0.3ms) SAVEPOINT active_record_2
2296
+ SpudUser Exists (0.5ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2297
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2298
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '457d56d9240f0bc8c37e303861900a48ed46a13d23f23b877f8f9c73eb7c8a6a8e3afbe2b6985dd73d610699ced63e33aa23abf9141a8abfe06d0f006fe589ff' LIMIT 1
2299
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MdTSBkEL9UyPQXJ6DY3' LIMIT 1
2300
+ 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-06-19 02:54:16', '9b348c584b8b003e24da51a59e3a5d15923ae49ba0c0d14fe7f266d4348c7cdf7b01957bb1d23babd45ac3ca0848354cfb11778fb88a7fc125b5ee96c4c593d0', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'fvl72alzBBkkhDLAiCX', 'FFFKRmROsURe0EXbZ1wJ', '457d56d9240f0bc8c37e303861900a48ed46a13d23f23b877f8f9c73eb7c8a6a8e3afbe2b6985dd73d610699ced63e33aa23abf9141a8abfe06d0f006fe589ff', 'MdTSBkEL9UyPQXJ6DY3', 1, NULL, '2013-06-19 02:54:16')
2301
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2302
+  (0.1ms) SAVEPOINT active_record_2
2303
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = '80xuSW4M3ZRXeL9Vx', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 10
2304
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2305
+  (0.1ms) SAVEPOINT active_record_2
2306
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu9' AND `spud_menus`.`site_id` = 0) LIMIT 1
2307
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu9', 0, '2013-06-19 02:54:16')
2308
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2309
+  (0.1ms) SAVEPOINT active_record_2
2310
+ 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-06-19 02:54:16', NULL, 0, 'Menu Item 8', 1, 'SpudMenu', 1, NULL, '2013-06-19 02:54:16', NULL)
2311
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2312
+  (0.1ms) SAVEPOINT active_record_2
2313
+ 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-06-19 02:54:16', NULL, 0, 'Menu Item 9', 1, 'SpudMenu', 1, NULL, '2013-06-19 02:54:16', NULL)
2314
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2315
+ Processing by Spud::Admin::MenuItemsController#edit as HTML
2316
+ Parameters: {"menu_id"=>"9", "id"=>"10"}
2317
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
2318
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 9 LIMIT 1
2319
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 10 LIMIT 1
2320
+ Completed 200 OK in 12ms (Views: 2.6ms | ActiveRecord: 0.8ms)
2321
+  (0.8ms) ROLLBACK
2322
+  (0.1ms) ROLLBACK
2323
+  (0.1ms) BEGIN
2324
+  (0.1ms) BEGIN
2325
+  (0.1ms) SAVEPOINT active_record_2
2326
+ SpudUser Exists (0.7ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2327
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2328
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c1a1e8938bc09e81aec6ce8c677173faa6a377275f957a36575dd1583ccab50edd91cecae276d09508f393f7a53541e18499be2be9315655168daafda44a8807' LIMIT 1
2329
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9BfzWDqRXtR4GJm8uMml' LIMIT 1
2330
+ 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-06-19 02:54:16', '3accb1dfacb29d8d5d9dd251acdcfe323ca1f06c727732faedf337ce458f0253ef788197412e8805eefac74441d71990e8fd6553bea30d5e52a5d52105d24ea7', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'YVeM5pMb59DKZfwmULoN', 'xMeA6LrdHOEqFLW96Hk', 'c1a1e8938bc09e81aec6ce8c677173faa6a377275f957a36575dd1583ccab50edd91cecae276d09508f393f7a53541e18499be2be9315655168daafda44a8807', '9BfzWDqRXtR4GJm8uMml', 1, NULL, '2013-06-19 02:54:16')
2331
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2332
+  (0.1ms) SAVEPOINT active_record_2
2333
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'LMWTUJwa9GMKRuHTnMO', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 11
2334
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2335
+  (0.1ms) SAVEPOINT active_record_2
2336
+ SpudMenu Exists (0.6ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu10' AND `spud_menus`.`site_id` = 0) LIMIT 1
2337
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu10', 0, '2013-06-19 02:54:16')
2338
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2339
+ Processing by Spud::Admin::MenuItemsController#edit as HTML
2340
+ Parameters: {"menu_id"=>"10", "id"=>"345"}
2341
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1
2342
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 10 LIMIT 1
2343
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 345 LIMIT 1
2344
+ Redirected to http://test.host/spud/admin/menus/10/menu_items
2345
+ Filter chain halted as :load_menu_item rendered or redirected
2346
+ Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
2347
+  (0.5ms) ROLLBACK
2348
+  (0.1ms) ROLLBACK
2349
+  (0.1ms) BEGIN
2350
+  (0.1ms) BEGIN
2351
+  (0.1ms) SAVEPOINT active_record_2
2352
+ SpudUser Exists (0.6ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2353
+ SpudUser Exists (0.6ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2354
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'bf651ed525ae18baeee925c5439cdc42ca7c9f4f5ddbc088d8a1e123ecd71076333cddc751d96376ad1fb2bcc19643e4517f962e859762212485309f23c7af8c' LIMIT 1
2355
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'JdeAJmWXqG8apoXStG4s' LIMIT 1
2356
+ 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-06-19 02:54:16', '910b2a3c1d4f2a2bbf0002733c37f97d95f3e7cc4f2ed217069fb4a115c754351560c275561e20acf61bfe644723315cd20e7372385908fcbf912fefa7720523', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'mwByRgSOGVDVGCuehf39', 'p4F5MrMBV3CsOZWa7Oh', 'bf651ed525ae18baeee925c5439cdc42ca7c9f4f5ddbc088d8a1e123ecd71076333cddc751d96376ad1fb2bcc19643e4517f962e859762212485309f23c7af8c', 'JdeAJmWXqG8apoXStG4s', 1, NULL, '2013-06-19 02:54:16')
2357
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2358
+  (0.2ms) SAVEPOINT active_record_2
2359
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rrcFKnBtmWQK6pf4tW1', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 12
2360
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2361
+  (0.1ms) SAVEPOINT active_record_2
2362
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu11' AND `spud_menus`.`site_id` = 0) LIMIT 1
2363
+ SQL (0.6ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu11', 0, '2013-06-19 02:54:16')
2364
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2365
+  (0.1ms) SAVEPOINT active_record_2
2366
+ 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-06-19 02:54:16', NULL, 0, 'Menu Item 10', 1, 'SpudMenu', 1, NULL, '2013-06-19 02:54:16', NULL)
2367
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2368
+ Processing by Spud::Admin::MenuItemsController#update as HTML
2369
+ 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"}
2370
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
2371
+ SpudMenu Load (0.4ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 11 LIMIT 1
2372
+ SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 11 LIMIT 1
2373
+  (0.2ms) SAVEPOINT active_record_2
2374
+  (0.3ms) UPDATE `spud_menu_items` SET `parent_id` = 11, `name` = 'MyMenu', `spud_menu_id` = 11, `updated_at` = '2013-06-19 02:54:16' WHERE `spud_menu_items`.`id` = 11
2375
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2376
+ Redirected to http://test.host/spud/admin/menus/11/menu_items
2377
+ Completed 302 Found in 14ms (ActiveRecord: 0.0ms)
2378
+ SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 11 LIMIT 1
2379
+  (0.9ms) ROLLBACK
2380
+  (0.0ms) ROLLBACK
2381
+  (0.0ms) BEGIN
2382
+  (0.0ms) BEGIN
2383
+  (0.2ms) SAVEPOINT active_record_2
2384
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2385
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2386
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8c82b5695e3d1e39b14c9e91e94dfaac755b5eeb9f4b29341b355f0193475992fb05cde62cd39b1446f906cf2511a9933ba197456ad1b92d7f88e5ca0e014445' LIMIT 1
2387
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'e5xB41QqmHp0PhWNacPJ' LIMIT 1
2388
+ 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-06-19 02:54:16', '54452ec8f15c499ebe112177de2f138bbe93df3a94eac7d3e7136c6b6d55f53a01dd0e7c6ebc43fa5d64d060658cd9de08cc90b7ade08df36e34193a67aaaf8a', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'dLmpemkGj8bY6VtCZqNq', 'KdbZzsviF9dvqR25BOpq', '8c82b5695e3d1e39b14c9e91e94dfaac755b5eeb9f4b29341b355f0193475992fb05cde62cd39b1446f906cf2511a9933ba197456ad1b92d7f88e5ca0e014445', 'e5xB41QqmHp0PhWNacPJ', 1, NULL, '2013-06-19 02:54:16')
2389
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2390
+  (0.2ms) SAVEPOINT active_record_2
2391
+  (0.6ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MhDGkAq8mIgHigfHPTd', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 13
2392
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2393
+  (0.1ms) SAVEPOINT active_record_2
2394
+ 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
2395
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu12', 0, '2013-06-19 02:54:16')
2396
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2397
+  (0.0ms) SAVEPOINT active_record_2
2398
+ 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-06-19 02:54:16', NULL, 0, 'Menu Item 11', 1, 'SpudMenu', 1, NULL, '2013-06-19 02:54:16', NULL)
2399
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2400
+  (0.0ms) SAVEPOINT active_record_2
2401
+ 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-06-19 02:54:16', NULL, 0, 'Menu Item 12', 1, 'SpudMenu', 1, NULL, '2013-06-19 02:54:16', NULL)
2402
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2403
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 LIMIT 1
2404
+ Processing by Spud::Admin::MenuItemsController#update as HTML
2405
+ 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"}
2406
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
2407
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 12 LIMIT 1
2408
+ SpudMenuItem Load (0.4ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 13 LIMIT 1
2409
+  (0.1ms) SAVEPOINT active_record_2
2410
+  (0.3ms) UPDATE `spud_menu_items` SET `parent_type` = 'SpudMenuItem', `parent_id` = 12, `spud_menu_id` = 12, `updated_at` = '2013-06-19 02:54:16' WHERE `spud_menu_items`.`id` = 13
2411
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2412
+ Redirected to http://test.host/spud/admin/menus/12/menu_items
2413
+ Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
2414
+ SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 13 LIMIT 1
2415
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 12 LIMIT 1
2416
+  (0.7ms) ROLLBACK
2417
+  (0.0ms) ROLLBACK
2418
+  (0.0ms) BEGIN
2419
+  (0.0ms) BEGIN
2420
+  (0.1ms) SAVEPOINT active_record_2
2421
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2422
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2423
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '30ee689b484224a1da2ab680ce82107e2fc940bbf541b20f0bcd4c0918370a7bd03467ae49c80f1090a8e64b8772924726c1dee5295441ca449e262dbc06e45f' LIMIT 1
2424
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YqRT1lR9o3HVJA3raJ' LIMIT 1
2425
+ 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-06-19 02:54:16', 'fff4fdd6affb6112fdacec3a57fbcbb934ce4cb7095e24131aa9a5a3063673bbf19a048e3af24efc4ed675c3959457b76195e467d9eb001aa0ff7213231f913f', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'EoDuCKc4pJAU4RB0LwTZ', 'skxqKLuipagjkIzJ19X', '30ee689b484224a1da2ab680ce82107e2fc940bbf541b20f0bcd4c0918370a7bd03467ae49c80f1090a8e64b8772924726c1dee5295441ca449e262dbc06e45f', 'YqRT1lR9o3HVJA3raJ', 1, NULL, '2013-06-19 02:54:16')
2426
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2427
+  (0.1ms) SAVEPOINT active_record_2
2428
+  (0.6ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'baDPgAMj4igim7SYuxHh', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 14
2429
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2430
+  (0.1ms) SAVEPOINT active_record_2
2431
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu13' AND `spud_menus`.`site_id` = 0) LIMIT 1
2432
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu13', 0, '2013-06-19 02:54:16')
2433
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2434
+  (0.1ms) SAVEPOINT active_record_2
2435
+ 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-06-19 02:54:16', NULL, 0, 'Menu Item 13', 13, 'SpudMenu', 1, NULL, '2013-06-19 02:54:16', NULL)
2436
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2437
+  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items`
2438
+ Processing by Spud::Admin::MenuItemsController#destroy as HTML
2439
+ Parameters: {"menu_id"=>"13", "id"=>"14"}
2440
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
2441
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 13 LIMIT 1
2442
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 14 LIMIT 1
2443
+  (0.2ms) SAVEPOINT active_record_2
2444
+ SpudMenuItem Load (0.4ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 14 AND `spud_menu_items`.`parent_type` = 'SpudMenuItem'
2445
+ SQL (0.2ms) DELETE FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 14
2446
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2447
+ Redirected to http://test.host/spud/admin/menus/13/menu_items
2448
+ Completed 302 Found in 50ms (ActiveRecord: 0.0ms)
2449
+  (0.3ms) SELECT COUNT(*) FROM `spud_menu_items`
2450
+  (1.2ms) ROLLBACK
2451
+  (0.0ms) ROLLBACK
2452
+  (0.0ms) BEGIN
2453
+  (0.0ms) BEGIN
2454
+  (0.1ms) SAVEPOINT active_record_2
2455
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2456
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2457
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4b000c3b48652076fa13295f178e9e90b07abaeda563d04441275196d95a3c8c64fd8d09de02cff63bc5bfa0bd7e721d1f8d325663b0af91134a8ae83f616516' LIMIT 1
2458
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sQb1YDiuqpoafl7xTPIs' LIMIT 1
2459
+ 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-06-19 02:54:16', '4fa25b7c22b4a88619026cd1037cf4b0ff5c6b2b240122b13aeda6bc27b1269c268bc501d5ff779470656dff659a358f157e2f270a382333b026f3e71bfe77ac', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'Psc0riAQnlUWFaNmo2U', 'z4oNwbwhLkgkjk3keVt', '4b000c3b48652076fa13295f178e9e90b07abaeda563d04441275196d95a3c8c64fd8d09de02cff63bc5bfa0bd7e721d1f8d325663b0af91134a8ae83f616516', 'sQb1YDiuqpoafl7xTPIs', 1, NULL, '2013-06-19 02:54:16')
2460
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2461
+  (0.2ms) SAVEPOINT active_record_2
2462
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GphJgfl9UDuQu7OH9v2J', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 15
2463
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2464
+  (0.1ms) SAVEPOINT active_record_2
2465
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu14' AND `spud_menus`.`site_id` = 0) LIMIT 1
2466
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu14', 0, '2013-06-19 02:54:16')
2467
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2468
+  (0.0ms) SAVEPOINT active_record_2
2469
+ 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-06-19 02:54:16', NULL, 0, 'Menu Item 14', 1, 'SpudMenu', 1, NULL, '2013-06-19 02:54:16', NULL)
2470
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2471
+ Processing by Spud::Admin::MenuItemsController#edit as HTML
2472
+ Parameters: {"id"=>"15", "menu_id"=>"14"}
2473
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1
2474
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 14 LIMIT 1
2475
+ Redirected to http://test.host/spud/admin/menus
2476
+ Filter chain halted as :load_menu rendered or redirected
2477
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
2478
+  (0.5ms) ROLLBACK
2479
+  (0.2ms) ROLLBACK
2480
+  (0.1ms) BEGIN
2481
+  (0.1ms) BEGIN
2482
+  (0.2ms) SAVEPOINT active_record_2
2483
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2484
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2485
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e3b85bc96c6e7734921ef14a6ea2c2f496c061ecdba217bfab61e9bb602e801e0f94c306b349d231540534bb79d210a4fb1350cf0d651f9f3ae267d0ffc54b25' LIMIT 1
2486
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SCtCIClioz8bXC58Cp8' LIMIT 1
2487
+ 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-06-19 02:54:16', '0f6bbe654b463760dea46f710c1615fadbee74d5510280f3302a9d98a3f459421dda5a41f78b94bd0e808dc6c7d25bcd129e262d9ff1b061da9b487862702c29', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'qbMusQWLEfgLDMWa6hAq', 'PyjT6mNAjoMuu5tQ1pye', 'e3b85bc96c6e7734921ef14a6ea2c2f496c061ecdba217bfab61e9bb602e801e0f94c306b349d231540534bb79d210a4fb1350cf0d651f9f3ae267d0ffc54b25', 'SCtCIClioz8bXC58Cp8', 1, NULL, '2013-06-19 02:54:16')
2488
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2489
+  (0.1ms) SAVEPOINT active_record_2
2490
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vWnJLsW6aBdqSpBJ4QG', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 16
2491
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2492
+  (0.1ms) SAVEPOINT active_record_2
2493
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu15' AND `spud_menus`.`site_id` = 0) LIMIT 1
2494
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu15', 0, '2013-06-19 02:54:16')
2495
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2496
+  (0.0ms) SAVEPOINT active_record_2
2497
+ 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
2498
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu16', 0, '2013-06-19 02:54:16')
2499
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2500
+ Processing by Spud::Admin::MenusController#index as HTML
2501
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 16 LIMIT 1
2502
+ Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.3ms)
2503
+  (0.3ms) SELECT COUNT(*) FROM `spud_menus` WHERE `spud_menus`.`site_id` = 0
2504
+  (0.6ms) ROLLBACK
2505
+  (0.1ms) ROLLBACK
2506
+  (0.0ms) BEGIN
2507
+  (0.0ms) BEGIN
2508
+  (0.1ms) SAVEPOINT active_record_2
2509
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2510
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2511
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a469207944bed2b505b7e1a4e79690b5e8a42af8e6071b00a1a44a4b467d73284187ba589e642852fee26e2d04c27f5a52c7950f03e10afa2b3c7e97f6c91f62' LIMIT 1
2512
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QtjZIewvSqsWiYo5qCo' LIMIT 1
2513
+ 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-06-19 02:54:16', 'aafc82e8a86ab4fa531c7f0e9b59db6958446f37ab7c8ce306f1c381ae8080d2ec85eb37b6344c0076a63a2c71ce472d06a7f3857f2748cadef0113c2025be27', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'nZXwSAhumYCpCUy8mp0', 'BA4LVjdGc1nGthk86avw', 'a469207944bed2b505b7e1a4e79690b5e8a42af8e6071b00a1a44a4b467d73284187ba589e642852fee26e2d04c27f5a52c7950f03e10afa2b3c7e97f6c91f62', 'QtjZIewvSqsWiYo5qCo', 1, NULL, '2013-06-19 02:54:16')
2514
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2515
+  (0.1ms) SAVEPOINT active_record_2
2516
+  (1.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = '56DPM271xEcZtQcdqIc', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 17
2517
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2518
+ Processing by Spud::Admin::MenusController#new as HTML
2519
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 17 LIMIT 1
2520
+ Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.3ms)
2521
+  (0.5ms) ROLLBACK
2522
+  (0.1ms) ROLLBACK
2523
+  (0.1ms) BEGIN
2524
+  (0.1ms) BEGIN
2525
+  (0.2ms) SAVEPOINT active_record_2
2526
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2527
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2528
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3b37ff899df07a984c1a3a957a2060ea013b9820ca89b6bc25e802231b862b747c091f6b30ea42748e222eb0b56654ad8039be3611910edd5ec09516ae8513df' LIMIT 1
2529
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'I5D5th1qMIfos8XPoI' LIMIT 1
2530
+ 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-06-19 02:54:16', 'e54382aa3e3f7455f9e75addd658f6c4515ff5807c06bc4a83e0bb78fdb0d2b7b6cf4469a1e951154b23262a35e19e3a997beabdd5b55719a5ee916d3f3f7f62', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, '9BCYTffGR00VkwRnDJXu', 'cCCCwJu2eUVMeAG8aXv', '3b37ff899df07a984c1a3a957a2060ea013b9820ca89b6bc25e802231b862b747c091f6b30ea42748e222eb0b56654ad8039be3611910edd5ec09516ae8513df', 'I5D5th1qMIfos8XPoI', 1, NULL, '2013-06-19 02:54:16')
2531
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2532
+  (0.2ms) SAVEPOINT active_record_2
2533
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = '2fnl7uArcNAC4AP6EjM', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 18
2534
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2535
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus` 
2536
+ Processing by Spud::Admin::MenusController#create as HTML
2537
+ Parameters: {"spud_menu"=>{"name"=>"Menu17"}}
2538
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 18 LIMIT 1
2539
+  (0.1ms) SAVEPOINT active_record_2
2540
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu17' AND `spud_menus`.`site_id` = 0) LIMIT 1
2541
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu17', 0, '2013-06-19 02:54:16')
2542
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2543
+ Redirected to http://test.host/spud/admin/menus/17/menu_items
2544
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
2545
+  (0.3ms) SELECT COUNT(*) FROM `spud_menus` 
2546
+  (0.8ms) ROLLBACK
2547
+  (0.0ms) ROLLBACK
2548
+  (0.0ms) BEGIN
2549
+  (0.0ms) BEGIN
2550
+  (0.2ms) SAVEPOINT active_record_2
2551
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2552
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2553
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '38a3f06a55b73a54250435686c29eb49fe770d1d01ea989c15291e388f03fd7efc44797ab45532ac784fca4a3924977888631f86223e98c232ce52b1e2ca97b8' LIMIT 1
2554
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dRv33jMsfIZ1Ex4Eu1rt' LIMIT 1
2555
+ 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-06-19 02:54:16', '6be9c3357e6ed2352339d12e2a8af903796a893d889b60fda02a800fd904e974bca0d2b22fbb6208680cf66c98687784d37ff46cd0711afea71ba855c3744100', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'AKqrwZAziswh5iDs0u', 'Be2YzaYeQjq6KKpqOg0K', '38a3f06a55b73a54250435686c29eb49fe770d1d01ea989c15291e388f03fd7efc44797ab45532ac784fca4a3924977888631f86223e98c232ce52b1e2ca97b8', 'dRv33jMsfIZ1Ex4Eu1rt', 1, NULL, '2013-06-19 02:54:16')
2556
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2557
+  (0.2ms) SAVEPOINT active_record_2
2558
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = '7pmz7BOG54zTczHd9Q', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 19
2559
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2560
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus`
2561
+ Processing by Spud::Admin::MenusController#create as HTML
2562
+ Parameters: {"spud_menu"=>{"name"=>nil}}
2563
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 19 LIMIT 1
2564
+  (0.1ms) SAVEPOINT active_record_2
2565
+ 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
2566
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
2567
+ Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.0ms)
2568
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus` 
2569
+  (0.6ms) ROLLBACK
2570
+  (0.1ms) ROLLBACK
2571
+  (0.0ms) BEGIN
2572
+  (0.0ms) BEGIN
2573
+  (0.1ms) SAVEPOINT active_record_2
2574
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2575
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2576
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '73c09054a66e98e3ae66b6d7dd386250b9c6cd90939d4b8c3208b8d329b47ce22f1c0d5f9a3908189cb62e1a6d3ee149f521ca1c48f573b1a19da55918943225' LIMIT 1
2577
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'b5gOHrwUdRkNYzRJkXzY' LIMIT 1
2578
+ 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-06-19 02:54:16', 'c27e5e62ceef2e2c18b0a46876a408ae163f06699af56f6d4a7a15ee727be03c67c1910eb5f71426ef9adfe0ea9fcf24a662a44a05c8ab9e14f0ad7e35eddd61', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'Sqcffwv94Ep8v4WsORlZ', 'StIwMZq4iuP3FxRYUbME', '73c09054a66e98e3ae66b6d7dd386250b9c6cd90939d4b8c3208b8d329b47ce22f1c0d5f9a3908189cb62e1a6d3ee149f521ca1c48f573b1a19da55918943225', 'b5gOHrwUdRkNYzRJkXzY', 1, NULL, '2013-06-19 02:54:16')
2579
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2580
+  (0.1ms) SAVEPOINT active_record_2
2581
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qgDnA54VJj71yykuQSS6', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 20
2582
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2583
+  (0.1ms) SAVEPOINT active_record_2
2584
+ 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
2585
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu18', 1, '2013-06-19 02:54:16')
2586
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2587
+ Processing by Spud::Admin::MenusController#edit as HTML
2588
+ Parameters: {"id"=>"18"}
2589
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 20 LIMIT 1
2590
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 18 LIMIT 1
2591
+ Redirected to http://test.host/spud/admin/menus
2592
+ Filter chain halted as :load_menu rendered or redirected
2593
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
2594
+  (0.5ms) ROLLBACK
2595
+  (0.0ms) ROLLBACK
2596
+  (0.0ms) BEGIN
2597
+  (0.0ms) BEGIN
2598
+  (0.1ms) SAVEPOINT active_record_2
2599
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2600
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2601
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'eb48c940cec76a9dc44996f90ea553992846e7e3f6ded32ac3ef79af385033f6f7b9d23a53bdc7b4842fb1b3a3a8f285eee1f2f739415b76780d3b9b1b1187ea' LIMIT 1
2602
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'rQvwdmO7yLK5eTq90MCq' LIMIT 1
2603
+ 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-06-19 02:54:16', '74fa832e15781c5668765eb2ae9ec5a0c3868a37756baffe18df0ae061bd041c7694c7ce80555cd1a8e29814a17ed27563f5e7b6bd97559772a3d264d1a19a5f', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'WJLxGuPq0WHZ4Z4JhpB6', 'xkFVIwG43kSUe3UVcn7G', 'eb48c940cec76a9dc44996f90ea553992846e7e3f6ded32ac3ef79af385033f6f7b9d23a53bdc7b4842fb1b3a3a8f285eee1f2f739415b76780d3b9b1b1187ea', 'rQvwdmO7yLK5eTq90MCq', 1, NULL, '2013-06-19 02:54:16')
2604
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2605
+  (0.1ms) SAVEPOINT active_record_2
2606
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GHNxiztNmHbRqeqGhSki', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 21
2607
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2608
+  (0.1ms) SAVEPOINT active_record_2
2609
+ 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
2610
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu19', 0, '2013-06-19 02:54:16')
2611
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2612
+  (0.1ms) SAVEPOINT active_record_2
2613
+ 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
2614
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu20', 0, '2013-06-19 02:54:16')
2615
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2616
+ Processing by Spud::Admin::MenusController#edit as HTML
2617
+ Parameters: {"id"=>"20"}
2618
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 21 LIMIT 1
2619
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 20 LIMIT 1
2620
+ Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.5ms)
2621
+  (1.3ms) ROLLBACK
2622
+  (0.1ms) ROLLBACK
2623
+  (0.1ms) BEGIN
2624
+  (0.0ms) BEGIN
2625
+  (0.2ms) SAVEPOINT active_record_2
2626
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2627
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2628
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b05fca39767cb226d1ffb59889614ed1629730e2d31740ab3753128dbc7a712c5f5e7a9b85872a87f2473eed87b986118addb17e9c6d7f5c064ffe81bcad4675' LIMIT 1
2629
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'P40MGGJZWwsAay73kJYX' LIMIT 1
2630
+ 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-06-19 02:54:16', '561694dff3125fa0ad304ed980ea1344239a222770a6f6ab576b03abdb1f857118e3711884bee96d76e64e06dbc94a31b5f1dea091e02d3edcd2950e9d89b2d6', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'xutj0ZUhbuPMTQ4mH0v', 'vEg8ILoISTZakzUYZjr', 'b05fca39767cb226d1ffb59889614ed1629730e2d31740ab3753128dbc7a712c5f5e7a9b85872a87f2473eed87b986118addb17e9c6d7f5c064ffe81bcad4675', 'P40MGGJZWwsAay73kJYX', 1, NULL, '2013-06-19 02:54:16')
2631
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2632
+  (0.1ms) SAVEPOINT active_record_2
2633
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'JWoDBitX1yWXfn1tDqmo', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 22
2634
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2635
+ Processing by Spud::Admin::MenusController#edit as HTML
2636
+ Parameters: {"id"=>"3"}
2637
+ SpudUser Load (0.5ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1
2638
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 3 LIMIT 1
2639
+ Redirected to http://test.host/spud/admin/menus
2640
+ Filter chain halted as :load_menu rendered or redirected
2641
+ Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
2642
+  (0.5ms) ROLLBACK
2643
+  (0.1ms) ROLLBACK
2644
+  (0.0ms) BEGIN
2645
+  (0.0ms) BEGIN
2646
+  (0.1ms) SAVEPOINT active_record_2
2647
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2648
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2649
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '83458c8944b3419392ef1eb9df579cd1a655523dab161299570f0cd528a0818cd751612bf5436a7d76ebec4bc0b217cc602a9a7b819092e71125697f0e9dbdd1' LIMIT 1
2650
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VuBHHMBC6nPYmKWXOxp' LIMIT 1
2651
+ 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-06-19 02:54:16', '0809459269bc0160a65c566088a8bfc55884ddca6162308337351bb367a6e91040959214a6645a66c2bac7cc451899a7cd91e5b258c0255505ead248b367422c', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'Qc9O92CdyYfJwR0L7O3Q', 't2FtEWhYfs4zwZ0Arogb', '83458c8944b3419392ef1eb9df579cd1a655523dab161299570f0cd528a0818cd751612bf5436a7d76ebec4bc0b217cc602a9a7b819092e71125697f0e9dbdd1', 'VuBHHMBC6nPYmKWXOxp', 1, NULL, '2013-06-19 02:54:16')
2652
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2653
+  (0.1ms) SAVEPOINT active_record_2
2654
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'LJtvjT9ArGjMPGD0XFDJ', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 23
2655
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2656
+  (0.1ms) SAVEPOINT active_record_2
2657
+ 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
2658
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu21', 0, '2013-06-19 02:54:16')
2659
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2660
+ Processing by Spud::Admin::MenusController#update as HTML
2661
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "description"=>nil, "created_at"=>"2013-06-19 02:54:16 UTC", "updated_at"=>"2013-06-19 02:54:16 UTC"}, "id"=>"21"}
2662
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 23 LIMIT 1
2663
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 21 LIMIT 1
2664
+  (0.2ms) SAVEPOINT active_record_2
2665
+ SpudMenu Exists (0.3ms) 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
2666
+  (0.2ms) UPDATE `spud_menus` SET `name` = 'MyMenu', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_menus`.`id` = 21
2667
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2668
+ Redirected to http://test.host/spud/admin/menus/21/menu_items
2669
+ Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
2670
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 21 LIMIT 1
2671
+  (1.0ms) ROLLBACK
2672
+  (0.1ms) ROLLBACK
2673
+  (0.0ms) BEGIN
2674
+  (0.0ms) BEGIN
2675
+  (0.1ms) SAVEPOINT active_record_2
2676
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2677
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2678
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9896b3073aa6bee8e780769859bce0d5f7e10a262adbe70a0eea640769ef1e62003f756d57a82f19dd32d05ede53b155294ca50689eb6d6bb88e6ca97f0720cf' LIMIT 1
2679
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fjA30ICBg6D2TxH9lHP' LIMIT 1
2680
+ 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-06-19 02:54:16', 'a7a00a443815ce7cee6d206f77bc42c4d44cb821c7d0fae9ea9e157a1da4927193a2956d84f68b8c060bc0146764e40e25a4e98e20cd5ac94051a9d18143a842', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'KO8tDu1gGBBms1kaT', 'GkoCND9Uy5Xyg0Sk4Go', '9896b3073aa6bee8e780769859bce0d5f7e10a262adbe70a0eea640769ef1e62003f756d57a82f19dd32d05ede53b155294ca50689eb6d6bb88e6ca97f0720cf', 'fjA30ICBg6D2TxH9lHP', 1, NULL, '2013-06-19 02:54:16')
2681
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2682
+  (0.2ms) SAVEPOINT active_record_2
2683
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = '7jOEjxcGK26qVHBuA7id', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 24
2684
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2685
+  (0.1ms) SAVEPOINT active_record_2
2686
+ 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
2687
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu22', 0, '2013-06-19 02:54:16')
2688
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2689
+ Processing by Spud::Admin::MenusController#update as HTML
2690
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "description"=>nil, "created_at"=>"2013-06-19 02:54:16 UTC", "updated_at"=>"2013-06-19 02:54:16 UTC"}, "id"=>"22"}
2691
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 24 LIMIT 1
2692
+ SpudMenu Load (0.4ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 22 LIMIT 1
2693
+  (0.2ms) SAVEPOINT active_record_2
2694
+ SpudMenu Exists (0.3ms) 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
2695
+  (0.3ms) UPDATE `spud_menus` SET `name` = 'MyMenu', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_menus`.`id` = 22
2696
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2697
+ Redirected to http://test.host/spud/admin/menus/22/menu_items
2698
+ Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
2699
+  (0.6ms) ROLLBACK
2700
+  (0.2ms) ROLLBACK
2701
+  (0.0ms) BEGIN
2702
+  (0.0ms) BEGIN
2703
+  (0.2ms) SAVEPOINT active_record_2
2704
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2705
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2706
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f7c6d735cf6f26e7ed413525560e611c15a96ec67aef1051ec1fbb63ff8eab65b1b6b76c671d677220c80309089ad3f542b0daeaec429e329a1ebd08aac59e7b' LIMIT 1
2707
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jdkz6keniREYCFAkqCj' LIMIT 1
2708
+ 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-06-19 02:54:16', '724ea90d86f92bce8e43d8626dbfe05ef982131b4cf860fa39c8a9fdd8655fc5ab3b1c3f906c3885cce06197148954a4fde20c87507214c4835da9f9b818293e', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'ZWwkW7YYQa5KwUEBEwkj', 'ybVazYutERgBMdiKRVS', 'f7c6d735cf6f26e7ed413525560e611c15a96ec67aef1051ec1fbb63ff8eab65b1b6b76c671d677220c80309089ad3f542b0daeaec429e329a1ebd08aac59e7b', 'jdkz6keniREYCFAkqCj', 1, NULL, '2013-06-19 02:54:16')
2709
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2710
+  (0.2ms) SAVEPOINT active_record_2
2711
+  (33.9ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'RSQYzmTw3qAYriXohThu', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 25
2712
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2713
+  (0.1ms) SAVEPOINT active_record_2
2714
+ 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
2715
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu23', 0, '2013-06-19 02:54:16')
2716
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2717
+  (0.1ms) SELECT COUNT(*) FROM `spud_menus` 
2718
+ Processing by Spud::Admin::MenusController#destroy as HTML
2719
+ Parameters: {"id"=>"23"}
2720
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 25 LIMIT 1
2721
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 23 LIMIT 1
2722
+  (0.2ms) SAVEPOINT active_record_2
2723
+ 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'
2724
+ SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`spud_menu_id` = 23
2725
+ SQL (0.3ms) DELETE FROM `spud_menus` WHERE `spud_menus`.`id` = 23
2726
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2727
+ Redirected to http://test.host/spud/admin/menus
2728
+ Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
2729
+  (0.3ms) SELECT COUNT(*) FROM `spud_menus` 
2730
+  (1.0ms) ROLLBACK
2731
+  (0.0ms) ROLLBACK
2732
+  (0.0ms) BEGIN
2733
+  (0.0ms) BEGIN
2734
+  (0.1ms) SAVEPOINT active_record_2
2735
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2736
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2737
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '34f4a27d7fe475ed0f77e6b6395a438d6ef5c4c32df4ec51c2f105f0f98de430648ee8fc9bd8d242e78995cd7c30a802fb030c5f09b48e0d96a5d5c71ae95fcd' LIMIT 1
2738
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pUUr0hGAm8byYfaqovOq' LIMIT 1
2739
+ 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-06-19 02:54:16', '9694c4bb03b051192aedace944d9b970fb19e796f376ef54eabf96cbab8b936b260d88a21f6e47433a7caab53ab9ec076ba6b2f3d9c57d0c299e35eea0fb3dbd', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, '5VLgsEwmXlWQzWakhoDd', 'J2ea9KiyT57bjwYIXsM', '34f4a27d7fe475ed0f77e6b6395a438d6ef5c4c32df4ec51c2f105f0f98de430648ee8fc9bd8d242e78995cd7c30a802fb030c5f09b48e0d96a5d5c71ae95fcd', 'pUUr0hGAm8byYfaqovOq', 1, NULL, '2013-06-19 02:54:16')
2740
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2741
+  (0.1ms) SAVEPOINT active_record_2
2742
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ilqv9LcjeeOgAhylqhYU', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 26
2743
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2744
+  (0.1ms) SAVEPOINT active_record_2
2745
+ 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
2746
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:16', NULL, 'Menu24', 0, '2013-06-19 02:54:16')
2747
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2748
+  (0.1ms) SELECT COUNT(*) FROM `spud_menus`
2749
+ Processing by Spud::Admin::MenusController#destroy as HTML
2750
+ Parameters: {"id"=>"23532"}
2751
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 26 LIMIT 1
2752
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 23532 LIMIT 1
2753
+ Redirected to http://test.host/spud/admin/menus
2754
+ Filter chain halted as :load_menu rendered or redirected
2755
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
2756
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus` 
2757
+  (0.9ms) ROLLBACK
2758
+  (0.1ms) ROLLBACK
2759
+  (0.0ms) BEGIN
2760
+  (0.0ms) BEGIN
2761
+  (0.2ms) SAVEPOINT active_record_2
2762
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2763
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2764
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6512af131b43750fa94546d02ba844f0fa9c041c2878c578d3cd4f5a2aec35ede7185630be148060f51a7f270c78b7273b038a6a22f32f2ab1e2efb4426495b5' LIMIT 1
2765
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ikPyYLUp5f1qr6zidAUg' LIMIT 1
2766
+ 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-06-19 02:54:16', '7e2e70bd09b18962bf883639a275e3576824b6963859de1e3efc6c89e8ee3aca067a839b2410a5892f725029cb19c42fa5cfe29183328c95f12471b9bebf40fe', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'AsPII9leT9LVejrE8hF', 'd9fAZZ7ZbBhZHTFJdLaJ', '6512af131b43750fa94546d02ba844f0fa9c041c2878c578d3cd4f5a2aec35ede7185630be148060f51a7f270c78b7273b038a6a22f32f2ab1e2efb4426495b5', 'ikPyYLUp5f1qr6zidAUg', 1, NULL, '2013-06-19 02:54:16')
2767
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2768
+  (0.2ms) SAVEPOINT active_record_2
2769
+  (1.5ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GSqXnR5ArAD70dQ4EUAf', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 27
2770
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2771
+  (0.1ms) SAVEPOINT active_record_2
2772
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
2773
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page3' LIMIT 1
2774
+ 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
2775
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page3' AND `spud_pages`.`site_id` = 0) LIMIT 1
2776
+ 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-06-19 02:54:16', NULL, 'html', NULL, NULL, NULL, 'Page3', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:16', NULL, 'page3', 0, 0)
2777
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2778
+  (0.1ms) SAVEPOINT active_record_2
2779
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
2780
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page4' LIMIT 1
2781
+ 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
2782
+ 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
2783
+ 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-06-19 02:54:16', NULL, 'html', NULL, NULL, NULL, 'Page4', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:16', NULL, 'page4', 0, 0)
2784
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2785
+ Processing by Spud::Admin::PagesController#index as HTML
2786
+ SpudUser Load (0.5ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 27 LIMIT 1
2787
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`url_name` = 'home' LIMIT 1
2788
+ Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 0.8ms)
2789
+  (0.3ms) SELECT COUNT(*) FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL
2790
+  (0.5ms) ROLLBACK
2791
+  (0.1ms) ROLLBACK
2792
+  (0.0ms) BEGIN
2793
+  (0.0ms) BEGIN
2794
+  (0.1ms) SAVEPOINT active_record_2
2795
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2796
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2797
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9fb74ce253a5b95369b58469dfc5e1234e6776e16184b7956351b599eb6015714c4d4a1aaf93c359d9f1dfe4ca4dfd87763a7151f911f69038d6bcd145ce46e7' LIMIT 1
2798
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '2PVKGTxcw5axBs546nuF' LIMIT 1
2799
+ 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-06-19 02:54:16', '8d11692477bee493ddfad318534e411e60682768459d583d4b9cfb5a58dc8479cf7004ac6987efe0a46fc4c680f1a17a273bd2f126f9308166994539f8e427d7', '2013-06-19 02:54:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:16', 'testuser', 1, 'T3wBJ7uzAgWlB6uP6nG', 'Ew8uoM1sQE75LlJoBFpS', '9fb74ce253a5b95369b58469dfc5e1234e6776e16184b7956351b599eb6015714c4d4a1aaf93c359d9f1dfe4ca4dfd87763a7151f911f69038d6bcd145ce46e7', '2PVKGTxcw5axBs546nuF', 1, NULL, '2013-06-19 02:54:16')
2800
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2801
+  (0.1ms) SAVEPOINT active_record_2
2802
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'icCjzrlmwo98Ge8COQb9', `updated_at` = '2013-06-19 02:54:16' WHERE `spud_users`.`id` = 28
2803
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2804
+  (0.0ms) SAVEPOINT active_record_2
2805
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
2806
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page5' LIMIT 1
2807
+ 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
2808
+ 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
2809
+ 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-06-19 02:54:16', NULL, 'html', NULL, NULL, NULL, 'Page5', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:16', NULL, 'page5', 0, 0)
2810
+  (0.2ms) RELEASE SAVEPOINT active_record_2
2811
+  (0.1ms) SAVEPOINT active_record_2
2812
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
2813
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page6' LIMIT 1
2814
+ 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
2815
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page6' AND `spud_pages`.`site_id` = 0) LIMIT 1
2816
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page6', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page6', 0, 0)
2817
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2818
+  (0.0ms) SAVEPOINT active_record_2
2819
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 LIMIT 1
2820
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
2821
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page7' LIMIT 1
2822
+ 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
2823
+ 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
2824
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page7', NULL, NULL, NULL, 1, 0, 1, '2013-06-19 02:54:17', NULL, 'page7', 0, 0)
2825
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2826
+ Processing by Spud::Admin::PagesController#index as HTML
2827
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 28 LIMIT 1
2828
+  (0.1ms) SAVEPOINT active_record_2
2829
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-06-19 02:54:17', `perishable_token` = 'bue9hiqiFCKXuA0msyQ', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_users`.`id` = 28
2830
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2831
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`url_name` = 'home' LIMIT 1
2832
+ Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.9ms)
2833
+  (0.4ms) SELECT COUNT(*) FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL
2834
+  (0.9ms) ROLLBACK
2835
+  (0.1ms) ROLLBACK
2836
+  (0.0ms) BEGIN
2837
+  (0.0ms) BEGIN
2838
+  (0.1ms) SAVEPOINT active_record_2
2839
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2840
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2841
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8011e84bbbcddf46fd2e668a0dd6159ba552c83bc20fbf1f45169293131d3793199f0817326b4e54f74d9c4bf9f3e1859bfff8ecaa5597df3aa91d366ce03ff0' LIMIT 1
2842
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5Y4kEYaNBr83CReSemgh' LIMIT 1
2843
+ 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-06-19 02:54:17', '514d8d59097a541f019c279ac22ef3ff1e0d3b278dfb5ceb1cf7bd40f40796626590a2d340ec3be864799125ae0b443153d0d7257ad92734ff241ca3bf71219f', '2013-06-19 02:54:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:17', 'testuser', 1, 'f1lLRm9HfPpVrxbroUN9', 'y37m0HMmFU5C9yveQB3K', '8011e84bbbcddf46fd2e668a0dd6159ba552c83bc20fbf1f45169293131d3793199f0817326b4e54f74d9c4bf9f3e1859bfff8ecaa5597df3aa91d366ce03ff0', '5Y4kEYaNBr83CReSemgh', 1, NULL, '2013-06-19 02:54:17')
2844
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2845
+  (0.1ms) SAVEPOINT active_record_2
2846
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'XNM6YjZOEWN6ZEtFDP', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_users`.`id` = 29
2847
+  (0.0ms) RELEASE SAVEPOINT active_record_2
2848
+  (0.1ms) SAVEPOINT active_record_2
2849
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
2850
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page8' LIMIT 1
2851
+ 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
2852
+ 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
2853
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page8', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page8', 0, 0)
2854
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2855
+ Processing by Spud::Admin::PagesController#show as HTML
2856
+ Parameters: {"id"=>"17"}
2857
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 29 LIMIT 1
2858
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 17 LIMIT 1
2859
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (17)
2860
+ Completed 200 OK in 8ms (Views: 2.0ms | ActiveRecord: 0.7ms)
2861
+  (0.7ms) ROLLBACK
2862
+  (0.1ms) ROLLBACK
2863
+  (0.1ms) BEGIN
2864
+  (0.1ms) BEGIN
2865
+  (0.1ms) SAVEPOINT active_record_2
2866
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2867
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2868
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c678a8e1eea62a7cc7f4f3c49e1d56f4abdc31ebbd424c705836a4c004dcf4b78cc1f2b8215e76b4516b74526b811955137257dc1142b04efc16db63e0ed07a3' LIMIT 1
2869
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dUVN5FT5I1r51BHqFo' LIMIT 1
2870
+ 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-06-19 02:54:17', '6d33e2d63bd3833e438d5c52086c689206dd6054b4628a80bd6f7ee83f40982515af706061b69aad1338c57a39f2e82e9aa2aacec5946ef8200e569604ea0cc4', '2013-06-19 02:54:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:17', 'testuser', 1, 'OcyBLamX9IM6QXF2zKc', 'FOkTSKgQMd2kSJt7rAS', 'c678a8e1eea62a7cc7f4f3c49e1d56f4abdc31ebbd424c705836a4c004dcf4b78cc1f2b8215e76b4516b74526b811955137257dc1142b04efc16db63e0ed07a3', 'dUVN5FT5I1r51BHqFo', 1, NULL, '2013-06-19 02:54:17')
2871
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2872
+  (0.1ms) SAVEPOINT active_record_2
2873
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'bFc4lREDODWq9d8uBQyP', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_users`.`id` = 30
2874
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2875
+ Processing by Spud::Admin::PagesController#new as HTML
2876
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 30 LIMIT 1
2877
+ Completed 200 OK in 20ms (Views: 1.6ms | ActiveRecord: 0.3ms)
2878
+  (0.4ms) ROLLBACK
2879
+  (0.0ms) ROLLBACK
2880
+  (0.0ms) BEGIN
2881
+  (0.0ms) BEGIN
2882
+  (0.1ms) SAVEPOINT active_record_2
2883
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2884
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2885
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd28d5edcb48bb00304a9aef4e256aaa6de116a965b546df2d40015cd3d25aa64158e215d772dcd62e5a8139b336271ab83220887c8fc9ffba2b32625d4cf4b08' LIMIT 1
2886
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lOdVdTfLOc2tJxWRXK49' LIMIT 1
2887
+ 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-06-19 02:54:17', '4b9ac699747ab655ce3f73aa3cb2c68c2fe0ca7ceda2fd3a0c41a268164b30b529024ec8ae65db2acdee535c7e5bbac1cb3a5aa499813afd4477074cc6fe15f6', '2013-06-19 02:54:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:17', 'testuser', 1, 'mObgEKtvNebRP5A7X5mt', 'dmxAUh2vwNiwNw05iAo', 'd28d5edcb48bb00304a9aef4e256aaa6de116a965b546df2d40015cd3d25aa64158e215d772dcd62e5a8139b336271ab83220887c8fc9ffba2b32625d4cf4b08', 'lOdVdTfLOc2tJxWRXK49', 1, NULL, '2013-06-19 02:54:17')
2888
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2889
+  (0.1ms) SAVEPOINT active_record_2
2890
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'a15hxfSah3jMbUPXnYE', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_users`.`id` = 31
2891
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2892
+ Processing by Spud::Admin::PagesController#new as HTML
2893
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 31 LIMIT 1
2894
+ Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.2ms)
2895
+  (0.7ms) ROLLBACK
2896
+  (0.1ms) ROLLBACK
2897
+  (0.1ms) BEGIN
2898
+  (0.0ms) BEGIN
2899
+  (0.1ms) SAVEPOINT active_record_2
2900
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2901
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2902
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a99f4b84ceaa950dc7b500f152460d6d3a1db31ed26621aefbdd060dfc61b3523ea6838da8f3ebb7c69e7182ee5461513cb51226531c3a4811664efa8af4c128' LIMIT 1
2903
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZKW3IIodj8Cu26EqOER' LIMIT 1
2904
+ 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-06-19 02:54:17', '13318f121a12bcb0c916beb9755e7a11c8d26c7e9b60d0d1286a3a14d724b4522b004a2b7a8507bdf9cd24ded46ba0c2e24e523bbdfaef4433ad5efff3a4cb9c', '2013-06-19 02:54:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:17', 'testuser', 1, 'bsQ4XlHMu7AeEZtdRH', 'cfrzfnlMGIPRxY3MI6', 'a99f4b84ceaa950dc7b500f152460d6d3a1db31ed26621aefbdd060dfc61b3523ea6838da8f3ebb7c69e7182ee5461513cb51226531c3a4811664efa8af4c128', 'ZKW3IIodj8Cu26EqOER', 1, NULL, '2013-06-19 02:54:17')
2905
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2906
+  (0.1ms) SAVEPOINT active_record_2
2907
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ZeDqEL310ouptQiAoqxN', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_users`.`id` = 32
2908
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2909
+  (0.2ms) SAVEPOINT active_record_2
2910
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
2911
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page9' LIMIT 1
2912
+ SpudPage Exists (0.3ms) 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
2913
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page9' AND `spud_pages`.`site_id` = 0) LIMIT 1
2914
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page9', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page9', 0, 0)
2915
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2916
+ Processing by Spud::Admin::PagesController#edit as HTML
2917
+ Parameters: {"id"=>"18"}
2918
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 32 LIMIT 1
2919
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 18 LIMIT 1
2920
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (18)
2921
+ Completed 200 OK in 10ms (Views: 1.8ms | ActiveRecord: 0.8ms)
2922
+  (0.5ms) ROLLBACK
2923
+  (0.1ms) ROLLBACK
2924
+  (0.1ms) BEGIN
2925
+  (0.1ms) BEGIN
2926
+  (0.1ms) SAVEPOINT active_record_2
2927
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2928
+ SpudUser Exists (0.5ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2929
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'dd6206b4d05436680ebce0196da0011658940abc1979de455419de1f55abb32193003824f676454a5c2b0f8b0b79418c2cba42d2f655039f8087dc3f23583cfe' LIMIT 1
2930
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vS3YoJTwtYOb7uyw1' LIMIT 1
2931
+ 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-06-19 02:54:17', 'e9a0a8984b2fcbe27727e2515436e66b544fd101b71587b5d10613fd7981b932fb2dfbf9e79d99c4a50facbc1cb46143a0952aadbad2b2246b80065551272cff', '2013-06-19 02:54:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:17', 'testuser', 1, 'Nm5OzipssZquVsELVLiO', 'FURheP6Gig1BxDEDKGyH', 'dd6206b4d05436680ebce0196da0011658940abc1979de455419de1f55abb32193003824f676454a5c2b0f8b0b79418c2cba42d2f655039f8087dc3f23583cfe', 'vS3YoJTwtYOb7uyw1', 1, NULL, '2013-06-19 02:54:17')
2932
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2933
+  (0.1ms) SAVEPOINT active_record_2
2934
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ooVjCfTnI9y7RhQY62Ra', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_users`.`id` = 33
2935
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2936
+  (0.1ms) SAVEPOINT active_record_2
2937
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
2938
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page10' LIMIT 1
2939
+ SpudPage Exists (0.3ms) 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
2940
+ 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
2941
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page10', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page10', 0, 0)
2942
+  (0.3ms) RELEASE SAVEPOINT active_record_2
2943
+ Processing by Spud::Admin::PagesController#update as HTML
2944
+ 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"}
2945
+ SpudUser Load (0.5ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 33 LIMIT 1
2946
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 19 LIMIT 1
2947
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (19)
2948
+  (0.2ms) SAVEPOINT active_record_2
2949
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 19)
2950
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'adam' LIMIT 1
2951
+ SpudPermalink Exists (0.3ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'page10' AND `spud_permalinks`.`site_id` = 0) LIMIT 1
2952
+ SQL (0.3ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (19, 'SpudPage', '2013-06-19 02:54:17', 0, '2013-06-19 02:54:17', 'page10')
2953
+ SpudPage Exists (0.3ms) 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
2954
+ SpudPage Exists (0.3ms) 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
2955
+  (0.3ms) UPDATE `spud_pages` SET `name` = 'Adam', `url_name` = 'adam', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_pages`.`id` = 19
2956
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2957
+ Redirected to http://test.host/spud/admin/pages
2958
+ Completed 302 Found in 55ms (ActiveRecord: 3.4ms)
2959
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 19 LIMIT 1
2960
+  (2.3ms) ROLLBACK
2961
+  (0.1ms) ROLLBACK
2962
+  (0.0ms) BEGIN
2963
+  (0.0ms) BEGIN
2964
+  (0.2ms) SAVEPOINT active_record_2
2965
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
2966
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
2967
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6bb0de20729f1b65af4ee53e319add70e537d03f73aabcc0815c488700834f0479aedcb79eb71920c129e12e0f219fb881952ada3474c34b216fdd6922c74826' LIMIT 1
2968
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sWR157ut5zCma7oheFW' LIMIT 1
2969
+ 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-06-19 02:54:17', '1e91bdce6d534390e7a99b5120e9017eb114cd25f424eb7cd61a2c92af594a7be14a00d8448e44c89f316de45a89e28d70a92a02c878a603c0b412888dae2b83', '2013-06-19 02:54:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:17', 'testuser', 1, 'FBm8eh9avyEjhefe', 'WuewiyNtmXrLr3Wtbj6O', '6bb0de20729f1b65af4ee53e319add70e537d03f73aabcc0815c488700834f0479aedcb79eb71920c129e12e0f219fb881952ada3474c34b216fdd6922c74826', 'sWR157ut5zCma7oheFW', 1, NULL, '2013-06-19 02:54:17')
2970
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2971
+  (0.2ms) SAVEPOINT active_record_2
2972
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'jP7HHOXut7ryBmPtxXk', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_users`.`id` = 34
2973
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2974
+  (0.1ms) SAVEPOINT active_record_2
2975
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
2976
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page11' LIMIT 1
2977
+ 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
2978
+ 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
2979
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page11', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page11', 0, 0)
2980
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2981
+ Processing by Spud::Admin::PagesController#update as HTML
2982
+ 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"}
2983
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 34 LIMIT 1
2984
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 20 LIMIT 1
2985
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (20)
2986
+  (0.2ms) SAVEPOINT active_record_2
2987
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 20)
2988
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'adam' LIMIT 1
2989
+ 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
2990
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (20, 'SpudPage', '2013-06-19 02:54:17', 0, '2013-06-19 02:54:17', 'page11')
2991
+ SpudPage Exists (0.4ms) 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
2992
+ SpudPage Exists (0.3ms) 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
2993
+  (0.3ms) UPDATE `spud_pages` SET `name` = 'Adam', `url_name` = 'adam', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_pages`.`id` = 20
2994
+  (0.1ms) RELEASE SAVEPOINT active_record_2
2995
+ Redirected to http://test.host/spud/admin/pages
2996
+ Completed 302 Found in 16ms (ActiveRecord: 3.1ms)
2997
+  (0.8ms) ROLLBACK
2998
+  (0.1ms) ROLLBACK
2999
+  (0.1ms) BEGIN
3000
+  (0.1ms) BEGIN
3001
+  (0.1ms) SAVEPOINT active_record_2
3002
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
3003
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
3004
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e9398aebf8d7443b1d1493ad974a415e742162412f057149fb839a6026814959e93ce08d493c4d705d7c5427117618401872589daffc76f8c492c8f898621c8a' LIMIT 1
3005
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BV0boeJCVGgpj5AW9Xb' LIMIT 1
3006
+ 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-06-19 02:54:17', '7002350b10ab9f2af1a2f54803ec19ed5430071d9f0aa3a3b004b513e8d4fd015dc80c2f2743334a3d4929c525260ac0294d01bcc05d14b4d9fb2d45818a58a7', '2013-06-19 02:54:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:17', 'testuser', 1, 'jL6jwDIkLj5tB3L57l0M', 'PIw0RWQlLKurX9mFRySK', 'e9398aebf8d7443b1d1493ad974a415e742162412f057149fb839a6026814959e93ce08d493c4d705d7c5427117618401872589daffc76f8c492c8f898621c8a', 'BV0boeJCVGgpj5AW9Xb', 1, NULL, '2013-06-19 02:54:17')
3007
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3008
+  (0.1ms) SAVEPOINT active_record_2
3009
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'NS5sRViTR1tUXNOjvVK3', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_users`.`id` = 35
3010
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3011
+  (0.1ms) SAVEPOINT active_record_2
3012
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3013
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page12' LIMIT 1
3014
+ 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
3015
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page12' AND `spud_pages`.`site_id` = 0) LIMIT 1
3016
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page12', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page12', 0, 0)
3017
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3018
+  (0.2ms) SELECT COUNT(*) FROM `spud_pages` 
3019
+ Processing by Spud::Admin::PagesController#destroy as HTML
3020
+ Parameters: {"id"=>"21"}
3021
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 35 LIMIT 1
3022
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 21 LIMIT 1
3023
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (21)
3024
+  (0.1ms) SAVEPOINT active_record_2
3025
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`spud_page_id` = 21
3026
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 21 AND `spud_permalinks`.`attachment_type` = 'SpudPage'
3027
+ SQL (0.2ms) DELETE FROM `spud_pages` WHERE `spud_pages`.`id` = 21
3028
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3029
+ Redirected to http://test.host/spud/admin/pages
3030
+ Completed 302 Found in 14ms (ActiveRecord: 1.6ms)
3031
+  (0.3ms) SELECT COUNT(*) FROM `spud_pages`
3032
+  (0.9ms) ROLLBACK
3033
+  (0.1ms) ROLLBACK
3034
+  (0.0ms) BEGIN
3035
+  (0.0ms) BEGIN
3036
+  (0.1ms) SAVEPOINT active_record_2
3037
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
3038
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
3039
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0c71d2790e0a7f3c5c674996f03d4c9fc32a5fffdb7eabe1b2deeff8190e7ced8eb3b0b0c972b194c0dbaa31fe4e1023a88f3c5fdd72dcec76689ac948080382' LIMIT 1
3040
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qLdhFeiBYTdVjjodctw' LIMIT 1
3041
+ 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-06-19 02:54:17', '39361d28cd49994a21a9c0bcb50f2082adc5d0ca1b27a0cbef2f813bb6bbb13a783257409edbd8ce97970a8e3868ac9c2863836be1465146434d2641fd893134', '2013-06-19 02:54:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-19 02:54:17', 'testuser', 1, 'dJh8VH8uz5UZqtQqtimk', 'T7cO2XeBmaeDYloKVUWf', '0c71d2790e0a7f3c5c674996f03d4c9fc32a5fffdb7eabe1b2deeff8190e7ced8eb3b0b0c972b194c0dbaa31fe4e1023a88f3c5fdd72dcec76689ac948080382', 'qLdhFeiBYTdVjjodctw', 1, NULL, '2013-06-19 02:54:17')
3042
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3043
+  (0.1ms) SAVEPOINT active_record_2
3044
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-19 02:54:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hUljk1jTWTIIfXuAIhU', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_users`.`id` = 36
3045
+  (0.0ms) RELEASE SAVEPOINT active_record_2
3046
+  (0.1ms) SAVEPOINT active_record_2
3047
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3048
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page13' LIMIT 1
3049
+ 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
3050
+ 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
3051
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page13', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page13', 0, 0)
3052
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3053
+  (0.1ms) SELECT COUNT(*) FROM `spud_pages`
3054
+ Processing by Spud::Admin::PagesController#destroy as HTML
3055
+ Parameters: {"id"=>"23532"}
3056
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 36 LIMIT 1
3057
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 23532 LIMIT 1
3058
+ Redirected to http://test.host/spud/admin/pages
3059
+ Filter chain halted as :load_page rendered or redirected
3060
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
3061
+  (0.3ms) SELECT COUNT(*) FROM `spud_pages` 
3062
+  (1.5ms) ROLLBACK
3063
+  (0.1ms) ROLLBACK
3064
+  (0.0ms) BEGIN
3065
+  (0.0ms) BEGIN
3066
+ Processing by Spud::Cms::SitemapsController#show as XML
3067
+ 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
3068
+ Completed 200 OK in 20ms (Views: 16.7ms | ActiveRecord: 0.3ms)
3069
+ 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
3070
+  (0.1ms) ROLLBACK
3071
+  (0.1ms) ROLLBACK
3072
+  (0.0ms) BEGIN
3073
+  (0.0ms) BEGIN
3074
+ Processing by Spud::Cms::SitemapsController#show as HTML
3075
+ 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
3076
+ Completed 406 Not Acceptable in 2ms (ActiveRecord: 0.3ms)
3077
+  (0.1ms) ROLLBACK
3078
+  (0.0ms) ROLLBACK
3079
+  (0.0ms) BEGIN
3080
+  (0.0ms) BEGIN
3081
+  (0.1ms) SAVEPOINT active_record_2
3082
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3083
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page14' LIMIT 1
3084
+ 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
3085
+ 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
3086
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page14', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page14', 0, 0)
3087
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3088
+  (0.1ms) SAVEPOINT active_record_2
3089
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3090
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page15' LIMIT 1
3091
+ 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
3092
+ 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
3093
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page15', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page15', 0, 0)
3094
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3095
+  (0.1ms) SAVEPOINT active_record_2
3096
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
3097
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page16' LIMIT 1
3098
+ 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
3099
+ 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
3100
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page16', NULL, NULL, NULL, 1, 1, NULL, '2013-06-19 02:54:17', NULL, 'page16', 0, 0)
3101
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3102
+  (0.1ms) SAVEPOINT active_record_2
3103
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
3104
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page17' LIMIT 1
3105
+ 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
3106
+ 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
3107
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page17', NULL, NULL, NULL, 1, 1, NULL, '2013-06-19 02:54:17', NULL, 'page17', 0, 0)
3108
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3109
+  (0.1ms) SAVEPOINT active_record_2
3110
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
3111
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page18' LIMIT 1
3112
+ 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
3113
+ 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
3114
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page18', NULL, NULL, NULL, 1, 1, NULL, '2013-06-19 02:54:17', NULL, 'page18', 0, 0)
3115
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3116
+ Processing by Spud::Cms::SitemapsController#show as XML
3117
+ SpudPage Load (0.9ms) 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
3118
+ Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.9ms)
3119
+ SpudPage Load (0.4ms) 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
3120
+  (0.4ms) ROLLBACK
3121
+  (0.0ms) ROLLBACK
3122
+  (0.1ms) BEGIN
3123
+  (0.1ms) BEGIN
3124
+  (0.1ms) SAVEPOINT active_record_2
3125
+ 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
3126
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:17', NULL, 'Main', 0, '2013-06-19 02:54:17')
3127
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3128
+  (0.1ms) SAVEPOINT active_record_2
3129
+ 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-06-19 02:54:17', NULL, 0, 'Menu Item 15', 25, 'SpudMenu', 25, NULL, '2013-06-19 02:54:17', '/')
3130
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3131
+  (0.1ms) SAVEPOINT active_record_2
3132
+ 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-06-19 02:54:17', NULL, 0, 'Menu Item 16', 25, 'SpudMenu', 25, NULL, '2013-06-19 02:54:17', '/')
3133
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3134
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main' LIMIT 1
3135
+ SpudMenuItem Load (0.4ms) SELECT
3136
+ spud_menu_items.id as id,
3137
+ spud_menu_items.url as url,
3138
+ spud_menu_items.classes as classes,
3139
+ spud_menu_items.parent_type as parent_type,
3140
+ spud_menu_items.menu_order as menu_order,
3141
+ spud_menu_items.parent_id as parent_id,
3142
+ spud_menu_items.name as name,
3143
+ 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
3144
+  (0.6ms) ROLLBACK
3145
+  (0.0ms) ROLLBACK
3146
+  (0.1ms) BEGIN
3147
+  (0.0ms) BEGIN
3148
+  (0.1ms) SAVEPOINT active_record_2
3149
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu25' AND `spud_menus`.`site_id` = 0) LIMIT 1
3150
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:17', NULL, 'Menu25', 0, '2013-06-19 02:54:17')
3151
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3152
+  (0.1ms) SAVEPOINT active_record_2
3153
+ 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-06-19 02:54:17', NULL, 0, 'Menu Item 17', 26, 'SpudMenu', 26, NULL, '2013-06-19 02:54:17', '/')
3154
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3155
+  (0.1ms) SAVEPOINT active_record_2
3156
+ 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-06-19 02:54:17', NULL, 0, 'Menu Item 18', 26, 'SpudMenu', 26, NULL, '2013-06-19 02:54:17', '/')
3157
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3158
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Menu25' LIMIT 1
3159
+ SpudMenuItem Load (0.4ms) SELECT
3160
+ spud_menu_items.id as id,
3161
+ spud_menu_items.url as url,
3162
+ spud_menu_items.classes as classes,
3163
+ spud_menu_items.parent_type as parent_type,
3164
+ spud_menu_items.menu_order as menu_order,
3165
+ spud_menu_items.parent_id as parent_id,
3166
+ spud_menu_items.name as name,
3167
+ 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
3168
+  (0.3ms) ROLLBACK
3169
+  (0.1ms) ROLLBACK
3170
+  (0.0ms) BEGIN
3171
+  (0.0ms) BEGIN
3172
+  (0.1ms) SAVEPOINT active_record_2
3173
+ 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
3174
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:17', NULL, 'Main2', 0, '2013-06-19 02:54:17')
3175
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3176
+  (0.1ms) SAVEPOINT active_record_2
3177
+ 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-06-19 02:54:17', NULL, 0, 'Menu Item 19', 27, 'SpudMenu', 27, NULL, '2013-06-19 02:54:17', '/')
3178
+  (0.0ms) RELEASE SAVEPOINT active_record_2
3179
+  (0.0ms) SAVEPOINT active_record_2
3180
+ 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-06-19 02:54:17', NULL, 0, 'Menu Item 20', 27, 'SpudMenu', 27, NULL, '2013-06-19 02:54:17', '/')
3181
+  (0.0ms) RELEASE SAVEPOINT active_record_2
3182
+  (0.1ms) SAVEPOINT active_record_2
3183
+ 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-06-19 02:54:17', NULL, 0, 'SubItem', 20, 'SpudMenuItem', 27, NULL, '2013-06-19 02:54:17', '/')
3184
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3185
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main2' LIMIT 1
3186
+ SpudMenuItem Load (0.3ms) SELECT
3187
+ spud_menu_items.id as id,
3188
+ spud_menu_items.url as url,
3189
+ spud_menu_items.classes as classes,
3190
+ spud_menu_items.parent_type as parent_type,
3191
+ spud_menu_items.menu_order as menu_order,
3192
+ spud_menu_items.parent_id as parent_id,
3193
+ spud_menu_items.name as name,
3194
+ 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
3195
+  (0.3ms) ROLLBACK
3196
+  (0.0ms) ROLLBACK
3197
+  (0.0ms) BEGIN
3198
+  (0.0ms) BEGIN
3199
+  (0.1ms) SAVEPOINT active_record_2
3200
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Main4' AND `spud_menus`.`site_id` = 0) LIMIT 1
3201
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:17', NULL, 'Main4', 0, '2013-06-19 02:54:17')
3202
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3203
+  (0.1ms) SAVEPOINT active_record_2
3204
+ 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-06-19 02:54:17', NULL, 0, 'Menu Item 21', 28, 'SpudMenu', 28, NULL, '2013-06-19 02:54:17', '/')
3205
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3206
+  (0.1ms) SAVEPOINT active_record_2
3207
+ 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-06-19 02:54:17', NULL, 0, 'Menu Item 22', 28, 'SpudMenu', 28, NULL, '2013-06-19 02:54:17', '/')
3208
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3209
+  (0.1ms) SAVEPOINT active_record_2
3210
+ 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-06-19 02:54:17', NULL, 0, 'SubItem', 23, 'SpudMenuItem', 28, NULL, '2013-06-19 02:54:17', '/')
3211
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3212
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main4' LIMIT 1
3213
+ SpudMenuItem Load (0.3ms) SELECT
3214
+ spud_menu_items.id as id,
3215
+ spud_menu_items.url as url,
3216
+ spud_menu_items.classes as classes,
3217
+ spud_menu_items.parent_type as parent_type,
3218
+ spud_menu_items.menu_order as menu_order,
3219
+ spud_menu_items.parent_id as parent_id,
3220
+ spud_menu_items.name as name,
3221
+ 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
3222
+  (0.3ms) ROLLBACK
3223
+  (0.0ms) ROLLBACK
3224
+  (0.1ms) BEGIN
3225
+  (0.1ms) BEGIN
3226
+  (0.1ms) SAVEPOINT active_record_2
3227
+ 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
3228
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:17', NULL, 'Menu26', 0, '2013-06-19 02:54:17')
3229
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3230
+  (0.1ms) SAVEPOINT active_record_2
3231
+ 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-06-19 02:54:17', NULL, 0, 'Menu Item 23', 29, 'SpudMenu', 29, NULL, '2013-06-19 02:54:17', '/')
3232
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3233
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`site_id` = 1 AND `spud_menus`.`name` = 'Menu26' LIMIT 1
3234
+  (0.6ms) ROLLBACK
3235
+  (0.1ms) ROLLBACK
3236
+  (0.1ms) BEGIN
3237
+  (0.1ms) BEGIN
3238
+  (0.1ms) SAVEPOINT active_record_2
3239
+ 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
3240
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:17', NULL, 'Main3', 0, '2013-06-19 02:54:17')
3241
+  (0.0ms) RELEASE SAVEPOINT active_record_2
3242
+  (0.1ms) SAVEPOINT active_record_2
3243
+ 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-06-19 02:54:17', NULL, 0, 'Menu Item 24', 30, 'SpudMenu', 30, NULL, '2013-06-19 02:54:17', '/')
3244
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3245
+  (0.1ms) SAVEPOINT active_record_2
3246
+ 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-06-19 02:54:17', NULL, 0, 'Menu Item 25', 30, 'SpudMenu', 30, NULL, '2013-06-19 02:54:17', '/')
3247
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3248
+  (0.1ms) SAVEPOINT active_record_2
3249
+ 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-06-19 02:54:17', NULL, 0, 'SubItem', 27, 'SpudMenuItem', 30, NULL, '2013-06-19 02:54:17', '/')
3250
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3251
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main3' LIMIT 1
3252
+ SpudMenuItem Load (0.3ms) SELECT
3253
+ spud_menu_items.id as id,
3254
+ spud_menu_items.url as url,
3255
+ spud_menu_items.classes as classes,
3256
+ spud_menu_items.parent_type as parent_type,
3257
+ spud_menu_items.menu_order as menu_order,
3258
+ spud_menu_items.parent_id as parent_id,
3259
+ spud_menu_items.name as name,
3260
+ 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
3261
+  (0.3ms) ROLLBACK
3262
+  (0.0ms) ROLLBACK
3263
+  (0.1ms) BEGIN
3264
+  (0.1ms) BEGIN
3265
+  (0.1ms) SAVEPOINT active_record_2
3266
+ 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
3267
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-06-19 02:54:17', NULL, 'Menu27', 0, '2013-06-19 02:54:17')
3268
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3269
+  (0.1ms) SAVEPOINT active_record_2
3270
+ 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-06-19 02:54:17', NULL, 0, 'Menu Item 26', 31, 'SpudMenu', 31, NULL, '2013-06-19 02:54:17', '/')
3271
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3272
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Menu27' AND `spud_menus`.`site_id` = 1 LIMIT 1
3273
+  (0.3ms) ROLLBACK
3274
+  (0.1ms) ROLLBACK
3275
+  (0.0ms) BEGIN
3276
+  (0.0ms) BEGIN
3277
+  (0.1ms) SAVEPOINT active_record_2
3278
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3279
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page19' LIMIT 1
3280
+ 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
3281
+ 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
3282
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page19', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page19', 0, 0)
3283
+  (0.0ms) RELEASE SAVEPOINT active_record_2
3284
+  (0.1ms) SAVEPOINT active_record_2
3285
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3286
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page20' LIMIT 1
3287
+ 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
3288
+ 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
3289
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page20', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page20', 0, 0)
3290
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3291
+  (0.1ms) SAVEPOINT active_record_2
3292
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 28 LIMIT 1
3293
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3294
+ 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
3295
+ 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` = 28) LIMIT 1
3296
+ 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
3297
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page21', NULL, NULL, NULL, 1, 0, 28, '2013-06-19 02:54:17', NULL, 'page19/page21', 0, 0)
3298
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3299
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
3300
+  (0.3ms) ROLLBACK
3301
+  (0.0ms) ROLLBACK
3302
+  (0.0ms) BEGIN
3303
+  (0.0ms) BEGIN
3304
+  (0.1ms) SAVEPOINT active_record_2
3305
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3306
+ SpudPermalink Load (0.4ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page22' LIMIT 1
3307
+ SpudPage Exists (0.3ms) 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
3308
+ 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
3309
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page22', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page22', 0, 0)
3310
+  (0.0ms) RELEASE SAVEPOINT active_record_2
3311
+  (0.2ms) SAVEPOINT active_record_2
3312
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3313
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page23' LIMIT 1
3314
+ SpudPage Exists (0.3ms) 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
3315
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page23' AND `spud_pages`.`site_id` = 0) LIMIT 1
3316
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page23', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page23', 0, 0)
3317
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3318
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
3319
+  (0.3ms) ROLLBACK
3320
+  (0.1ms) ROLLBACK
3321
+  (0.0ms) BEGIN
3322
+  (0.0ms) BEGIN
3323
+  (0.0ms) SAVEPOINT active_record_2
3324
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3325
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page24' LIMIT 1
3326
+ SpudPage Exists (0.3ms) 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
3327
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page24' AND `spud_pages`.`site_id` = 0) LIMIT 1
3328
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page24', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page24', 0, 0)
3329
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3330
+  (0.1ms) SAVEPOINT active_record_2
3331
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3332
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page25' LIMIT 1
3333
+ 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
3334
+ 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
3335
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page25', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page25', 0, 0)
3336
+  (0.2ms) RELEASE SAVEPOINT active_record_2
3337
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1 AND (name NOT IN ('Page25'))
3338
+  (0.5ms) ROLLBACK
3339
+  (0.1ms) ROLLBACK
3340
+  (0.0ms) BEGIN
3341
+  (0.0ms) BEGIN
3342
+  (0.2ms) SAVEPOINT active_record_2
3343
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3344
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page26' LIMIT 1
3345
+ 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
3346
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page26' AND `spud_pages`.`site_id` = 0) LIMIT 1
3347
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page26', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page26', 0, 0)
3348
+  (0.2ms) RELEASE SAVEPOINT active_record_2
3349
+  (0.0ms) SAVEPOINT active_record_2
3350
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3351
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page27' LIMIT 1
3352
+ 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
3353
+ 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
3354
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page27', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page27', 0, 0)
3355
+  (0.2ms) RELEASE SAVEPOINT active_record_2
3356
+  (0.2ms) SAVEPOINT active_record_2
3357
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 35 LIMIT 1
3358
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3359
+ 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
3360
+ 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
3361
+ 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
3362
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page28', NULL, NULL, NULL, 1, 0, 35, '2013-06-19 02:54:17', NULL, 'page26/page28', 0, 0)
3363
+  (0.2ms) RELEASE SAVEPOINT active_record_2
3364
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
3365
+  (0.9ms) ROLLBACK
3366
+  (0.0ms) ROLLBACK
3367
+  (0.0ms) BEGIN
3368
+  (0.0ms) BEGIN
3369
+  (0.1ms) SAVEPOINT active_record_2
3370
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3371
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page29' LIMIT 1
3372
+ 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
3373
+ 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
3374
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page29', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page29', 0, 0)
3375
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3376
+  (0.1ms) SAVEPOINT active_record_2
3377
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3378
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page30' LIMIT 1
3379
+ SpudPage Exists (0.2ms) 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
3380
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page30' AND `spud_pages`.`site_id` = 0) LIMIT 1
3381
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page30', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page30', 0, 0)
3382
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3383
+  (0.0ms) SAVEPOINT active_record_2
3384
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 38 LIMIT 1
3385
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3386
+ 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
3387
+ 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
3388
+ 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
3389
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page31', NULL, NULL, NULL, 1, 0, 38, '2013-06-19 02:54:17', NULL, 'page29/page31', 0, 0)
3390
+  (0.0ms) RELEASE SAVEPOINT active_record_2
3391
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
3392
+  (0.4ms) ROLLBACK
3393
+  (0.0ms) ROLLBACK
3394
+  (0.0ms) BEGIN
3395
+  (0.0ms) BEGIN
3396
+  (0.2ms) SAVEPOINT active_record_2
3397
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3398
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page32' LIMIT 1
3399
+ SpudPage Exists (0.3ms) 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
3400
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page32' AND `spud_pages`.`site_id` = 0) LIMIT 1
3401
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page32', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page32', 0, 0)
3402
+  (0.2ms) RELEASE SAVEPOINT active_record_2
3403
+  (0.1ms) SAVEPOINT active_record_2
3404
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
3405
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page33' LIMIT 1
3406
+ 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
3407
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page33' AND `spud_pages`.`site_id` = 1) LIMIT 1
3408
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page33', NULL, NULL, NULL, 1, 1, NULL, '2013-06-19 02:54:17', NULL, 'page33', 0, 0)
3409
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3410
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1 AND `spud_pages`.`site_id` = 1
3411
+  (0.5ms) ROLLBACK
3412
+  (0.0ms) ROLLBACK
3413
+  (0.0ms) BEGIN
3414
+  (0.0ms) BEGIN
3415
+  (0.0ms) ROLLBACK
3416
+  (0.0ms) ROLLBACK
3417
+  (0.0ms) BEGIN
3418
+  (0.0ms) BEGIN
3419
+  (0.0ms) ROLLBACK
3420
+  (0.0ms) ROLLBACK
3421
+  (0.0ms) BEGIN
3422
+  (0.0ms) BEGIN
3423
+  (0.0ms) ROLLBACK
3424
+  (0.0ms) ROLLBACK
3425
+  (0.0ms) BEGIN
3426
+  (0.0ms) BEGIN
3427
+  (0.0ms) ROLLBACK
3428
+  (0.0ms) ROLLBACK
3429
+  (0.1ms) BEGIN
3430
+  (0.0ms) BEGIN
3431
+  (0.2ms) ROLLBACK
3432
+  (0.0ms) ROLLBACK
3433
+  (0.0ms) BEGIN
3434
+  (0.0ms) BEGIN
3435
+  (0.2ms) ROLLBACK
3436
+  (0.1ms) ROLLBACK
3437
+  (0.0ms) BEGIN
3438
+  (0.0ms) BEGIN
3439
+  (0.2ms) ROLLBACK
3440
+  (0.1ms) ROLLBACK
3441
+  (0.0ms) BEGIN
3442
+  (0.0ms) BEGIN
3443
+  (0.2ms) ROLLBACK
3444
+  (0.1ms) ROLLBACK
3445
+  (0.1ms) BEGIN
3446
+  (0.1ms) BEGIN
3447
+  (0.1ms) ROLLBACK
3448
+  (0.1ms) ROLLBACK
3449
+  (0.0ms) BEGIN
3450
+  (0.0ms) BEGIN
3451
+  (0.1ms) ROLLBACK
3452
+  (0.0ms) ROLLBACK
3453
+  (0.0ms) BEGIN
3454
+  (0.0ms) BEGIN
3455
+  (0.0ms) SAVEPOINT active_record_2
3456
+ SQL (0.3ms) INSERT INTO `spud_page_partials` (`content`, `content_processed`, `created_at`, `format`, `name`, `spud_page_id`, `symbol_name`, `updated_at`) VALUES (NULL, '', '2013-06-19 02:54:17', NULL, 'Test Page', NULL, 'test_page', '2013-06-19 02:54:17')
3457
+ 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'
3458
+ SQL (0.2ms) UPDATE `spud_page_partials` SET `content_processed` = '' WHERE `spud_page_partials`.`id` = 1
3459
+  (0.2ms) RELEASE SAVEPOINT active_record_2
3460
+  (0.4ms) ROLLBACK
3461
+  (0.0ms) ROLLBACK
3462
+  (0.0ms) BEGIN
3463
+  (0.0ms) BEGIN
3464
+  (0.0ms) SAVEPOINT active_record_2
3465
+ SQL (0.3ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Home Sweet Home', '2013-06-19 02:54:17', NULL, 'Test Page', 1, '2013-06-19 02:54:17')
3466
+  (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'
3467
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 LIMIT 1
3468
+ 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-06-19 02:54:17', NULL, 'Test Page', 1, 'test_page', '2013-06-19 02:54:17')
3469
+ SpudPageLiquidTag Load (0.3ms) 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'
3470
+  (0.2ms) RELEASE SAVEPOINT active_record_2
3471
+  (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'
3472
+  (0.4ms) ROLLBACK
3473
+  (0.0ms) ROLLBACK
3474
+  (0.0ms) BEGIN
3475
+  (0.0ms) BEGIN
3476
+  (0.1ms) SAVEPOINT active_record_2
3477
+ SQL (0.2ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Home Sweet Home', '2013-06-19 02:54:17', NULL, 'Test Page', 1, '2013-06-19 02:54:17')
3478
+  (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'
3479
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 LIMIT 1
3480
+ SQL (0.3ms) 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-06-19 02:54:17', NULL, 'Test Page', 1, 'test_page', '2013-06-19 02:54:17')
3481
+ 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'
3482
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3483
+  (0.1ms) SAVEPOINT active_record_2
3484
+ SQL (0.2ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Nah', '2013-06-19 02:54:17', NULL, 'Test Page', 1, '2013-06-19 02:54:17')
3485
+  (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'
3486
+  (0.3ms) UPDATE `spud_page_partials` SET `content` = 'Nah', `content_processed` = 'Nah', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_page_partials`.`id` = 3
3487
+ 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'
3488
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3489
+  (0.1ms) SAVEPOINT active_record_2
3490
+ SQL (0.3ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Another change', '2013-06-19 02:54:17', NULL, 'Test Page', 1, '2013-06-19 02:54:17')
3491
+  (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'
3492
+ 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
3493
+ SQL (0.2ms) DELETE FROM `spud_page_partial_revisions` WHERE `spud_page_partial_revisions`.`id` = 2
3494
+  (0.3ms) UPDATE `spud_page_partials` SET `content` = 'Another change', `content_processed` = 'Another change', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_page_partials`.`id` = 3
3495
+ SpudPageLiquidTag Load (0.3ms) 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'
3496
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3497
+  (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'
3498
+  (0.9ms) ROLLBACK
3499
+  (0.0ms) ROLLBACK
3500
+  (0.1ms) BEGIN
3501
+  (0.1ms) BEGIN
3502
+  (0.2ms) ROLLBACK
3503
+  (0.1ms) ROLLBACK
3504
+  (0.0ms) BEGIN
3505
+  (0.0ms) BEGIN
3506
+  (0.0ms) ROLLBACK
3507
+  (0.0ms) ROLLBACK
3508
+  (0.0ms) BEGIN
3509
+  (0.0ms) BEGIN
3510
+  (0.0ms) ROLLBACK
3511
+  (0.0ms) ROLLBACK
3512
+  (0.0ms) BEGIN
3513
+  (0.0ms) BEGIN
3514
+  (0.0ms) ROLLBACK
3515
+  (0.0ms) ROLLBACK
3516
+  (0.0ms) BEGIN
3517
+  (0.0ms) BEGIN
3518
+  (0.0ms) ROLLBACK
3519
+  (0.0ms) ROLLBACK
3520
+  (0.0ms) BEGIN
3521
+  (0.0ms) BEGIN
3522
+ SpudPage Exists (0.3ms) 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
3523
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` IS NULL AND `spud_pages`.`site_id` = 0) LIMIT 1
3524
+  (0.1ms) ROLLBACK
3525
+  (0.1ms) ROLLBACK
3526
+  (0.0ms) BEGIN
3527
+  (0.1ms) BEGIN
3528
+  (0.1ms) SAVEPOINT active_record_2
3529
+ 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
3530
+ 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
3531
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page34', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'test', 1, 0)
3532
+  (0.2ms) RELEASE SAVEPOINT active_record_2
3533
+ 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
3534
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'test' AND `spud_pages`.`site_id` = 0) LIMIT 1
3535
+  (0.4ms) ROLLBACK
3536
+  (0.0ms) ROLLBACK
3537
+  (0.0ms) BEGIN
3538
+  (0.0ms) BEGIN
3539
+  (0.0ms) SAVEPOINT active_record_2
3540
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3541
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'test' LIMIT 1
3542
+ SpudPage Exists (0.3ms) 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
3543
+ 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
3544
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'test', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'test', 0, 0)
3545
+  (0.0ms) RELEASE SAVEPOINT active_record_2
3546
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3547
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'test-1' LIMIT 1
3548
+ SpudPage Exists (0.3ms) 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
3549
+ 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
3550
+  (0.6ms) ROLLBACK
3551
+  (0.0ms) ROLLBACK
3552
+  (0.0ms) BEGIN
3553
+  (0.0ms) BEGIN
3554
+  (0.2ms) SAVEPOINT active_record_2
3555
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3556
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page36' LIMIT 1
3557
+ 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
3558
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page36' AND `spud_pages`.`site_id` = 0) LIMIT 1
3559
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page36', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'page36', 0, 0)
3560
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 45 LIMIT 1
3561
+ SQL (0.3ms) INSERT INTO `spud_page_partials` (`content`, `content_processed`, `created_at`, `format`, `name`, `spud_page_id`, `symbol_name`, `updated_at`) VALUES (NULL, '', '2013-06-19 02:54:17', NULL, 'body', 45, 'body', '2013-06-19 02:54:17')
3562
+ SpudPageLiquidTag Load (0.3ms) 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'
3563
+ SQL (0.2ms) UPDATE `spud_page_partials` SET `content_processed` = '' WHERE `spud_page_partials`.`id` = 4
3564
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3565
+  (0.2ms) SELECT COUNT(*) FROM `spud_page_partials` 
3566
+  (0.0ms) SAVEPOINT active_record_2
3567
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`spud_page_id` = 45
3568
+ SpudPageLiquidTag Load (0.4ms) 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'
3569
+ SQL (0.2ms) DELETE FROM `spud_page_partials` WHERE `spud_page_partials`.`id` = 4
3570
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 45 AND `spud_permalinks`.`attachment_type` = 'SpudPage'
3571
+ SQL (0.3ms) DELETE FROM `spud_pages` WHERE `spud_pages`.`id` = 45
3572
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3573
+  (0.3ms) SELECT COUNT(*) FROM `spud_page_partials` 
3574
+  (0.5ms) ROLLBACK
3575
+  (0.0ms) ROLLBACK
3576
+  (0.0ms) BEGIN
3577
+  (0.0ms) BEGIN
3578
+  (0.0ms) ROLLBACK
3579
+  (0.0ms) ROLLBACK
3580
+  (0.0ms) BEGIN
3581
+  (0.0ms) BEGIN
3582
+  (0.0ms) ROLLBACK
3583
+  (0.0ms) ROLLBACK
3584
+  (0.0ms) BEGIN
3585
+  (0.0ms) BEGIN
3586
+  (0.0ms) ROLLBACK
3587
+  (0.0ms) ROLLBACK
3588
+  (0.0ms) BEGIN
3589
+  (0.0ms) BEGIN
3590
+  (0.0ms) SAVEPOINT active_record_2
3591
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3592
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'parent' LIMIT 1
3593
+ 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
3594
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'parent' AND `spud_pages`.`site_id` = 0) LIMIT 1
3595
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'parent', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'parent', 0, 0)
3596
+  (0.2ms) RELEASE SAVEPOINT active_record_2
3597
+  (0.1ms) SAVEPOINT active_record_2
3598
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3599
+ 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
3600
+ 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` = 46) LIMIT 1
3601
+ 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
3602
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page 1', NULL, NULL, NULL, 1, 0, 46, '2013-06-19 02:54:17', NULL, 'parent/page-1', 0, 0)
3603
+  (0.2ms) RELEASE SAVEPOINT active_record_2
3604
+  (0.1ms) SAVEPOINT active_record_2
3605
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3606
+ 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
3607
+ 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
3608
+ 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
3609
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'Page 2', NULL, NULL, NULL, 1, 0, 46, '2013-06-19 02:54:17', NULL, 'parent/page-2', 0, 0)
3610
+  (0.2ms) RELEASE SAVEPOINT active_record_2
3611
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3612
+  (0.4ms) ROLLBACK
3613
+  (0.0ms) ROLLBACK
3614
+  (0.0ms) BEGIN
3615
+  (0.0ms) BEGIN
3616
+  (0.0ms) ROLLBACK
3617
+  (0.0ms) ROLLBACK
3618
+  (0.0ms) BEGIN
3619
+  (0.0ms) BEGIN
3620
+  (0.1ms) SAVEPOINT active_record_2
3621
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3622
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
3623
+ 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
3624
+ 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
3625
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'about', 0, 0)
3626
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3627
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3628
+ 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
3629
+ SpudPage Exists (0.3ms) 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
3630
+ 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
3631
+  (0.4ms) ROLLBACK
3632
+  (0.0ms) ROLLBACK
3633
+  (0.0ms) BEGIN
3634
+  (0.0ms) BEGIN
3635
+  (0.1ms) SAVEPOINT active_record_2
3636
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3637
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'testimonials' LIMIT 1
3638
+ 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
3639
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'testimonials' AND `spud_pages`.`site_id` = 0) LIMIT 1
3640
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'testimonials', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'testimonials', 0, 0)
3641
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3642
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3643
+ 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
3644
+ 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
3645
+ 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
3646
+  (0.3ms) ROLLBACK
3647
+  (0.0ms) ROLLBACK
3648
+  (0.0ms) BEGIN
3649
+  (0.0ms) BEGIN
3650
+  (0.0ms) SAVEPOINT active_record_2
3651
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3652
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another' LIMIT 1
3653
+ 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
3654
+ 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
3655
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'another', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'another', 0, 0)
3656
+  (0.2ms) RELEASE SAVEPOINT active_record_2
3657
+  (0.1ms) SAVEPOINT active_record_2
3658
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 51)
3659
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'again' LIMIT 1
3660
+ 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
3661
+ SQL (0.3ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (51, 'SpudPage', '2013-06-19 02:54:17', 0, '2013-06-19 02:54:17', 'another')
3662
+ 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
3663
+ SpudPage Exists (0.3ms) 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
3664
+  (0.2ms) UPDATE `spud_pages` SET `name` = 'again', `url_name` = 'again', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_pages`.`id` = 51
3665
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3666
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3667
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another' LIMIT 1
3668
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 51 LIMIT 1
3669
+ 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
3670
+ 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
3671
+ 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
3672
+  (0.7ms) ROLLBACK
3673
+  (0.0ms) ROLLBACK
3674
+  (0.0ms) BEGIN
3675
+  (0.0ms) BEGIN
3676
+  (0.0ms) SAVEPOINT active_record_2
3677
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3678
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage' LIMIT 1
3679
+ 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
3680
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'permapage' AND `spud_pages`.`site_id` = 0) LIMIT 1
3681
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'permapage', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'permapage', 0, 0)
3682
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3683
+  (0.0ms) SAVEPOINT active_record_2
3684
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 52)
3685
+ 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
3686
+ 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
3687
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (52, 'SpudPage', '2013-06-19 02:54:17', 0, '2013-06-19 02:54:17', 'permapage')
3688
+ SpudPage Exists (0.2ms) 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
3689
+ SpudPage Exists (0.3ms) 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
3690
+  (0.2ms) UPDATE `spud_pages` SET `name` = 'permapage new', `url_name` = 'permapage-new', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_pages`.`id` = 52
3691
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3692
+  (0.1ms) SELECT COUNT(*) FROM `spud_permalinks`
3693
+  (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'
3694
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 52)
3695
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage' LIMIT 1
3696
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 52 LIMIT 1
3697
+  (0.2ms) SAVEPOINT active_record_2
3698
+ SQL (0.1ms) DELETE FROM `spud_permalinks` WHERE `spud_permalinks`.`id` = 5
3699
+  (0.0ms) RELEASE SAVEPOINT active_record_2
3700
+  (0.0ms) SAVEPOINT active_record_2
3701
+ SpudPermalink Exists (0.3ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'permapage-new' AND `spud_permalinks`.`site_id` = 0) LIMIT 1
3702
+ SQL (0.3ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (52, 'SpudPage', '2013-06-19 02:54:17', 0, '2013-06-19 02:54:17', 'permapage-new')
3703
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3704
+ SpudPage Exists (0.4ms) 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
3705
+ SpudPage Exists (0.3ms) 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
3706
+  (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'
3707
+  (0.5ms) ROLLBACK
3708
+  (0.0ms) ROLLBACK
3709
+  (0.0ms) BEGIN
3710
+  (0.0ms) BEGIN
3711
+  (0.1ms) SAVEPOINT active_record_2
3712
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3713
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original' LIMIT 1
3714
+ 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
3715
+ 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
3716
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'original', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'original', 0, 0)
3717
+  (0.2ms) RELEASE SAVEPOINT active_record_2
3718
+ 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
3719
+ 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
3720
+  (0.3ms) ROLLBACK
3721
+  (0.0ms) ROLLBACK
3722
+  (0.0ms) BEGIN
3723
+  (0.0ms) BEGIN
3724
+  (0.0ms) SAVEPOINT active_record_2
3725
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3726
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original' LIMIT 1
3727
+ 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
3728
+ 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
3729
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'original', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'original', 0, 0)
3730
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3731
+  (0.1ms) SAVEPOINT active_record_2
3732
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 54)
3733
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original2' LIMIT 1
3734
+ 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
3735
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (54, 'SpudPage', '2013-06-19 02:54:17', 0, '2013-06-19 02:54:17', 'original')
3736
+ SpudPage Exists (0.2ms) 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
3737
+ SpudPage Exists (0.3ms) 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
3738
+  (0.2ms) UPDATE `spud_pages` SET `name` = 'original2', `url_name` = 'original2', `updated_at` = '2013-06-19 02:54:17' WHERE `spud_pages`.`id` = 54
3739
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3740
+  (0.1ms) SAVEPOINT active_record_2
3741
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
3742
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'new' LIMIT 1
3743
+ 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
3744
+ 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
3745
+ 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-06-19 02:54:17', NULL, 'html', NULL, NULL, NULL, 'new', NULL, NULL, NULL, 1, 0, NULL, '2013-06-19 02:54:17', NULL, 'new', 0, 0)
3746
+  (0.1ms) RELEASE SAVEPOINT active_record_2
3747
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 55 LIMIT 1
3748
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original' LIMIT 1
3749
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 54 LIMIT 1
3750
+  (0.5ms) ROLLBACK
3751
+  (0.0ms) ROLLBACK