spud_cms 0.9.13 → 0.9.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1874 @@
1
+ Connecting to database specified by database.yml
2
+ Creating scope :public. Overwriting existing method SpudPage.public.
3
+  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS
4
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
5
+  (1.9ms) SELECT DATABASE() as db
6
+  (12.4ms) select table_name from information_schema.views where table_schema = 'spud_cms_test'
7
+  (2.2ms) TRUNCATE TABLE `spud_admin_permissions`;
8
+  (1.7ms) TRUNCATE TABLE `spud_menu_items`;
9
+  (1.7ms) TRUNCATE TABLE `spud_menus`;
10
+  (2.1ms) TRUNCATE TABLE `spud_page_liquid_tags`;
11
+  (2.2ms) TRUNCATE TABLE `spud_page_partial_revisions`;
12
+  (2.2ms) TRUNCATE TABLE `spud_page_partials`;
13
+  (4.1ms) TRUNCATE TABLE `spud_pages`;
14
+  (2.0ms) TRUNCATE TABLE `spud_permalinks`;
15
+  (2.5ms) TRUNCATE TABLE `spud_snippets`;
16
+  (1.6ms) TRUNCATE TABLE `spud_user_settings`;
17
+  (1.8ms) TRUNCATE TABLE `spud_users`;
18
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
19
+  (0.1ms) BEGIN
20
+  (0.1ms) BEGIN
21
+  (0.1ms) SAVEPOINT active_record_2
22
+ SpudPage Load (1.8ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
23
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page1' LIMIT 1
24
+ SpudPage Exists (0.3ms) 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
25
+ 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
26
+ 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-02-11 20:55:14', NULL, 'html', NULL, NULL, NULL, 'Page1', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:14', NULL, 'page1', 0, 0)
27
+  (0.2ms) RELEASE SAVEPOINT active_record_2
28
+ Processing by PagesController#show as HTML
29
+ Parameters: {"id"=>"page1"}
30
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'page1' LIMIT 1
31
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (1)
32
+ Rendered /Users/gregwoods/Source/spud/spud_cms/app/views/pages/show.html.erb within layouts/application (2.9ms)
33
+ Completed 200 OK in 93ms (Views: 17.8ms | ActiveRecord: 2.4ms)
34
+  (0.5ms) ROLLBACK
35
+  (0.1ms) ROLLBACK
36
+  (0.1ms) BEGIN
37
+  (0.0ms) BEGIN
38
+  (0.2ms) SAVEPOINT active_record_2
39
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
40
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'home' LIMIT 1
41
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'home' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
42
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'home' AND `spud_pages`.`site_id` = 0) LIMIT 1
43
+ SQL (0.7ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:15', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:15', NULL, 'home', 0, 0)
44
+  (0.1ms) RELEASE SAVEPOINT active_record_2
45
+ Processing by PagesController#show as HTML
46
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'home' LIMIT 1
47
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (2)
48
+ Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.6ms)
49
+  (0.5ms) ROLLBACK
50
+  (0.2ms) ROLLBACK
51
+  (0.0ms) BEGIN
52
+  (0.0ms) BEGIN
53
+  (0.2ms) SAVEPOINT active_record_2
54
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
55
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
56
+ 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
57
+ 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
58
+ SQL (0.7ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:15', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:15', NULL, 'about', 0, 0)
59
+  (0.1ms) RELEASE SAVEPOINT active_record_2
60
+  (0.0ms) SAVEPOINT active_record_2
61
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 3)
62
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about-us' LIMIT 1
63
+ 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
64
+ SQL (0.3ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (3, 'SpudPage', '2013-02-11 20:55:15', 0, '2013-02-11 20:55:15', 'about')
65
+ SpudPage Exists (0.3ms) 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
66
+ SpudPage Exists (0.3ms) 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
67
+  (0.3ms) UPDATE `spud_pages` SET `name` = 'about us', `url_name` = 'about-us', `updated_at` = '2013-02-11 20:55:15' WHERE `spud_pages`.`id` = 3
68
+  (0.1ms) RELEASE SAVEPOINT active_record_2
69
+ Processing by PagesController#show as HTML
70
+ Parameters: {"id"=>"about"}
71
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' LIMIT 1
72
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`url_name` = 'about' LIMIT 1
73
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 3 LIMIT 1
74
+ Redirected to http://test.host/about-us
75
+ Completed 301 Moved Permanently in 10ms (ActiveRecord: 0.8ms)
76
+  (0.5ms) ROLLBACK
77
+  (0.1ms) ROLLBACK
78
+  (0.0ms) BEGIN
79
+  (0.0ms) BEGIN
80
+  (0.2ms) SAVEPOINT active_record_2
81
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
82
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
83
+ 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
84
+ 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
85
+ 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-02-11 20:55:15', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:15', NULL, 'about', 0, 1)
86
+  (0.0ms) RELEASE SAVEPOINT active_record_2
87
+ Processing by PagesController#show as HTML
88
+ Parameters: {"id"=>"about"}
89
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' LIMIT 1
90
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (4)
91
+ Redirected to http://test.host/spud/user_session/new
92
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
93
+  (0.5ms) ROLLBACK
94
+  (0.2ms) ROLLBACK
95
+  (0.1ms) BEGIN
96
+  (0.1ms) BEGIN
97
+  (0.1ms) SAVEPOINT active_record_2
98
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
99
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
100
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '85355ddc5124a49e6c913743df85e3312afa3913a80b9aafae014c9ad13b500282ffc114875bf470d1ff660cd4e15562069976cdebb9480e3f0f283f457cfa3a' LIMIT 1
101
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sNjU1RJaU0E1mW76o3e3' LIMIT 1
102
+ SQL (1.0ms) 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-02-11 20:55:15', 'd0ad8b0d677d0b9e2c70673ed080284a8a3e2dcc2779933322843abc79915862e2d1a2e06213fd789123d968344c527a39a4189dcbab020e705fe99dd6c8135a', '2013-02-11 20:55:15', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:15', 'testuser', 1, 'N8JTQU4d6EGpwSRBTUaS', 'eNkRwFUzFY2thGJxxCH', '85355ddc5124a49e6c913743df85e3312afa3913a80b9aafae014c9ad13b500282ffc114875bf470d1ff660cd4e15562069976cdebb9480e3f0f283f457cfa3a', 'sNjU1RJaU0E1mW76o3e3', 1, NULL, '2013-02-11 20:55:15')
103
+  (0.2ms) RELEASE SAVEPOINT active_record_2
104
+  (0.2ms) SAVEPOINT active_record_2
105
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:15', `last_login_ip` = '0.0.0.0', `perishable_token` = 'cdYRBLLeBmftTHZ5tpe', `updated_at` = '2013-02-11 20:55:15' WHERE `spud_users`.`id` = 1
106
+  (0.1ms) RELEASE SAVEPOINT active_record_2
107
+  (0.1ms) SAVEPOINT active_record_2
108
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
109
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
110
+ 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
111
+ 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
112
+ 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-02-11 20:55:15', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:15', NULL, 'about', 0, 1)
113
+  (0.2ms) RELEASE SAVEPOINT active_record_2
114
+ Processing by PagesController#show as HTML
115
+ Parameters: {"id"=>"about"}
116
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
117
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' LIMIT 1
118
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (5)
119
+ Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.9ms)
120
+  (0.4ms) ROLLBACK
121
+  (0.0ms) ROLLBACK
122
+  (0.0ms) BEGIN
123
+  (0.0ms) BEGIN
124
+  (0.2ms) SAVEPOINT active_record_2
125
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
126
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
127
+ 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
128
+ 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
129
+ SQL (0.9ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:15', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:15', NULL, 'about', 0, 0)
130
+  (0.1ms) RELEASE SAVEPOINT active_record_2
131
+ Processing by PagesController#show as HTML
132
+ Parameters: {"id"=>"about"}
133
+ 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
134
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`url_name` = 'about' AND `spud_permalinks`.`site_id` = 1 LIMIT 1
135
+ Completed 404 Not Found in 8ms (Views: 2.9ms | ActiveRecord: 0.6ms)
136
+  (0.4ms) ROLLBACK
137
+  (0.0ms) ROLLBACK
138
+  (0.0ms) BEGIN
139
+  (0.0ms) BEGIN
140
+  (0.2ms) SAVEPOINT active_record_2
141
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
142
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
143
+ 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
144
+ 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
145
+ SQL (0.7ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:15', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:15', NULL, 'about', 0, 0)
146
+  (0.1ms) RELEASE SAVEPOINT active_record_2
147
+  (0.1ms) SAVEPOINT active_record_2
148
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
149
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
150
+ SpudPage Exists (0.3ms) 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
151
+ 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
152
+ 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-02-11 20:55:15', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 1, NULL, '2013-02-11 20:55:15', NULL, 'about', 0, 0)
153
+  (0.1ms) RELEASE SAVEPOINT active_record_2
154
+ Processing by PagesController#show as HTML
155
+ Parameters: {"id"=>"about"}
156
+ SpudPage Load (0.5ms) 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
157
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (8)
158
+ Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.7ms)
159
+  (0.5ms) ROLLBACK
160
+  (0.1ms) ROLLBACK
161
+  (0.0ms) BEGIN
162
+  (0.0ms) BEGIN
163
+  (0.2ms) SAVEPOINT active_record_2
164
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
165
+ SpudPermalink Load (0.4ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'home' LIMIT 1
166
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'home' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
167
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'home' AND `spud_pages`.`site_id` = 0) LIMIT 1
168
+ SQL (0.9ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:15', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:15', NULL, 'home', 0, 0)
169
+  (0.1ms) RELEASE SAVEPOINT active_record_2
170
+  (0.1ms) SAVEPOINT active_record_2
171
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
172
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'home' LIMIT 1
173
+ SpudPage Exists (0.3ms) 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
174
+ 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
175
+ 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-02-11 20:55:15', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 1, NULL, '2013-02-11 20:55:15', NULL, 'home', 0, 0)
176
+  (0.2ms) RELEASE SAVEPOINT active_record_2
177
+ Processing by PagesController#show as HTML
178
+ SpudPage Load (0.5ms) 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
179
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (10)
180
+ Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.8ms)
181
+  (0.4ms) ROLLBACK
182
+  (0.1ms) ROLLBACK
183
+  (0.0ms) BEGIN
184
+  (0.0ms) BEGIN
185
+  (0.1ms) ROLLBACK
186
+  (0.1ms) ROLLBACK
187
+  (0.1ms) BEGIN
188
+  (0.1ms) BEGIN
189
+  (0.2ms) SAVEPOINT active_record_2
190
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
191
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
192
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ad23d60bc8c353b43693bf1552de80efe6be6d447cab0b03fb56b8678586eac2b6863477bbdcc7cbc9448e0f495072a785b7a0452bde961fafd7f006020a2e24' LIMIT 1
193
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'DkqMi1vOXhL3MrDtzWI' LIMIT 1
194
+ 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-02-11 20:55:15', '170393b6f8b33105cf17a6ac0807a2df68bb4f82e8d88dd0529cf6906ef5224a093b27dc08fbeec3fbc756c6c3a10dad3a65e88a25fdcf31c4e6f3025f4e006f', '2013-02-11 20:55:15', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:15', 'testuser', 1, 'doq0OoXjuVZ3Ux0t023D', 'R8617z5HGdx0pxlruV2', 'ad23d60bc8c353b43693bf1552de80efe6be6d447cab0b03fb56b8678586eac2b6863477bbdcc7cbc9448e0f495072a785b7a0452bde961fafd7f006020a2e24', 'DkqMi1vOXhL3MrDtzWI', 1, NULL, '2013-02-11 20:55:15')
195
+  (0.1ms) RELEASE SAVEPOINT active_record_2
196
+  (0.1ms) SAVEPOINT active_record_2
197
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:15', `last_login_ip` = '0.0.0.0', `perishable_token` = 'DBqvm1tOJlIcJqKq4vG', `updated_at` = '2013-02-11 20:55:15' WHERE `spud_users`.`id` = 2
198
+  (0.1ms) RELEASE SAVEPOINT active_record_2
199
+  (0.2ms) SAVEPOINT active_record_2
200
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu1' AND `spud_menus`.`site_id` = 0) LIMIT 1
201
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:15', NULL, 'Menu1', 0, '2013-02-11 20:55:15')
202
+  (0.1ms) RELEASE SAVEPOINT active_record_2
203
+  (0.3ms) SAVEPOINT active_record_2
204
+ 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-02-11 20:55:15', NULL, 0, 'Menu Item 1', 1, 'SpudMenu', 1, NULL, '2013-02-11 20:55:15', NULL)
205
+  (0.1ms) RELEASE SAVEPOINT active_record_2
206
+  (0.2ms) SAVEPOINT active_record_2
207
+ 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-02-11 20:55:15', NULL, 0, 'Menu Item 2', 1, 'SpudMenu', 1, NULL, '2013-02-11 20:55:15', NULL)
208
+  (0.1ms) RELEASE SAVEPOINT active_record_2
209
+ Processing by Spud::Admin::MenuItemsController#index as HTML
210
+ Parameters: {"menu_id"=>"1"}
211
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
212
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 LIMIT 1
213
+ Completed 200 OK in 15ms (Views: 4.0ms | ActiveRecord: 0.6ms)
214
+  (0.3ms) SELECT COUNT(*) FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 1 AND `spud_menu_items`.`parent_type` = 'SpudMenu'
215
+  (0.4ms) ROLLBACK
216
+  (0.0ms) ROLLBACK
217
+  (0.0ms) BEGIN
218
+  (0.0ms) BEGIN
219
+  (0.1ms) SAVEPOINT active_record_2
220
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
221
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
222
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b0db4113438cd16d01c5d947bc436500e23a4a22db5f1a8c3dd19a619d1643c12aa53c4f226fd75de1776417ed26572e82764448a75ad08a20bb7e06ae4eefc7' LIMIT 1
223
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TA8Yn5hPenW4mzlgb7EB' LIMIT 1
224
+ 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-02-11 20:55:15', '91668e0079856057d55c85c038a81a16a57f7803deca51cc1e9aeef81b20a3df61db2f8cf7fe3b1316e5c7b60266c939301fce6ae0e9e45303ad98f95549d79a', '2013-02-11 20:55:15', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:15', 'testuser', 1, 'idpFMHwXyZPM11dOT6', '5Mnu0dNlcU3ZADotCZZ', 'b0db4113438cd16d01c5d947bc436500e23a4a22db5f1a8c3dd19a619d1643c12aa53c4f226fd75de1776417ed26572e82764448a75ad08a20bb7e06ae4eefc7', 'TA8Yn5hPenW4mzlgb7EB', 1, NULL, '2013-02-11 20:55:15')
225
+  (0.1ms) RELEASE SAVEPOINT active_record_2
226
+  (0.2ms) SAVEPOINT active_record_2
227
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:15', `last_login_ip` = '0.0.0.0', `perishable_token` = 'H34jBmQHSAosis2l9CJm', `updated_at` = '2013-02-11 20:55:15' WHERE `spud_users`.`id` = 3
228
+  (0.1ms) RELEASE SAVEPOINT active_record_2
229
+  (0.1ms) SAVEPOINT active_record_2
230
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu2' AND `spud_menus`.`site_id` = 0) LIMIT 1
231
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:15', NULL, 'Menu2', 0, '2013-02-11 20:55:15')
232
+  (0.2ms) RELEASE SAVEPOINT active_record_2
233
+ Processing by Spud::Admin::MenuItemsController#index as HTML
234
+ Parameters: {"menu_id"=>"3"}
235
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
236
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 3 LIMIT 1
237
+ Redirected to http://test.host/spud/admin/menus
238
+ Filter chain halted as :load_menu rendered or redirected
239
+ Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
240
+  (0.4ms) ROLLBACK
241
+  (0.1ms) ROLLBACK
242
+  (0.0ms) BEGIN
243
+  (0.0ms) BEGIN
244
+  (0.2ms) SAVEPOINT active_record_2
245
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
246
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
247
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '15d100074e1219a2f0c0303ff415dfb77893dfcfb8f413c43bbaaeef7c9a28d2d5d2a40a5f997bd1f4853730098f68e0db96d1329eb5da1188e69b8dc97c6c0a' LIMIT 1
248
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '3gyRKMZRvDAA5keR87V' LIMIT 1
249
+ SQL (1.0ms) 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-02-11 20:55:15', '11f626259d69a50449264498890ee27a87d66e9981726c978759e9ebca63f58581edaeb5c6efb3780826a5ed425fedb48f87d0cc52fa9b38eb4c4dcb0c11d847', '2013-02-11 20:55:15', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:15', 'testuser', 1, 'ecn8iwUwFNkBODssWnGe', 'DSOm3pN7IwsTEoeo8wl', '15d100074e1219a2f0c0303ff415dfb77893dfcfb8f413c43bbaaeef7c9a28d2d5d2a40a5f997bd1f4853730098f68e0db96d1329eb5da1188e69b8dc97c6c0a', '3gyRKMZRvDAA5keR87V', 1, NULL, '2013-02-11 20:55:15')
250
+  (0.1ms) RELEASE SAVEPOINT active_record_2
251
+  (0.2ms) SAVEPOINT active_record_2
252
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:15', `last_login_ip` = '0.0.0.0', `perishable_token` = 'M0uF72PKzwj5uFHrWKG5', `updated_at` = '2013-02-11 20:55:15' WHERE `spud_users`.`id` = 4
253
+  (0.1ms) RELEASE SAVEPOINT active_record_2
254
+  (0.1ms) SAVEPOINT active_record_2
255
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu3' AND `spud_menus`.`site_id` = 0) LIMIT 1
256
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:15', NULL, 'Menu3', 0, '2013-02-11 20:55:15')
257
+  (0.1ms) RELEASE SAVEPOINT active_record_2
258
+ Processing by Spud::Admin::MenuItemsController#new as HTML
259
+ Parameters: {"menu_id"=>"3"}
260
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
261
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 3 LIMIT 1
262
+ Completed 200 OK in 10ms (Views: 2.1ms | ActiveRecord: 0.5ms)
263
+  (0.5ms) ROLLBACK
264
+  (0.1ms) ROLLBACK
265
+  (0.0ms) BEGIN
266
+  (0.0ms) BEGIN
267
+  (0.2ms) SAVEPOINT active_record_2
268
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
269
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
270
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1196dba8e6eb48ba4994c61ecc759d11f9d6498359c332e5ead3f908e26e63a254b7d02e81ba75906c92dee3e9c9cf3a989c322ed8df70a8f190626b913e535e' LIMIT 1
271
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ebUWdDLPuz8e8qEzsP4' LIMIT 1
272
+ 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-02-11 20:55:15', 'bf73a95cb24f73128903c49421c32aa58882d53f358d880c1afa92ac53d3f4b91ab8c4b104a8eecf6f2e6cbe07bb9e184f0e36daaa24696c03166d93c451fde8', '2013-02-11 20:55:15', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:15', 'testuser', 1, 't5dhWunMoyznASRmVwP', 'lrsV76q4kWMIfl1IQw', '1196dba8e6eb48ba4994c61ecc759d11f9d6498359c332e5ead3f908e26e63a254b7d02e81ba75906c92dee3e9c9cf3a989c322ed8df70a8f190626b913e535e', 'ebUWdDLPuz8e8qEzsP4', 1, NULL, '2013-02-11 20:55:15')
273
+  (0.1ms) RELEASE SAVEPOINT active_record_2
274
+  (0.1ms) SAVEPOINT active_record_2
275
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:15', `last_login_ip` = '0.0.0.0', `perishable_token` = 'pQTNB48Fv7HGZXSuee8', `updated_at` = '2013-02-11 20:55:15' WHERE `spud_users`.`id` = 5
276
+  (0.1ms) RELEASE SAVEPOINT active_record_2
277
+  (0.1ms) SAVEPOINT active_record_2
278
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu4' AND `spud_menus`.`site_id` = 0) LIMIT 1
279
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:15', NULL, 'Menu4', 0, '2013-02-11 20:55:15')
280
+  (0.1ms) RELEASE SAVEPOINT active_record_2
281
+  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items` 
282
+ Processing by Spud::Admin::MenuItemsController#create as HTML
283
+ Parameters: {"spud_menu_item"=>{"name"=>"Menu Item 3", "parent_type"=>"SpudMenu", "parent_id"=>nil}, "menu_id"=>"4"}
284
+ SpudUser Load (0.5ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
285
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 4 LIMIT 1
286
+  (0.2ms) SAVEPOINT active_record_2
287
+ 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-02-11 20:55:15', NULL, 0, 'Menu Item 3', 4, 'SpudMenu', 4, NULL, '2013-02-11 20:55:15', NULL)
288
+  (0.1ms) RELEASE SAVEPOINT active_record_2
289
+ Redirected to http://test.host/spud/admin/menus/4/menu_items
290
+ Completed 302 Found in 19ms (ActiveRecord: 0.0ms)
291
+  (0.3ms) SELECT COUNT(*) FROM `spud_menu_items` 
292
+  (0.4ms) ROLLBACK
293
+  (0.0ms) ROLLBACK
294
+  (0.0ms) BEGIN
295
+  (0.0ms) BEGIN
296
+  (0.2ms) SAVEPOINT active_record_2
297
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
298
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
299
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '52d8c534aeae8092fc924747bad0170ea5300910374cb0cf61ced76ca9c0f5325bcf9852b8c746d6d6c52e2b2ede42ccfa8db0b0bc5d1b929a5287636c4a7829' LIMIT 1
300
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZLIJEoSparE2giIMIPZ' LIMIT 1
301
+ SQL (1.0ms) 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-02-11 20:55:15', '82341173c8555c35ab5ca9da9a4af25506a58fefff5b8d110c62ad0a1b5cc41817230be11774309b7462223c4b4e9ff74b6b9f3fcce217834bc858a343c08c77', '2013-02-11 20:55:15', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:15', 'testuser', 1, '7rzguc1fuan39MHMIYGP', 'TLtebabuf03f67Q9FvKj', '52d8c534aeae8092fc924747bad0170ea5300910374cb0cf61ced76ca9c0f5325bcf9852b8c746d6d6c52e2b2ede42ccfa8db0b0bc5d1b929a5287636c4a7829', 'ZLIJEoSparE2giIMIPZ', 1, NULL, '2013-02-11 20:55:15')
302
+  (0.1ms) RELEASE SAVEPOINT active_record_2
303
+  (0.2ms) SAVEPOINT active_record_2
304
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:15', `last_login_ip` = '0.0.0.0', `perishable_token` = 'UdkD5lr8UeF6eku6OL3', `updated_at` = '2013-02-11 20:55:15' WHERE `spud_users`.`id` = 6
305
+  (0.2ms) RELEASE SAVEPOINT active_record_2
306
+  (0.1ms) SAVEPOINT active_record_2
307
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu5' AND `spud_menus`.`site_id` = 0) LIMIT 1
308
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:15', NULL, 'Menu5', 0, '2013-02-11 20:55:15')
309
+  (0.1ms) RELEASE SAVEPOINT active_record_2
310
+  (0.3ms) SELECT COUNT(*) FROM `spud_menu_items`
311
+ Processing by Spud::Admin::MenuItemsController#create as HTML
312
+ Parameters: {"spud_menu_item"=>{"name"=>nil, "parent_type"=>"SpudMenu", "parent_id"=>nil}, "menu_id"=>"5"}
313
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
314
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 5 LIMIT 1
315
+  (0.2ms) SAVEPOINT active_record_2
316
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_2
317
+ Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 0.0ms)
318
+  (0.3ms) SELECT COUNT(*) FROM `spud_menu_items` 
319
+  (2.5ms) ROLLBACK
320
+  (0.1ms) ROLLBACK
321
+  (0.1ms) BEGIN
322
+  (0.0ms) BEGIN
323
+  (0.2ms) SAVEPOINT active_record_2
324
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
325
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
326
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '137c927c1a369ef2db289aa4635b129b3b2b1e91a36bb81a4be61f6fd010d160d70416c692b4d1d0a5a9fcc693ee06bc15617ed9dd29f1cbb2326e54d8616ade' LIMIT 1
327
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Q9hcVfRf5TwdQSvYoF7L' LIMIT 1
328
+ 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-02-11 20:55:15', 'd2b2151f22bda645c1b6e73e192bcddde7f32e57a546c5aec8399af8e46a706b6b481266638ed2b737baa98770faab116fbf76d0d8993b4f3da236cbbc7128e4', '2013-02-11 20:55:15', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:15', 'testuser', 1, 'hfry02Tz4l7NYHmtAEh8', 'YnGnMG38661elMbAIg5C', '137c927c1a369ef2db289aa4635b129b3b2b1e91a36bb81a4be61f6fd010d160d70416c692b4d1d0a5a9fcc693ee06bc15617ed9dd29f1cbb2326e54d8616ade', 'Q9hcVfRf5TwdQSvYoF7L', 1, NULL, '2013-02-11 20:55:15')
329
+  (0.1ms) RELEASE SAVEPOINT active_record_2
330
+  (0.2ms) SAVEPOINT active_record_2
331
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:15', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VGc4mMgFp2fqHT9vY06', `updated_at` = '2013-02-11 20:55:15' WHERE `spud_users`.`id` = 7
332
+  (0.1ms) RELEASE SAVEPOINT active_record_2
333
+  (0.2ms) SAVEPOINT active_record_2
334
+ 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
335
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:15', NULL, 'Menu6', 0, '2013-02-11 20:55:15')
336
+  (0.1ms) RELEASE SAVEPOINT active_record_2
337
+  (0.1ms) SAVEPOINT active_record_2
338
+ 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-02-11 20:55:15', NULL, 0, 'Menu Item 4', 6, 'SpudMenu', 1, NULL, '2013-02-11 20:55:15', NULL)
339
+  (0.2ms) RELEASE SAVEPOINT active_record_2
340
+ Processing by Spud::Admin::MenuItemsController#create as HTML
341
+ Parameters: {"spud_menu_item"=>{"name"=>"Menu Item 5", "parent_type"=>"SpudMenu", "parent_id"=>nil, "menu_order"=>nil}, "menu_id"=>"6"}
342
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
343
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 6 LIMIT 1
344
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 6 LIMIT 1
345
+ SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 6 AND `spud_menu_items`.`parent_type` = 'SpudMenu' ORDER BY menu_order desc LIMIT 1
346
+  (0.1ms) SAVEPOINT active_record_2
347
+ 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-02-11 20:55:15', NULL, 1, 'Menu Item 5', 6, 'SpudMenu', 6, NULL, '2013-02-11 20:55:15', NULL)
348
+  (0.2ms) RELEASE SAVEPOINT active_record_2
349
+ Redirected to http://test.host/spud/admin/menus/6/menu_items
350
+ Completed 302 Found in 14ms (ActiveRecord: 0.0ms)
351
+  (0.4ms) ROLLBACK
352
+  (0.0ms) ROLLBACK
353
+  (0.0ms) BEGIN
354
+  (0.0ms) BEGIN
355
+  (0.1ms) SAVEPOINT active_record_2
356
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
357
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
358
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3db66f45fbc6f78d853a3499cc3e864fcdb4e762e47fbb9fbeb4d6f3f34818e92374fb999de9dc817942a6a2c96a8054a7ce5bc71d0b47147756575589d43f43' LIMIT 1
359
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KIV7sSM2jyi3hDmmoGiU' LIMIT 1
360
+ SQL (1.0ms) 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-02-11 20:55:15', '9cbae0a6585404697869d70057dcfcedadfeee97921cbca124bb3f20d680876210495daaed306d99756907737d12ca38e456245621b839cbdf572500144bc09b', '2013-02-11 20:55:15', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:15', 'testuser', 1, 'Wnzsw8h5lgjoJ7cIV0wi', 'NgSIv4F6xMhds2gvFKUh', '3db66f45fbc6f78d853a3499cc3e864fcdb4e762e47fbb9fbeb4d6f3f34818e92374fb999de9dc817942a6a2c96a8054a7ce5bc71d0b47147756575589d43f43', 'KIV7sSM2jyi3hDmmoGiU', 1, NULL, '2013-02-11 20:55:15')
361
+  (0.1ms) RELEASE SAVEPOINT active_record_2
362
+  (0.2ms) SAVEPOINT active_record_2
363
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:15', `last_login_ip` = '0.0.0.0', `perishable_token` = '5P9UALQ6notNkc4x6Ly', `updated_at` = '2013-02-11 20:55:15' WHERE `spud_users`.`id` = 8
364
+  (0.2ms) RELEASE SAVEPOINT active_record_2
365
+  (0.1ms) SAVEPOINT active_record_2
366
+ 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
367
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:15', NULL, 'Menu7', 0, '2013-02-11 20:55:15')
368
+  (0.1ms) RELEASE SAVEPOINT active_record_2
369
+  (0.1ms) SAVEPOINT active_record_2
370
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
371
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page2' LIMIT 1
372
+ SpudPage Exists (0.3ms) 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
373
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page2' AND `spud_pages`.`site_id` = 0) LIMIT 1
374
+ 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-02-11 20:55:15', NULL, 'html', NULL, NULL, NULL, 'Page2', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:15', NULL, 'page2', 0, 0)
375
+  (0.1ms) RELEASE SAVEPOINT active_record_2
376
+ Processing by Spud::Admin::MenuItemsController#create as HTML
377
+ Parameters: {"spud_menu_item"=>{"name"=>nil, "parent_type"=>"SpudMenu", "parent_id"=>"1", "spud_page_id"=>"11"}, "menu_id"=>"7"}
378
+ SpudUser Load (0.5ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
379
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 7 LIMIT 1
380
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 11 LIMIT 1
381
+  (0.1ms) SAVEPOINT active_record_2
382
+ 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-02-11 20:55:15', NULL, 0, 'Page2', 1, 'SpudMenuItem', 7, 11, '2013-02-11 20:55:15', NULL)
383
+  (0.2ms) RELEASE SAVEPOINT active_record_2
384
+ Redirected to http://test.host/spud/admin/menus/7/menu_items
385
+ Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
386
+  (0.5ms) ROLLBACK
387
+  (0.1ms) ROLLBACK
388
+  (0.1ms) BEGIN
389
+  (0.0ms) BEGIN
390
+  (0.2ms) SAVEPOINT active_record_2
391
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
392
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
393
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0605552644a06e4592e79a76d2102e41c15a7c3680f0275a7c0f5c882f11a3d7610c8879d7f16a2cb2cce0b98511ce13748c2d898a3e827284e842a7cc5ab13f' LIMIT 1
394
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PNS4aFoIOkJOrw8tycCf' LIMIT 1
395
+ 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-02-11 20:55:15', '58dcc2fdc6c87ac17bfee864366a11acec0b6084aec78885065aba684f2882315fff27203aa2c965af600d53f70c6635f0070f0936f7378f594c07e2abfaa616', '2013-02-11 20:55:15', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:15', 'testuser', 1, 'wN0T0rEtvzsiYQnteoK1', 'Q5gVAZl7n470hArxiTOg', '0605552644a06e4592e79a76d2102e41c15a7c3680f0275a7c0f5c882f11a3d7610c8879d7f16a2cb2cce0b98511ce13748c2d898a3e827284e842a7cc5ab13f', 'PNS4aFoIOkJOrw8tycCf', 1, NULL, '2013-02-11 20:55:15')
396
+  (0.2ms) RELEASE SAVEPOINT active_record_2
397
+  (0.1ms) SAVEPOINT active_record_2
398
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:15', `last_login_ip` = '0.0.0.0', `perishable_token` = '3wCPCm8kn8tXrO6sBNzc', `updated_at` = '2013-02-11 20:55:15' WHERE `spud_users`.`id` = 9
399
+  (0.1ms) RELEASE SAVEPOINT active_record_2
400
+  (0.1ms) SAVEPOINT active_record_2
401
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu8' AND `spud_menus`.`site_id` = 0) LIMIT 1
402
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:15', NULL, 'Menu8', 0, '2013-02-11 20:55:15')
403
+  (0.1ms) RELEASE SAVEPOINT active_record_2
404
+  (0.1ms) SAVEPOINT active_record_2
405
+ 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-02-11 20:55:15', NULL, 0, 'Menu Item 6', 8, 'SpudMenu', 1, NULL, '2013-02-11 20:55:15', NULL)
406
+  (0.2ms) RELEASE SAVEPOINT active_record_2
407
+ Processing by Spud::Admin::MenuItemsController#create as HTML
408
+ Parameters: {"spud_menu_item"=>{"name"=>"Menu Item 7", "parent_type"=>"SpudMenu", "parent_id"=>"7"}, "menu_id"=>"8"}
409
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
410
+ SpudMenu Load (0.5ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 8 LIMIT 1
411
+  (0.2ms) SAVEPOINT active_record_2
412
+ 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-02-11 20:55:15', NULL, 0, 'Menu Item 7', 7, 'SpudMenuItem', 8, NULL, '2013-02-11 20:55:15', NULL)
413
+  (0.1ms) RELEASE SAVEPOINT active_record_2
414
+ Redirected to http://test.host/spud/admin/menus/8/menu_items
415
+ Completed 302 Found in 61ms (ActiveRecord: 0.0ms)
416
+ SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 7 LIMIT 1
417
+  (0.8ms) ROLLBACK
418
+  (0.1ms) ROLLBACK
419
+  (0.1ms) BEGIN
420
+  (0.0ms) BEGIN
421
+  (0.2ms) SAVEPOINT active_record_2
422
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
423
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
424
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fb84b543fa00bfa2aa67e40227bc5eb85d5072823e62c79fcdf6ceb1800ef2d36babdecf7567eef8b0072568bc07e9c452b04cb34dce94a2c5bf6da2c8ed230c' LIMIT 1
425
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YaSLzqkUnmaJrgqYm1Uw' LIMIT 1
426
+ SQL (0.9ms) 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-02-11 20:55:15', '841a115c85a7fde0b60ae724ec657a3b5deb7c9474b8da3e9d286e15ab246b90560b29015de9eea9c6ff522d812b2f86499a97297aa932a2eab5738112b0bce6', '2013-02-11 20:55:15', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:15', 'testuser', 1, 'sTPjJInut3XAuyok5exS', 'YkWcGbzsBCeT1UL2Ph', 'fb84b543fa00bfa2aa67e40227bc5eb85d5072823e62c79fcdf6ceb1800ef2d36babdecf7567eef8b0072568bc07e9c452b04cb34dce94a2c5bf6da2c8ed230c', 'YaSLzqkUnmaJrgqYm1Uw', 1, NULL, '2013-02-11 20:55:15')
427
+  (0.2ms) RELEASE SAVEPOINT active_record_2
428
+  (0.2ms) SAVEPOINT active_record_2
429
+  (0.5ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:15', `last_login_ip` = '0.0.0.0', `perishable_token` = 'e3aK2hgqduR9a7YrfyZ', `updated_at` = '2013-02-11 20:55:15' WHERE `spud_users`.`id` = 10
430
+  (0.1ms) RELEASE SAVEPOINT active_record_2
431
+  (0.2ms) SAVEPOINT active_record_2
432
+ 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
433
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:15', NULL, 'Menu9', 0, '2013-02-11 20:55:15')
434
+  (0.1ms) RELEASE SAVEPOINT active_record_2
435
+  (0.1ms) SAVEPOINT active_record_2
436
+ 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-02-11 20:55:15', NULL, 0, 'Menu Item 8', 1, 'SpudMenu', 1, NULL, '2013-02-11 20:55:15', NULL)
437
+  (0.2ms) RELEASE SAVEPOINT active_record_2
438
+  (0.1ms) SAVEPOINT active_record_2
439
+ 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-02-11 20:55:15', NULL, 0, 'Menu Item 9', 1, 'SpudMenu', 1, NULL, '2013-02-11 20:55:15', NULL)
440
+  (0.2ms) RELEASE SAVEPOINT active_record_2
441
+ Processing by Spud::Admin::MenuItemsController#edit as HTML
442
+ Parameters: {"menu_id"=>"9", "id"=>"10"}
443
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
444
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 9 LIMIT 1
445
+ SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 10 LIMIT 1
446
+ Completed 200 OK in 10ms (Views: 2.1ms | ActiveRecord: 1.0ms)
447
+  (3.0ms) ROLLBACK
448
+  (0.2ms) ROLLBACK
449
+  (0.1ms) BEGIN
450
+  (0.0ms) BEGIN
451
+  (0.2ms) SAVEPOINT active_record_2
452
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
453
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
454
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '154ca17a44d1ca4326c9aecc410af5616840b58fddcd3d8c0fd947b463693275877e35d999baf4435748b11ef97833b7f0d0abd05e4a74cb96fea515cbae165f' LIMIT 1
455
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WGhvWwKO5LpiEfAPY3' LIMIT 1
456
+ SQL (0.9ms) 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-02-11 20:55:15', 'df169618fd4cd07f6e5cedf9754fbf5af2c540a0c93c5c3bc2bca4b74c3739d78df1a7c87b1114caa7b6cb52cea6ce647c91a1b861067a10d038ef365f8dfacd', '2013-02-11 20:55:15', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:15', 'testuser', 1, 'Az7TD2DDigocOOLgfHKZ', 'mo9O6hqqwqU1UCXeV7g', '154ca17a44d1ca4326c9aecc410af5616840b58fddcd3d8c0fd947b463693275877e35d999baf4435748b11ef97833b7f0d0abd05e4a74cb96fea515cbae165f', 'WGhvWwKO5LpiEfAPY3', 1, NULL, '2013-02-11 20:55:15')
457
+  (0.1ms) RELEASE SAVEPOINT active_record_2
458
+  (0.1ms) SAVEPOINT active_record_2
459
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:15', `last_login_ip` = '0.0.0.0', `perishable_token` = 'PiYA4pxiEe3yTIgmcA36', `updated_at` = '2013-02-11 20:55:15' WHERE `spud_users`.`id` = 11
460
+  (0.1ms) RELEASE SAVEPOINT active_record_2
461
+  (0.1ms) SAVEPOINT active_record_2
462
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu10' AND `spud_menus`.`site_id` = 0) LIMIT 1
463
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:15', NULL, 'Menu10', 0, '2013-02-11 20:55:15')
464
+  (0.1ms) RELEASE SAVEPOINT active_record_2
465
+ Processing by Spud::Admin::MenuItemsController#edit as HTML
466
+ Parameters: {"menu_id"=>"10", "id"=>"345"}
467
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1
468
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 10 LIMIT 1
469
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 345 LIMIT 1
470
+ Redirected to http://test.host/spud/admin/menus/10/menu_items
471
+ Filter chain halted as :load_menu_item rendered or redirected
472
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
473
+  (0.6ms) ROLLBACK
474
+  (0.0ms) ROLLBACK
475
+  (0.0ms) BEGIN
476
+  (0.0ms) BEGIN
477
+  (0.2ms) SAVEPOINT active_record_2
478
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
479
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
480
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f4c292f0bfcd45f56504c3a337a15e31b3aff405dc30978034e6884308ef6d87510381e734b27cccf7a0bfae3aa40997966885345cd70ca48e6607e0788c2b5a' LIMIT 1
481
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yYGwb12VynwSozVr2LQ' LIMIT 1
482
+ 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-02-11 20:55:15', 'dc0435e4526f9519ae4566b6fbe2aa5c2f78d5b2b1190f44473b1f1106bf4551477165324f9917a5868323552a3b344a9debf467286fc85da940d7fe153020f4', '2013-02-11 20:55:15', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:15', 'testuser', 1, 'r8WTrYiLjjFB29cUrwy', 'Q3F0yS923lWVRrVRqcu', 'f4c292f0bfcd45f56504c3a337a15e31b3aff405dc30978034e6884308ef6d87510381e734b27cccf7a0bfae3aa40997966885345cd70ca48e6607e0788c2b5a', 'yYGwb12VynwSozVr2LQ', 1, NULL, '2013-02-11 20:55:15')
483
+  (0.1ms) RELEASE SAVEPOINT active_record_2
484
+  (0.2ms) SAVEPOINT active_record_2
485
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:15', `last_login_ip` = '0.0.0.0', `perishable_token` = 'DyTPvysNUlzndCuSipz0', `updated_at` = '2013-02-11 20:55:15' WHERE `spud_users`.`id` = 12
486
+  (0.1ms) RELEASE SAVEPOINT active_record_2
487
+  (0.1ms) SAVEPOINT active_record_2
488
+ 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
489
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:15', NULL, 'Menu11', 0, '2013-02-11 20:55:15')
490
+  (0.2ms) RELEASE SAVEPOINT active_record_2
491
+  (0.1ms) SAVEPOINT active_record_2
492
+ 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-02-11 20:55:15', NULL, 0, 'Menu Item 10', 1, 'SpudMenu', 1, NULL, '2013-02-11 20:55:15', NULL)
493
+  (0.2ms) RELEASE SAVEPOINT active_record_2
494
+ Processing by Spud::Admin::MenuItemsController#update as HTML
495
+ 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"}
496
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
497
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 11 LIMIT 1
498
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 11 LIMIT 1
499
+  (0.1ms) SAVEPOINT active_record_2
500
+  (0.3ms) UPDATE `spud_menu_items` SET `parent_id` = 11, `name` = 'MyMenu', `spud_menu_id` = 11, `updated_at` = '2013-02-11 20:55:15' WHERE `spud_menu_items`.`id` = 11
501
+  (0.1ms) RELEASE SAVEPOINT active_record_2
502
+ Redirected to http://test.host/spud/admin/menus/11/menu_items
503
+ Completed 302 Found in 15ms (ActiveRecord: 0.0ms)
504
+ SpudMenuItem Load (0.4ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 11 LIMIT 1
505
+  (0.6ms) ROLLBACK
506
+  (0.1ms) ROLLBACK
507
+  (0.1ms) BEGIN
508
+  (0.0ms) BEGIN
509
+  (0.2ms) SAVEPOINT active_record_2
510
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
511
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
512
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3ec43d851401a564ee48326fba7204e074305451f34405e60a65daa6d570a9dde0988b4a0e8a25569b8c8e75ee8c093532c78efdb723e39bf35e29987cdc6a6c' LIMIT 1
513
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'GKfoYqnDbzJR4wHfABv0' LIMIT 1
514
+ SQL (0.9ms) 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-02-11 20:55:16', '7a7bffd9256fa0d80d245fdd3f5a46c2b390228d22cdec706adac75f8ce5f497b2b35df031bbd5a9be3cf3d678d988106f23da2507459635cd278a4813b2f424', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, '0oRXR7qXo5zdbpAVvkM', 'kpsDHUSFDDC9uq8a6oqg', '3ec43d851401a564ee48326fba7204e074305451f34405e60a65daa6d570a9dde0988b4a0e8a25569b8c8e75ee8c093532c78efdb723e39bf35e29987cdc6a6c', 'GKfoYqnDbzJR4wHfABv0', 1, NULL, '2013-02-11 20:55:16')
515
+  (0.1ms) RELEASE SAVEPOINT active_record_2
516
+  (0.2ms) SAVEPOINT active_record_2
517
+  (1.1ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YcMdymyhbMWEXscfmqj', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 13
518
+  (0.2ms) RELEASE SAVEPOINT active_record_2
519
+  (0.1ms) SAVEPOINT active_record_2
520
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu12' AND `spud_menus`.`site_id` = 0) LIMIT 1
521
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:16', NULL, 'Menu12', 0, '2013-02-11 20:55:16')
522
+  (0.0ms) RELEASE SAVEPOINT active_record_2
523
+  (0.0ms) SAVEPOINT active_record_2
524
+ 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-02-11 20:55:16', NULL, 0, 'Menu Item 11', 1, 'SpudMenu', 1, NULL, '2013-02-11 20:55:16', NULL)
525
+  (0.2ms) RELEASE SAVEPOINT active_record_2
526
+  (0.1ms) SAVEPOINT active_record_2
527
+ 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-02-11 20:55:16', NULL, 0, 'Menu Item 12', 1, 'SpudMenu', 1, NULL, '2013-02-11 20:55:16', NULL)
528
+  (0.2ms) RELEASE SAVEPOINT active_record_2
529
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 LIMIT 1
530
+ Processing by Spud::Admin::MenuItemsController#update as HTML
531
+ 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"}
532
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
533
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 12 LIMIT 1
534
+ SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 13 LIMIT 1
535
+  (0.2ms) SAVEPOINT active_record_2
536
+  (0.3ms) UPDATE `spud_menu_items` SET `parent_type` = 'SpudMenuItem', `parent_id` = 12, `spud_menu_id` = 12, `updated_at` = '2013-02-11 20:55:16' WHERE `spud_menu_items`.`id` = 13
537
+  (0.1ms) RELEASE SAVEPOINT active_record_2
538
+ Redirected to http://test.host/spud/admin/menus/12/menu_items
539
+ Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
540
+ SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 13 LIMIT 1
541
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 12 LIMIT 1
542
+  (0.5ms) ROLLBACK
543
+  (0.0ms) ROLLBACK
544
+  (0.0ms) BEGIN
545
+  (0.0ms) BEGIN
546
+  (0.2ms) SAVEPOINT active_record_2
547
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
548
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
549
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '563c991c3196c065b2658ee92624ac6cc3221eaa37e9e5e3938d595b2d7289701b6c7106fb89629fd6a484cb5f3e07ff7d1b0f05aa861e0614602c35a3106b6e' LIMIT 1
550
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KSo9nZiJ1SE7QOsSz5q' LIMIT 1
551
+ SQL (0.9ms) 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-02-11 20:55:16', 'b960a115d9abb3a22316585883d7063d6e8370d0de08d7a69c765628804f1d0e5e0b7726a9bc2ba1d3f6e01764c7a7d9e0af3221e2061808d85e386d10c89f86', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'mzCCdulOLcTZ8Q7wfuYc', '1c9U2sVMOzxMvTmFoS6i', '563c991c3196c065b2658ee92624ac6cc3221eaa37e9e5e3938d595b2d7289701b6c7106fb89629fd6a484cb5f3e07ff7d1b0f05aa861e0614602c35a3106b6e', 'KSo9nZiJ1SE7QOsSz5q', 1, NULL, '2013-02-11 20:55:16')
552
+  (0.1ms) RELEASE SAVEPOINT active_record_2
553
+  (0.2ms) SAVEPOINT active_record_2
554
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'oucUu2J34OHxmWiN9Ih', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 14
555
+  (0.0ms) RELEASE SAVEPOINT active_record_2
556
+  (0.2ms) SAVEPOINT active_record_2
557
+ 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
558
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:16', NULL, 'Menu13', 0, '2013-02-11 20:55:16')
559
+  (0.1ms) RELEASE SAVEPOINT active_record_2
560
+  (0.2ms) SAVEPOINT active_record_2
561
+ 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-02-11 20:55:16', NULL, 0, 'Menu Item 13', 13, 'SpudMenu', 1, NULL, '2013-02-11 20:55:16', NULL)
562
+  (0.2ms) RELEASE SAVEPOINT active_record_2
563
+  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items`
564
+ Processing by Spud::Admin::MenuItemsController#destroy as HTML
565
+ Parameters: {"menu_id"=>"13", "id"=>"14"}
566
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
567
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 13 LIMIT 1
568
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 14 LIMIT 1
569
+  (0.1ms) SAVEPOINT active_record_2
570
+ 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'
571
+ SQL (0.3ms) DELETE FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 14
572
+  (0.1ms) RELEASE SAVEPOINT active_record_2
573
+ Redirected to http://test.host/spud/admin/menus/13/menu_items
574
+ Completed 302 Found in 19ms (ActiveRecord: 0.0ms)
575
+  (0.3ms) SELECT COUNT(*) FROM `spud_menu_items`
576
+  (0.6ms) ROLLBACK
577
+  (0.0ms) ROLLBACK
578
+  (0.0ms) BEGIN
579
+  (0.0ms) BEGIN
580
+  (0.2ms) SAVEPOINT active_record_2
581
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
582
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
583
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'bea6d78997695b707f90e76f83a49fd3c992616affd216f7d0ab87738fc4672869cbc89bcd5664fb6b4904bfbd0660214ab5d284351b8281575e264e9b13e02a' LIMIT 1
584
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HTTT9vhfn0XTjymjQXp' LIMIT 1
585
+ 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-02-11 20:55:16', '5487ff64960635249212ec3673e726cf1f0414ceb6d44c0837bec4497f7e4b5f0aeec43560449f3d54695c8b512f78e50b0e669936c610fa94fb147468e61505', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'rzyt041KHDZYSgxaiz6a', 'XFstE2jpC4pHwFsv6GIY', 'bea6d78997695b707f90e76f83a49fd3c992616affd216f7d0ab87738fc4672869cbc89bcd5664fb6b4904bfbd0660214ab5d284351b8281575e264e9b13e02a', 'HTTT9vhfn0XTjymjQXp', 1, NULL, '2013-02-11 20:55:16')
586
+  (0.1ms) RELEASE SAVEPOINT active_record_2
587
+  (0.1ms) SAVEPOINT active_record_2
588
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'zB1zdQ73xK4y7TklDIO', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 15
589
+  (0.1ms) RELEASE SAVEPOINT active_record_2
590
+  (0.1ms) SAVEPOINT active_record_2
591
+ 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
592
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:16', NULL, 'Menu14', 0, '2013-02-11 20:55:16')
593
+  (0.1ms) RELEASE SAVEPOINT active_record_2
594
+  (0.1ms) SAVEPOINT active_record_2
595
+ 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-02-11 20:55:16', NULL, 0, 'Menu Item 14', 1, 'SpudMenu', 1, NULL, '2013-02-11 20:55:16', NULL)
596
+  (0.2ms) RELEASE SAVEPOINT active_record_2
597
+ Processing by Spud::Admin::MenuItemsController#edit as HTML
598
+ Parameters: {"id"=>"15", "menu_id"=>"14"}
599
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1
600
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 14 LIMIT 1
601
+ Redirected to http://test.host/spud/admin/menus
602
+ Filter chain halted as :load_menu rendered or redirected
603
+ Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
604
+  (0.6ms) ROLLBACK
605
+  (0.1ms) ROLLBACK
606
+  (0.0ms) BEGIN
607
+  (0.0ms) BEGIN
608
+  (0.1ms) SAVEPOINT active_record_2
609
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
610
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
611
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'dd3e4caa5c664559ffe08c1b18fe5123b981c5e09b15aa0d5cdfd85c1f265907be1e5f9bdb3299126ea474708bf505d3012690d4ad850d8e43a8ba4fa4f271db' LIMIT 1
612
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yWh0D4eyKOeT3jqnBcJ2' LIMIT 1
613
+ SQL (1.0ms) 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-02-11 20:55:16', 'e0e73649e772c6ba03f0edc96ae6ad68f6a0e859f57821efc88cf12a28868b18ca532b4bdbf8de5397f59563a1af5402ade04b48f4cfa405db2776699e48afda', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'LQu0etISqscwd87VbRkC', 'rGeYEap4UWsjFc1esS7V', 'dd3e4caa5c664559ffe08c1b18fe5123b981c5e09b15aa0d5cdfd85c1f265907be1e5f9bdb3299126ea474708bf505d3012690d4ad850d8e43a8ba4fa4f271db', 'yWh0D4eyKOeT3jqnBcJ2', 1, NULL, '2013-02-11 20:55:16')
614
+  (0.1ms) RELEASE SAVEPOINT active_record_2
615
+  (0.2ms) SAVEPOINT active_record_2
616
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'u3EBhY40mZkwMZnUnug6', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 16
617
+  (0.0ms) RELEASE SAVEPOINT active_record_2
618
+  (0.1ms) SAVEPOINT active_record_2
619
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu15' AND `spud_menus`.`site_id` = 0) LIMIT 1
620
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:16', NULL, 'Menu15', 0, '2013-02-11 20:55:16')
621
+  (0.1ms) RELEASE SAVEPOINT active_record_2
622
+  (0.1ms) SAVEPOINT active_record_2
623
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu16' AND `spud_menus`.`site_id` = 0) LIMIT 1
624
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:16', NULL, 'Menu16', 0, '2013-02-11 20:55:16')
625
+  (0.1ms) RELEASE SAVEPOINT active_record_2
626
+ Processing by Spud::Admin::MenusController#index as HTML
627
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 16 LIMIT 1
628
+ Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.3ms)
629
+  (0.4ms) SELECT COUNT(*) FROM `spud_menus` WHERE `spud_menus`.`site_id` = 0
630
+  (0.5ms) ROLLBACK
631
+  (0.1ms) ROLLBACK
632
+  (0.1ms) BEGIN
633
+  (0.0ms) BEGIN
634
+  (0.1ms) SAVEPOINT active_record_2
635
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
636
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
637
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '48c21f7e64b44851ff1c74b23aced0271244b060ee93751edb802409e0b47f7b7bfe9cd9318e5e65a97c2b04bccafb4a01cbd9681dc5045557973e3745bd4f83' LIMIT 1
638
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8G9YiqJcpNUOh490jFM0' LIMIT 1
639
+ 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-02-11 20:55:16', '85cd47291708a76c2dbcbb613b9205f744b421683903cb2a9736557e9b06ab5a554fe1a1e5d58cd6502c4e3b3a44dde1091925fcee4555a43c3897b718137b4e', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'URdmaSzZVa7FCxGzaYL', 'T4za9OsRL3SBxozwvQCz', '48c21f7e64b44851ff1c74b23aced0271244b060ee93751edb802409e0b47f7b7bfe9cd9318e5e65a97c2b04bccafb4a01cbd9681dc5045557973e3745bd4f83', '8G9YiqJcpNUOh490jFM0', 1, NULL, '2013-02-11 20:55:16')
640
+  (0.2ms) RELEASE SAVEPOINT active_record_2
641
+  (0.1ms) SAVEPOINT active_record_2
642
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gFuH7V7rXQnvDrRt0oY', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 17
643
+  (0.2ms) RELEASE SAVEPOINT active_record_2
644
+ Processing by Spud::Admin::MenusController#new as HTML
645
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 17 LIMIT 1
646
+ Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 0.3ms)
647
+  (0.5ms) ROLLBACK
648
+  (0.1ms) ROLLBACK
649
+  (0.1ms) BEGIN
650
+  (0.1ms) BEGIN
651
+  (0.1ms) SAVEPOINT active_record_2
652
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
653
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
654
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '27ce5795840766dc5baedb8eee4798fbc23b23e3ef64785ec303f04d03fe73c644f9fdf72bdd6c13f9c81e7ca262d96f716f277fd5b8a50277f8564fe6989b30' LIMIT 1
655
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iO62wH0eELYfAGCp0QQ0' LIMIT 1
656
+ SQL (0.9ms) 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-02-11 20:55:16', '0168e000a40da8df77d5d46039d5fd3e9ea64b283a24c6d12681c7149ca05f09caeeb063e2d4ec1698be3232fb2e35531a98245c121070a60ed8ee82d4fffe95', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'UthMFdN4p8Muoz2QtyZO', 'u8gAI84uHcCCFzSAzp6', '27ce5795840766dc5baedb8eee4798fbc23b23e3ef64785ec303f04d03fe73c644f9fdf72bdd6c13f9c81e7ca262d96f716f277fd5b8a50277f8564fe6989b30', 'iO62wH0eELYfAGCp0QQ0', 1, NULL, '2013-02-11 20:55:16')
657
+  (0.1ms) RELEASE SAVEPOINT active_record_2
658
+  (0.1ms) SAVEPOINT active_record_2
659
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = '3yIoBNlVpPliz4mbBhN', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 18
660
+  (0.2ms) RELEASE SAVEPOINT active_record_2
661
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus` 
662
+ Processing by Spud::Admin::MenusController#create as HTML
663
+ Parameters: {"spud_menu"=>{"name"=>"Menu17"}}
664
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 18 LIMIT 1
665
+  (0.1ms) SAVEPOINT active_record_2
666
+ 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
667
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:16', NULL, 'Menu17', 0, '2013-02-11 20:55:16')
668
+  (0.2ms) RELEASE SAVEPOINT active_record_2
669
+ Redirected to http://test.host/spud/admin/menus/17/menu_items
670
+ Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
671
+  (0.3ms) SELECT COUNT(*) FROM `spud_menus` 
672
+  (0.5ms) ROLLBACK
673
+  (0.1ms) ROLLBACK
674
+  (0.0ms) BEGIN
675
+  (0.0ms) BEGIN
676
+  (0.2ms) SAVEPOINT active_record_2
677
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
678
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
679
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1f18ae19a3270073810a056d854ad10af81cbe8df88f9a5d2297e621b3805b9979c22c5d97703bbe278c48c7774a6b930bf8259f91667c243715b39dbeb3aa4d' LIMIT 1
680
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QvYu4t4Eequ18kuEtf' LIMIT 1
681
+ 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-02-11 20:55:16', '405314ea5025d1ba7a80534b3195447c1694668270e974ad9cd8777168779da2900b777dcd5bc38d8befe0f5113534b014d73de92c23b6ca863181cbfb396f08', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'haaZ9SoCBBQS2wLXyMKQ', 'I84zMDGy3HCr8gmB14Po', '1f18ae19a3270073810a056d854ad10af81cbe8df88f9a5d2297e621b3805b9979c22c5d97703bbe278c48c7774a6b930bf8259f91667c243715b39dbeb3aa4d', 'QvYu4t4Eequ18kuEtf', 1, NULL, '2013-02-11 20:55:16')
682
+  (0.1ms) RELEASE SAVEPOINT active_record_2
683
+  (0.1ms) SAVEPOINT active_record_2
684
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ivcUcQZnp0DV1Ac4UxXA', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 19
685
+  (0.2ms) RELEASE SAVEPOINT active_record_2
686
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus`
687
+ Processing by Spud::Admin::MenusController#create as HTML
688
+ Parameters: {"spud_menu"=>{"name"=>nil}}
689
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 19 LIMIT 1
690
+  (0.1ms) SAVEPOINT active_record_2
691
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` IS NULL AND `spud_menus`.`site_id` = 0) LIMIT 1
692
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2
693
+ Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.0ms)
694
+  (0.3ms) SELECT COUNT(*) FROM `spud_menus` 
695
+  (0.9ms) ROLLBACK
696
+  (0.1ms) ROLLBACK
697
+  (0.1ms) BEGIN
698
+  (0.1ms) BEGIN
699
+  (0.2ms) SAVEPOINT active_record_2
700
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
701
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
702
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c14cf117e698cd3f9c24a3c8ade5ccf1efa8380a56b5cf5b38c4fc28a567666c004eb0fa6d8bfa7359b8628a6ebce5d31fc88a5e0f5d14c33b6e7707103c3f49' LIMIT 1
703
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gKCNlDvzgp5u9TOZ9Anh' LIMIT 1
704
+ SQL (1.0ms) 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-02-11 20:55:16', '009eef46566c68c143db818ab2ca0b5e086b6801578697aa49e14a5f565dc852d68e7a75dc8731711fa6b0a2d9d3500ad15d07b776a4dcff058f8999f711b9a9', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'X8j7ko4TOwVkwEtVoZvc', 'zSRK3cmknA0h29iyEFKW', 'c14cf117e698cd3f9c24a3c8ade5ccf1efa8380a56b5cf5b38c4fc28a567666c004eb0fa6d8bfa7359b8628a6ebce5d31fc88a5e0f5d14c33b6e7707103c3f49', 'gKCNlDvzgp5u9TOZ9Anh', 1, NULL, '2013-02-11 20:55:16')
705
+  (0.2ms) RELEASE SAVEPOINT active_record_2
706
+  (0.2ms) SAVEPOINT active_record_2
707
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qTpxUPGI0cvCuACf53s', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 20
708
+  (0.2ms) RELEASE SAVEPOINT active_record_2
709
+  (0.2ms) SAVEPOINT active_record_2
710
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu18' AND `spud_menus`.`site_id` = 1) LIMIT 1
711
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:16', NULL, 'Menu18', 1, '2013-02-11 20:55:16')
712
+  (0.1ms) RELEASE SAVEPOINT active_record_2
713
+ Processing by Spud::Admin::MenusController#edit as HTML
714
+ Parameters: {"id"=>"18"}
715
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 20 LIMIT 1
716
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 18 LIMIT 1
717
+ Redirected to http://test.host/spud/admin/menus
718
+ Filter chain halted as :load_menu rendered or redirected
719
+ Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
720
+  (0.6ms) ROLLBACK
721
+  (0.2ms) ROLLBACK
722
+  (0.0ms) BEGIN
723
+  (0.0ms) BEGIN
724
+  (0.1ms) SAVEPOINT active_record_2
725
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
726
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
727
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6c876ba1594ef34a877b41a6de0ab0f89bb43614a676dde6423cfb664124e48146cddf9d3c5d75b50e4b9400d7c32b35f73489cc14340df8e097d0b18315c1c3' LIMIT 1
728
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZqhMR26qwDaKfl3BXTiE' LIMIT 1
729
+ SQL (0.8ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-11 20:55:16', '842af3dd35d3f94735dc5e0e4feba0532b1ec592016a48a06566ed8632bb675d6fa2d303a1450e43a0dcda783f622d970d3d75e02b834ce3096140bfe8ba2719', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'NTrAuY9pCNIGZRf7FkK', 'VPxtk2iqu8YEyQVmiQ1T', '6c876ba1594ef34a877b41a6de0ab0f89bb43614a676dde6423cfb664124e48146cddf9d3c5d75b50e4b9400d7c32b35f73489cc14340df8e097d0b18315c1c3', 'ZqhMR26qwDaKfl3BXTiE', 1, NULL, '2013-02-11 20:55:16')
730
+  (0.1ms) RELEASE SAVEPOINT active_record_2
731
+  (0.2ms) SAVEPOINT active_record_2
732
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'NmLfe3CnFxnm0V8ECUJV', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 21
733
+  (0.1ms) RELEASE SAVEPOINT active_record_2
734
+  (0.1ms) SAVEPOINT active_record_2
735
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu19' AND `spud_menus`.`site_id` = 0) LIMIT 1
736
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:16', NULL, 'Menu19', 0, '2013-02-11 20:55:16')
737
+  (0.1ms) RELEASE SAVEPOINT active_record_2
738
+  (0.1ms) SAVEPOINT active_record_2
739
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu20' AND `spud_menus`.`site_id` = 0) LIMIT 1
740
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:16', NULL, 'Menu20', 0, '2013-02-11 20:55:16')
741
+  (0.1ms) RELEASE SAVEPOINT active_record_2
742
+ Processing by Spud::Admin::MenusController#edit as HTML
743
+ Parameters: {"id"=>"20"}
744
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 21 LIMIT 1
745
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 20 LIMIT 1
746
+ Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 0.5ms)
747
+  (0.6ms) ROLLBACK
748
+  (0.1ms) ROLLBACK
749
+  (0.1ms) BEGIN
750
+  (0.0ms) BEGIN
751
+  (0.2ms) SAVEPOINT active_record_2
752
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
753
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
754
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '80ac03782b9a61013612806da3cab56aba9ea74d76a120c6b365d2ed659a0aec2273af7c9d97cc9dee6ab7120f54aa9d07254ddab42fb582dc53d60a846792c6' LIMIT 1
755
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vcQQlpQh7R5zlR0lFOB' LIMIT 1
756
+ SQL (0.8ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-11 20:55:16', '4076f6c07b337dce42be095217d26bb1531bcb6a00e43a42e0941d9e47206985c2071feedc6346a05f6085a5c1ef59be21ad0d58adf47c295ae1c3bc6c3dfd41', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'EJM0q3OYjjPe8ji8Wp7', 'ox0QywToAnBfcEAWiRlY', '80ac03782b9a61013612806da3cab56aba9ea74d76a120c6b365d2ed659a0aec2273af7c9d97cc9dee6ab7120f54aa9d07254ddab42fb582dc53d60a846792c6', 'vcQQlpQh7R5zlR0lFOB', 1, NULL, '2013-02-11 20:55:16')
757
+  (0.1ms) RELEASE SAVEPOINT active_record_2
758
+  (0.2ms) SAVEPOINT active_record_2
759
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'twqmfcnGreRTZ90AZW7J', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 22
760
+  (0.2ms) RELEASE SAVEPOINT active_record_2
761
+ Processing by Spud::Admin::MenusController#edit as HTML
762
+ Parameters: {"id"=>"3"}
763
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1
764
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 3 LIMIT 1
765
+ Redirected to http://test.host/spud/admin/menus
766
+ Filter chain halted as :load_menu rendered or redirected
767
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
768
+  (0.5ms) ROLLBACK
769
+  (0.1ms) ROLLBACK
770
+  (0.1ms) BEGIN
771
+  (0.1ms) BEGIN
772
+  (0.1ms) SAVEPOINT active_record_2
773
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
774
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
775
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3ff833c5c00e6852541e717d700882c76cf63dbffa1b903851ddcbcf9b92e1348c1097bad9223039fbc1f0898843fa4796fa8862e54feccda7569ed3b83bfd26' LIMIT 1
776
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gvZZt8kC2WqlNjtkIh4' LIMIT 1
777
+ SQL (1.0ms) 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-02-11 20:55:16', '9446fafb3320019c104121ef99b13b25e1fb3fd1e557eac28a1cfeb675f891cd7a8ca9524fb2c1d5f58004ec6d66ec2601bd8e7548b096748775487132dcbf49', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'lnGY8maH254Nx1yjVscY', 'Upih7dchrdkLJVFZwDl', '3ff833c5c00e6852541e717d700882c76cf63dbffa1b903851ddcbcf9b92e1348c1097bad9223039fbc1f0898843fa4796fa8862e54feccda7569ed3b83bfd26', 'gvZZt8kC2WqlNjtkIh4', 1, NULL, '2013-02-11 20:55:16')
778
+  (0.1ms) RELEASE SAVEPOINT active_record_2
779
+  (0.2ms) SAVEPOINT active_record_2
780
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = '8DWZhr9n8xpmVZrzLIhs', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 23
781
+  (0.1ms) RELEASE SAVEPOINT active_record_2
782
+  (0.1ms) SAVEPOINT active_record_2
783
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu21' AND `spud_menus`.`site_id` = 0) LIMIT 1
784
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:16', NULL, 'Menu21', 0, '2013-02-11 20:55:16')
785
+  (0.1ms) RELEASE SAVEPOINT active_record_2
786
+ Processing by Spud::Admin::MenusController#update as HTML
787
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "description"=>nil, "created_at"=>"2013-02-11 20:55:16 UTC", "updated_at"=>"2013-02-11 20:55:16 UTC"}, "id"=>"21"}
788
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 23 LIMIT 1
789
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 21 LIMIT 1
790
+  (0.1ms) SAVEPOINT active_record_2
791
+ SpudMenu Exists (0.5ms) 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
792
+  (0.3ms) UPDATE `spud_menus` SET `name` = 'MyMenu', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_menus`.`id` = 21
793
+  (0.1ms) RELEASE SAVEPOINT active_record_2
794
+ Redirected to http://test.host/spud/admin/menus/21/menu_items
795
+ Completed 302 Found in 17ms (ActiveRecord: 0.0ms)
796
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 21 LIMIT 1
797
+  (0.5ms) ROLLBACK
798
+  (0.1ms) ROLLBACK
799
+  (0.0ms) BEGIN
800
+  (0.0ms) BEGIN
801
+  (0.2ms) SAVEPOINT active_record_2
802
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
803
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
804
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e43cba95e80da7fc9a712e1e5d14761ddd7894dc7e21ef3f9dbebed1ac609166bfb2f657fadb227d4bc758ec5e4e6a705307a94f5b5bd969cad58b159e25c7d3' LIMIT 1
805
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0pLwNaBd0PhGtWErvjZF' LIMIT 1
806
+ 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-02-11 20:55:16', '60e058416c43052bb84150ece45133f1ccf54e5d92f063b23ad2a5a7139a686d236a7b0997fb0af662769591da93a04278d0d853e174d6a4e3b50631659c12f7', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'cxhuIB1ekgGfHsdrdioZ', 'o5XcZdOCKmm398d2QLf', 'e43cba95e80da7fc9a712e1e5d14761ddd7894dc7e21ef3f9dbebed1ac609166bfb2f657fadb227d4bc758ec5e4e6a705307a94f5b5bd969cad58b159e25c7d3', '0pLwNaBd0PhGtWErvjZF', 1, NULL, '2013-02-11 20:55:16')
807
+  (0.0ms) RELEASE SAVEPOINT active_record_2
808
+  (0.2ms) SAVEPOINT active_record_2
809
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = '0PlY4jpSNJu7LOmImVp7', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 24
810
+  (0.0ms) RELEASE SAVEPOINT active_record_2
811
+  (0.2ms) SAVEPOINT active_record_2
812
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu22' AND `spud_menus`.`site_id` = 0) LIMIT 1
813
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:16', NULL, 'Menu22', 0, '2013-02-11 20:55:16')
814
+  (0.1ms) RELEASE SAVEPOINT active_record_2
815
+ Processing by Spud::Admin::MenusController#update as HTML
816
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "description"=>nil, "created_at"=>"2013-02-11 20:55:16 UTC", "updated_at"=>"2013-02-11 20:55:16 UTC"}, "id"=>"22"}
817
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 24 LIMIT 1
818
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 22 LIMIT 1
819
+  (0.2ms) SAVEPOINT active_record_2
820
+ SpudMenu Exists (0.4ms) 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
821
+  (0.2ms) UPDATE `spud_menus` SET `name` = 'MyMenu', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_menus`.`id` = 22
822
+  (0.1ms) RELEASE SAVEPOINT active_record_2
823
+ Redirected to http://test.host/spud/admin/menus/22/menu_items
824
+ Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
825
+  (0.5ms) ROLLBACK
826
+  (0.0ms) ROLLBACK
827
+  (0.0ms) BEGIN
828
+  (0.0ms) BEGIN
829
+  (0.2ms) SAVEPOINT active_record_2
830
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
831
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
832
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '77cecb9dd71855fe63e0fc239e0417be9d2feaa538cf81455f29fc8d84289a65b992d9175aff8385394f4e99192361dc8f8bf66f80d2f33f90c86b4f80cc8ffc' LIMIT 1
833
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9XHCjcMQRdtT4PSSHyi' LIMIT 1
834
+ SQL (0.8ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-11 20:55:16', '30a4565d9018e04536f9eef953b8bdd8f8f482b77815a7b6a3e732aa5afd98fb59120071389e8886b64ea5ad0a8390d54729a413ed7d66c1a54ba58ef0c40282', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'ryhIoEwkbL869kv4Htv', 'dl3XqP5zDtSazCMW4LV', '77cecb9dd71855fe63e0fc239e0417be9d2feaa538cf81455f29fc8d84289a65b992d9175aff8385394f4e99192361dc8f8bf66f80d2f33f90c86b4f80cc8ffc', '9XHCjcMQRdtT4PSSHyi', 1, NULL, '2013-02-11 20:55:16')
835
+  (0.1ms) RELEASE SAVEPOINT active_record_2
836
+  (0.2ms) SAVEPOINT active_record_2
837
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = '7GPsokGIBueOWX7jrs', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 25
838
+  (0.1ms) RELEASE SAVEPOINT active_record_2
839
+  (0.1ms) SAVEPOINT active_record_2
840
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu23' AND `spud_menus`.`site_id` = 0) LIMIT 1
841
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:16', NULL, 'Menu23', 0, '2013-02-11 20:55:16')
842
+  (0.1ms) RELEASE SAVEPOINT active_record_2
843
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus` 
844
+ Processing by Spud::Admin::MenusController#destroy as HTML
845
+ Parameters: {"id"=>"23"}
846
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 25 LIMIT 1
847
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 23 LIMIT 1
848
+  (0.1ms) SAVEPOINT active_record_2
849
+ SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 23 AND `spud_menu_items`.`parent_type` = 'SpudMenu'
850
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`spud_menu_id` = 23
851
+ SQL (0.2ms) DELETE FROM `spud_menus` WHERE `spud_menus`.`id` = 23
852
+  (0.1ms) RELEASE SAVEPOINT active_record_2
853
+ Redirected to http://test.host/spud/admin/menus
854
+ Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
855
+  (0.3ms) SELECT COUNT(*) FROM `spud_menus` 
856
+  (0.4ms) ROLLBACK
857
+  (0.0ms) ROLLBACK
858
+  (0.0ms) BEGIN
859
+  (0.0ms) BEGIN
860
+  (0.1ms) SAVEPOINT active_record_2
861
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
862
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
863
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6b3a893bd11a036decda71e8070a11b210286b490b6a855e13a25f554e5c2a83fa80759f6b4362c79b1258b480e051c397d0be890c36affacb49a4cb513084ce' LIMIT 1
864
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PNAMlK7glZfIqvPkAE1n' LIMIT 1
865
+ SQL (0.5ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-11 20:55:16', '7e09ee60fe9c8bda3ab1865cd4c0894124cea3e14e415c1a7d2aad91f227237a649dccbe98b6d5318e19022dc594276e1b0a2084369784f064382b5683403f38', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'sjIfqOuLBPrwcbi9t5Qz', '1vfva9E6s683rtsj', '6b3a893bd11a036decda71e8070a11b210286b490b6a855e13a25f554e5c2a83fa80759f6b4362c79b1258b480e051c397d0be890c36affacb49a4cb513084ce', 'PNAMlK7glZfIqvPkAE1n', 1, NULL, '2013-02-11 20:55:16')
866
+  (0.1ms) RELEASE SAVEPOINT active_record_2
867
+  (0.2ms) SAVEPOINT active_record_2
868
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MIJsdudblcs9mRGeYw5', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 26
869
+  (0.2ms) RELEASE SAVEPOINT active_record_2
870
+  (0.1ms) SAVEPOINT active_record_2
871
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu24' AND `spud_menus`.`site_id` = 0) LIMIT 1
872
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:16', NULL, 'Menu24', 0, '2013-02-11 20:55:16')
873
+  (0.1ms) RELEASE SAVEPOINT active_record_2
874
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus`
875
+ Processing by Spud::Admin::MenusController#destroy as HTML
876
+ Parameters: {"id"=>"23532"}
877
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 26 LIMIT 1
878
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 23532 LIMIT 1
879
+ Redirected to http://test.host/spud/admin/menus
880
+ Filter chain halted as :load_menu rendered or redirected
881
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
882
+  (0.3ms) SELECT COUNT(*) FROM `spud_menus` 
883
+  (0.5ms) ROLLBACK
884
+  (0.0ms) ROLLBACK
885
+  (0.0ms) BEGIN
886
+  (0.0ms) BEGIN
887
+  (0.1ms) SAVEPOINT active_record_2
888
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
889
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
890
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd2443df8b8cb491df11efe7e12c4b581ac72c90a002a027f0b7775e968f231e13ad4ab1759edaa7c2644b483001bd010194060c85872cce6a092af9d0da0be6c' LIMIT 1
891
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZqGp7EvGayStlflSf9' LIMIT 1
892
+ SQL (0.8ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-11 20:55:16', '147d2be1737d539e35d2b098bcb0cceb6a091443dcc19abb0738306fbf6e7f4bf6bdf4bd8a08603e5e6efd864c329a7cf30354b9f7baf359e819bd3e913545cb', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'Zgr5Ykk71W5yFavQfAv', 'LncJhpe1wyCVB2TQDmr', 'd2443df8b8cb491df11efe7e12c4b581ac72c90a002a027f0b7775e968f231e13ad4ab1759edaa7c2644b483001bd010194060c85872cce6a092af9d0da0be6c', 'ZqGp7EvGayStlflSf9', 1, NULL, '2013-02-11 20:55:16')
893
+  (0.1ms) RELEASE SAVEPOINT active_record_2
894
+  (0.2ms) SAVEPOINT active_record_2
895
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'L7I4pmdxgTRIIi9uyZv5', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 27
896
+  (0.2ms) RELEASE SAVEPOINT active_record_2
897
+  (0.1ms) SAVEPOINT active_record_2
898
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
899
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page3' LIMIT 1
900
+ 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
901
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page3' AND `spud_pages`.`site_id` = 0) LIMIT 1
902
+ 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-02-11 20:55:16', NULL, 'html', NULL, NULL, NULL, 'Page3', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:16', NULL, 'page3', 0, 0)
903
+  (0.1ms) RELEASE SAVEPOINT active_record_2
904
+  (0.1ms) SAVEPOINT active_record_2
905
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
906
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page4' LIMIT 1
907
+ SpudPage Exists (0.3ms) 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
908
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page4' AND `spud_pages`.`site_id` = 0) LIMIT 1
909
+ 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-02-11 20:55:16', NULL, 'html', NULL, NULL, NULL, 'Page4', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:16', NULL, 'page4', 0, 0)
910
+  (0.2ms) RELEASE SAVEPOINT active_record_2
911
+ Processing by Spud::Admin::PagesController#index as HTML
912
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 27 LIMIT 1
913
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`url_name` = 'home' LIMIT 1
914
+ Completed 200 OK in 9ms (Views: 2.3ms | ActiveRecord: 0.7ms)
915
+  (0.3ms) SELECT COUNT(*) FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL
916
+  (0.4ms) ROLLBACK
917
+  (0.0ms) ROLLBACK
918
+  (0.0ms) BEGIN
919
+  (0.0ms) BEGIN
920
+  (0.1ms) SAVEPOINT active_record_2
921
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
922
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
923
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0cbeb5c5c1de86b4de6cf34a8cdf4fb0c9e38297846116ffcc9c371aba49ac14213ea752be0cec12588699d6632f8a03cab131524a0c30d3d8831185f305dfaf' LIMIT 1
924
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iAYubYPFGi5WiknOw1fM' LIMIT 1
925
+ SQL (0.8ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-11 20:55:16', '01bbdb0a41b15804ba435ec3d3224b19518df3c7f768a2e111367b72d55bc04a533d4cae9f95f78c5af928823b9202c4aad3b5ce6c71198ecf9c858fb45c60aa', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, '9iZIK9hSAfRpiCZHbJQs', 'x9zOR8ECTuac8Li91Hks', '0cbeb5c5c1de86b4de6cf34a8cdf4fb0c9e38297846116ffcc9c371aba49ac14213ea752be0cec12588699d6632f8a03cab131524a0c30d3d8831185f305dfaf', 'iAYubYPFGi5WiknOw1fM', 1, NULL, '2013-02-11 20:55:16')
926
+  (0.0ms) RELEASE SAVEPOINT active_record_2
927
+  (0.2ms) SAVEPOINT active_record_2
928
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'oxB8H1lS2VqxDAqYoWV9', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 28
929
+  (0.1ms) RELEASE SAVEPOINT active_record_2
930
+  (0.1ms) SAVEPOINT active_record_2
931
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
932
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page5' LIMIT 1
933
+ SpudPage Exists (0.3ms) 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
934
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page5' AND `spud_pages`.`site_id` = 0) LIMIT 1
935
+ 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-02-11 20:55:16', NULL, 'html', NULL, NULL, NULL, 'Page5', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:16', NULL, 'page5', 0, 0)
936
+  (0.1ms) RELEASE SAVEPOINT active_record_2
937
+  (0.0ms) SAVEPOINT active_record_2
938
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
939
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page6' LIMIT 1
940
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page6' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
941
+ 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
942
+ 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-02-11 20:55:16', NULL, 'html', NULL, NULL, NULL, 'Page6', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:16', NULL, 'page6', 0, 0)
943
+  (0.0ms) RELEASE SAVEPOINT active_record_2
944
+  (0.0ms) SAVEPOINT active_record_2
945
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 LIMIT 1
946
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
947
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page7' LIMIT 1
948
+ SpudPage Exists (0.3ms) 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
949
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page7' AND `spud_pages`.`site_id` = 0) LIMIT 1
950
+ 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-02-11 20:55:16', NULL, 'html', NULL, NULL, NULL, 'Page7', NULL, NULL, NULL, 1, 0, 1, '2013-02-11 20:55:16', NULL, 'page7', 0, 0)
951
+  (0.2ms) RELEASE SAVEPOINT active_record_2
952
+ Processing by Spud::Admin::PagesController#index as HTML
953
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 28 LIMIT 1
954
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`url_name` = 'home' LIMIT 1
955
+ Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 0.6ms)
956
+  (0.3ms) SELECT COUNT(*) FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL
957
+  (0.7ms) ROLLBACK
958
+  (0.1ms) ROLLBACK
959
+  (0.0ms) BEGIN
960
+  (0.0ms) BEGIN
961
+  (0.2ms) SAVEPOINT active_record_2
962
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
963
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
964
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b755ac5d6c1ec7106c4cf3403d5a366fa59eff4b33d91d1a164b867367a700e96e51f78039a4d0ccbf3464364c9d68ab388af3eb6efe5c2da3278aede3ef601d' LIMIT 1
965
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'naw7ksKTh9BIlIwhSJG4' LIMIT 1
966
+ 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-02-11 20:55:16', '6df62fb42d3f720e167df97c9b3ee391a6f6539c603c7a0848fba26a838538f777d68a8c82b7c5bbd24bcc2cf912905424ccf8f07723ec346b3d8bf75c711faa', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'tW9xlYBOyxQRZwB37zGl', 'ahAu41rmMc3b6Y4wgTa', 'b755ac5d6c1ec7106c4cf3403d5a366fa59eff4b33d91d1a164b867367a700e96e51f78039a4d0ccbf3464364c9d68ab388af3eb6efe5c2da3278aede3ef601d', 'naw7ksKTh9BIlIwhSJG4', 1, NULL, '2013-02-11 20:55:16')
967
+  (0.1ms) RELEASE SAVEPOINT active_record_2
968
+  (0.2ms) SAVEPOINT active_record_2
969
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wQxhuECFeEvipqwbF87K', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 29
970
+  (0.1ms) RELEASE SAVEPOINT active_record_2
971
+  (0.1ms) SAVEPOINT active_record_2
972
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
973
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page8' LIMIT 1
974
+ SpudPage Exists (0.3ms) 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
975
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page8' AND `spud_pages`.`site_id` = 0) LIMIT 1
976
+ 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-02-11 20:55:16', NULL, 'html', NULL, NULL, NULL, 'Page8', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:16', NULL, 'page8', 0, 0)
977
+  (0.2ms) RELEASE SAVEPOINT active_record_2
978
+ Processing by Spud::Admin::PagesController#show as HTML
979
+ Parameters: {"id"=>"17"}
980
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 29 LIMIT 1
981
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 17 LIMIT 1
982
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (17)
983
+ Completed 200 OK in 65ms (Views: 2.1ms | ActiveRecord: 0.8ms)
984
+  (0.8ms) ROLLBACK
985
+  (0.1ms) ROLLBACK
986
+  (0.1ms) BEGIN
987
+  (0.0ms) BEGIN
988
+  (0.2ms) SAVEPOINT active_record_2
989
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
990
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
991
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5e6a83c867fe4c3d047f9a46cb45db341437be89fe446fcfec77340ad387146fafae48d0ec11162baef486c309b0feb8959d08d072838f4d8cf68bd189bbebdd' LIMIT 1
992
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6EV4Z54jx8cQgdLB57i9' LIMIT 1
993
+ SQL (0.9ms) 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-02-11 20:55:16', '2f9dcc2165607962863c686e94841803d6260cb8906572718edd1d5b58386a844e2519375d34e38f2486bdecbe1748bb7a47cef5232e8e778ba10af72b4f20e6', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, '23pfHIhFcb2r0uB1pf', 'kXTUD6rXygmyWUJ5Xg2V', '5e6a83c867fe4c3d047f9a46cb45db341437be89fe446fcfec77340ad387146fafae48d0ec11162baef486c309b0feb8959d08d072838f4d8cf68bd189bbebdd', '6EV4Z54jx8cQgdLB57i9', 1, NULL, '2013-02-11 20:55:16')
994
+  (0.1ms) RELEASE SAVEPOINT active_record_2
995
+  (0.2ms) SAVEPOINT active_record_2
996
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Sh6QsPySRKacghTwrrFy', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 30
997
+  (0.1ms) RELEASE SAVEPOINT active_record_2
998
+ Processing by Spud::Admin::PagesController#new as HTML
999
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 30 LIMIT 1
1000
+ Completed 200 OK in 27ms (Views: 2.0ms | ActiveRecord: 0.4ms)
1001
+  (0.5ms) ROLLBACK
1002
+  (0.1ms) ROLLBACK
1003
+  (0.1ms) BEGIN
1004
+  (0.1ms) BEGIN
1005
+  (0.2ms) SAVEPOINT active_record_2
1006
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1007
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1008
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '29397bf0483af31472b41c98c60519368c2e9c4314f37a515708edc804a29c37acc5471580e2d6c00c2cd30e779fe47b731e0759b9927cb85808db42984ff032' LIMIT 1
1009
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'IZP9z3CzE7sVwpgoKu' LIMIT 1
1010
+ SQL (1.0ms) 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-02-11 20:55:16', 'd703fa268d51c8d7089df0f63f24b04b5572e343e1df78591f8510a81974565cd8ff647d51bb15465fae5076b4c558cd159a37c313fece2c195de1f77306ffcd', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'm9QCGVbUIBCMsyplcgW', 'BC6c1xQwlChik6ouum51', '29397bf0483af31472b41c98c60519368c2e9c4314f37a515708edc804a29c37acc5471580e2d6c00c2cd30e779fe47b731e0759b9927cb85808db42984ff032', 'IZP9z3CzE7sVwpgoKu', 1, NULL, '2013-02-11 20:55:16')
1011
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1012
+  (0.1ms) SAVEPOINT active_record_2
1013
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = '7TMS3Ee356RThT1nd0', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 31
1014
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1015
+ Processing by Spud::Admin::PagesController#new as HTML
1016
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 31 LIMIT 1
1017
+ Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 0.3ms)
1018
+  (0.5ms) ROLLBACK
1019
+  (0.0ms) ROLLBACK
1020
+  (0.0ms) BEGIN
1021
+  (0.0ms) BEGIN
1022
+  (0.1ms) SAVEPOINT active_record_2
1023
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1024
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1025
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '714f35d5ce38a93bee53553cc4116ac1409e6a4808d647e694d3adfddfba43679efef56ca08b25a4c980742b056d4fbe925ae78f7c4d59127ca0483ed2cfe282' LIMIT 1
1026
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6tR9lOcxnzJUtbIpKEW' LIMIT 1
1027
+ SQL (1.0ms) 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-02-11 20:55:16', '708ab69d2747437f8a13a4f2e226d31104cbefbbbe226833df089e140ab15d528878cee71bdc080bdd4451ddeaa56368053f8ca079d66fec1fb4c8ae6aefb814', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'yeNJt2GVlC4Rlrop3inV', 'dGrqUtoNq6ktx3P3Ht7e', '714f35d5ce38a93bee53553cc4116ac1409e6a4808d647e694d3adfddfba43679efef56ca08b25a4c980742b056d4fbe925ae78f7c4d59127ca0483ed2cfe282', '6tR9lOcxnzJUtbIpKEW', 1, NULL, '2013-02-11 20:55:16')
1028
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1029
+  (0.2ms) SAVEPOINT active_record_2
1030
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `last_login_ip` = '0.0.0.0', `perishable_token` = '9C10MIO3oUpMc788cC9', `updated_at` = '2013-02-11 20:55:16' WHERE `spud_users`.`id` = 32
1031
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1032
+  (0.1ms) SAVEPOINT active_record_2
1033
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1034
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page9' LIMIT 1
1035
+ 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
1036
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page9' AND `spud_pages`.`site_id` = 0) LIMIT 1
1037
+ 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-02-11 20:55:16', NULL, 'html', NULL, NULL, NULL, 'Page9', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:16', NULL, 'page9', 0, 0)
1038
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1039
+ Processing by Spud::Admin::PagesController#edit as HTML
1040
+ Parameters: {"id"=>"18"}
1041
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 32 LIMIT 1
1042
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 18 LIMIT 1
1043
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (18)
1044
+ Completed 200 OK in 11ms (Views: 2.1ms | ActiveRecord: 0.7ms)
1045
+  (0.5ms) ROLLBACK
1046
+  (0.1ms) ROLLBACK
1047
+  (0.1ms) BEGIN
1048
+  (0.0ms) BEGIN
1049
+  (0.1ms) SAVEPOINT active_record_2
1050
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1051
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1052
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '176cef0ecb964126555244221760df77151d0acb9e4163600090349753a680024625166d213fd57636f708621ba1295c4af0c09e1dce1b4b68ac2e96cac3ebfd' LIMIT 1
1053
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'RBr4zzWZhPtAsVfNzEm' LIMIT 1
1054
+ SQL (1.0ms) 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-02-11 20:55:16', '03b3fe8e05e8a713b3148231cc1e0c3a779334121fecdcea607e2b258266fef6dfa9172d89efc130da7df9f58d58af5747f0c7065de60b08867a9ef06224a1e7', '2013-02-11 20:55:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:16', 'testuser', 1, 'xbLMSHSbj1VwT1iUsLsQ', 'I0YmUcWv4WYMvfcQAyBM', '176cef0ecb964126555244221760df77151d0acb9e4163600090349753a680024625166d213fd57636f708621ba1295c4af0c09e1dce1b4b68ac2e96cac3ebfd', 'RBr4zzWZhPtAsVfNzEm', 1, NULL, '2013-02-11 20:55:16')
1055
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1056
+  (0.2ms) SAVEPOINT active_record_2
1057
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:16', `current_login_at` = '2013-02-11 20:55:17', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-02-11 20:55:17', `perishable_token` = 'ewmUBuoQmUdHGpsWGWt', `updated_at` = '2013-02-11 20:55:17' WHERE `spud_users`.`id` = 33
1058
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1059
+  (0.1ms) SAVEPOINT active_record_2
1060
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1061
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page10' LIMIT 1
1062
+ 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
1063
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page10' AND `spud_pages`.`site_id` = 0) LIMIT 1
1064
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page10', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page10', 0, 0)
1065
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1066
+ Processing by Spud::Admin::PagesController#update as HTML
1067
+ 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"}
1068
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 33 LIMIT 1
1069
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 19 LIMIT 1
1070
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (19)
1071
+  (0.1ms) SAVEPOINT active_record_2
1072
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 19)
1073
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'adam' LIMIT 1
1074
+ 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
1075
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (19, 'SpudPage', '2013-02-11 20:55:17', 0, '2013-02-11 20:55:17', 'page10')
1076
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Adam' AND `spud_pages`.`id` != 19 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1077
+ 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
1078
+  (0.3ms) UPDATE `spud_pages` SET `name` = 'Adam', `url_name` = 'adam', `updated_at` = '2013-02-11 20:55:17' WHERE `spud_pages`.`id` = 19
1079
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1080
+ Redirected to http://test.host/spud/admin/pages
1081
+ Completed 302 Found in 22ms (ActiveRecord: 3.1ms)
1082
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 19 LIMIT 1
1083
+  (0.6ms) ROLLBACK
1084
+  (0.1ms) ROLLBACK
1085
+  (0.0ms) BEGIN
1086
+  (0.0ms) BEGIN
1087
+  (0.2ms) SAVEPOINT active_record_2
1088
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1089
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1090
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0fe50b3a19a221d7f73c4ea653f5efac749c11f09932b2fc1374c92ba7940af7c2c2d150c47a7e337d4003279e9ab2d9420d09c9320847a346e0fc96bef9a973' LIMIT 1
1091
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8YcPp44pOoc1aQIUw77O' LIMIT 1
1092
+ 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-02-11 20:55:17', 'a1c57d7fbd03596ec98d59b2dc00f2595e600250ec04e2b6f1856e2aed82397cf7d9867357e8779a3073ca7989da85312ae1706ec22c836abe37d79bf3c90ec2', '2013-02-11 20:55:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:17', 'testuser', 1, 'jyEPW4vHaX0bWFaIBcU', 'gcQVSGIx0uZ83cy0IZxp', '0fe50b3a19a221d7f73c4ea653f5efac749c11f09932b2fc1374c92ba7940af7c2c2d150c47a7e337d4003279e9ab2d9420d09c9320847a346e0fc96bef9a973', '8YcPp44pOoc1aQIUw77O', 1, NULL, '2013-02-11 20:55:17')
1093
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1094
+  (0.2ms) SAVEPOINT active_record_2
1095
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'WU3HEhjAvDlbJ27k28Cl', `updated_at` = '2013-02-11 20:55:17' WHERE `spud_users`.`id` = 34
1096
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1097
+  (0.1ms) SAVEPOINT active_record_2
1098
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1099
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page11' LIMIT 1
1100
+ SpudPage Exists (0.3ms) 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
1101
+ 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
1102
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page11', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page11', 0, 0)
1103
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1104
+ Processing by Spud::Admin::PagesController#update as HTML
1105
+ 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"}
1106
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 34 LIMIT 1
1107
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 20 LIMIT 1
1108
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (20)
1109
+  (0.2ms) SAVEPOINT active_record_2
1110
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 20)
1111
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'adam' LIMIT 1
1112
+ 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
1113
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (20, 'SpudPage', '2013-02-11 20:55:17', 0, '2013-02-11 20:55:17', 'page11')
1114
+ SpudPage Exists (0.3ms) 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
1115
+ 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
1116
+  (0.3ms) UPDATE `spud_pages` SET `name` = 'Adam', `url_name` = 'adam', `updated_at` = '2013-02-11 20:55:17' WHERE `spud_pages`.`id` = 20
1117
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1118
+ Redirected to http://test.host/spud/admin/pages
1119
+ Completed 302 Found in 21ms (ActiveRecord: 3.0ms)
1120
+  (0.6ms) ROLLBACK
1121
+  (0.1ms) ROLLBACK
1122
+  (0.1ms) BEGIN
1123
+  (0.0ms) BEGIN
1124
+  (0.1ms) SAVEPOINT active_record_2
1125
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1126
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1127
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd4701fe3f28cc2027261dcb485fa39875491c60b80b936683ab7a255ab8b0bc496c5eec07c6356813acc42e06dc03243596a78b5ce53ff3e89ffa55c5f16717a' LIMIT 1
1128
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'DB5OYNh5C66h198Z9Pvo' LIMIT 1
1129
+ 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-02-11 20:55:17', '9bd063ebf4fc6cbcd0c6952fbd04452f12c1aebf3efc374e7a8bb893c042d1056b382864396758b8ca3833f2db8a03d4839c37c6e6066aeb0f7ce8302f2cac66', '2013-02-11 20:55:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:17', 'testuser', 1, 'Ki8xD4szgSa0Z6V6RSv', 'SGWgoEGAa95qwxd9ecB7', 'd4701fe3f28cc2027261dcb485fa39875491c60b80b936683ab7a255ab8b0bc496c5eec07c6356813acc42e06dc03243596a78b5ce53ff3e89ffa55c5f16717a', 'DB5OYNh5C66h198Z9Pvo', 1, NULL, '2013-02-11 20:55:17')
1130
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1131
+  (0.2ms) SAVEPOINT active_record_2
1132
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dvTQxI4qhiXieO2xV0SY', `updated_at` = '2013-02-11 20:55:17' WHERE `spud_users`.`id` = 35
1133
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1134
+  (0.1ms) SAVEPOINT active_record_2
1135
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1136
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page12' LIMIT 1
1137
+ SpudPage Exists (0.3ms) 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
1138
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page12' AND `spud_pages`.`site_id` = 0) LIMIT 1
1139
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page12', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page12', 0, 0)
1140
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1141
+  (0.3ms) SELECT COUNT(*) FROM `spud_pages`
1142
+ Processing by Spud::Admin::PagesController#destroy as HTML
1143
+ Parameters: {"id"=>"21"}
1144
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 35 LIMIT 1
1145
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 21 LIMIT 1
1146
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (21)
1147
+  (0.1ms) SAVEPOINT active_record_2
1148
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`spud_page_id` = 21
1149
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 21 AND `spud_permalinks`.`attachment_type` = 'SpudPage'
1150
+ SQL (0.2ms) DELETE FROM `spud_pages` WHERE `spud_pages`.`id` = 21
1151
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1152
+ Redirected to http://test.host/spud/admin/pages
1153
+ Completed 302 Found in 17ms (ActiveRecord: 1.9ms)
1154
+  (0.2ms) SELECT COUNT(*) FROM `spud_pages` 
1155
+  (0.5ms) ROLLBACK
1156
+  (0.0ms) ROLLBACK
1157
+  (0.0ms) BEGIN
1158
+  (0.1ms) BEGIN
1159
+  (0.2ms) SAVEPOINT active_record_2
1160
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1161
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1162
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6a24a9c11b40639e4b3b989aa5283d6ac2aed9c2c2cbbb2e628470ea90ec4350f99810a8ea9bf5f7b1da3eba5421aaa3a6897ee18a78a7eba79d989867fb9e6a' LIMIT 1
1163
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '3tyChXRjLOI2fEMDSSs' LIMIT 1
1164
+ 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-02-11 20:55:17', '61fe46d94d58344c0b60f9abad7d6cafc320e48f960db611480186c72c0e9f9d1ac3e1e957ec7e10afa6ddb1ddbfc38b4dca61145909fc93a93b996b1bee857f', '2013-02-11 20:55:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-11 20:55:17', 'testuser', 1, 'xt17S0tIS2pFAWVLFPg', 'CqgvOkDam8Q6JdLvEKhY', '6a24a9c11b40639e4b3b989aa5283d6ac2aed9c2c2cbbb2e628470ea90ec4350f99810a8ea9bf5f7b1da3eba5421aaa3a6897ee18a78a7eba79d989867fb9e6a', '3tyChXRjLOI2fEMDSSs', 1, NULL, '2013-02-11 20:55:17')
1165
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1166
+  (0.2ms) SAVEPOINT active_record_2
1167
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-11 20:55:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'IOgMKyScRi4VhTlClEkV', `updated_at` = '2013-02-11 20:55:17' WHERE `spud_users`.`id` = 36
1168
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1169
+  (0.2ms) SAVEPOINT active_record_2
1170
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1171
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page13' LIMIT 1
1172
+ 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
1173
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page13' AND `spud_pages`.`site_id` = 0) LIMIT 1
1174
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page13', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page13', 0, 0)
1175
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1176
+  (0.2ms) SELECT COUNT(*) FROM `spud_pages` 
1177
+ Processing by Spud::Admin::PagesController#destroy as HTML
1178
+ Parameters: {"id"=>"23532"}
1179
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 36 LIMIT 1
1180
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 23532 LIMIT 1
1181
+ Redirected to http://test.host/spud/admin/pages
1182
+ Filter chain halted as :load_page rendered or redirected
1183
+ Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
1184
+  (0.2ms) SELECT COUNT(*) FROM `spud_pages`
1185
+  (0.6ms) ROLLBACK
1186
+  (0.2ms) ROLLBACK
1187
+  (0.1ms) BEGIN
1188
+  (0.0ms) BEGIN
1189
+ Processing by Spud::Cms::SitemapsController#show as XML
1190
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`visibility` = 0 ORDER BY spud_page_id
1191
+ Completed 200 OK in 67ms (Views: 63.5ms | ActiveRecord: 0.4ms)
1192
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`visibility` = 0 ORDER BY spud_page_id
1193
+  (0.2ms) ROLLBACK
1194
+  (0.1ms) ROLLBACK
1195
+  (0.1ms) BEGIN
1196
+  (0.0ms) BEGIN
1197
+ Processing by Spud::Cms::SitemapsController#show as HTML
1198
+ 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
1199
+ Completed 406 Not Acceptable in 3ms (ActiveRecord: 0.3ms)
1200
+  (0.2ms) ROLLBACK
1201
+  (0.1ms) ROLLBACK
1202
+  (0.1ms) BEGIN
1203
+  (0.0ms) BEGIN
1204
+  (0.2ms) SAVEPOINT active_record_2
1205
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1206
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page14' LIMIT 1
1207
+ SpudPage Exists (0.3ms) 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
1208
+ 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
1209
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page14', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page14', 0, 0)
1210
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1211
+  (0.1ms) SAVEPOINT active_record_2
1212
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1213
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page15' LIMIT 1
1214
+ SpudPage Exists (0.3ms) 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
1215
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page15' AND `spud_pages`.`site_id` = 0) LIMIT 1
1216
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page15', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page15', 0, 0)
1217
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1218
+  (0.1ms) SAVEPOINT active_record_2
1219
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
1220
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page16' LIMIT 1
1221
+ SpudPage Exists (0.3ms) 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
1222
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page16' AND `spud_pages`.`site_id` = 1) LIMIT 1
1223
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page16', NULL, NULL, NULL, 1, 1, NULL, '2013-02-11 20:55:17', NULL, 'page16', 0, 0)
1224
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1225
+  (0.1ms) SAVEPOINT active_record_2
1226
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
1227
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page17' LIMIT 1
1228
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page17' AND `spud_pages`.`site_id` = 1 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1229
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page17' AND `spud_pages`.`site_id` = 1) LIMIT 1
1230
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page17', NULL, NULL, NULL, 1, 1, NULL, '2013-02-11 20:55:17', NULL, 'page17', 0, 0)
1231
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1232
+  (0.1ms) SAVEPOINT active_record_2
1233
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
1234
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page18' LIMIT 1
1235
+ SpudPage Exists (0.3ms) 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
1236
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page18' AND `spud_pages`.`site_id` = 1) LIMIT 1
1237
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page18', NULL, NULL, NULL, 1, 1, NULL, '2013-02-11 20:55:17', NULL, 'page18', 0, 0)
1238
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1239
+ Processing by Spud::Cms::SitemapsController#show as XML
1240
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`visibility` = 0 AND `spud_pages`.`site_id` = 1 ORDER BY spud_page_id
1241
+ Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.3ms)
1242
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`visibility` = 0 AND `spud_pages`.`site_id` = 1 ORDER BY spud_page_id
1243
+  (1.9ms) ROLLBACK
1244
+  (0.1ms) ROLLBACK
1245
+  (0.2ms) BEGIN
1246
+  (0.2ms) BEGIN
1247
+  (0.2ms) SAVEPOINT active_record_2
1248
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Main' AND `spud_menus`.`site_id` = 0) LIMIT 1
1249
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:17', NULL, 'Main', 0, '2013-02-11 20:55:17')
1250
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1251
+  (0.2ms) SAVEPOINT active_record_2
1252
+ 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-02-11 20:55:17', NULL, 0, 'Menu Item 15', 25, 'SpudMenu', 25, NULL, '2013-02-11 20:55:17', '/')
1253
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1254
+  (0.1ms) SAVEPOINT active_record_2
1255
+ 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-02-11 20:55:17', NULL, 0, 'Menu Item 16', 25, 'SpudMenu', 25, NULL, '2013-02-11 20:55:17', '/')
1256
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1257
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main' LIMIT 1
1258
+ SpudMenuItem Load (0.8ms) SELECT
1259
+ spud_menu_items.id as id,
1260
+ spud_menu_items.url as url,
1261
+ spud_menu_items.classes as classes,
1262
+ spud_menu_items.parent_type as parent_type,
1263
+ spud_menu_items.menu_order as menu_order,
1264
+ spud_menu_items.parent_id as parent_id,
1265
+ spud_menu_items.name as name,
1266
+ 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
1267
+  (0.3ms) ROLLBACK
1268
+  (0.0ms) ROLLBACK
1269
+  (0.0ms) BEGIN
1270
+  (0.0ms) BEGIN
1271
+  (0.2ms) SAVEPOINT active_record_2
1272
+ 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
1273
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:17', NULL, 'Menu25', 0, '2013-02-11 20:55:17')
1274
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1275
+  (0.1ms) SAVEPOINT active_record_2
1276
+ 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-02-11 20:55:17', NULL, 0, 'Menu Item 17', 26, 'SpudMenu', 26, NULL, '2013-02-11 20:55:17', '/')
1277
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1278
+  (0.1ms) SAVEPOINT active_record_2
1279
+ SQL (0.1ms) INSERT INTO `spud_menu_items` (`classes`, `created_at`, `item_type`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`, `url`) VALUES (NULL, '2013-02-11 20:55:17', NULL, 0, 'Menu Item 18', 26, 'SpudMenu', 26, NULL, '2013-02-11 20:55:17', '/')
1280
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1281
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Menu25' LIMIT 1
1282
+ SpudMenuItem Load (0.4ms) SELECT
1283
+ spud_menu_items.id as id,
1284
+ spud_menu_items.url as url,
1285
+ spud_menu_items.classes as classes,
1286
+ spud_menu_items.parent_type as parent_type,
1287
+ spud_menu_items.menu_order as menu_order,
1288
+ spud_menu_items.parent_id as parent_id,
1289
+ spud_menu_items.name as name,
1290
+ 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
1291
+  (0.5ms) ROLLBACK
1292
+  (0.0ms) ROLLBACK
1293
+  (0.1ms) BEGIN
1294
+  (0.1ms) BEGIN
1295
+  (0.2ms) SAVEPOINT active_record_2
1296
+ 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
1297
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:17', NULL, 'Main2', 0, '2013-02-11 20:55:17')
1298
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1299
+  (0.2ms) SAVEPOINT active_record_2
1300
+ 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-02-11 20:55:17', NULL, 0, 'Menu Item 19', 27, 'SpudMenu', 27, NULL, '2013-02-11 20:55:17', '/')
1301
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1302
+  (0.1ms) SAVEPOINT active_record_2
1303
+ 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-02-11 20:55:17', NULL, 0, 'Menu Item 20', 27, 'SpudMenu', 27, NULL, '2013-02-11 20:55:17', '/')
1304
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1305
+  (0.1ms) SAVEPOINT active_record_2
1306
+ 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-02-11 20:55:17', NULL, 0, 'SubItem', 20, 'SpudMenuItem', 27, NULL, '2013-02-11 20:55:17', '/')
1307
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1308
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main2' LIMIT 1
1309
+ SpudMenuItem Load (0.4ms) SELECT
1310
+ spud_menu_items.id as id,
1311
+ spud_menu_items.url as url,
1312
+ spud_menu_items.classes as classes,
1313
+ spud_menu_items.parent_type as parent_type,
1314
+ spud_menu_items.menu_order as menu_order,
1315
+ spud_menu_items.parent_id as parent_id,
1316
+ spud_menu_items.name as name,
1317
+ 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
1318
+  (0.5ms) ROLLBACK
1319
+  (0.1ms) ROLLBACK
1320
+  (0.0ms) BEGIN
1321
+  (0.0ms) BEGIN
1322
+  (0.2ms) SAVEPOINT active_record_2
1323
+ 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
1324
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:17', NULL, 'Main4', 0, '2013-02-11 20:55:17')
1325
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1326
+  (0.2ms) SAVEPOINT active_record_2
1327
+ 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-02-11 20:55:17', NULL, 0, 'Menu Item 21', 28, 'SpudMenu', 28, NULL, '2013-02-11 20:55:17', '/')
1328
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1329
+  (0.1ms) SAVEPOINT active_record_2
1330
+ 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-02-11 20:55:17', NULL, 0, 'Menu Item 22', 28, 'SpudMenu', 28, NULL, '2013-02-11 20:55:17', '/')
1331
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1332
+  (0.3ms) SAVEPOINT active_record_2
1333
+ 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-02-11 20:55:17', NULL, 0, 'SubItem', 23, 'SpudMenuItem', 28, NULL, '2013-02-11 20:55:17', '/')
1334
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1335
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main4' LIMIT 1
1336
+ SpudMenuItem Load (0.4ms) SELECT
1337
+ spud_menu_items.id as id,
1338
+ spud_menu_items.url as url,
1339
+ spud_menu_items.classes as classes,
1340
+ spud_menu_items.parent_type as parent_type,
1341
+ spud_menu_items.menu_order as menu_order,
1342
+ spud_menu_items.parent_id as parent_id,
1343
+ spud_menu_items.name as name,
1344
+ 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
1345
+  (0.5ms) ROLLBACK
1346
+  (0.1ms) ROLLBACK
1347
+  (0.1ms) BEGIN
1348
+  (0.0ms) BEGIN
1349
+  (0.1ms) SAVEPOINT active_record_2
1350
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu26' AND `spud_menus`.`site_id` = 0) LIMIT 1
1351
+ SQL (0.7ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:17', NULL, 'Menu26', 0, '2013-02-11 20:55:17')
1352
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1353
+  (0.2ms) SAVEPOINT active_record_2
1354
+ 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-02-11 20:55:17', NULL, 0, 'Menu Item 23', 29, 'SpudMenu', 29, NULL, '2013-02-11 20:55:17', '/')
1355
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1356
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`site_id` = 1 AND `spud_menus`.`name` = 'Menu26' LIMIT 1
1357
+  (0.4ms) ROLLBACK
1358
+  (0.0ms) ROLLBACK
1359
+  (0.2ms) BEGIN
1360
+  (0.1ms) BEGIN
1361
+  (0.1ms) SAVEPOINT active_record_2
1362
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Main3' AND `spud_menus`.`site_id` = 0) LIMIT 1
1363
+ SQL (0.9ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:17', NULL, 'Main3', 0, '2013-02-11 20:55:17')
1364
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1365
+  (0.1ms) SAVEPOINT active_record_2
1366
+ 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-02-11 20:55:17', NULL, 0, 'Menu Item 24', 30, 'SpudMenu', 30, NULL, '2013-02-11 20:55:17', '/')
1367
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1368
+  (0.2ms) SAVEPOINT active_record_2
1369
+ 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-02-11 20:55:17', NULL, 0, 'Menu Item 25', 30, 'SpudMenu', 30, NULL, '2013-02-11 20:55:17', '/')
1370
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1371
+  (0.1ms) SAVEPOINT active_record_2
1372
+ 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-02-11 20:55:17', NULL, 0, 'SubItem', 27, 'SpudMenuItem', 30, NULL, '2013-02-11 20:55:17', '/')
1373
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1374
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main3' LIMIT 1
1375
+ SpudMenuItem Load (0.5ms) SELECT
1376
+ spud_menu_items.id as id,
1377
+ spud_menu_items.url as url,
1378
+ spud_menu_items.classes as classes,
1379
+ spud_menu_items.parent_type as parent_type,
1380
+ spud_menu_items.menu_order as menu_order,
1381
+ spud_menu_items.parent_id as parent_id,
1382
+ spud_menu_items.name as name,
1383
+ 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
1384
+  (0.6ms) ROLLBACK
1385
+  (0.1ms) ROLLBACK
1386
+  (0.0ms) BEGIN
1387
+  (0.0ms) BEGIN
1388
+  (0.2ms) SAVEPOINT active_record_2
1389
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu27' AND `spud_menus`.`site_id` = 0) LIMIT 1
1390
+ SQL (1.0ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-11 20:55:17', NULL, 'Menu27', 0, '2013-02-11 20:55:17')
1391
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1392
+  (0.1ms) SAVEPOINT active_record_2
1393
+ 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-02-11 20:55:17', NULL, 0, 'Menu Item 26', 31, 'SpudMenu', 31, NULL, '2013-02-11 20:55:17', '/')
1394
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1395
+ SpudMenu Load (0.4ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Menu27' AND `spud_menus`.`site_id` = 1 LIMIT 1
1396
+  (0.5ms) ROLLBACK
1397
+  (0.1ms) ROLLBACK
1398
+  (0.2ms) BEGIN
1399
+  (0.1ms) BEGIN
1400
+  (0.2ms) SAVEPOINT active_record_2
1401
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1402
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page19' LIMIT 1
1403
+ SpudPage Exists (0.3ms) 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
1404
+ 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
1405
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page19', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page19', 0, 0)
1406
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1407
+  (0.2ms) SAVEPOINT active_record_2
1408
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1409
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page20' LIMIT 1
1410
+ SpudPage Exists (0.3ms) 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
1411
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page20' AND `spud_pages`.`site_id` = 0) LIMIT 1
1412
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page20', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page20', 0, 0)
1413
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1414
+  (0.1ms) SAVEPOINT active_record_2
1415
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 28 LIMIT 1
1416
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1417
+ 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
1418
+ SpudPage Exists (0.4ms) 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
1419
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page19/page21' AND `spud_pages`.`site_id` = 0) LIMIT 1
1420
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page21', NULL, NULL, NULL, 1, 0, 28, '2013-02-11 20:55:17', NULL, 'page19/page21', 0, 0)
1421
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1422
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
1423
+  (0.5ms) ROLLBACK
1424
+  (0.1ms) ROLLBACK
1425
+  (0.1ms) BEGIN
1426
+  (0.1ms) BEGIN
1427
+  (0.1ms) SAVEPOINT active_record_2
1428
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1429
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page22' LIMIT 1
1430
+ 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
1431
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page22' AND `spud_pages`.`site_id` = 0) LIMIT 1
1432
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page22', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page22', 0, 0)
1433
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1434
+  (0.1ms) SAVEPOINT active_record_2
1435
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1436
+ SpudPermalink Load (0.4ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page23' LIMIT 1
1437
+ 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
1438
+ 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
1439
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page23', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page23', 0, 0)
1440
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1441
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
1442
+  (0.5ms) ROLLBACK
1443
+  (0.0ms) ROLLBACK
1444
+  (0.1ms) BEGIN
1445
+  (0.0ms) BEGIN
1446
+  (0.2ms) SAVEPOINT active_record_2
1447
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1448
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page24' LIMIT 1
1449
+ 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
1450
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page24' AND `spud_pages`.`site_id` = 0) LIMIT 1
1451
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page24', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page24', 0, 0)
1452
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1453
+  (0.1ms) SAVEPOINT active_record_2
1454
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1455
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page25' LIMIT 1
1456
+ SpudPage Exists (0.3ms) 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
1457
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page25' AND `spud_pages`.`site_id` = 0) LIMIT 1
1458
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page25', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page25', 0, 0)
1459
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1460
+ 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'))
1461
+  (0.5ms) ROLLBACK
1462
+  (0.0ms) ROLLBACK
1463
+  (0.1ms) BEGIN
1464
+  (0.1ms) BEGIN
1465
+  (0.1ms) SAVEPOINT active_record_2
1466
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1467
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page26' LIMIT 1
1468
+ 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
1469
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page26' AND `spud_pages`.`site_id` = 0) LIMIT 1
1470
+ SQL (0.7ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page26', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page26', 0, 0)
1471
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1472
+  (0.0ms) SAVEPOINT active_record_2
1473
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1474
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page27' LIMIT 1
1475
+ SpudPage Exists (0.3ms) 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
1476
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page27' AND `spud_pages`.`site_id` = 0) LIMIT 1
1477
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page27', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page27', 0, 0)
1478
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1479
+  (0.1ms) SAVEPOINT active_record_2
1480
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 35 LIMIT 1
1481
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1482
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page26/page28' LIMIT 1
1483
+ SpudPage Exists (0.3ms) 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
1484
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page26/page28' AND `spud_pages`.`site_id` = 0) LIMIT 1
1485
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page28', NULL, NULL, NULL, 1, 0, 35, '2013-02-11 20:55:17', NULL, 'page26/page28', 0, 0)
1486
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1487
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
1488
+  (0.5ms) ROLLBACK
1489
+  (0.0ms) ROLLBACK
1490
+  (0.0ms) BEGIN
1491
+  (0.0ms) BEGIN
1492
+  (0.2ms) SAVEPOINT active_record_2
1493
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1494
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page29' LIMIT 1
1495
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page29' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1496
+ 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
1497
+ SQL (0.8ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page29', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page29', 0, 0)
1498
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1499
+  (0.2ms) SAVEPOINT active_record_2
1500
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1501
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page30' LIMIT 1
1502
+ SpudPage Exists (0.3ms) 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
1503
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page30' AND `spud_pages`.`site_id` = 0) LIMIT 1
1504
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page30', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page30', 0, 0)
1505
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1506
+  (0.1ms) SAVEPOINT active_record_2
1507
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 38 LIMIT 1
1508
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1509
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page29/page31' LIMIT 1
1510
+ 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
1511
+ 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
1512
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page31', NULL, NULL, NULL, 1, 0, 38, '2013-02-11 20:55:17', NULL, 'page29/page31', 0, 0)
1513
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1514
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
1515
+  (0.4ms) ROLLBACK
1516
+  (0.0ms) ROLLBACK
1517
+  (0.1ms) BEGIN
1518
+  (0.1ms) BEGIN
1519
+  (0.1ms) SAVEPOINT active_record_2
1520
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1521
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page32' LIMIT 1
1522
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page32' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1523
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page32' AND `spud_pages`.`site_id` = 0) LIMIT 1
1524
+ SQL (0.9ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page32', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page32', 0, 0)
1525
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1526
+  (0.1ms) SAVEPOINT active_record_2
1527
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
1528
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page33' LIMIT 1
1529
+ SpudPage Exists (0.3ms) 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
1530
+ 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
1531
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page33', NULL, NULL, NULL, 1, 1, NULL, '2013-02-11 20:55:17', NULL, 'page33', 0, 0)
1532
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1533
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1 AND `spud_pages`.`site_id` = 1
1534
+  (0.5ms) ROLLBACK
1535
+  (0.0ms) ROLLBACK
1536
+  (0.0ms) BEGIN
1537
+  (0.0ms) BEGIN
1538
+  (0.2ms) ROLLBACK
1539
+  (0.1ms) ROLLBACK
1540
+  (0.1ms) BEGIN
1541
+  (0.0ms) BEGIN
1542
+  (0.0ms) ROLLBACK
1543
+  (0.0ms) ROLLBACK
1544
+  (0.0ms) BEGIN
1545
+  (0.0ms) BEGIN
1546
+  (0.1ms) ROLLBACK
1547
+  (0.1ms) ROLLBACK
1548
+  (0.0ms) BEGIN
1549
+  (0.1ms) BEGIN
1550
+  (0.1ms) ROLLBACK
1551
+  (0.0ms) ROLLBACK
1552
+  (0.0ms) BEGIN
1553
+  (0.0ms) BEGIN
1554
+  (0.1ms) ROLLBACK
1555
+  (0.0ms) ROLLBACK
1556
+  (0.2ms) BEGIN
1557
+  (0.1ms) BEGIN
1558
+  (0.2ms) ROLLBACK
1559
+  (0.0ms) ROLLBACK
1560
+  (0.1ms) BEGIN
1561
+  (0.1ms) BEGIN
1562
+  (0.1ms) ROLLBACK
1563
+  (0.1ms) ROLLBACK
1564
+  (0.0ms) BEGIN
1565
+  (0.0ms) BEGIN
1566
+  (0.1ms) ROLLBACK
1567
+  (0.0ms) ROLLBACK
1568
+  (0.0ms) BEGIN
1569
+  (0.0ms) BEGIN
1570
+  (0.2ms) ROLLBACK
1571
+  (0.1ms) ROLLBACK
1572
+  (0.2ms) BEGIN
1573
+  (0.2ms) BEGIN
1574
+  (0.2ms) ROLLBACK
1575
+  (0.1ms) ROLLBACK
1576
+  (0.1ms) BEGIN
1577
+  (0.0ms) BEGIN
1578
+  (0.0ms) SAVEPOINT active_record_2
1579
+ 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-02-11 20:55:17', NULL, 'Test Page', NULL, 'test_page', '2013-02-11 20:55:17')
1580
+ SpudPageLiquidTag Load (0.3ms) 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'
1581
+ SQL (0.3ms) UPDATE `spud_page_partials` SET `content_processed` = '' WHERE `spud_page_partials`.`id` = 1
1582
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1583
+  (0.4ms) ROLLBACK
1584
+  (0.1ms) ROLLBACK
1585
+  (0.1ms) BEGIN
1586
+  (0.1ms) BEGIN
1587
+  (0.1ms) SAVEPOINT active_record_2
1588
+ SQL (0.4ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Home Sweet Home', '2013-02-11 20:55:17', NULL, 'Test Page', 1, '2013-02-11 20:55:17')
1589
+  (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'
1590
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 LIMIT 1
1591
+ 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-02-11 20:55:17', NULL, 'Test Page', 1, 'test_page', '2013-02-11 20:55:17')
1592
+ 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'
1593
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1594
+  (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'
1595
+  (0.4ms) ROLLBACK
1596
+  (0.0ms) ROLLBACK
1597
+  (0.0ms) BEGIN
1598
+  (0.0ms) BEGIN
1599
+  (0.0ms) SAVEPOINT active_record_2
1600
+ SQL (0.2ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Home Sweet Home', '2013-02-11 20:55:17', NULL, 'Test Page', 1, '2013-02-11 20:55:17')
1601
+  (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'
1602
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 LIMIT 1
1603
+ 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-02-11 20:55:17', NULL, 'Test Page', 1, 'test_page', '2013-02-11 20:55:17')
1604
+ SpudPageLiquidTag Load (0.4ms) 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'
1605
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1606
+  (0.1ms) SAVEPOINT active_record_2
1607
+ SQL (0.3ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Nah', '2013-02-11 20:55:17', NULL, 'Test Page', 1, '2013-02-11 20:55:17')
1608
+  (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'
1609
+  (0.3ms) UPDATE `spud_page_partials` SET `content` = 'Nah', `content_processed` = 'Nah', `updated_at` = '2013-02-11 20:55:17' WHERE `spud_page_partials`.`id` = 3
1610
+ 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'
1611
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1612
+  (0.1ms) SAVEPOINT active_record_2
1613
+ SQL (0.3ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Another change', '2013-02-11 20:55:17', NULL, 'Test Page', 1, '2013-02-11 20:55:17')
1614
+  (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'
1615
+ 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
1616
+ SQL (0.3ms) DELETE FROM `spud_page_partial_revisions` WHERE `spud_page_partial_revisions`.`id` = 2
1617
+  (0.3ms) UPDATE `spud_page_partials` SET `content` = 'Another change', `content_processed` = 'Another change', `updated_at` = '2013-02-11 20:55:17' WHERE `spud_page_partials`.`id` = 3
1618
+ 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'
1619
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1620
+  (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'
1621
+  (0.5ms) ROLLBACK
1622
+  (0.1ms) ROLLBACK
1623
+  (0.0ms) BEGIN
1624
+  (0.0ms) BEGIN
1625
+  (0.0ms) ROLLBACK
1626
+  (0.0ms) ROLLBACK
1627
+  (0.0ms) BEGIN
1628
+  (0.0ms) BEGIN
1629
+  (0.0ms) ROLLBACK
1630
+  (0.0ms) ROLLBACK
1631
+  (0.0ms) BEGIN
1632
+  (0.1ms) BEGIN
1633
+  (0.1ms) ROLLBACK
1634
+  (0.0ms) ROLLBACK
1635
+  (0.0ms) BEGIN
1636
+  (0.0ms) BEGIN
1637
+  (0.0ms) ROLLBACK
1638
+  (0.0ms) ROLLBACK
1639
+  (0.0ms) BEGIN
1640
+  (0.0ms) BEGIN
1641
+  (0.0ms) ROLLBACK
1642
+  (0.0ms) ROLLBACK
1643
+  (0.0ms) BEGIN
1644
+  (0.0ms) BEGIN
1645
+ SpudPage Exists (0.4ms) 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
1646
+ 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
1647
+  (0.1ms) ROLLBACK
1648
+  (0.0ms) ROLLBACK
1649
+  (0.0ms) BEGIN
1650
+  (0.0ms) BEGIN
1651
+  (0.1ms) SAVEPOINT active_record_2
1652
+ 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
1653
+ 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
1654
+ SQL (0.9ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page34', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'test', 1, 0)
1655
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1656
+ SpudPage Exists (0.4ms) 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
1657
+ 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
1658
+  (0.5ms) ROLLBACK
1659
+  (0.1ms) ROLLBACK
1660
+  (0.0ms) BEGIN
1661
+  (0.0ms) BEGIN
1662
+  (0.1ms) SAVEPOINT active_record_2
1663
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1664
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'test' LIMIT 1
1665
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'test' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1666
+ 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
1667
+ SQL (0.7ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'test', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'test', 0, 0)
1668
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1669
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1670
+ 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
1671
+ SpudPage Exists (60.7ms) 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
1672
+ 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
1673
+  (0.8ms) ROLLBACK
1674
+  (0.1ms) ROLLBACK
1675
+  (0.1ms) BEGIN
1676
+  (0.1ms) BEGIN
1677
+  (0.2ms) SAVEPOINT active_record_2
1678
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1679
+ SpudPermalink Load (0.4ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page36' LIMIT 1
1680
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page36' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1681
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page36' AND `spud_pages`.`site_id` = 0) LIMIT 1
1682
+ SQL (1.0ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page36', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'page36', 0, 0)
1683
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 45 LIMIT 1
1684
+ 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-02-11 20:55:17', NULL, 'body', 45, 'body', '2013-02-11 20:55:17')
1685
+ 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'
1686
+ SQL (0.2ms) UPDATE `spud_page_partials` SET `content_processed` = '' WHERE `spud_page_partials`.`id` = 4
1687
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1688
+  (0.2ms) SELECT COUNT(*) FROM `spud_page_partials`
1689
+  (0.1ms) SAVEPOINT active_record_2
1690
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`spud_page_id` = 45
1691
+ 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'
1692
+ SQL (0.2ms) DELETE FROM `spud_page_partials` WHERE `spud_page_partials`.`id` = 4
1693
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 45 AND `spud_permalinks`.`attachment_type` = 'SpudPage'
1694
+ SQL (0.3ms) DELETE FROM `spud_pages` WHERE `spud_pages`.`id` = 45
1695
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1696
+  (0.2ms) SELECT COUNT(*) FROM `spud_page_partials`
1697
+  (0.3ms) ROLLBACK
1698
+  (0.0ms) ROLLBACK
1699
+  (0.0ms) BEGIN
1700
+  (0.0ms) BEGIN
1701
+  (0.1ms) ROLLBACK
1702
+  (0.0ms) ROLLBACK
1703
+  (0.1ms) BEGIN
1704
+  (0.1ms) BEGIN
1705
+  (0.1ms) ROLLBACK
1706
+  (0.1ms) ROLLBACK
1707
+  (0.1ms) BEGIN
1708
+  (0.1ms) BEGIN
1709
+  (0.1ms) ROLLBACK
1710
+  (0.1ms) ROLLBACK
1711
+  (0.1ms) BEGIN
1712
+  (0.1ms) BEGIN
1713
+  (0.1ms) SAVEPOINT active_record_2
1714
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1715
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'parent' LIMIT 1
1716
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'parent' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1717
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'parent' AND `spud_pages`.`site_id` = 0) LIMIT 1
1718
+ SQL (0.8ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'parent', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'parent', 0, 0)
1719
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1720
+  (0.2ms) SAVEPOINT active_record_2
1721
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1722
+ 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
1723
+ 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
1724
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'parent/page-1' AND `spud_pages`.`site_id` = 0) LIMIT 1
1725
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page 1', NULL, NULL, NULL, 1, 0, 46, '2013-02-11 20:55:17', NULL, 'parent/page-1', 0, 0)
1726
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1727
+  (0.1ms) SAVEPOINT active_record_2
1728
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1729
+ 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
1730
+ SpudPage Exists (0.3ms) 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
1731
+ SpudPage Exists (0.4ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'parent/page-2' AND `spud_pages`.`site_id` = 0) LIMIT 1
1732
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'Page 2', NULL, NULL, NULL, 1, 0, 46, '2013-02-11 20:55:17', NULL, 'parent/page-2', 0, 0)
1733
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1734
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1735
+  (0.3ms) ROLLBACK
1736
+  (0.0ms) ROLLBACK
1737
+  (0.0ms) BEGIN
1738
+  (0.0ms) BEGIN
1739
+  (0.1ms) ROLLBACK
1740
+  (0.1ms) ROLLBACK
1741
+  (0.0ms) BEGIN
1742
+  (0.0ms) BEGIN
1743
+  (0.1ms) SAVEPOINT active_record_2
1744
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1745
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
1746
+ 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
1747
+ 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
1748
+ SQL (0.9ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'about', 0, 0)
1749
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1750
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1751
+ 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
1752
+ SpudPage Exists (0.4ms) 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
1753
+ 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
1754
+  (0.4ms) ROLLBACK
1755
+  (0.1ms) ROLLBACK
1756
+  (0.0ms) BEGIN
1757
+  (0.0ms) BEGIN
1758
+  (0.1ms) SAVEPOINT active_record_2
1759
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1760
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'testimonials' LIMIT 1
1761
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'testimonials' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1762
+ 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
1763
+ SQL (0.9ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'testimonials', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'testimonials', 0, 0)
1764
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1765
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1766
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'testimonials-1' LIMIT 1
1767
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'testimonials' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1768
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'testimonials-1' AND `spud_pages`.`site_id` = 0) LIMIT 1
1769
+  (0.5ms) ROLLBACK
1770
+  (0.0ms) ROLLBACK
1771
+  (0.0ms) BEGIN
1772
+  (0.0ms) BEGIN
1773
+  (0.2ms) SAVEPOINT active_record_2
1774
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1775
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another' LIMIT 1
1776
+ 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
1777
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'another' AND `spud_pages`.`site_id` = 0) LIMIT 1
1778
+ 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-02-11 20:55:17', NULL, 'html', NULL, NULL, NULL, 'another', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:17', NULL, 'another', 0, 0)
1779
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1780
+  (0.1ms) SAVEPOINT active_record_2
1781
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 51)
1782
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'again' LIMIT 1
1783
+ SpudPermalink Exists (0.3ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'another' AND `spud_permalinks`.`site_id` = 0) LIMIT 1
1784
+ SQL (0.3ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (51, 'SpudPage', '2013-02-11 20:55:17', 0, '2013-02-11 20:55:17', 'another')
1785
+ SpudPage Exists (0.3ms) 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
1786
+ 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
1787
+  (0.3ms) UPDATE `spud_pages` SET `name` = 'again', `url_name` = 'again', `updated_at` = '2013-02-11 20:55:17' WHERE `spud_pages`.`id` = 51
1788
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1789
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1790
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another' LIMIT 1
1791
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 51 LIMIT 1
1792
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another-1' LIMIT 1
1793
+ SpudPage Exists (0.3ms) 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
1794
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'another-1' AND `spud_pages`.`site_id` = 0) LIMIT 1
1795
+  (0.6ms) ROLLBACK
1796
+  (0.1ms) ROLLBACK
1797
+  (0.0ms) BEGIN
1798
+  (0.1ms) BEGIN
1799
+  (0.2ms) SAVEPOINT active_record_2
1800
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1801
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage' LIMIT 1
1802
+ 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
1803
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'permapage' AND `spud_pages`.`site_id` = 0) LIMIT 1
1804
+ 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-02-11 20:55:18', NULL, 'html', NULL, NULL, NULL, 'permapage', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:18', NULL, 'permapage', 0, 0)
1805
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1806
+  (0.2ms) SAVEPOINT active_record_2
1807
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 52)
1808
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage-new' LIMIT 1
1809
+ 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
1810
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (52, 'SpudPage', '2013-02-11 20:55:18', 0, '2013-02-11 20:55:18', 'permapage')
1811
+ SpudPage Exists (0.3ms) 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
1812
+ 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
1813
+  (0.3ms) UPDATE `spud_pages` SET `name` = 'permapage new', `url_name` = 'permapage-new', `updated_at` = '2013-02-11 20:55:18' WHERE `spud_pages`.`id` = 52
1814
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1815
+  (0.2ms) SELECT COUNT(*) FROM `spud_permalinks` 
1816
+  (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'
1817
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 52)
1818
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage' LIMIT 1
1819
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 52 LIMIT 1
1820
+  (0.1ms) SAVEPOINT active_record_2
1821
+ SQL (0.2ms) DELETE FROM `spud_permalinks` WHERE `spud_permalinks`.`id` = 5
1822
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1823
+  (0.0ms) SAVEPOINT active_record_2
1824
+ SpudPermalink Exists (0.2ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'permapage-new' AND `spud_permalinks`.`site_id` = 0) LIMIT 1
1825
+ SQL (0.3ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (52, 'SpudPage', '2013-02-11 20:55:18', 0, '2013-02-11 20:55:18', 'permapage-new')
1826
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1827
+ SpudPage Exists (0.3ms) 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
1828
+ 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
1829
+  (0.3ms) SELECT COUNT(*) FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 52 AND `spud_permalinks`.`attachment_type` = 'SpudPage' AND `spud_permalinks`.`url_name` = 'permapage'
1830
+  (0.5ms) ROLLBACK
1831
+  (0.0ms) ROLLBACK
1832
+  (0.0ms) BEGIN
1833
+  (0.0ms) BEGIN
1834
+  (0.1ms) SAVEPOINT active_record_2
1835
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1836
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original' LIMIT 1
1837
+ 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
1838
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'original' AND `spud_pages`.`site_id` = 0) LIMIT 1
1839
+ SQL (0.9ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-11 20:55:18', NULL, 'html', NULL, NULL, NULL, 'original', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:18', NULL, 'original', 0, 0)
1840
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1841
+ SpudPage Exists (0.4ms) 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
1842
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'original' AND `spud_pages`.`site_id` = 0) LIMIT 1
1843
+  (0.4ms) ROLLBACK
1844
+  (0.1ms) ROLLBACK
1845
+  (0.0ms) BEGIN
1846
+  (0.0ms) BEGIN
1847
+  (0.0ms) SAVEPOINT active_record_2
1848
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1849
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original' LIMIT 1
1850
+ 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
1851
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'original' AND `spud_pages`.`site_id` = 0) LIMIT 1
1852
+ 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-02-11 20:55:18', NULL, 'html', NULL, NULL, NULL, 'original', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:18', NULL, 'original', 0, 0)
1853
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1854
+  (0.1ms) SAVEPOINT active_record_2
1855
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 54)
1856
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original2' LIMIT 1
1857
+ 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
1858
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (54, 'SpudPage', '2013-02-11 20:55:18', 0, '2013-02-11 20:55:18', 'original')
1859
+ 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
1860
+ 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
1861
+  (0.3ms) UPDATE `spud_pages` SET `name` = 'original2', `url_name` = 'original2', `updated_at` = '2013-02-11 20:55:18' WHERE `spud_pages`.`id` = 54
1862
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1863
+  (0.1ms) SAVEPOINT active_record_2
1864
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1865
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'new' LIMIT 1
1866
+ SpudPage Exists (0.3ms) 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
1867
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'new' AND `spud_pages`.`site_id` = 0) LIMIT 1
1868
+ 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-02-11 20:55:18', NULL, 'html', NULL, NULL, NULL, 'new', NULL, NULL, NULL, 1, 0, NULL, '2013-02-11 20:55:18', NULL, 'new', 0, 0)
1869
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1870
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 55 LIMIT 1
1871
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original' LIMIT 1
1872
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 54 LIMIT 1
1873
+  (0.4ms) ROLLBACK
1874
+  (0.1ms) ROLLBACK