spud_cms 0.9.15 → 0.9.17

Sign up to get free protection for your applications and to get access to all the features.
data/config/routes.rb CHANGED
@@ -26,6 +26,4 @@ Rails.application.routes.draw do
26
26
  # match "*id", :controller => "pages",:action => "show", :as => "page"
27
27
 
28
28
  end
29
- Spud::Cms::Engine.routes.draw do
30
- end
31
29
 
@@ -35,8 +35,10 @@ module Spud
35
35
  end
36
36
  end
37
37
  initializer :cms_sweepers do |config|
38
- Spud::Admin::ApplicationController.instance_eval do
39
- cache_sweeper :page_sweeper, :except => [:show,:index]
38
+ if ActiveRecord::Base.connection.tables.include?('spud_pages')
39
+ Spud::Admin::ApplicationController.instance_eval do
40
+ cache_sweeper :page_sweeper, :except => [:show,:index]
41
+ end
40
42
  end
41
43
  end
42
44
 
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Cms
3
- VERSION = "0.9.15"
3
+ VERSION = "0.9.17"
4
4
  end
5
5
  end
@@ -1,1261 +1,1264 @@
1
1
  Connecting to database specified by database.yml
2
2
  Creating scope :public. Overwriting existing method SpudPage.public.
3
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`;
4
+  (0.3ms) SET FOREIGN_KEY_CHECKS = 0
5
+  (1.5ms) SELECT DATABASE() as db
6
+  (10.5ms) select table_name from information_schema.views where table_schema = 'spud_cms_test'
7
+  (6.7ms) TRUNCATE TABLE `spud_admin_permissions`;
8
+  (8.0ms) TRUNCATE TABLE `spud_menu_items`;
9
+  (1.8ms) TRUNCATE TABLE `spud_menus`;
10
+  (2.5ms) TRUNCATE TABLE `spud_page_liquid_tags`;
11
+  (4.3ms) TRUNCATE TABLE `spud_page_partial_revisions`;
12
+  (1.8ms) TRUNCATE TABLE `spud_page_partials`;
13
+  (2.8ms) TRUNCATE TABLE `spud_pages`;
14
+  (1.8ms) TRUNCATE TABLE `spud_permalinks`;
15
+  (2.9ms) TRUNCATE TABLE `spud_snippets`;
16
+  (1.5ms) TRUNCATE TABLE `spud_user_settings`;
17
17
   (1.8ms) TRUNCATE TABLE `spud_users`;
18
18
   (0.1ms) SET FOREIGN_KEY_CHECKS = 1
19
-  (0.1ms) BEGIN
20
-  (0.1ms) BEGIN
19
+  (0.0ms) BEGIN
20
+  (0.0ms) BEGIN
21
21
   (0.1ms) SAVEPOINT active_record_2
22
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
23
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page1' LIMIT 1
24
+ SpudPage Exists (1.1ms) 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.4ms) 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.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-20 13:04:26', NULL, 'html', NULL, NULL, NULL, 'Page1', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:26', NULL, 'page1', 0, 0)
27
+  (0.1ms) RELEASE SAVEPOINT active_record_2
28
28
  Processing by PagesController#show as HTML
29
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)
30
+ SpudPage Load (1.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'page1' LIMIT 1
31
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (1)
32
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_cms/app/views/pages/show.html.erb within layouts/application (3.2ms)
33
+ Completed 200 OK in 70ms (Views: 13.3ms | ActiveRecord: 2.8ms)
34
34
   (0.5ms) ROLLBACK
35
-  (0.1ms) ROLLBACK
36
-  (0.1ms) BEGIN
35
+  (0.2ms) ROLLBACK
36
+  (0.0ms) BEGIN
37
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)
38
+  (0.1ms) SAVEPOINT active_record_2
39
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
40
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'home' LIMIT 1
41
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'home' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
42
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'home' AND `spud_pages`.`site_id` = 0) LIMIT 1
43
+ 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-20 13:04:26', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:26', NULL, 'home', 0, 0)
44
44
   (0.1ms) RELEASE SAVEPOINT active_record_2
45
45
  Processing by PagesController#show as HTML
46
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)
47
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (2)
48
+ Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)
49
49
   (0.5ms) ROLLBACK
50
-  (0.2ms) ROLLBACK
50
+  (0.1ms) ROLLBACK
51
51
   (0.0ms) BEGIN
52
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)
53
+  (0.1ms) SAVEPOINT active_record_2
54
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
55
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
56
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
57
+ 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
58
+ 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-20 13:04:26', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:26', NULL, 'about', 0, 0)
59
59
   (0.1ms) RELEASE SAVEPOINT active_record_2
60
60
   (0.0ms) SAVEPOINT active_record_2
61
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
62
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about-us' LIMIT 1
63
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
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-20 13:04:26', 0, '2013-02-20 13:04:26', 'about')
65
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about us' AND `spud_pages`.`id` != 3 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
66
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about-us' AND `spud_pages`.`id` != 3 AND `spud_pages`.`site_id` = 0) LIMIT 1
67
+  (0.3ms) UPDATE `spud_pages` SET `name` = 'about us', `url_name` = 'about-us', `updated_at` = '2013-02-20 13:04:26' WHERE `spud_pages`.`id` = 3
68
68
   (0.1ms) RELEASE SAVEPOINT active_record_2
69
69
  Processing by PagesController#show as HTML
70
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
71
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' LIMIT 1
72
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
73
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 3 LIMIT 1
74
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
75
+ Completed 301 Moved Permanently in 7ms (ActiveRecord: 0.8ms)
76
+  (0.7ms) ROLLBACK
77
+  (0.0ms) ROLLBACK
78
78
   (0.0ms) BEGIN
79
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
80
+  (0.0ms) SAVEPOINT active_record_2
81
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
82
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
83
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
84
+ 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
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-20 13:04:26', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:26', NULL, 'about', 0, 1)
86
+  (0.1ms) RELEASE SAVEPOINT active_record_2
87
87
  Processing by PagesController#show as HTML
88
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
89
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' LIMIT 1
90
90
  SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (4)
91
91
  Redirected to http://test.host/spud/user_session/new
92
- Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
92
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
93
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')
94
+  (0.0ms) ROLLBACK
95
+  (0.0ms) BEGIN
96
+  (0.0ms) BEGIN
97
+  (0.2ms) SAVEPOINT active_record_2
98
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
99
+ SpudUser Exists (0.2ms) 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 '81f10be0efd6bca91cbccd8435b3c32eb7d1eea09da2e0db13d475770531aeb24d237e9edd1bf3a65316d2d68be84a5085033d0461a580cc36621b4aa4f10c3d' LIMIT 1
101
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Nyn6upb7ZoVoFWDnu7g' LIMIT 1
102
+ 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-20 13:04:26', 'c50fe123ef52ba1c742327b5fa75f7471be9d7ea9567c1998a6c5a85ee7a7a0fc0d71069b8853bee5b44f76e7459a8c9718aa070e8dd80c79682e19df36efe62', '2013-02-20 13:04:26', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:26', 'testuser', 1, 'ED1rs1pX2oq2TOf98a9', 'qmgMbBw0OssBNJ2BOQ', '81f10be0efd6bca91cbccd8435b3c32eb7d1eea09da2e0db13d475770531aeb24d237e9edd1bf3a65316d2d68be84a5085033d0461a580cc36621b4aa4f10c3d', 'Nyn6upb7ZoVoFWDnu7g', 1, NULL, '2013-02-20 13:04:26')
103
103
   (0.2ms) RELEASE SAVEPOINT active_record_2
104
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
105
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:26', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vXj30pZc5SatXGToftB', `updated_at` = '2013-02-20 13:04:26' WHERE `spud_users`.`id` = 1
106
106
   (0.1ms) RELEASE SAVEPOINT active_record_2
107
107
   (0.1ms) SAVEPOINT active_record_2
108
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
109
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
110
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
111
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
112
+ 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-20 13:04:26', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:26', NULL, 'about', 0, 1)
113
+  (0.1ms) RELEASE SAVEPOINT active_record_2
114
114
  Processing by PagesController#show as HTML
115
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
116
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
117
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' LIMIT 1
118
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (5)
119
+ Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.6ms)
120
+  (0.5ms) ROLLBACK
121
+  (0.1ms) ROLLBACK
122
122
   (0.0ms) BEGIN
123
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
124
+  (0.1ms) SAVEPOINT active_record_2
125
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
126
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)
127
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
128
+ 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
129
+ 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-20 13:04:26', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:26', NULL, 'about', 0, 0)
130
130
   (0.1ms) RELEASE SAVEPOINT active_record_2
131
131
  Processing by PagesController#show as HTML
132
132
  Parameters: {"id"=>"about"}
133
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
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
135
+ Completed 404 Not Found in 5ms (Views: 2.4ms | ActiveRecord: 0.6ms)
136
+  (0.6ms) ROLLBACK
137
+  (0.1ms) ROLLBACK
138
138
   (0.0ms) BEGIN
139
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)
140
+  (0.1ms) SAVEPOINT active_record_2
141
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
142
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
143
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
144
+ 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
145
+ 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-20 13:04:26', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:26', NULL, 'about', 0, 0)
146
146
   (0.1ms) RELEASE SAVEPOINT active_record_2
147
147
   (0.1ms) SAVEPOINT active_record_2
148
- SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
148
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
149
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)
150
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 1 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
151
+ SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about' AND `spud_pages`.`site_id` = 1) LIMIT 1
152
+ SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-20 13:04:26', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 1, NULL, '2013-02-20 13:04:26', NULL, 'about', 0, 0)
153
153
   (0.1ms) RELEASE SAVEPOINT active_record_2
154
154
  Processing by PagesController#show as HTML
155
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
156
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' AND `spud_pages`.`site_id` = 1 LIMIT 1
157
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (8)
158
+ Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms)
159
+  (0.8ms) ROLLBACK
160
160
   (0.1ms) ROLLBACK
161
161
   (0.0ms) BEGIN
162
162
   (0.0ms) BEGIN
163
-  (0.2ms) SAVEPOINT active_record_2
163
+  (0.1ms) SAVEPOINT active_record_2
164
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
165
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'home' LIMIT 1
166
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'home' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
167
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'home' AND `spud_pages`.`site_id` = 0) LIMIT 1
168
+ 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-20 13:04:27', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:27', NULL, 'home', 0, 0)
169
+  (0.0ms) RELEASE SAVEPOINT active_record_2
170
+  (0.0ms) SAVEPOINT active_record_2
171
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
172
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'home' LIMIT 1
173
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'home' AND `spud_pages`.`site_id` = 1 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
174
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
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-20 13:04:27', NULL, 'html', NULL, NULL, NULL, 'home', NULL, NULL, NULL, 1, 1, NULL, '2013-02-20 13:04:27', NULL, 'home', 0, 0)
176
+  (0.1ms) RELEASE SAVEPOINT active_record_2
177
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
178
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'home' AND `spud_pages`.`site_id` = 1 LIMIT 1
179
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
180
+ Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.6ms)
181
+  (0.3ms) ROLLBACK
182
+  (0.0ms) ROLLBACK
183
+  (0.0ms) BEGIN
184
+  (0.0ms) BEGIN
185
+  (0.2ms) ROLLBACK
186
+  (0.0ms) ROLLBACK
183
187
   (0.0ms) BEGIN
184
188
   (0.0ms) BEGIN
185
-  (0.1ms) ROLLBACK
186
-  (0.1ms) ROLLBACK
187
-  (0.1ms) BEGIN
188
-  (0.1ms) BEGIN
189
189
   (0.2ms) SAVEPOINT active_record_2
190
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
191
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
192
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fd8ec0c96ab10e8f9a3200c55a9a142fe42d9f357b69655881b2807a2d21e9a25b1cda2c59da0ccdb5d364f4aedbd13c3aa91804f1a00e37a756b2c0d77a46e2' LIMIT 1
193
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oLGbZj9dB9wcGrWs5j' LIMIT 1
194
+ 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-20 13:04:27', 'a6e2e5632ec215d6e0809804cd2e7c2720a9ac064280b1e320a0dca1e2a9f1d9a2019b2a8f19cdfa08d55a676c5c9aec7c791ebc810cf2a6a7ded6fbc60696df', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'CEqOfxjSygM4jbLilTH5', 'pytYzNHXEUuwc8csdER', 'fd8ec0c96ab10e8f9a3200c55a9a142fe42d9f357b69655881b2807a2d21e9a25b1cda2c59da0ccdb5d364f4aedbd13c3aa91804f1a00e37a756b2c0d77a46e2', 'oLGbZj9dB9wcGrWs5j', 1, NULL, '2013-02-20 13:04:27')
195
+  (0.0ms) RELEASE SAVEPOINT active_record_2
196
+  (0.2ms) SAVEPOINT active_record_2
197
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Hl9zGKNz52larHggEO', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 2
198
198
   (0.1ms) RELEASE SAVEPOINT active_record_2
199
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
200
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu1' AND `spud_menus`.`site_id` = 0) LIMIT 1
201
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu1', 0, '2013-02-20 13:04:27')
202
+  (0.0ms) RELEASE SAVEPOINT active_record_2
203
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)
204
+ 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-20 13:04:27', NULL, 0, 'Menu Item 1', 1, 'SpudMenu', 1, NULL, '2013-02-20 13:04:27', NULL)
205
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)
206
+  (0.0ms) SAVEPOINT active_record_2
207
+ 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-20 13:04:27', NULL, 0, 'Menu Item 2', 1, 'SpudMenu', 1, NULL, '2013-02-20 13:04:27', NULL)
208
208
   (0.1ms) RELEASE SAVEPOINT active_record_2
209
209
  Processing by Spud::Admin::MenuItemsController#index as HTML
210
210
  Parameters: {"menu_id"=>"1"}
211
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'
212
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 LIMIT 1
213
+ Completed 200 OK in 9ms (Views: 2.9ms | ActiveRecord: 0.5ms)
214
+  (0.4ms) SELECT COUNT(*) FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 1 AND `spud_menu_items`.`parent_type` = 'SpudMenu'
215
215
   (0.4ms) ROLLBACK
216
-  (0.0ms) ROLLBACK
217
-  (0.0ms) BEGIN
218
-  (0.0ms) BEGIN
219
-  (0.1ms) SAVEPOINT active_record_2
216
+  (0.1ms) ROLLBACK
217
+  (0.1ms) BEGIN
218
+  (0.1ms) BEGIN
219
+  (0.0ms) SAVEPOINT active_record_2
220
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
221
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
222
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '356e595b02788ffb9a0d3ca35de6a9c9c509702f6d3a941f9eb599641b13854731a413ef70cb12a04301d8cf4dca488e0a17d17daecc63b2f64273f6844dbc81' LIMIT 1
223
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hn6LZNqT80u4CB1meI5' 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-20 13:04:27', 'da609360093a47b206314b82a9bb1283079c844faa0067f39c4b93baeacce54748c1348938b7eacd55cf956a19d8ad502a6c6e413d01b2bdc5de4c7942bd2c9a', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'JTCkqUObUawuwrp4eMQS', 'fEVNU6dkSpz4FoHYjEZ', '356e595b02788ffb9a0d3ca35de6a9c9c509702f6d3a941f9eb599641b13854731a413ef70cb12a04301d8cf4dca488e0a17d17daecc63b2f64273f6844dbc81', 'hn6LZNqT80u4CB1meI5', 1, NULL, '2013-02-20 13:04:27')
225
+  (0.2ms) RELEASE SAVEPOINT active_record_2
226
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
227
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'sTPCoSgn7f5wtZaCPKH', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 3
228
228
   (0.1ms) RELEASE SAVEPOINT active_record_2
229
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
230
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu2' AND `spud_menus`.`site_id` = 0) LIMIT 1
231
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu2', 0, '2013-02-20 13:04:27')
232
+  (0.0ms) RELEASE SAVEPOINT active_record_2
233
233
  Processing by Spud::Admin::MenuItemsController#index as HTML
234
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
235
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
236
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 3 LIMIT 1
237
237
  Redirected to http://test.host/spud/admin/menus
238
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
239
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
240
+  (1.0ms) ROLLBACK
241
+  (0.2ms) ROLLBACK
242
+  (0.1ms) BEGIN
243
243
   (0.0ms) BEGIN
244
244
   (0.2ms) SAVEPOINT active_record_2
245
245
  SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
246
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')
247
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '46057244a5179625078e02dce164c9a48539fb7ac57476a3e9c608765686a26d40f41f2e1dfde5f257ac36b940f3a21338cf7aa3027f805b315ad3bdeb9eb039' LIMIT 1
248
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'P6byXnG8gIazgXABk7f' LIMIT 1
249
+ 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-20 13:04:27', '922f03295d075baff58393bcc4d597b54e003a99eea87e9e13f1113f3516a22c7246f283ab8d4599e164b81eed57aec2cbd02afc6168983bd60d9a6db415fb64', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'sY5sqvo8BwGjT0RL7xvd', 'CsNze4csywjrzuZk0RSS', '46057244a5179625078e02dce164c9a48539fb7ac57476a3e9c608765686a26d40f41f2e1dfde5f257ac36b940f3a21338cf7aa3027f805b315ad3bdeb9eb039', 'P6byXnG8gIazgXABk7f', 1, NULL, '2013-02-20 13:04:27')
250
250
   (0.1ms) RELEASE SAVEPOINT active_record_2
251
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
252
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Vyr6fr396CWuTs3UTKFo', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 4
253
253
   (0.1ms) RELEASE SAVEPOINT active_record_2
254
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')
255
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu3' AND `spud_menus`.`site_id` = 0) LIMIT 1
256
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu3', 0, '2013-02-20 13:04:27')
257
257
   (0.1ms) RELEASE SAVEPOINT active_record_2
258
258
  Processing by Spud::Admin::MenuItemsController#new as HTML
259
259
  Parameters: {"menu_id"=>"3"}
260
260
  SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
261
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
262
+ Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 0.4ms)
263
+  (0.8ms) ROLLBACK
264
+  (0.2ms) ROLLBACK
265
+  (0.1ms) BEGIN
266
266
   (0.0ms) BEGIN
267
-  (0.2ms) SAVEPOINT active_record_2
267
+  (0.1ms) SAVEPOINT active_record_2
268
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')
269
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
270
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '77e68d348fa02ccf222949f97848b0709be853a3b41b5b04734e83c6ed60cbd249992cea3eec49f20f59ee18a6b487a356164617a6f8c8c40c273a5a9a391d39' LIMIT 1
271
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jyfEfIxT0tH9ZD9jOlVK' 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-20 13:04:27', '0054f4fe994821d183c0860aa107b1b2e4bc379591c72982d15ae573ad337ff1c565302043e94272c7ea945fd5660bff5b6444a0e92bb6e5297e5db49c87b0d7', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 't0LkUbYd0HXNwwbfggkO', 'SyMvGXh06RGuqgzpejLq', '77e68d348fa02ccf222949f97848b0709be853a3b41b5b04734e83c6ed60cbd249992cea3eec49f20f59ee18a6b487a356164617a6f8c8c40c273a5a9a391d39', 'jyfEfIxT0tH9ZD9jOlVK', 1, NULL, '2013-02-20 13:04:27')
273
273
   (0.1ms) RELEASE SAVEPOINT active_record_2
274
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
275
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'x0vEsUxDI5suYkttjd6E', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 5
276
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')
277
+  (0.0ms) SAVEPOINT active_record_2
278
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu4' AND `spud_menus`.`site_id` = 0) LIMIT 1
279
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu4', 0, '2013-02-20 13:04:27')
280
280
   (0.1ms) RELEASE SAVEPOINT active_record_2
281
281
   (0.2ms) SELECT COUNT(*) FROM `spud_menu_items` 
282
282
  Processing by Spud::Admin::MenuItemsController#create as HTML
283
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)
284
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
285
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 4 LIMIT 1
286
+  (0.1ms) SAVEPOINT active_record_2
287
+ 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-20 13:04:27', NULL, 0, 'Menu Item 3', 4, 'SpudMenu', 4, NULL, '2013-02-20 13:04:27', NULL)
288
288
   (0.1ms) RELEASE SAVEPOINT active_record_2
289
289
  Redirected to http://test.host/spud/admin/menus/4/menu_items
290
- Completed 302 Found in 19ms (ActiveRecord: 0.0ms)
290
+ Completed 302 Found in 50ms (ActiveRecord: 0.0ms)
291
291
   (0.3ms) SELECT COUNT(*) FROM `spud_menu_items` 
292
292
   (0.4ms) ROLLBACK
293
-  (0.0ms) ROLLBACK
293
+  (0.1ms) ROLLBACK
294
294
   (0.0ms) BEGIN
295
295
   (0.0ms) BEGIN
296
-  (0.2ms) SAVEPOINT active_record_2
296
+  (0.1ms) SAVEPOINT active_record_2
297
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
298
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
299
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ec2d23d4ae4c055665c1de2236a464f1b08edb0f1600f612f193425268d59d5d91c7abde7dec223476f3329841469fb36a84f625cb260f6156ce1fe7be723f93' LIMIT 1
300
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UTVQXrLRuNRHm2uPgCtq' LIMIT 1
301
+ 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-20 13:04:27', '53fba7acc064fe51fe4bd690a561ece86119c79dd41c6b67726d88a5f150672a5426387db2ea2dd5db6e5eeb71f11a63aed0e9305e717abedfbb6ba8ce29a925', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'AwyJI2OtBnoffdaALc4', 'f7YimTi31sJG7MXsiJ3L', 'ec2d23d4ae4c055665c1de2236a464f1b08edb0f1600f612f193425268d59d5d91c7abde7dec223476f3329841469fb36a84f625cb260f6156ce1fe7be723f93', 'UTVQXrLRuNRHm2uPgCtq', 1, NULL, '2013-02-20 13:04:27')
302
+  (0.2ms) RELEASE SAVEPOINT active_record_2
303
+  (0.1ms) SAVEPOINT active_record_2
304
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = '23mvBlWM5tNidHH6bs', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 6
305
+  (0.1ms) RELEASE SAVEPOINT active_record_2
306
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')
307
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu5' AND `spud_menus`.`site_id` = 0) LIMIT 1
308
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu5', 0, '2013-02-20 13:04:27')
309
309
   (0.1ms) RELEASE SAVEPOINT active_record_2
310
-  (0.3ms) SELECT COUNT(*) FROM `spud_menu_items`
310
+  (0.1ms) SELECT COUNT(*) FROM `spud_menu_items`
311
311
  Processing by Spud::Admin::MenuItemsController#create as HTML
312
312
  Parameters: {"spud_menu_item"=>{"name"=>nil, "parent_type"=>"SpudMenu", "parent_id"=>nil}, "menu_id"=>"5"}
313
313
  SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
314
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
315
+  (0.1ms) SAVEPOINT active_record_2
316
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2
317
+ Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
318
+  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items` 
319
+  (0.8ms) ROLLBACK
320
+  (0.0ms) ROLLBACK
321
+  (0.0ms) BEGIN
322
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
323
+  (0.1ms) SAVEPOINT active_record_2
324
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
325
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
326
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '161b2cd74e902c012cfc099beb916adc413ba50150c8e72777ec544dca82ef78418c9d0e9d50229526dd5e904f8029bc127b8259146ce6e77e34b992a55dbbb0' LIMIT 1
327
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4a17OmwT9KZtsyWxo16x' 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-20 13:04:27', 'b0ab9698d450ddbf24f2f31d0ca36483183a93f7ade756be2016e6fc7fb25a18a3b568c0f20e3cc83e748f988057b7c6183eb367df9efc7076d8c4869e749a10', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'VM7q7PfmuPMg0YaqCANn', 'H4Di5EKc3QXwLHt7royX', '161b2cd74e902c012cfc099beb916adc413ba50150c8e72777ec544dca82ef78418c9d0e9d50229526dd5e904f8029bc127b8259146ce6e77e34b992a55dbbb0', '4a17OmwT9KZtsyWxo16x', 1, NULL, '2013-02-20 13:04:27')
329
+  (0.2ms) RELEASE SAVEPOINT active_record_2
330
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
331
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = '86MEnHxccTjpEht64QQT', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 7
332
332
   (0.1ms) RELEASE SAVEPOINT active_record_2
333
-  (0.2ms) SAVEPOINT active_record_2
333
+  (0.1ms) SAVEPOINT active_record_2
334
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')
335
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu6', 0, '2013-02-20 13:04:27')
336
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
337
+  (0.0ms) SAVEPOINT active_record_2
338
+ 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-20 13:04:27', NULL, 0, 'Menu Item 4', 6, 'SpudMenu', 1, NULL, '2013-02-20 13:04:27', NULL)
339
+  (0.1ms) RELEASE SAVEPOINT active_record_2
340
340
  Processing by Spud::Admin::MenuItemsController#create as HTML
341
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
342
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
343
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 6 LIMIT 1
344
344
  SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 6 LIMIT 1
345
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
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
347
+ 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-20 13:04:27', NULL, 1, 'Menu Item 5', 6, 'SpudMenu', 6, NULL, '2013-02-20 13:04:27', NULL)
348
+  (0.1ms) RELEASE SAVEPOINT active_record_2
349
349
  Redirected to http://test.host/spud/admin/menus/6/menu_items
350
- Completed 302 Found in 14ms (ActiveRecord: 0.0ms)
350
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
351
351
   (0.4ms) ROLLBACK
352
352
   (0.0ms) ROLLBACK
353
353
   (0.0ms) BEGIN
354
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')
355
+  (0.2ms) SAVEPOINT active_record_2
356
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
357
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
358
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e7f88134f7cf78c877681ed39325bd5c01c18807a128960550a2c0aef8be7ebd3e1bc0a6fbe39ab145ae03a7c1fbda01ddf6d831d4b01007bc596de5ae7bcf73' LIMIT 1
359
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'IrNU6VUshEAWgdQygaP' LIMIT 1
360
+ 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-20 13:04:27', 'cc8bd59def12bf63141f172c11c9152709189d09a027512e8cf5933ad1ea886f02961abf2b1cd9196d9b66dd1d1d334f40226923c5bf2aa8d3f80a0f27f21dec', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'waeEKE3fVHFJoqaPp9eT', 'xlhVg2TatBuxFDnVfqrL', 'e7f88134f7cf78c877681ed39325bd5c01c18807a128960550a2c0aef8be7ebd3e1bc0a6fbe39ab145ae03a7c1fbda01ddf6d831d4b01007bc596de5ae7bcf73', 'IrNU6VUshEAWgdQygaP', 1, NULL, '2013-02-20 13:04:27')
361
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')
362
+  (0.1ms) SAVEPOINT active_record_2
363
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'XQX0qdIPb3kM2p3ODO6', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 8
364
+  (0.0ms) RELEASE SAVEPOINT active_record_2
365
+  (0.0ms) SAVEPOINT active_record_2
366
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu7' AND `spud_menus`.`site_id` = 0) LIMIT 1
367
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu7', 0, '2013-02-20 13:04:27')
368
368
   (0.1ms) RELEASE SAVEPOINT active_record_2
369
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)
370
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
371
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page2' LIMIT 1
372
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page2' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
373
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page2' AND `spud_pages`.`site_id` = 0) LIMIT 1
374
+ SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-20 13:04:27', NULL, 'html', NULL, NULL, NULL, 'Page2', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:27', NULL, 'page2', 0, 0)
375
375
   (0.1ms) RELEASE SAVEPOINT active_record_2
376
376
  Processing by Spud::Admin::MenuItemsController#create as HTML
377
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
378
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
379
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 7 LIMIT 1
380
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 11 LIMIT 1
381
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
382
+ 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-20 13:04:27', NULL, 0, 'Page2', 1, 'SpudMenuItem', 7, 11, '2013-02-20 13:04:27', NULL)
383
+  (0.1ms) RELEASE SAVEPOINT active_record_2
384
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
385
+ Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
386
+  (1.2ms) ROLLBACK
387
387
   (0.1ms) ROLLBACK
388
388
   (0.1ms) BEGIN
389
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
390
   (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')
391
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
392
+ SpudUser Exists (0.3ms) 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 '3b10ce9ab33645b2f884f196d61596ffe5f3a2e018cf5258ab51a1ba43140b2178af52e67e3d3c8af32c89afcb8c4190fdebb9b9369f026f47b9cfe046818148' LIMIT 1
394
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MzAx2ZNFMVwyNg4zVhg4' LIMIT 1
395
+ 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-20 13:04:27', '6509db4723049265bf8ef8c864372ac474bd5c10d4789f3a9986e955b05408f182af2b6edfb23fb6837b1d05b876b6d71ac1b085156fbc816717a0f406e741bf', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'LlxQt8lA74xwUjmtn1oQ', 'ekkd3ZdID0opzUsUJwN', '3b10ce9ab33645b2f884f196d61596ffe5f3a2e018cf5258ab51a1ba43140b2178af52e67e3d3c8af32c89afcb8c4190fdebb9b9369f026f47b9cfe046818148', 'MzAx2ZNFMVwyNg4zVhg4', 1, NULL, '2013-02-20 13:04:27')
396
+  (0.1ms) RELEASE SAVEPOINT active_record_2
397
+  (0.2ms) SAVEPOINT active_record_2
398
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'jAg9t6hwV60aRTWXNlYg', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 9
403
399
   (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
400
+  (0.0ms) SAVEPOINT active_record_2
401
+ SpudMenu Exists (0.1ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu8' AND `spud_menus`.`site_id` = 0) LIMIT 1
402
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu8', 0, '2013-02-20 13:04:27')
403
+  (0.1ms) RELEASE SAVEPOINT active_record_2
404
+  (0.0ms) SAVEPOINT active_record_2
405
+ 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-20 13:04:27', NULL, 0, 'Menu Item 6', 8, 'SpudMenu', 1, NULL, '2013-02-20 13:04:27', NULL)
406
+  (0.0ms) RELEASE SAVEPOINT active_record_2
407
407
  Processing by Spud::Admin::MenuItemsController#create as HTML
408
408
  Parameters: {"spud_menu_item"=>{"name"=>"Menu Item 7", "parent_type"=>"SpudMenu", "parent_id"=>"7"}, "menu_id"=>"8"}
409
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)
410
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 8 LIMIT 1
411
+  (0.1ms) SAVEPOINT active_record_2
412
+ 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-20 13:04:27', NULL, 0, 'Menu Item 7', 7, 'SpudMenuItem', 8, NULL, '2013-02-20 13:04:27', NULL)
413
413
   (0.1ms) RELEASE SAVEPOINT active_record_2
414
414
  Redirected to http://test.host/spud/admin/menus/8/menu_items
415
- Completed 302 Found in 61ms (ActiveRecord: 0.0ms)
415
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
416
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
417
+  (0.9ms) ROLLBACK
418
+  (0.0ms) ROLLBACK
419
+  (0.0ms) BEGIN
420
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
421
+  (0.1ms) SAVEPOINT active_record_2
422
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
423
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
424
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '885755ede98aa33213f629e52a0fe46b3d841900451657c6fabef14c940c4ffb152f2eeb64603e65c8cbd4a5dc91d898abf96f97be92d501d1c047ba781eee03' LIMIT 1
425
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SJjRh6FyA2t2LXfwHt' LIMIT 1
426
+ 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-20 13:04:27', '4d87d710ecc7fd2b6a2303d56a6e41b7d16b6dda39c2fab7c065f3eb6b03d6e48d81b92e43a43988cf12bd7491683212c513ed362fc2f2523d7deb6fca0ca8e6', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, '56CHtBJ35zX5ngmIAjp', 'UOI177BdSsYqFaq8Rwj', '885755ede98aa33213f629e52a0fe46b3d841900451657c6fabef14c940c4ffb152f2eeb64603e65c8cbd4a5dc91d898abf96f97be92d501d1c047ba781eee03', 'SJjRh6FyA2t2LXfwHt', 1, NULL, '2013-02-20 13:04:27')
427
+  (0.1ms) RELEASE SAVEPOINT active_record_2
428
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
429
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Sc5Cm83nZzriXQMrSKzu', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 10
430
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')
431
+  (0.1ms) SAVEPOINT active_record_2
432
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu9' AND `spud_menus`.`site_id` = 0) LIMIT 1
433
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu9', 0, '2013-02-20 13:04:27')
434
434
   (0.1ms) RELEASE SAVEPOINT active_record_2
435
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
436
+ 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-20 13:04:27', NULL, 0, 'Menu Item 8', 1, 'SpudMenu', 1, NULL, '2013-02-20 13:04:27', NULL)
437
+  (0.0ms) RELEASE SAVEPOINT active_record_2
438
+  (0.0ms) SAVEPOINT active_record_2
439
+ 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-20 13:04:27', NULL, 0, 'Menu Item 9', 1, 'SpudMenu', 1, NULL, '2013-02-20 13:04:27', NULL)
440
+  (0.1ms) RELEASE SAVEPOINT active_record_2
441
441
  Processing by Spud::Admin::MenuItemsController#edit as HTML
442
442
  Parameters: {"menu_id"=>"9", "id"=>"10"}
443
443
  SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
444
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
445
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 10 LIMIT 1
446
+ Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 0.7ms)
447
+  (0.9ms) ROLLBACK
448
+  (0.1ms) ROLLBACK
449
+  (0.0ms) BEGIN
450
450
   (0.0ms) BEGIN
451
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
452
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
453
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
454
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f6dee69ed3d143623cb583b1a5fb9342364b1a0cdd04890374f2fd0fbed156d0cc78aa45c2d61e918504a051c19583c3e946439e1ca8fe391249b8cc8df4949e' LIMIT 1
455
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uhzsDqXH6BLHduqW9iHB' LIMIT 1
456
+ 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-20 13:04:27', '5efbfe4f33c8dcce9a2f4446b4c62f92e36e28c9e754777f1af5c48aaed63cf9cec87e1472dfa5cf218bafea9305c8ef63386a971e7e86cda7b31f8bbfcc325d', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'i7vNTPQqBdECFQKdH6m', 'tarF8PN8HXeEJQYkyV6w', 'f6dee69ed3d143623cb583b1a5fb9342364b1a0cdd04890374f2fd0fbed156d0cc78aa45c2d61e918504a051c19583c3e946439e1ca8fe391249b8cc8df4949e', 'uhzsDqXH6BLHduqW9iHB', 1, NULL, '2013-02-20 13:04:27')
457
+  (0.2ms) RELEASE SAVEPOINT active_record_2
458
+  (0.2ms) SAVEPOINT active_record_2
459
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kFSHjMEJTbinmRk6DNN', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 11
460
460
   (0.1ms) RELEASE SAVEPOINT active_record_2
461
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')
462
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu10' AND `spud_menus`.`site_id` = 0) LIMIT 1
463
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu10', 0, '2013-02-20 13:04:27')
464
464
   (0.1ms) RELEASE SAVEPOINT active_record_2
465
465
  Processing by Spud::Admin::MenuItemsController#edit as HTML
466
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
467
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1
468
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
469
+ SpudMenuItem Load (0.1ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 345 LIMIT 1
470
470
  Redirected to http://test.host/spud/admin/menus/10/menu_items
471
471
  Filter chain halted as :load_menu_item rendered or redirected
472
- Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
473
-  (0.6ms) ROLLBACK
472
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
473
+  (0.4ms) ROLLBACK
474
474
   (0.0ms) ROLLBACK
475
475
   (0.0ms) BEGIN
476
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
477
+  (0.1ms) SAVEPOINT active_record_2
478
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
479
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')
480
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3c80d5757ed1904d2d602dec65e457e61a37050a74240c3c52e58f3115b7486154743e42e87e952a3a0d65388366ab950ee9d9e7c44829ef14d0382ddfbc9da6' LIMIT 1
481
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'C5d9U0j7khM4oQK5Bkw' LIMIT 1
482
+ 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-20 13:04:27', '694789ed67ecaa9199364268164378f0c7aa8ba57f2f2ef759a5c7d7bd66429eaa90b61401dd878d6e3dadc2837d37f77259dc133b70994e4febedb4cf654f2f', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'NKDDNt0JiAjSn602lKUW', 'yQOnc5cuVAeEjJdvtsO', '3c80d5757ed1904d2d602dec65e457e61a37050a74240c3c52e58f3115b7486154743e42e87e952a3a0d65388366ab950ee9d9e7c44829ef14d0382ddfbc9da6', 'C5d9U0j7khM4oQK5Bkw', 1, NULL, '2013-02-20 13:04:27')
483
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
484
+  (0.1ms) SAVEPOINT active_record_2
485
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ldkowgSmLTV1MjCftyR8', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 12
486
486
   (0.1ms) RELEASE SAVEPOINT active_record_2
487
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
488
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu11' AND `spud_menus`.`site_id` = 0) LIMIT 1
489
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu11', 0, '2013-02-20 13:04:27')
490
+  (0.1ms) RELEASE SAVEPOINT active_record_2
491
+  (0.0ms) SAVEPOINT active_record_2
492
+ 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-20 13:04:27', NULL, 0, 'Menu Item 10', 1, 'SpudMenu', 1, NULL, '2013-02-20 13:04:27', NULL)
493
+  (0.1ms) RELEASE SAVEPOINT active_record_2
494
494
  Processing by Spud::Admin::MenuItemsController#update as HTML
495
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
496
  SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
497
497
  SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 11 LIMIT 1
498
498
  SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 11 LIMIT 1
499
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
500
+  (0.3ms) UPDATE `spud_menu_items` SET `parent_id` = 11, `name` = 'MyMenu', `spud_menu_id` = 11, `updated_at` = '2013-02-20 13:04:27' WHERE `spud_menu_items`.`id` = 11
501
+  (0.2ms) RELEASE SAVEPOINT active_record_2
502
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
503
+ Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
504
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 11 LIMIT 1
505
+  (1.1ms) ROLLBACK
506
+  (0.2ms) ROLLBACK
507
+  (0.0ms) BEGIN
508
+  (0.1ms) BEGIN
519
509
   (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
510
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
511
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
512
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '196e145342f5b30ad43b74e018fbfacf0e2dcedb6e09cb1c8614ab721ada83990b11eab01aee06f191d0403d11fafa9b9627488b38cd9b89ece98201976f9f30' LIMIT 1
513
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ws9HGEDdGfVYSIfBKZCN' LIMIT 1
514
+ 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-20 13:04:27', '857f1aade9b112604ddfe214767afdf6acc65377e04a0b16ae4953912011b16f767bade33e1a3940b7152b92a6b4f126566b244d4c837ccebb9a0cb084426d9e', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, '1Zp22fPzaph6OR7n', 'vrHs8PCfihCbJdLxhirT', '196e145342f5b30ad43b74e018fbfacf0e2dcedb6e09cb1c8614ab721ada83990b11eab01aee06f191d0403d11fafa9b9627488b38cd9b89ece98201976f9f30', 'ws9HGEDdGfVYSIfBKZCN', 1, NULL, '2013-02-20 13:04:27')
515
+  (0.1ms) RELEASE SAVEPOINT active_record_2
526
516
   (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
517
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dLzq9VExLy2k5tQ9hZsU', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 13
518
+  (0.1ms) RELEASE SAVEPOINT active_record_2
519
+  (0.1ms) SAVEPOINT active_record_2
520
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu12' AND `spud_menus`.`site_id` = 0) LIMIT 1
521
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu12', 0, '2013-02-20 13:04:27')
522
+  (0.1ms) RELEASE SAVEPOINT active_record_2
523
+  (0.1ms) SAVEPOINT active_record_2
524
+ 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-20 13:04:27', NULL, 0, 'Menu Item 11', 1, 'SpudMenu', 1, NULL, '2013-02-20 13:04:27', NULL)
525
+  (0.1ms) RELEASE SAVEPOINT active_record_2
526
+  (0.0ms) SAVEPOINT active_record_2
527
+ 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-20 13:04:27', NULL, 0, 'Menu Item 12', 1, 'SpudMenu', 1, NULL, '2013-02-20 13:04:27', NULL)
528
+  (0.1ms) RELEASE SAVEPOINT active_record_2
529
+ SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 LIMIT 1
530
530
  Processing by Spud::Admin::MenuItemsController#update as HTML
531
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
532
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
533
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 12 LIMIT 1
534
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 13 LIMIT 1
535
+  (0.1ms) SAVEPOINT active_record_2
536
+  (0.2ms) UPDATE `spud_menu_items` SET `parent_type` = 'SpudMenuItem', `parent_id` = 12, `spud_menu_id` = 12, `updated_at` = '2013-02-20 13:04:27' WHERE `spud_menu_items`.`id` = 13
537
+  (0.0ms) RELEASE SAVEPOINT active_record_2
538
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
539
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
540
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 13 LIMIT 1
541
+ SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 12 LIMIT 1
542
+  (0.8ms) ROLLBACK
543
543
   (0.0ms) ROLLBACK
544
544
   (0.0ms) BEGIN
545
-  (0.0ms) BEGIN
545
+  (0.1ms) BEGIN
546
546
   (0.2ms) SAVEPOINT active_record_2
547
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
548
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
549
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2553851c1c87251b0948e41fecc31ba1c69790049dae349e943ef9f2886da9d1f846966c38e0ef98499c277e092c4bb42644d3947a5ad6dad4bdb0bc2263d47f' LIMIT 1
550
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jWAcqKG2c9m0UcdL4vp' LIMIT 1
551
+ 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-20 13:04:27', 'f33a8592c4e239fbda2ce5a21b046fdf2e18ce43442fdc6de9c0f0b376212c046d5ab816e9658b00d165abf7fa4f067583e3a0beafaefce680fe5b1814d075d7', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'flCQ5qDYIWayPzyvUF13', '8NEhwMgTLs77gPhc3D9C', '2553851c1c87251b0948e41fecc31ba1c69790049dae349e943ef9f2886da9d1f846966c38e0ef98499c277e092c4bb42644d3947a5ad6dad4bdb0bc2263d47f', 'jWAcqKG2c9m0UcdL4vp', 1, NULL, '2013-02-20 13:04:27')
552
+  (0.2ms) RELEASE SAVEPOINT active_record_2
553
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
554
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'q4tRkF8tCXzVyGO9XrG', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 14
555
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')
556
+  (0.0ms) SAVEPOINT active_record_2
557
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu13' AND `spud_menus`.`site_id` = 0) LIMIT 1
558
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu13', 0, '2013-02-20 13:04:27')
559
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`
560
+  (0.1ms) SAVEPOINT active_record_2
561
+ 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-20 13:04:27', NULL, 0, 'Menu Item 13', 13, 'SpudMenu', 1, NULL, '2013-02-20 13:04:27', NULL)
562
+  (0.1ms) RELEASE SAVEPOINT active_record_2
563
+  (0.3ms) SELECT COUNT(*) FROM `spud_menu_items`
564
564
  Processing by Spud::Admin::MenuItemsController#destroy as HTML
565
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
566
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
567
567
  SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 13 LIMIT 1
568
568
  SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 14 LIMIT 1
569
569
   (0.1ms) SAVEPOINT active_record_2
570
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
571
+ SQL (0.2ms) DELETE FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 14
572
572
   (0.1ms) RELEASE SAVEPOINT active_record_2
573
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
574
+ Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
575
+  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items`
576
+  (0.5ms) ROLLBACK
577
+  (0.1ms) ROLLBACK
578
578
   (0.0ms) BEGIN
579
-  (0.0ms) BEGIN
580
-  (0.2ms) SAVEPOINT active_record_2
579
+  (0.1ms) BEGIN
580
+  (0.0ms) SAVEPOINT active_record_2
581
581
  SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
582
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
583
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4dbb7a86ce6757cf09cc291cbd137b0cf1f83fd4aee6ce3d2d1e7529ce6531b3dabed88eccbf68d4b9534e406b44940cdbe04645a6502803041da7341207417e' LIMIT 1
584
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'RQAk1doOpPqQ7qRmxyDK' LIMIT 1
585
+ 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-20 13:04:27', 'c341a7480fa1625bc1f62f8cf14c7a0e91297df1cbb1904e2220810d41085d0c2f7b9eb0058afb5e6635a232b8ca6c0de8f3e509d03fea4726c9bb3f15aaa07c', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'eF6dT23viArrwzayqBq9', 'avGX4oHV1EdOU1Gs6h', '4dbb7a86ce6757cf09cc291cbd137b0cf1f83fd4aee6ce3d2d1e7529ce6531b3dabed88eccbf68d4b9534e406b44940cdbe04645a6502803041da7341207417e', 'RQAk1doOpPqQ7qRmxyDK', 1, NULL, '2013-02-20 13:04:27')
586
+  (0.2ms) RELEASE SAVEPOINT active_record_2
587
+  (0.2ms) SAVEPOINT active_record_2
588
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'AMKZXgydbSskWCMpZ4Z', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 15
589
589
   (0.1ms) RELEASE SAVEPOINT active_record_2
590
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')
591
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu14' AND `spud_menus`.`site_id` = 0) LIMIT 1
592
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu14', 0, '2013-02-20 13:04:27')
593
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
594
+  (0.0ms) SAVEPOINT active_record_2
595
+ 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-20 13:04:27', NULL, 0, 'Menu Item 14', 1, 'SpudMenu', 1, NULL, '2013-02-20 13:04:27', NULL)
596
+  (0.1ms) RELEASE SAVEPOINT active_record_2
597
597
  Processing by Spud::Admin::MenuItemsController#edit as HTML
598
598
  Parameters: {"id"=>"15", "menu_id"=>"14"}
599
599
  SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1
600
600
  SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 14 LIMIT 1
601
601
  Redirected to http://test.host/spud/admin/menus
602
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
603
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
604
+  (0.8ms) ROLLBACK
605
+  (0.0ms) ROLLBACK
606
606
   (0.0ms) BEGIN
607
607
   (0.0ms) BEGIN
608
608
   (0.1ms) SAVEPOINT active_record_2
609
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')
610
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
611
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4e29a542cc975011c0b9059affde2d5ffbea4ca0daf77d66629d37980665b6d673a155702172f5ef386ee1dbddac9e4e4af43d737887a0891f7d2e59bbbd9477' LIMIT 1
612
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7nLCdesJfl6CLjbPtOMB' LIMIT 1
613
+ 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-20 13:04:27', '1fb66e6d866db9c6f6bc6c0bb41bde012a9d500f6b461a9e6cd8bd50b7a36ba63122dcf4b7b2658afe67ee59b2ae35821689fcc593e4410cfcb7dbd6197eb5c8', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, '2R3kzzTU7mBY28GM2oTa', 'dzHrZGnlEQ5CpOTgnppS', '4e29a542cc975011c0b9059affde2d5ffbea4ca0daf77d66629d37980665b6d673a155702172f5ef386ee1dbddac9e4e4af43d737887a0891f7d2e59bbbd9477', '7nLCdesJfl6CLjbPtOMB', 1, NULL, '2013-02-20 13:04:27')
614
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
615
+  (0.1ms) SAVEPOINT active_record_2
616
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'IWuNSOFYwWuVKeX2Zf0E', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 16
617
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')
618
+  (0.0ms) SAVEPOINT active_record_2
619
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu15' AND `spud_menus`.`site_id` = 0) LIMIT 1
620
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu15', 0, '2013-02-20 13:04:27')
621
621
   (0.1ms) RELEASE SAVEPOINT active_record_2
622
622
   (0.1ms) SAVEPOINT active_record_2
623
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
624
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu16', 0, '2013-02-20 13:04:27')
625
+  (0.0ms) RELEASE SAVEPOINT active_record_2
626
626
  Processing by Spud::Admin::MenusController#index as HTML
627
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
628
+ Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.3ms)
629
+  (0.3ms) SELECT COUNT(*) FROM `spud_menus` WHERE `spud_menus`.`site_id` = 0
630
+  (0.7ms) ROLLBACK
631
+  (0.2ms) ROLLBACK
632
+  (0.0ms) BEGIN
633
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')
634
+  (0.0ms) SAVEPOINT active_record_2
635
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
636
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
637
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '239b2c52a287b91d3a024b7918bbf89cf3dc296228a5e6276dd0a9727cdccbb213dc577bdd10d94d3b8d2eeba44a40e7d4ca1a17efdb038f0d0f75bc6b80da16' LIMIT 1
638
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pj68qXkfBDKuOaH3koM' LIMIT 1
639
+ 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-20 13:04:27', 'fd4b43ae23eccc729f4e8d3974a5fc3ed2cf024c18183b7ca0aaffec11e87104a118b3271b7dc0ca6e2dcbcdf5529d8143ee4d25dc14b0a63797bc98505151db', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'X9fNJFWZCWtB5JoHJlN1', 'raaxtGpdWOcdlh7vbXta', '239b2c52a287b91d3a024b7918bbf89cf3dc296228a5e6276dd0a9727cdccbb213dc577bdd10d94d3b8d2eeba44a40e7d4ca1a17efdb038f0d0f75bc6b80da16', 'pj68qXkfBDKuOaH3koM', 1, NULL, '2013-02-20 13:04:27')
640
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
641
+  (0.2ms) SAVEPOINT active_record_2
642
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = '4UIN21SFdyPFTVdvqvMU', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 17
643
+  (0.1ms) RELEASE SAVEPOINT active_record_2
644
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
645
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 17 LIMIT 1
646
+ Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.4ms)
647
+  (0.6ms) ROLLBACK
648
648
   (0.1ms) ROLLBACK
649
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')
650
+  (0.0ms) BEGIN
651
+  (0.2ms) SAVEPOINT active_record_2
652
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
653
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
654
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8a63f03fc007c8879c3757485e019c130872749e0fd7405f74a6de7038982fa1dbe408d1a75e3d3d419fa49cae84287392421de9200532bcebc3b802ca4a6d24' LIMIT 1
655
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'V23Q7rSWsxoZ2ZbqyD' LIMIT 1
656
+ 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-20 13:04:27', '06954ade5133d0f9b38691239fad3e5d3e8d2d2c972e52843ce7877bee73cbc0fe6c0aef9d036a7192c8cf7519f1cc690960cb33b09d07cdc2fcee224ff56988', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'Bm569SVyfLjfmGVUCJt', 'DULuR6PeOEiYpFZvszd0', '8a63f03fc007c8879c3757485e019c130872749e0fd7405f74a6de7038982fa1dbe408d1a75e3d3d419fa49cae84287392421de9200532bcebc3b802ca4a6d24', 'V23Q7rSWsxoZ2ZbqyD', 1, NULL, '2013-02-20 13:04:27')
657
657
   (0.1ms) RELEASE SAVEPOINT active_record_2
658
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` 
659
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dmTRADyYY4m404y4ODLN', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 18
660
+  (0.1ms) RELEASE SAVEPOINT active_record_2
661
+  (0.1ms) SELECT COUNT(*) FROM `spud_menus` 
662
662
  Processing by Spud::Admin::MenusController#create as HTML
663
663
  Parameters: {"spud_menu"=>{"name"=>"Menu17"}}
664
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 18 LIMIT 1
664
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 18 LIMIT 1
665
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
666
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu17' AND `spud_menus`.`site_id` = 0) LIMIT 1
667
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu17', 0, '2013-02-20 13:04:27')
668
+  (0.1ms) RELEASE SAVEPOINT active_record_2
669
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
670
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
671
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus` 
672
+  (0.6ms) ROLLBACK
673
+  (0.0ms) ROLLBACK
674
674
   (0.0ms) BEGIN
675
675
   (0.0ms) BEGIN
676
676
   (0.2ms) SAVEPOINT active_record_2
677
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')
678
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
679
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '45aaf7a2ca61c1f4b6389f50e44e8dd559ab344b53611fcbb57acd6f2c900641ee44efde9eea6c9be42cb5bcfad3b525c3ec581bea8a7a14c77a1a048baa5551' LIMIT 1
680
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YMDN5l5aHbVZ8mjjwARs' LIMIT 1
681
+ 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-20 13:04:27', '407a62f61231b5eb68430d41bbce3b87e610664a88644317f7a771e4712da1094fd02dd0bb10bcebcf1a49913d183ef1961d9d03286046195cb4655bde87f1c6', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'qVlDJOplvocnLsLSpS2X', 'YUTT4A7DDJu0IdclaxS', '45aaf7a2ca61c1f4b6389f50e44e8dd559ab344b53611fcbb57acd6f2c900641ee44efde9eea6c9be42cb5bcfad3b525c3ec581bea8a7a14c77a1a048baa5551', 'YMDN5l5aHbVZ8mjjwARs', 1, NULL, '2013-02-20 13:04:27')
682
682
   (0.1ms) RELEASE SAVEPOINT active_record_2
683
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
684
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = '0FYUiWrwJCmfaTkAw4n', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 19
685
+  (0.1ms) RELEASE SAVEPOINT active_record_2
686
686
   (0.2ms) SELECT COUNT(*) FROM `spud_menus`
687
687
  Processing by Spud::Admin::MenusController#create as HTML
688
688
  Parameters: {"spud_menu"=>{"name"=>nil}}
689
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
690
   (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')
691
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` IS NULL AND `spud_menus`.`site_id` = 0) LIMIT 1
692
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
693
+ Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.0ms)
694
+  (0.3ms) SELECT COUNT(*) FROM `spud_menus` 
695
+  (0.3ms) ROLLBACK
696
+  (0.0ms) ROLLBACK
697
+  (0.0ms) BEGIN
698
+  (0.0ms) BEGIN
699
+  (0.1ms) SAVEPOINT active_record_2
700
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
701
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
702
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '080f5f4534665b0a1ada2fab5b21191b7c04b634d390a3ff0a4bbb8e23db847716df69990fa2e600231286f98f04affd3ffdaf6150915c73b2a4d70792a9d776' LIMIT 1
703
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pzTdLDgJSb0J8w8zWtB' LIMIT 1
704
+ 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-20 13:04:27', '5997a44840a474a0d13cd0570a40243e980ae50941c4c9cbf5853661b1c4268af006d05e3422a33b70b1603663190c5f858253c7e99c11f3d79d7ed67d6fcfda', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'ZhqEJBTweB0mJZEztV9q', 'V7TrbdYBzSMjbiuTqbws', '080f5f4534665b0a1ada2fab5b21191b7c04b634d390a3ff0a4bbb8e23db847716df69990fa2e600231286f98f04affd3ffdaf6150915c73b2a4d70792a9d776', 'pzTdLDgJSb0J8w8zWtB', 1, NULL, '2013-02-20 13:04:27')
705
+  (0.0ms) RELEASE SAVEPOINT active_record_2
706
+  (0.1ms) SAVEPOINT active_record_2
707
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'l6cTxgxb51odDvgTC8Ms', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 20
708
+  (0.0ms) RELEASE SAVEPOINT active_record_2
709
+  (0.0ms) SAVEPOINT active_record_2
710
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu18' AND `spud_menus`.`site_id` = 1) LIMIT 1
711
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu18', 1, '2013-02-20 13:04:27')
712
712
   (0.1ms) RELEASE SAVEPOINT active_record_2
713
713
  Processing by Spud::Admin::MenusController#edit as HTML
714
714
  Parameters: {"id"=>"18"}
715
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
716
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 18 LIMIT 1
717
717
  Redirected to http://test.host/spud/admin/menus
718
718
  Filter chain halted as :load_menu rendered or redirected
719
- Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
720
-  (0.6ms) ROLLBACK
719
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
720
+  (1.0ms) ROLLBACK
721
721
   (0.2ms) ROLLBACK
722
-  (0.0ms) BEGIN
722
+  (0.1ms) BEGIN
723
723
   (0.0ms) BEGIN
724
724
   (0.1ms) SAVEPOINT active_record_2
725
725
  SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
726
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
727
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '953a1b150ba56b207eef10f0da5c0dd0f7764e7e88bfe9540c0d77812476d87a74b2f6362a7203514bdbb597364c4c89e26ea26e33df53f6fd20b096100528f0' LIMIT 1
728
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fYEssjCm70SnOud9SDV' LIMIT 1
729
+ 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-20 13:04:27', '4789f45493701fdd6288c5a32ff0a25eeefee671c9c35d79308b8b414f16b1a392fc6395300146df375b56c96b6e774a6e7c3c4ced183abc6cc0cd27d8db7a2b', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'WTz7YRZamp3xfjN6vEgW', 'HlLBBjwM4knNgemmEdQ0', '953a1b150ba56b207eef10f0da5c0dd0f7764e7e88bfe9540c0d77812476d87a74b2f6362a7203514bdbb597364c4c89e26ea26e33df53f6fd20b096100528f0', 'fYEssjCm70SnOud9SDV', 1, NULL, '2013-02-20 13:04:27')
730
+  (0.2ms) RELEASE SAVEPOINT active_record_2
731
+  (0.1ms) SAVEPOINT active_record_2
732
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'v2KU5YwnchRFNhl0UDb', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 21
733
733
   (0.1ms) RELEASE SAVEPOINT active_record_2
734
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')
735
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu19' AND `spud_menus`.`site_id` = 0) LIMIT 1
736
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu19', 0, '2013-02-20 13:04:27')
737
737
   (0.1ms) RELEASE SAVEPOINT active_record_2
738
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
739
+ SpudMenu Exists (0.1ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu20' AND `spud_menus`.`site_id` = 0) LIMIT 1
740
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu20', 0, '2013-02-20 13:04:27')
741
+  (0.0ms) RELEASE SAVEPOINT active_record_2
742
742
  Processing by Spud::Admin::MenusController#edit as HTML
743
743
  Parameters: {"id"=>"20"}
744
- SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 21 LIMIT 1
744
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 21 LIMIT 1
745
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
746
+ Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.4ms)
747
+  (0.5ms) ROLLBACK
748
748
   (0.1ms) ROLLBACK
749
-  (0.1ms) BEGIN
749
+  (0.0ms) BEGIN
750
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')
751
+  (0.1ms) SAVEPOINT active_record_2
752
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
753
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
754
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'be8ba5c05d11e7fdef3855763b395b18dbf0150930e2fc14d1fff0f2759c0edf49a449635e35c5459261f9e960aebc402d347329bd2a7145379212966f66a198' LIMIT 1
755
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EWQX5UX5KrxMIxZCiu' LIMIT 1
756
+ SQL (1.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-20 13:04:27', '10035d5addf04da11e9dc0daab08b8729e80b94044fd52ffb75ce8189c6c6729e120aab14834f005f26b5c73d02ef0fb0353a20581f5b937220fd034f46e9b85', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'mxqdgBv4SrQxo0z3IgZW', '2NnSoy8M3FINidQYyvTL', 'be8ba5c05d11e7fdef3855763b395b18dbf0150930e2fc14d1fff0f2759c0edf49a449635e35c5459261f9e960aebc402d347329bd2a7145379212966f66a198', 'EWQX5UX5KrxMIxZCiu', 1, NULL, '2013-02-20 13:04:27')
757
757
   (0.1ms) RELEASE SAVEPOINT active_record_2
758
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
759
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'sHCi7LaP8EBGs2KCGO', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 22
760
+  (0.1ms) RELEASE SAVEPOINT active_record_2
761
761
  Processing by Spud::Admin::MenusController#edit as HTML
762
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
763
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1
764
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 3 LIMIT 1
765
765
  Redirected to http://test.host/spud/admin/menus
766
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
767
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
768
+  (0.6ms) ROLLBACK
769
+  (0.0ms) ROLLBACK
770
+  (0.0ms) BEGIN
771
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')
772
+  (0.2ms) SAVEPOINT active_record_2
773
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
774
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
775
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3c07c02986164f087bf6714e1fe058fa808d23637a6a51435f44c64470bbe4fae6fe49fa3627919850de7aadc87df5b40ebcd15f342dbb22b1ea80149d5c83bc' LIMIT 1
776
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mvXYd8zhY2kWX1b9rGH9' LIMIT 1
777
+ 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-20 13:04:27', '5828f356a2c53b6e15c5aca91835c69198d0ef9094e6e96e76c6874f6b075cc7357afc02893047c5ebd8271fbc7f3d04c40ac817407a63fd2520a1d41882df1f', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'k3PSwyATiuKnCmWETh4o', 'kfqehuzKtpqUqdghbBAW', '3c07c02986164f087bf6714e1fe058fa808d23637a6a51435f44c64470bbe4fae6fe49fa3627919850de7aadc87df5b40ebcd15f342dbb22b1ea80149d5c83bc', 'mvXYd8zhY2kWX1b9rGH9', 1, NULL, '2013-02-20 13:04:27')
778
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
779
+  (0.1ms) SAVEPOINT active_record_2
780
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'uh4v5zXfjG4BRuc4fD3', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 23
781
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')
782
+  (0.0ms) SAVEPOINT active_record_2
783
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu21' AND `spud_menus`.`site_id` = 0) LIMIT 1
784
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu21', 0, '2013-02-20 13:04:27')
785
785
   (0.1ms) RELEASE SAVEPOINT active_record_2
786
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
787
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "description"=>nil, "created_at"=>"2013-02-20 13:04:27 UTC", "updated_at"=>"2013-02-20 13:04:27 UTC"}, "id"=>"21"}
788
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 23 LIMIT 1
789
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 21 LIMIT 1
790
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
791
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'MyMenu' AND `spud_menus`.`id` != 21 AND `spud_menus`.`site_id` = 0) LIMIT 1
792
+  (0.2ms) UPDATE `spud_menus` SET `name` = 'MyMenu', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_menus`.`id` = 21
793
793
   (0.1ms) RELEASE SAVEPOINT active_record_2
794
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
795
+ Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
796
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 21 LIMIT 1
797
+  (0.9ms) ROLLBACK
798
798
   (0.1ms) ROLLBACK
799
799
   (0.0ms) BEGIN
800
800
   (0.0ms) BEGIN
801
-  (0.2ms) SAVEPOINT active_record_2
801
+  (0.1ms) SAVEPOINT active_record_2
802
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
803
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
804
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c9c09c9a4ddbb32d3fb7acbac23aaac858daaf1d21d1ea8cc67d924c23da81b9566e21699ed37330e573fe39429f89f1332bb65361926b22be6a3e83eb78903e' LIMIT 1
805
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'y5VV2Ez31JSR7BwQD5A' LIMIT 1
806
+ 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-20 13:04:27', '4d3876eef4c8a10942ad0a7f1c650a061799d142394309a60136d7e130d1c6707f834ec2afce6070e07a090f00a6798ab4e27a92d11ca57cab08fe762f22d30d', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'dFrkXrhX96vedy5bMBNd', 'u90kxbsfESkG597Puiop', 'c9c09c9a4ddbb32d3fb7acbac23aaac858daaf1d21d1ea8cc67d924c23da81b9566e21699ed37330e573fe39429f89f1332bb65361926b22be6a3e83eb78903e', 'y5VV2Ez31JSR7BwQD5A', 1, NULL, '2013-02-20 13:04:27')
807
+  (0.1ms) RELEASE SAVEPOINT active_record_2
808
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')
809
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = '0OknCbnQhMSjRjvRiTX8', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 24
810
+  (0.1ms) RELEASE SAVEPOINT active_record_2
811
+  (0.0ms) SAVEPOINT active_record_2
812
+ SpudMenu Exists (0.1ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu22' AND `spud_menus`.`site_id` = 0) LIMIT 1
813
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu22', 0, '2013-02-20 13:04:27')
814
814
   (0.1ms) RELEASE SAVEPOINT active_record_2
815
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"}
816
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "description"=>nil, "created_at"=>"2013-02-20 13:04:27 UTC", "updated_at"=>"2013-02-20 13:04:27 UTC"}, "id"=>"22"}
817
817
  SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 24 LIMIT 1
818
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
819
+  (0.1ms) SAVEPOINT active_record_2
820
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'MyMenu' AND `spud_menus`.`id` != 22 AND `spud_menus`.`site_id` = 0) LIMIT 1
821
+  (0.2ms) UPDATE `spud_menus` SET `name` = 'MyMenu', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_menus`.`id` = 22
822
+  (0.0ms) RELEASE SAVEPOINT active_record_2
823
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
824
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
825
+  (0.4ms) ROLLBACK
826
+  (0.1ms) ROLLBACK
827
827
   (0.0ms) BEGIN
828
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
829
+  (0.1ms) SAVEPOINT active_record_2
830
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
831
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
832
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '09a6b869f734be0bfb62a8d0ae886ff0807155239f849a94825c8bcd373bc7ee8bf3c74b8778f5fc485abe625af14f3ce1472fd7e6414b55c2a144d462c23de1' LIMIT 1
833
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '01XIBaXRFDllsl5kHf8' LIMIT 1
834
+ 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-20 13:04:27', '8e78bc4f550d7e3ac1a25643e0879bc904205ea19d8aefcd1dedf9cd1c32135cb8ba9aa1d7507a0cfb214edf743577be41403f2e98e83b309d837c0d7a63473f', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'EyY9ye7diovaPvtiKDKa', 'GOS5FdGAX6VQ36cK0LN', '09a6b869f734be0bfb62a8d0ae886ff0807155239f849a94825c8bcd373bc7ee8bf3c74b8778f5fc485abe625af14f3ce1472fd7e6414b55c2a144d462c23de1', '01XIBaXRFDllsl5kHf8', 1, NULL, '2013-02-20 13:04:27')
835
+  (0.2ms) RELEASE SAVEPOINT active_record_2
836
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
837
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'E3sL2xTNWezjLwpAAiB', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 25
838
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')
839
+  (0.0ms) SAVEPOINT active_record_2
840
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu23' AND `spud_menus`.`site_id` = 0) LIMIT 1
841
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu23', 0, '2013-02-20 13:04:27')
842
842
   (0.1ms) RELEASE SAVEPOINT active_record_2
843
-  (0.2ms) SELECT COUNT(*) FROM `spud_menus` 
843
+  (0.1ms) SELECT COUNT(*) FROM `spud_menus` 
844
844
  Processing by Spud::Admin::MenusController#destroy as HTML
845
845
  Parameters: {"id"=>"23"}
846
846
  SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 25 LIMIT 1
847
847
  SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 23 LIMIT 1
848
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
849
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 23 AND `spud_menu_items`.`parent_type` = 'SpudMenu'
850
+ SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`spud_menu_id` = 23
851
851
  SQL (0.2ms) DELETE FROM `spud_menus` WHERE `spud_menus`.`id` = 23
852
-  (0.1ms) RELEASE SAVEPOINT active_record_2
852
+  (0.0ms) RELEASE SAVEPOINT active_record_2
853
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
854
+ Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
855
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus` 
856
+  (0.8ms) ROLLBACK
857
857
   (0.0ms) ROLLBACK
858
858
   (0.0ms) BEGIN
859
859
   (0.0ms) BEGIN
860
+  (0.2ms) SAVEPOINT active_record_2
861
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
862
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
863
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f6ff6de147e1f0436cfb17d5ca89bc30db29c00d2987bc29e0599033558540d7b6820f9bdc9282791c6788febd88f7969d1dd022f58288ee4a4af6b7d8e0973b' LIMIT 1
864
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '2tRTl7JneOptEyhiAmQ6' LIMIT 1
865
+ 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-20 13:04:27', '98ae1ff068bc2e92a547d10e8ac7de10bae789d26f1dab12d07e7a7ce2c8f1410230e0e10bd5469ad1c59910e479ebe3da488d4dfd8cd5cf66cddf843896f783', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'wWz661UJsMH2AUgSuzpU', 'xbGFyOa9eAVbTrh8qug', 'f6ff6de147e1f0436cfb17d5ca89bc30db29c00d2987bc29e0599033558540d7b6820f9bdc9282791c6788febd88f7969d1dd022f58288ee4a4af6b7d8e0973b', '2tRTl7JneOptEyhiAmQ6', 1, NULL, '2013-02-20 13:04:27')
866
+  (0.2ms) RELEASE SAVEPOINT active_record_2
867
+  (0.1ms) SAVEPOINT active_record_2
868
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'fAXPZjHoBaJPi6SsSPKD', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 26
869
+  (0.1ms) RELEASE SAVEPOINT active_record_2
860
870
   (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
871
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu24' AND `spud_menus`.`site_id` = 0) LIMIT 1
872
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:27', NULL, 'Menu24', 0, '2013-02-20 13:04:27')
869
873
   (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`
874
+  (0.1ms) SELECT COUNT(*) FROM `spud_menus`
875
875
  Processing by Spud::Admin::MenusController#destroy as HTML
876
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
877
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 26 LIMIT 1
878
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 23532 LIMIT 1
879
879
  Redirected to http://test.host/spud/admin/menus
880
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
881
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
882
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus` 
883
+  (0.4ms) ROLLBACK
884
+  (0.1ms) ROLLBACK
885
885
   (0.0ms) BEGIN
886
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
887
+  (0.0ms) SAVEPOINT active_record_2
888
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
889
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')
890
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f187d640e0396ccc6655d394a29715fe75b8bb4fe9d5114d3ecae7654425cd13a4e1e23ffbf18e2b0692f9add16f5626aa7fd33934039368989d24800bb5cfc0' LIMIT 1
891
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'X4bN5xZyi6BG4pmvac' LIMIT 1
892
+ 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-20 13:04:27', '9df74389617e8c3ca94284a785bd420c418ba4a66f0808dc8aaffc258ffcddaf216611fb6717d55e884a2e2dbd4d4b3832789bea1b8e7fa0ec126d814d3b804b', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'sh4Wdny3R6HqKAvYJNf0', 'oMgu99iEOTmRZ7jsAdfM', 'f187d640e0396ccc6655d394a29715fe75b8bb4fe9d5114d3ecae7654425cd13a4e1e23ffbf18e2b0692f9add16f5626aa7fd33934039368989d24800bb5cfc0', 'X4bN5xZyi6BG4pmvac', 1, NULL, '2013-02-20 13:04:27')
893
893
   (0.1ms) RELEASE SAVEPOINT active_record_2
894
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
895
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'D3yGxeI085P0wsVWYp', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 27
896
+  (0.1ms) RELEASE SAVEPOINT active_record_2
897
897
   (0.1ms) SAVEPOINT active_record_2
898
- SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
898
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
899
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
900
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page3' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
901
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)
902
+ 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-20 13:04:27', NULL, 'html', NULL, NULL, NULL, 'Page3', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:27', NULL, 'page3', 0, 0)
903
903
   (0.1ms) RELEASE SAVEPOINT active_record_2
904
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
905
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
906
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page4' LIMIT 1
907
+ SpudPage Exists (0.1ms) 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.1ms) 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.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-20 13:04:27', NULL, 'html', NULL, NULL, NULL, 'Page4', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:27', NULL, 'page4', 0, 0)
910
+  (0.1ms) RELEASE SAVEPOINT active_record_2
911
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
912
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 27 LIMIT 1
913
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)
914
+ Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.6ms)
915
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
916
+  (1.0ms) ROLLBACK
917
+  (0.1ms) ROLLBACK
918
+  (0.1ms) BEGIN
919
919
   (0.0ms) BEGIN
920
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)
921
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
922
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
923
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5fcf11834ef38e79d5d1584f369ba200b43c0f67a98358a7257bc5b247d99a1fe94930cf1c8480d0c3f6a6a5547f4307a07f1c7cd6e62cb16d439b350d9e4f11' LIMIT 1
924
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vUfIjpdG9gcU0SR86Ci' LIMIT 1
925
+ 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-20 13:04:27', '771f2236a71c363a46611b7cd4c06cce0dbcab9ea173ecdb2676ad2959e13d2170543ce9d4b310965ac772cb9c493db91bba70ad5dfa258beef256ca91ec84d5', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'VtHwvxXdM3N3S2ksyEEX', '0uKFEAnivYEuyelwbFz', '5fcf11834ef38e79d5d1584f369ba200b43c0f67a98358a7257bc5b247d99a1fe94930cf1c8480d0c3f6a6a5547f4307a07f1c7cd6e62cb16d439b350d9e4f11', 'vUfIjpdG9gcU0SR86Ci', 1, NULL, '2013-02-20 13:04:27')
936
926
   (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)
927
+  (0.1ms) SAVEPOINT active_record_2
928
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'raW8uDmlLZLUdn1i7m7m', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 28
943
929
   (0.0ms) RELEASE SAVEPOINT active_record_2
944
930
   (0.0ms) SAVEPOINT active_record_2
931
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
932
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page5' LIMIT 1
933
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page5' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
934
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page5' AND `spud_pages`.`site_id` = 0) LIMIT 1
935
+ 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-20 13:04:27', NULL, 'html', NULL, NULL, NULL, 'Page5', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:27', NULL, 'page5', 0, 0)
936
+  (0.1ms) RELEASE SAVEPOINT active_record_2
937
+  (0.1ms) SAVEPOINT active_record_2
938
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
939
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page6' LIMIT 1
940
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page6' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
941
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page6' AND `spud_pages`.`site_id` = 0) LIMIT 1
942
+ 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-20 13:04:27', NULL, 'html', NULL, NULL, NULL, 'Page6', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:27', NULL, 'page6', 0, 0)
943
+  (0.1ms) RELEASE SAVEPOINT active_record_2
944
+  (0.1ms) SAVEPOINT active_record_2
945
945
  SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 LIMIT 1
946
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
947
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page7' LIMIT 1
948
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page7' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` = 1) LIMIT 1
949
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page7' AND `spud_pages`.`site_id` = 0) LIMIT 1
950
+ 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-20 13:04:27', NULL, 'html', NULL, NULL, NULL, 'Page7', NULL, NULL, NULL, 1, 0, 1, '2013-02-20 13:04:27', NULL, 'page7', 0, 0)
951
+  (0.1ms) RELEASE SAVEPOINT active_record_2
952
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
953
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 28 LIMIT 1
954
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`url_name` = 'home' LIMIT 1
955
+ Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms)
956
+  (0.2ms) SELECT COUNT(*) FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL
957
+  (0.6ms) ROLLBACK
958
+  (0.0ms) ROLLBACK
959
959
   (0.0ms) BEGIN
960
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')
961
+  (0.1ms) SAVEPOINT active_record_2
962
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
963
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
964
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '62b5f5bcddd64a3247257f709a4eadda4cfe41e438e40cd53418176a8150deec78bfcba45deda3b187517dd96159bd60bfde128291e4b495e6d01f52809d61be' LIMIT 1
965
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dM3qQr4BHJJRHB2uEI5' 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-20 13:04:27', '798c5694c952a0f1d48f5e3c8dc7e8975cff347c8ec6c2a1b27a43aeb0a47bcb3911d89c9304c4efc20764489b52b0c84d4606b60366b964ec685e7861070f6b', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'JRXIHiGa9goRDi0nzVPx', 'QjiQkEysC6EX931cscw', '62b5f5bcddd64a3247257f709a4eadda4cfe41e438e40cd53418176a8150deec78bfcba45deda3b187517dd96159bd60bfde128291e4b495e6d01f52809d61be', 'dM3qQr4BHJJRHB2uEI5', 1, NULL, '2013-02-20 13:04:27')
967
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
968
+  (0.1ms) SAVEPOINT active_record_2
969
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'yEiIHmEEhqf1BB9G9e7', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 29
970
970
   (0.1ms) RELEASE SAVEPOINT active_record_2
971
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
972
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
973
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page8' LIMIT 1
974
+ SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page8' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
975
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page8' AND `spud_pages`.`site_id` = 0) LIMIT 1
976
+ 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-20 13:04:27', NULL, 'html', NULL, NULL, NULL, 'Page8', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:27', NULL, 'page8', 0, 0)
977
+  (0.0ms) RELEASE SAVEPOINT active_record_2
978
978
  Processing by Spud::Admin::PagesController#show as HTML
979
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
980
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 29 LIMIT 1
981
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 17 LIMIT 1
982
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
983
+ Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 0.8ms)
984
+  (0.4ms) ROLLBACK
985
+  (0.0ms) ROLLBACK
986
986
   (0.1ms) BEGIN
987
987
   (0.0ms) BEGIN
988
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
989
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
990
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
991
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5f20e3711d4c87bb2b5c4b31c9573aac4bdd5d32822d1bf544673d6db93816ac5f6e7bbec0c6c5876e18872469d95d388c84659fcb0ed1f7fa4bf24d56b50a86' LIMIT 1
992
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'RcSTrcIjr77fS31zh47' LIMIT 1
993
+ 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-20 13:04:27', '32a0b726d6ac1273a23b7a0000d8a70471c9b22018f47e5a089a61f2144ee0aa1baf6c01bcdeee1d10d2bd28219c060e98ef616a7d086bbd509993b71b0ab863', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, '1H4ohe9fl56EjUxoNmRy', 'XYKoDYOzyts9la8MHk5', '5f20e3711d4c87bb2b5c4b31c9573aac4bdd5d32822d1bf544673d6db93816ac5f6e7bbec0c6c5876e18872469d95d388c84659fcb0ed1f7fa4bf24d56b50a86', 'RcSTrcIjr77fS31zh47', 1, NULL, '2013-02-20 13:04:27')
994
+  (0.2ms) RELEASE SAVEPOINT active_record_2
995
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
996
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Usx8CvOw5B4O39SFPcHe', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 30
997
997
   (0.1ms) RELEASE SAVEPOINT active_record_2
998
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
999
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 30 LIMIT 1
1000
+ Completed 200 OK in 17ms (Views: 2.0ms | ActiveRecord: 0.3ms)
1001
+  (0.9ms) ROLLBACK
1002
1002
   (0.1ms) ROLLBACK
1003
1003
   (0.1ms) BEGIN
1004
1004
   (0.1ms) BEGIN
1005
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
1006
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1007
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')
1008
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '882c2452740a5031e07a92922d61e297fee2d623de1ee26e911a56696646e2f726083632fef3ea1046b8889bee4d1534ae89dc57dcda1df936b4c5d1d4dac7ac' LIMIT 1
1009
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QvwroV2qZrG3KIfFlrli' LIMIT 1
1010
+ 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-20 13:04:27', '308dcaac115ce2eaecd3309f2408ac592c5fa50263e353f6bb80a4518e3a5f5a3044ca311a6146aef1ddd49dcbc91d0a46486a94fb01eb368fbca39ad15eda9f', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, '5sX1eO8sDJ1IuyVQKhdw', 'HVbf2FoEsb7fbQmSnx', '882c2452740a5031e07a92922d61e297fee2d623de1ee26e911a56696646e2f726083632fef3ea1046b8889bee4d1534ae89dc57dcda1df936b4c5d1d4dac7ac', 'QvwroV2qZrG3KIfFlrli', 1, NULL, '2013-02-20 13:04:27')
1011
1011
   (0.1ms) RELEASE SAVEPOINT active_record_2
1012
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
1013
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'DU4vTyR9XkKua63TkKzt', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 31
1014
1014
   (0.1ms) RELEASE SAVEPOINT active_record_2
1015
1015
  Processing by Spud::Admin::PagesController#new as HTML
1016
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)
1017
+ Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.3ms)
1018
1018
   (0.5ms) ROLLBACK
1019
-  (0.0ms) ROLLBACK
1019
+  (0.1ms) ROLLBACK
1020
1020
   (0.0ms) BEGIN
1021
1021
   (0.0ms) BEGIN
1022
1022
   (0.1ms) SAVEPOINT active_record_2
1023
1023
  SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1024
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)
1025
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fea73ad131313f1fd669923c37f5d2f3504bfb8a143c67fb9de2afe803f883b691dadae781e9492b16a3dfe055efa67318b3ee22acb903b0293842c5ea8b596b' LIMIT 1
1026
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'N76kwYk9fdkqZXCJGyuY' LIMIT 1
1027
+ 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-20 13:04:27', 'a342a5120b50a08d02abcf0b9642c66f536f91f743aeb6e64a9e1f8ba31da27cf207d4c5623d73f8ea74d42e3de3659160405338e1d51ea3e32f2190975b177a', '2013-02-20 13:04:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:27', 'testuser', 1, 'szbSlqEBxpJs8jE8fuRw', 'OMDo2uvb4QUzKSwv72os', 'fea73ad131313f1fd669923c37f5d2f3504bfb8a143c67fb9de2afe803f883b691dadae781e9492b16a3dfe055efa67318b3ee22acb903b0293842c5ea8b596b', 'N76kwYk9fdkqZXCJGyuY', 1, NULL, '2013-02-20 13:04:27')
1038
1028
   (0.2ms) RELEASE SAVEPOINT active_record_2
1029
+  (0.1ms) SAVEPOINT active_record_2
1030
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'f7f0NLgoGc7gY5ibeUqd', `updated_at` = '2013-02-20 13:04:27' WHERE `spud_users`.`id` = 32
1031
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1032
+  (0.2ms) SAVEPOINT active_record_2
1033
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1034
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page9' LIMIT 1
1035
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page9' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
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.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-20 13:04:27', NULL, 'html', NULL, NULL, NULL, 'Page9', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:27', NULL, 'page9', 0, 0)
1038
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1039
1039
  Processing by Spud::Admin::PagesController#edit as HTML
1040
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
1041
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 32 LIMIT 1
1049
1042
   (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
1043
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-02-20 13:04:28', `perishable_token` = 'C3o6ivUdy35XkbdlWNRX', `updated_at` = '2013-02-20 13:04:28' WHERE `spud_users`.`id` = 32
1044
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1045
+ SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 18 LIMIT 1
1046
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (18)
1047
+ Completed 200 OK in 9ms (Views: 1.9ms | ActiveRecord: 0.8ms)
1048
+  (0.6ms) ROLLBACK
1049
+  (0.1ms) ROLLBACK
1050
+  (0.0ms) BEGIN
1051
+  (0.1ms) BEGIN
1056
1052
   (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
1053
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1054
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1055
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5d61ecaae5407ac7e21f7fbdacf965b1704e09060e6198114654c47d81e6c856c60393abca23b2cdf6aef8f08b67a97753f57fabb381755e7c43d04c49add66f' LIMIT 1
1056
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'riDpiKc9id2uvE3hEyk' LIMIT 1
1057
+ 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-20 13:04:28', '069247bc9f402175ee1889c3cdf60b3adc721a4766337ac27c4b1ad8200f9d424aff4d55e0e4786f2c034402d7a4c95c5e4632a18006d87a0a185a08cefd33ad', '2013-02-20 13:04:28', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:28', 'testuser', 1, '6VkAKTECZedDgRy8ttvN', 'cZ4fPzH7leMdHvawGWPv', '5d61ecaae5407ac7e21f7fbdacf965b1704e09060e6198114654c47d81e6c856c60393abca23b2cdf6aef8f08b67a97753f57fabb381755e7c43d04c49add66f', 'riDpiKc9id2uvE3hEyk', 1, NULL, '2013-02-20 13:04:28')
1058
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)
1059
+  (0.2ms) SAVEPOINT active_record_2
1060
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:28', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dElascoFLBJ9neU3v', `updated_at` = '2013-02-20 13:04:28' WHERE `spud_users`.`id` = 33
1065
1061
   (0.1ms) RELEASE SAVEPOINT active_record_2
1062
+  (0.1ms) SAVEPOINT active_record_2
1063
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1064
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page10' LIMIT 1
1065
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page10' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1066
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page10' AND `spud_pages`.`site_id` = 0) LIMIT 1
1067
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page10', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page10', 0, 0)
1068
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1066
1069
  Processing by Spud::Admin::PagesController#update as HTML
1067
1070
  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)
1071
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 33 LIMIT 1
1082
1072
  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
1073
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (19)
1074
+  (0.1ms) SAVEPOINT active_record_2
1075
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 19)
1076
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'adam' LIMIT 1
1077
+ 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
1078
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (19, 'SpudPage', '2013-02-20 13:04:28', 0, '2013-02-20 13:04:28', 'page10')
1079
+ 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
1080
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'adam' AND `spud_pages`.`id` != 19 AND `spud_pages`.`site_id` = 0) LIMIT 1
1081
+  (0.2ms) UPDATE `spud_pages` SET `name` = 'Adam', `url_name` = 'adam', `updated_at` = '2013-02-20 13:04:28' WHERE `spud_pages`.`id` = 19
1082
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1083
+ Redirected to http://test.host/spud/admin/pages
1084
+ Completed 302 Found in 53ms (ActiveRecord: 2.4ms)
1085
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 19 LIMIT 1
1086
+  (1.0ms) ROLLBACK
1087
+  (0.1ms) ROLLBACK
1086
1088
   (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
1089
+  (0.1ms) BEGIN
1094
1090
   (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
1091
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1092
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1093
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0c5f7c188413e11838b0854837f08afc289d97ed162a3644a6fc02a9f4705398920021eadbb403b5e6c6abfe0c136b148a2979b1b65edae5d629eb708d741e9f' LIMIT 1
1094
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nlxacM8VrX7O7Ap6c8s' LIMIT 1
1095
+ 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-20 13:04:28', '5cf371c913656802be0f54a20ce0c9ad8e51634bb4c846e253da4d539af9fa94cd730f4c31c5a57e1fc9b10bc2f8a4f15d09c56ea07208c7e6ece6a764ba8413', '2013-02-20 13:04:28', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:28', 'testuser', 1, 'fVWyDzdTDsufZcGpECm', '3FNwItRqhiRKG7PZw', '0c5f7c188413e11838b0854837f08afc289d97ed162a3644a6fc02a9f4705398920021eadbb403b5e6c6abfe0c136b148a2979b1b65edae5d629eb708d741e9f', 'nlxacM8VrX7O7Ap6c8s', 1, NULL, '2013-02-20 13:04:28')
1096
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1097
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
1098
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:28', `last_login_ip` = '0.0.0.0', `perishable_token` = '8DKJIIXWLwsXireV3ngZ', `updated_at` = '2013-02-20 13:04:28' WHERE `spud_users`.`id` = 34
1099
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1100
+  (0.1ms) SAVEPOINT active_record_2
1101
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1102
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page11' LIMIT 1
1103
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page11' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1104
+ 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
1105
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page11', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page11', 0, 0)
1106
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1104
1107
  Processing by Spud::Admin::PagesController#update as HTML
1105
1108
  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
1109
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 34 LIMIT 1
1110
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 20 LIMIT 1
1111
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (20)
1112
+  (0.1ms) SAVEPOINT active_record_2
1113
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 20)
1114
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'adam' LIMIT 1
1115
+ 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
1116
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (20, 'SpudPage', '2013-02-20 13:04:28', 0, '2013-02-20 13:04:28', 'page11')
1117
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Adam' AND `spud_pages`.`id` != 20 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1118
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'adam' AND `spud_pages`.`id` != 20 AND `spud_pages`.`site_id` = 0) LIMIT 1
1119
+  (0.1ms) UPDATE `spud_pages` SET `name` = 'Adam', `url_name` = 'adam', `updated_at` = '2013-02-20 13:04:28' WHERE `spud_pages`.`id` = 20
1120
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1118
1121
  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
1122
+ Completed 302 Found in 12ms (ActiveRecord: 2.1ms)
1123
+  (0.4ms) ROLLBACK
1124
+  (0.0ms) ROLLBACK
1123
1125
   (0.0ms) BEGIN
1126
+  (0.0ms) BEGIN
1127
+  (0.1ms) SAVEPOINT active_record_2
1128
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1129
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1130
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '810a6d1833d2b6b8ddfc86447c2a15d16ef94f99940c5887931c7b97f5cb16a022cce177fa6543e4b7898c9a9c0c5e01859e136af0c1eb633162e39065507b29' LIMIT 1
1131
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SOizZc8PV0JlBlRBnJe' LIMIT 1
1132
+ 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-20 13:04:28', 'a121f564c9aa98b214cbd0bda59095cea1b70a257a254788910146e17ca5e09efbdaab92c17152def061d84cc4467b6ee1d5a6870f18599356941dac9f2c4b15', '2013-02-20 13:04:28', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:28', 'testuser', 1, 'WaPgMKe965RGkOQoejlI', 'QUETmmnlgnLip94UW9WT', '810a6d1833d2b6b8ddfc86447c2a15d16ef94f99940c5887931c7b97f5cb16a022cce177fa6543e4b7898c9a9c0c5e01859e136af0c1eb633162e39065507b29', 'SOizZc8PV0JlBlRBnJe', 1, NULL, '2013-02-20 13:04:28')
1133
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1124
1134
   (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
1135
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:28', `last_login_ip` = '0.0.0.0', `perishable_token` = 'OsQmp2wzaykfkWHWLsUG', `updated_at` = '2013-02-20 13:04:28' WHERE `spud_users`.`id` = 35
1136
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1137
+  (0.1ms) SAVEPOINT active_record_2
1138
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1139
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page12' LIMIT 1
1140
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page12' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1141
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page12' AND `spud_pages`.`site_id` = 0) LIMIT 1
1142
+ SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page12', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page12', 0, 0)
1133
1143
   (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`
1144
+  (0.1ms) SELECT COUNT(*) FROM `spud_pages` 
1142
1145
  Processing by Spud::Admin::PagesController#destroy as HTML
1143
1146
  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
1147
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 35 LIMIT 1
1148
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 21 LIMIT 1
1149
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (21)
1150
+  (0.1ms) SAVEPOINT active_record_2
1151
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`spud_page_id` = 21
1152
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 21 AND `spud_permalinks`.`attachment_type` = 'SpudPage'
1153
+ SQL (0.1ms) DELETE FROM `spud_pages` WHERE `spud_pages`.`id` = 21
1154
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1152
1155
  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
1156
+ Completed 302 Found in 10ms (ActiveRecord: 1.6ms)
1157
+  (0.3ms) SELECT COUNT(*) FROM `spud_pages`
1158
+  (2.7ms) ROLLBACK
1159
+  (0.0ms) ROLLBACK
1158
1160
   (0.1ms) BEGIN
1161
+  (0.0ms) BEGIN
1162
+  (0.2ms) SAVEPOINT active_record_2
1163
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1164
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1165
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '53ac421d2f1617cdbd8ed5b37d8e452e1960e242657e35eea8407327f3d6a90fd34b89a2a1818a9684bab15702e3bdb84314d2e5df337ff8413b87a6c471379c' LIMIT 1
1166
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wS9tGfOfNJlqLkGtUlw' LIMIT 1
1167
+ 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-20 13:04:28', 'd832dc3d5b80377356581108a7648d60716239058ca594870c326b947847fe3c6dc84679fb37ce6e7ba35beef22765dcba0abbb199bb2a408d1e5db481e036fd', '2013-02-20 13:04:28', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-20 13:04:28', 'testuser', 1, 'rWuNPv5cqkh9Eysrzzmv', 'lx9BkEZJmu7n4hJ88FXm', '53ac421d2f1617cdbd8ed5b37d8e452e1960e242657e35eea8407327f3d6a90fd34b89a2a1818a9684bab15702e3bdb84314d2e5df337ff8413b87a6c471379c', 'wS9tGfOfNJlqLkGtUlw', 1, NULL, '2013-02-20 13:04:28')
1168
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1159
1169
   (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')
1170
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-20 13:04:28', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ahUUC9DeoOPmq2rhhtH', `updated_at` = '2013-02-20 13:04:28' WHERE `spud_users`.`id` = 36
1165
1171
   (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
1172
+  (0.1ms) SAVEPOINT active_record_2
1173
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1174
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page13' LIMIT 1
1175
+ 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
1176
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page13' AND `spud_pages`.`site_id` = 0) LIMIT 1
1177
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page13', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page13', 0, 0)
1168
1178
   (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` 
1179
+  (0.1ms) SELECT COUNT(*) FROM `spud_pages`
1177
1180
  Processing by Spud::Admin::PagesController#destroy as HTML
1178
1181
  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
1182
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 36 LIMIT 1
1183
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 23532 LIMIT 1
1181
1184
  Redirected to http://test.host/spud/admin/pages
1182
1185
  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
1186
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1187
+  (0.2ms) SELECT COUNT(*) FROM `spud_pages` 
1188
+  (0.7ms) ROLLBACK
1189
+  (0.0ms) ROLLBACK
1188
1190
   (0.0ms) BEGIN
1191
+  (0.0ms) BEGIN
1189
1192
  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
1193
+ 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
1194
+ Completed 200 OK in 16ms (Views: 13.4ms | ActiveRecord: 0.3ms)
1195
+ SpudPage Load (0.9ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`visibility` = 0 ORDER BY spud_page_id
1194
1196
   (0.1ms) ROLLBACK
1195
-  (0.1ms) BEGIN
1197
+  (0.0ms) ROLLBACK
1196
1198
   (0.0ms) BEGIN
1199
+  (0.0ms) BEGIN
1197
1200
  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
+ 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
1202
+ Completed 406 Not Acceptable in 2ms (ActiveRecord: 0.3ms)
1201
1203
   (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
1204
+  (0.1ms) ROLLBACK
1205
+  (0.1ms) BEGIN
1206
+  (0.0ms) BEGIN
1211
1207
   (0.1ms) SAVEPOINT active_record_2
1212
1208
  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
1209
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page14' LIMIT 1
1210
+ 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
1211
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page14' AND `spud_pages`.`site_id` = 0) LIMIT 1
1212
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page14', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page14', 0, 0)
1213
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1218
1214
   (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
1215
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1216
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page15' LIMIT 1
1217
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page15' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1218
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page15' AND `spud_pages`.`site_id` = 0) LIMIT 1
1219
+ SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page15', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page15', 0, 0)
1220
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1225
1221
   (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
1222
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
1223
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page16' LIMIT 1
1224
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page16' AND `spud_pages`.`site_id` = 1 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1225
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page16' AND `spud_pages`.`site_id` = 1) LIMIT 1
1226
+ SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page16', NULL, NULL, NULL, 1, 1, NULL, '2013-02-20 13:04:28', NULL, 'page16', 0, 0)
1227
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1232
1228
   (0.1ms) SAVEPOINT active_record_2
1233
1229
  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
1230
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page17' LIMIT 1
1231
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page17' AND `spud_pages`.`site_id` = 1 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1232
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page17' AND `spud_pages`.`site_id` = 1) LIMIT 1
1233
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page17', NULL, NULL, NULL, 1, 1, NULL, '2013-02-20 13:04:28', NULL, 'page17', 0, 0)
1234
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1235
+  (0.1ms) SAVEPOINT active_record_2
1236
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
1237
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page18' LIMIT 1
1238
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page18' AND `spud_pages`.`site_id` = 1 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1239
+ 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
1240
+ SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page18', NULL, NULL, NULL, 1, 1, NULL, '2013-02-20 13:04:28', NULL, 'page18', 0, 0)
1241
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1239
1242
  Processing by Spud::Cms::SitemapsController#show as XML
1243
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`visibility` = 0 AND `spud_pages`.`site_id` = 1 ORDER BY spud_page_id
1244
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.4ms)
1240
1245
  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', '/')
1246
+  (0.5ms) ROLLBACK
1247
+  (0.1ms) ROLLBACK
1248
+  (0.1ms) BEGIN
1249
+  (0.1ms) BEGIN
1250
+  (0.2ms) SAVEPOINT active_record_2
1251
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Main' AND `spud_menus`.`site_id` = 0) LIMIT 1
1252
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:28', NULL, 'Main', 0, '2013-02-20 13:04:28')
1253
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
1254
+  (0.0ms) SAVEPOINT active_record_2
1255
+ 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-20 13:04:28', NULL, 0, 'Menu Item 15', 25, 'SpudMenu', 25, NULL, '2013-02-20 13:04:28', '/')
1256
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1257
+  (0.0ms) SAVEPOINT active_record_2
1258
+ 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-20 13:04:28', NULL, 0, 'Menu Item 16', 25, 'SpudMenu', 25, NULL, '2013-02-20 13:04:28', '/')
1259
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1260
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main' LIMIT 1
1261
+ SpudMenuItem Load (0.3ms) SELECT
1259
1262
  spud_menu_items.id as id,
1260
1263
  spud_menu_items.url as url,
1261
1264
  spud_menu_items.classes as classes,
@@ -1263,23 +1266,23 @@ Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.3ms)
1263
1266
  spud_menu_items.menu_order as menu_order,
1264
1267
  spud_menu_items.parent_id as parent_id,
1265
1268
  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
1269
+ 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
1270
+  (0.3ms) ROLLBACK
1271
+  (0.0ms) ROLLBACK
1270
1272
   (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', '/')
1273
+  (0.0ms) BEGIN
1274
+  (0.2ms) SAVEPOINT active_record_2
1275
+ 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
1276
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:28', NULL, 'Menu25', 0, '2013-02-20 13:04:28')
1277
1277
   (0.1ms) RELEASE SAVEPOINT active_record_2
1278
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
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-20 13:04:28', NULL, 0, 'Menu Item 17', 26, 'SpudMenu', 26, NULL, '2013-02-20 13:04:28', '/')
1280
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1281
+  (0.1ms) SAVEPOINT active_record_2
1282
+ 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-20 13:04:28', NULL, 0, 'Menu Item 18', 26, 'SpudMenu', 26, NULL, '2013-02-20 13:04:28', '/')
1283
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1284
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Menu25' LIMIT 1
1285
+ SpudMenuItem Load (0.3ms) SELECT
1283
1286
  spud_menu_items.id as id,
1284
1287
  spud_menu_items.url as url,
1285
1288
  spud_menu_items.classes as classes,
@@ -1287,26 +1290,26 @@ Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.3ms)
1287
1290
  spud_menu_items.menu_order as menu_order,
1288
1291
  spud_menu_items.parent_id as parent_id,
1289
1292
  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
1293
+ 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
1294
+  (0.4ms) ROLLBACK
1295
+  (0.1ms) ROLLBACK
1294
1296
   (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', '/')
1297
+  (0.1ms) BEGIN
1298
+  (0.1ms) SAVEPOINT active_record_2
1299
+ 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
1300
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:28', NULL, 'Main2', 0, '2013-02-20 13:04:28')
1301
1301
   (0.1ms) RELEASE SAVEPOINT active_record_2
1302
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', '/')
1303
+ 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-20 13:04:28', NULL, 0, 'Menu Item 19', 27, 'SpudMenu', 27, NULL, '2013-02-20 13:04:28', '/')
1304
1304
   (0.1ms) RELEASE SAVEPOINT active_record_2
1305
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', '/')
1306
+ 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-20 13:04:28', NULL, 0, 'Menu Item 20', 27, 'SpudMenu', 27, NULL, '2013-02-20 13:04:28', '/')
1307
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
1308
+  (0.1ms) SAVEPOINT active_record_2
1309
+ 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-20 13:04:28', NULL, 0, 'SubItem', 20, 'SpudMenuItem', 27, NULL, '2013-02-20 13:04:28', '/')
1310
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1311
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main2' LIMIT 1
1312
+ SpudMenuItem Load (0.2ms) SELECT
1310
1313
  spud_menu_items.id as id,
1311
1314
  spud_menu_items.url as url,
1312
1315
  spud_menu_items.classes as classes,
@@ -1314,26 +1317,26 @@ Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.3ms)
1314
1317
  spud_menu_items.menu_order as menu_order,
1315
1318
  spud_menu_items.parent_id as parent_id,
1316
1319
  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
1320
+ 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
1321
+  (0.6ms) ROLLBACK
1322
+  (0.0ms) ROLLBACK
1321
1323
   (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', '/')
1324
+  (0.0ms) BEGIN
1325
+  (0.1ms) SAVEPOINT active_record_2
1326
+ 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
1327
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:28', NULL, 'Main4', 0, '2013-02-20 13:04:28')
1328
1328
   (0.1ms) RELEASE SAVEPOINT active_record_2
1329
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', '/')
1330
+ 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-20 13:04:28', NULL, 0, 'Menu Item 21', 28, 'SpudMenu', 28, NULL, '2013-02-20 13:04:28', '/')
1331
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', '/')
1332
+  (0.1ms) SAVEPOINT active_record_2
1333
+ 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-20 13:04:28', NULL, 0, 'Menu Item 22', 28, 'SpudMenu', 28, NULL, '2013-02-20 13:04:28', '/')
1334
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
1335
+  (0.0ms) SAVEPOINT active_record_2
1336
+ 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-20 13:04:28', NULL, 0, 'SubItem', 23, 'SpudMenuItem', 28, NULL, '2013-02-20 13:04:28', '/')
1337
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1338
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main4' LIMIT 1
1339
+ SpudMenuItem Load (0.2ms) SELECT
1337
1340
  spud_menu_items.id as id,
1338
1341
  spud_menu_items.url as url,
1339
1342
  spud_menu_items.classes as classes,
@@ -1341,38 +1344,38 @@ Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.3ms)
1341
1344
  spud_menu_items.menu_order as menu_order,
1342
1345
  spud_menu_items.parent_id as parent_id,
1343
1346
  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
1347
+ 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
1348
+  (0.2ms) ROLLBACK
1349
+  (0.1ms) ROLLBACK
1348
1350
   (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')
1351
+  (0.0ms) BEGIN
1352
+  (0.1ms) SAVEPOINT active_record_2
1353
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu26' AND `spud_menus`.`site_id` = 0) LIMIT 1
1354
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:28', NULL, 'Menu26', 0, '2013-02-20 13:04:28')
1355
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1356
+  (0.1ms) SAVEPOINT active_record_2
1357
+ 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-20 13:04:28', NULL, 0, 'Menu Item 23', 29, 'SpudMenu', 29, NULL, '2013-02-20 13:04:28', '/')
1358
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1359
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`site_id` = 1 AND `spud_menus`.`name` = 'Menu26' LIMIT 1
1360
+  (0.4ms) ROLLBACK
1361
+  (0.0ms) ROLLBACK
1362
+  (0.0ms) BEGIN
1363
+  (0.1ms) BEGIN
1364
+  (0.1ms) SAVEPOINT active_record_2
1365
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Main3' AND `spud_menus`.`site_id` = 0) LIMIT 1
1366
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:28', NULL, 'Main3', 0, '2013-02-20 13:04:28')
1367
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1368
+  (0.1ms) SAVEPOINT active_record_2
1369
+ 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-20 13:04:28', NULL, 0, 'Menu Item 24', 30, 'SpudMenu', 30, NULL, '2013-02-20 13:04:28', '/')
1352
1370
   (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
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', '/')
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-20 13:04:28', NULL, 0, 'Menu Item 25', 30, 'SpudMenu', 30, NULL, '2013-02-20 13:04:28', '/')
1373
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
1374
+  (0.1ms) SAVEPOINT active_record_2
1375
+ 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-20 13:04:28', NULL, 0, 'SubItem', 27, 'SpudMenuItem', 30, NULL, '2013-02-20 13:04:28', '/')
1376
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1377
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main3' LIMIT 1
1378
+ SpudMenuItem Load (0.3ms) SELECT
1376
1379
  spud_menu_items.id as id,
1377
1380
  spud_menu_items.url as url,
1378
1381
  spud_menu_items.classes as classes,
@@ -1380,495 +1383,495 @@ Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.3ms)
1380
1383
  spud_menu_items.menu_order as menu_order,
1381
1384
  spud_menu_items.parent_id as parent_id,
1382
1385
  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
1386
+ 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
1387
+  (0.3ms) ROLLBACK
1388
+  (0.0ms) ROLLBACK
1387
1389
   (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')
1390
+  (0.0ms) BEGIN
1391
+  (0.2ms) SAVEPOINT active_record_2
1392
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'Menu27' AND `spud_menus`.`site_id` = 0) LIMIT 1
1393
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `description`, `name`, `site_id`, `updated_at`) VALUES ('2013-02-20 13:04:28', NULL, 'Menu27', 0, '2013-02-20 13:04:28')
1394
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1395
+  (0.1ms) SAVEPOINT active_record_2
1396
+ 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-20 13:04:28', NULL, 0, 'Menu Item 26', 31, 'SpudMenu', 31, NULL, '2013-02-20 13:04:28', '/')
1391
1397
   (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', '/')
1398
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Menu27' AND `spud_menus`.`site_id` = 1 LIMIT 1
1399
+  (0.4ms) ROLLBACK
1400
+  (0.0ms) ROLLBACK
1401
+  (0.0ms) BEGIN
1402
+  (0.1ms) BEGIN
1403
+  (0.1ms) SAVEPOINT active_record_2
1404
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1405
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page19' LIMIT 1
1406
+ SpudPage Exists (0.1ms) 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
1407
+ SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page19' AND `spud_pages`.`site_id` = 0) LIMIT 1
1408
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page19', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page19', 0, 0)
1409
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1410
+  (0.0ms) SAVEPOINT active_record_2
1411
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1412
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page20' LIMIT 1
1413
+ SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page20' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1414
+ SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page20' AND `spud_pages`.`site_id` = 0) LIMIT 1
1415
+ SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page20', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page20', 0, 0)
1394
1416
   (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
1417
+  (0.1ms) SAVEPOINT active_record_2
1418
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 28 LIMIT 1
1419
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1420
+ 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
1421
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page21' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` = 28) LIMIT 1
1422
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page19/page21' AND `spud_pages`.`site_id` = 0) LIMIT 1
1423
+ SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page21', NULL, NULL, NULL, 1, 0, 28, '2013-02-20 13:04:28', NULL, 'page19/page21', 0, 0)
1424
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1425
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
1426
+  (1.0ms) ROLLBACK
1397
1427
   (0.1ms) ROLLBACK
1398
-  (0.2ms) BEGIN
1428
+  (0.1ms) BEGIN
1399
1429
   (0.1ms) BEGIN
1400
1430
   (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
1431
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1432
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page22' LIMIT 1
1433
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page22' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1434
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page22' AND `spud_pages`.`site_id` = 0) LIMIT 1
1435
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page22', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page22', 0, 0)
1436
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1437
+  (0.1ms) SAVEPOINT active_record_2
1416
1438
  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
1439
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page23' LIMIT 1
1440
+ SpudPage Exists (0.2ms) 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
1441
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page23' AND `spud_pages`.`site_id` = 0) LIMIT 1
1442
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page23', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page23', 0, 0)
1443
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1444
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
1445
+  (0.3ms) ROLLBACK
1446
+  (0.0ms) ROLLBACK
1425
1447
   (0.1ms) BEGIN
1426
1448
   (0.1ms) BEGIN
1427
1449
   (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)
1450
+ SpudPage Load (0.5ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1451
+ SpudPermalink Load (0.4ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page24' LIMIT 1
1452
+ 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
1453
+ 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
1454
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page24', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page24', 0, 0)
1433
1455
   (0.2ms) RELEASE SAVEPOINT active_record_2
1434
1456
   (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)
1457
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1458
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page25' LIMIT 1
1459
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page25' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1460
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page25' AND `spud_pages`.`site_id` = 0) LIMIT 1
1461
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page25', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page25', 0, 0)
1440
1462
   (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
1463
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1 AND (name NOT IN ('Page25'))
1464
+  (0.3ms) ROLLBACK
1465
+  (0.1ms) ROLLBACK
1466
+  (0.0ms) BEGIN
1445
1467
   (0.0ms) BEGIN
1446
1468
   (0.2ms) SAVEPOINT active_record_2
1447
1469
  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)
1470
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page26' LIMIT 1
1471
+ 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
1472
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page26' AND `spud_pages`.`site_id` = 0) LIMIT 1
1473
+ SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page26', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page26', 0, 0)
1452
1474
   (0.1ms) RELEASE SAVEPOINT active_record_2
1453
1475
   (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)
1476
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1477
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page27' LIMIT 1
1478
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page27' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1479
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page27' AND `spud_pages`.`site_id` = 0) LIMIT 1
1480
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page27', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page27', 0, 0)
1481
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1482
+  (0.1ms) SAVEPOINT active_record_2
1483
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 35 LIMIT 1
1484
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1485
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page26/page28' LIMIT 1
1486
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page28' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` = 35) LIMIT 1
1487
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page26/page28' AND `spud_pages`.`site_id` = 0) LIMIT 1
1488
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page28', NULL, NULL, NULL, 1, 0, 35, '2013-02-20 13:04:28', NULL, 'page26/page28', 0, 0)
1459
1489
   (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'))
1490
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
1461
1491
   (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
1492
+  (0.1ms) ROLLBACK
1491
1493
   (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
1494
+  (0.0ms) BEGIN
1499
1495
   (0.2ms) SAVEPOINT active_record_2
1500
1496
  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)
1497
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page29' LIMIT 1
1498
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page29' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1499
+ 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
1500
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page29', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page29', 0, 0)
1525
1501
   (0.1ms) RELEASE SAVEPOINT active_record_2
1526
1502
   (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
1503
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1504
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page30' LIMIT 1
1505
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page30' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1506
+ 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
1507
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page30', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page30', 0, 0)
1508
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1509
+  (0.1ms) SAVEPOINT active_record_2
1510
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 38 LIMIT 1
1511
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1512
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page29/page31' LIMIT 1
1513
+ SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page31' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` = 38) LIMIT 1
1514
+ 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
1515
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page31', NULL, NULL, NULL, 1, 0, 38, '2013-02-20 13:04:28', NULL, 'page29/page31', 0, 0)
1516
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1517
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
1518
+  (0.3ms) ROLLBACK
1539
1519
   (0.1ms) ROLLBACK
1540
1520
   (0.1ms) BEGIN
1541
-  (0.0ms) BEGIN
1521
+  (0.2ms) BEGIN
1522
+  (0.1ms) SAVEPOINT active_record_2
1523
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1524
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page32' LIMIT 1
1525
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page32' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1526
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page32' AND `spud_pages`.`site_id` = 0) LIMIT 1
1527
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page32', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page32', 0, 0)
1528
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1529
+  (0.1ms) SAVEPOINT active_record_2
1530
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
1531
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page33' LIMIT 1
1532
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page33' AND `spud_pages`.`site_id` = 1 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1533
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page33' AND `spud_pages`.`site_id` = 1) LIMIT 1
1534
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page33', NULL, NULL, NULL, 1, 1, NULL, '2013-02-20 13:04:28', NULL, 'page33', 0, 0)
1535
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1536
+ 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
1537
+  (0.4ms) ROLLBACK
1542
1538
   (0.0ms) ROLLBACK
1543
-  (0.0ms) ROLLBACK
1544
-  (0.0ms) BEGIN
1545
1539
   (0.0ms) BEGIN
1546
-  (0.1ms) ROLLBACK
1547
-  (0.1ms) ROLLBACK
1548
1540
   (0.0ms) BEGIN
1549
-  (0.1ms) BEGIN
1550
-  (0.1ms) ROLLBACK
1551
1541
   (0.0ms) ROLLBACK
1552
-  (0.0ms) BEGIN
1542
+  (0.0ms) ROLLBACK
1553
1543
   (0.0ms) BEGIN
1554
-  (0.1ms) ROLLBACK
1555
-  (0.0ms) ROLLBACK
1556
-  (0.2ms) BEGIN
1557
-  (0.1ms) BEGIN
1558
-  (0.2ms) ROLLBACK
1544
+  (0.0ms) BEGIN
1559
1545
   (0.0ms) ROLLBACK
1560
-  (0.1ms) BEGIN
1546
+  (0.0ms) ROLLBACK
1561
1547
   (0.1ms) BEGIN
1562
-  (0.1ms) ROLLBACK
1563
-  (0.1ms) ROLLBACK
1564
1548
   (0.0ms) BEGIN
1549
+  (0.0ms) ROLLBACK
1550
+  (0.0ms) ROLLBACK
1565
1551
   (0.0ms) BEGIN
1566
-  (0.1ms) ROLLBACK
1552
+  (0.0ms) BEGIN
1567
1553
   (0.0ms) ROLLBACK
1554
+  (0.0ms) ROLLBACK
1555
+  (0.0ms) BEGIN
1568
1556
   (0.0ms) BEGIN
1557
+  (0.0ms) ROLLBACK
1558
+  (0.1ms) ROLLBACK
1569
1559
   (0.0ms) BEGIN
1570
-  (0.2ms) ROLLBACK
1571
-  (0.1ms) ROLLBACK
1572
-  (0.2ms) BEGIN
1573
-  (0.2ms) BEGIN
1574
-  (0.2ms) ROLLBACK
1560
+  (0.0ms) BEGIN
1575
1561
   (0.1ms) ROLLBACK
1576
-  (0.1ms) BEGIN
1562
+  (0.1ms) ROLLBACK
1577
1563
   (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
1564
+  (0.0ms) BEGIN
1565
+  (0.1ms) ROLLBACK
1584
1566
   (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
1567
   (0.0ms) BEGIN
1598
1568
   (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
1569
+  (0.1ms) ROLLBACK
1622
1570
   (0.1ms) ROLLBACK
1623
1571
   (0.0ms) BEGIN
1624
1572
   (0.0ms) BEGIN
1625
-  (0.0ms) ROLLBACK
1573
+  (0.1ms) ROLLBACK
1626
1574
   (0.0ms) ROLLBACK
1627
1575
   (0.0ms) BEGIN
1628
1576
   (0.0ms) BEGIN
1629
1577
   (0.0ms) ROLLBACK
1630
1578
   (0.0ms) ROLLBACK
1631
1579
   (0.0ms) BEGIN
1632
-  (0.1ms) BEGIN
1633
-  (0.1ms) ROLLBACK
1634
-  (0.0ms) ROLLBACK
1580
+  (0.0ms) BEGIN
1581
+  (0.0ms) SAVEPOINT active_record_2
1582
+ SQL (0.2ms) INSERT INTO `spud_page_partials` (`content`, `content_processed`, `created_at`, `format`, `name`, `spud_page_id`, `symbol_name`, `updated_at`) VALUES (NULL, '', '2013-02-20 13:04:28', NULL, 'Test Page', NULL, 'test_page', '2013-02-20 13:04:28')
1583
+ SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 1 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'
1584
+ SQL (0.2ms) UPDATE `spud_page_partials` SET `content_processed` = '' WHERE `spud_page_partials`.`id` = 1
1585
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1586
+  (0.2ms) ROLLBACK
1587
+  (0.0ms) ROLLBACK
1588
+  (0.0ms) BEGIN
1635
1589
   (0.0ms) BEGIN
1590
+  (0.0ms) SAVEPOINT active_record_2
1591
+ 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-20 13:04:28', NULL, 'Test Page', 1, '2013-02-20 13:04:28')
1592
+  (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'
1593
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 LIMIT 1
1594
+ SQL (0.1ms) INSERT INTO `spud_page_partials` (`content`, `content_processed`, `created_at`, `format`, `name`, `spud_page_id`, `symbol_name`, `updated_at`) VALUES ('Home Sweet Home', 'Home Sweet Home', '2013-02-20 13:04:28', NULL, 'Test Page', 1, 'test_page', '2013-02-20 13:04:28')
1595
+ 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'
1596
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1597
+  (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'
1598
+  (0.8ms) ROLLBACK
1599
+  (0.1ms) ROLLBACK
1636
1600
   (0.0ms) BEGIN
1601
+  (0.0ms) BEGIN
1602
+  (0.0ms) SAVEPOINT active_record_2
1603
+ SQL (0.3ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Home Sweet Home', '2013-02-20 13:04:28', NULL, 'Test Page', 1, '2013-02-20 13:04:28')
1604
+  (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'
1605
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 LIMIT 1
1606
+ SQL (0.1ms) INSERT INTO `spud_page_partials` (`content`, `content_processed`, `created_at`, `format`, `name`, `spud_page_id`, `symbol_name`, `updated_at`) VALUES ('Home Sweet Home', 'Home Sweet Home', '2013-02-20 13:04:28', NULL, 'Test Page', 1, 'test_page', '2013-02-20 13:04:28')
1607
+ SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 3 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'
1608
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1609
+  (0.1ms) SAVEPOINT active_record_2
1610
+ SQL (0.2ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Nah', '2013-02-20 13:04:28', NULL, 'Test Page', 1, '2013-02-20 13:04:28')
1611
+  (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'
1612
+  (0.3ms) UPDATE `spud_page_partials` SET `content` = 'Nah', `content_processed` = 'Nah', `updated_at` = '2013-02-20 13:04:28' WHERE `spud_page_partials`.`id` = 3
1613
+ 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'
1614
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1615
+  (0.1ms) SAVEPOINT active_record_2
1616
+ SQL (0.2ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `format`, `name`, `spud_page_id`, `updated_at`) VALUES ('Another change', '2013-02-20 13:04:28', NULL, 'Test Page', 1, '2013-02-20 13:04:28')
1617
+  (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'
1618
+ SpudPagePartialRevision Load (0.2ms) SELECT `spud_page_partial_revisions`.* FROM `spud_page_partial_revisions` WHERE `spud_page_partial_revisions`.`spud_page_id` = 1 AND `spud_page_partial_revisions`.`name` = 'Test Page' ORDER BY created_at ASC LIMIT 1
1619
+ SQL (0.2ms) DELETE FROM `spud_page_partial_revisions` WHERE `spud_page_partial_revisions`.`id` = 2
1620
+  (0.2ms) UPDATE `spud_page_partials` SET `content` = 'Another change', `content_processed` = 'Another change', `updated_at` = '2013-02-20 13:04:28' WHERE `spud_page_partials`.`id` = 3
1621
+ SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 3 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'
1622
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1623
+  (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'
1624
+  (0.4ms) ROLLBACK
1637
1625
   (0.0ms) ROLLBACK
1638
-  (0.0ms) ROLLBACK
1626
+  (0.0ms) BEGIN
1639
1627
   (0.0ms) BEGIN
1628
+  (0.0ms) ROLLBACK
1629
+  (0.0ms) ROLLBACK
1630
+  (0.1ms) BEGIN
1631
+  (0.1ms) BEGIN
1632
+  (0.1ms) ROLLBACK
1633
+  (0.0ms) ROLLBACK
1640
1634
   (0.0ms) BEGIN
1635
+  (0.0ms) BEGIN
1636
+  (0.0ms) ROLLBACK
1641
1637
   (0.0ms) ROLLBACK
1638
+  (0.0ms) BEGIN
1639
+  (0.0ms) BEGIN
1642
1640
   (0.0ms) ROLLBACK
1641
+  (0.0ms) ROLLBACK
1642
+  (0.0ms) BEGIN
1643
1643
   (0.0ms) BEGIN
1644
+  (0.0ms) ROLLBACK
1645
+  (0.0ms) ROLLBACK
1644
1646
   (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.0ms) BEGIN
1648
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` IS NULL AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1649
+ 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
1650
+  (0.1ms) ROLLBACK
1647
1651
   (0.1ms) ROLLBACK
1652
+  (0.0ms) BEGIN
1653
+  (0.0ms) BEGIN
1654
+  (0.0ms) SAVEPOINT active_record_2
1655
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page34' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1656
+ 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
1657
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page34', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'test', 1, 0)
1658
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1659
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page35' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1660
+ 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
1661
+  (0.3ms) ROLLBACK
1648
1662
   (0.0ms) ROLLBACK
1649
1663
   (0.0ms) BEGIN
1650
1664
   (0.0ms) BEGIN
1651
1665
   (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
1666
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1667
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'test' LIMIT 1
1668
+ 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
1657
1669
  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
1670
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'test', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'test', 0, 0)
1671
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1672
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1673
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'test-1' LIMIT 1
1674
+ 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
1675
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'test-1' AND `spud_pages`.`site_id` = 0) LIMIT 1
1676
+  (0.3ms) ROLLBACK
1659
1677
   (0.1ms) ROLLBACK
1660
1678
   (0.0ms) BEGIN
1661
1679
   (0.0ms) BEGIN
1662
1680
   (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)
1681
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1682
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page36' LIMIT 1
1683
+ 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
1684
+ SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page36' AND `spud_pages`.`site_id` = 0) LIMIT 1
1685
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page36', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'page36', 0, 0)
1686
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 45 LIMIT 1
1687
+ SQL (0.1ms) INSERT INTO `spud_page_partials` (`content`, `content_processed`, `created_at`, `format`, `name`, `spud_page_id`, `symbol_name`, `updated_at`) VALUES (NULL, '', '2013-02-20 13:04:28', NULL, 'body', 45, 'body', '2013-02-20 13:04:28')
1688
+ SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 4 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'
1689
+ SQL (0.2ms) UPDATE `spud_page_partials` SET `content_processed` = '' WHERE `spud_page_partials`.`id` = 4
1690
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1691
+  (0.1ms) SELECT COUNT(*) FROM `spud_page_partials` 
1692
+  (0.1ms) SAVEPOINT active_record_2
1693
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`spud_page_id` = 45
1694
+ SpudPageLiquidTag Load (0.1ms) 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'
1695
+ SQL (0.1ms) DELETE FROM `spud_page_partials` WHERE `spud_page_partials`.`id` = 4
1696
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 45 AND `spud_permalinks`.`attachment_type` = 'SpudPage'
1697
+ SQL (0.1ms) DELETE FROM `spud_pages` WHERE `spud_pages`.`id` = 45
1668
1698
   (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
1699
+  (0.1ms) SELECT COUNT(*) FROM `spud_page_partials` 
1700
+  (0.6ms) ROLLBACK
1701
+  (0.0ms) ROLLBACK
1702
+  (0.0ms) BEGIN
1675
1703
   (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
1704
   (0.0ms) ROLLBACK
1699
-  (0.0ms) BEGIN
1705
+  (0.0ms) ROLLBACK
1700
1706
   (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
1707
   (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
1708
   (0.0ms) ROLLBACK
1737
-  (0.0ms) BEGIN
1709
+  (0.0ms) ROLLBACK
1738
1710
   (0.0ms) BEGIN
1739
-  (0.1ms) ROLLBACK
1740
-  (0.1ms) ROLLBACK
1741
1711
   (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)
1712
+  (0.0ms) ROLLBACK
1713
+  (0.0ms) ROLLBACK
1714
+  (0.1ms) BEGIN
1715
+  (0.1ms) BEGIN
1716
+  (0.0ms) SAVEPOINT active_record_2
1717
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1718
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'parent' LIMIT 1
1719
+ SpudPage Exists (0.1ms) 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
1720
+ SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'parent' AND `spud_pages`.`site_id` = 0) LIMIT 1
1721
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'parent', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'parent', 0, 0)
1722
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1723
+  (0.0ms) SAVEPOINT active_record_2
1724
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1725
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'parent/page-1' LIMIT 1
1726
+ 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
1727
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'parent/page-1' AND `spud_pages`.`site_id` = 0) LIMIT 1
1728
+ SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page 1', NULL, NULL, NULL, 1, 0, 46, '2013-02-20 13:04:28', NULL, 'parent/page-1', 0, 0)
1749
1729
   (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
1730
+  (0.1ms) SAVEPOINT active_record_2
1731
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1732
+ 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
1733
+ 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
1734
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'parent/page-2' AND `spud_pages`.`site_id` = 0) LIMIT 1
1735
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'Page 2', NULL, NULL, NULL, 1, 0, 46, '2013-02-20 13:04:28', NULL, 'parent/page-2', 0, 0)
1736
+  (0.2ms) RELEASE SAVEPOINT active_record_2
1737
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1754
1738
   (0.4ms) ROLLBACK
1755
1739
   (0.1ms) ROLLBACK
1756
1740
   (0.0ms) BEGIN
1757
1741
   (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
1742
   (0.0ms) ROLLBACK
1771
-  (0.0ms) BEGIN
1743
+  (0.0ms) ROLLBACK
1772
1744
   (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
1745
+  (0.0ms) BEGIN
1746
+  (0.0ms) SAVEPOINT active_record_2
1789
1747
  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
1748
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' LIMIT 1
1749
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1750
+ SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about' AND `spud_pages`.`site_id` = 0) LIMIT 1
1751
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'about', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'about', 0, 0)
1752
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1753
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1754
+ 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
1755
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'test' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` = 49) LIMIT 1
1756
+ SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about/test' AND `spud_pages`.`site_id` = 0) LIMIT 1
1757
+  (0.2ms) ROLLBACK
1758
+  (0.0ms) ROLLBACK
1797
1759
   (0.0ms) BEGIN
1798
1760
   (0.1ms) BEGIN
1799
-  (0.2ms) SAVEPOINT active_record_2
1761
+  (0.1ms) SAVEPOINT active_record_2
1800
1762
  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)
1763
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'testimonials' LIMIT 1
1764
+ SpudPage Exists (0.1ms) 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
1765
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'testimonials' AND `spud_pages`.`site_id` = 0) LIMIT 1
1766
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'testimonials', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'testimonials', 0, 0)
1805
1767
   (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
1768
+ SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1769
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'testimonials-1' LIMIT 1
1770
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'testimonials' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1771
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'testimonials-1' AND `spud_pages`.`site_id` = 0) LIMIT 1
1772
+  (0.3ms) ROLLBACK
1773
+  (0.0ms) ROLLBACK
1774
+  (0.0ms) BEGIN
1775
+  (0.0ms) BEGIN
1820
1776
   (0.1ms) SAVEPOINT active_record_2
1821
- SQL (0.2ms) DELETE FROM `spud_permalinks` WHERE `spud_permalinks`.`id` = 5
1777
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1778
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another' LIMIT 1
1779
+ 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
1780
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'another' AND `spud_pages`.`site_id` = 0) LIMIT 1
1781
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'another', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'another', 0, 0)
1822
1782
   (0.0ms) RELEASE SAVEPOINT active_record_2
1823
1783
   (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
1784
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 51)
1785
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'again' LIMIT 1
1786
+ SpudPermalink Exists (0.2ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'another' AND `spud_permalinks`.`site_id` = 0) LIMIT 1
1787
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (51, 'SpudPage', '2013-02-20 13:04:28', 0, '2013-02-20 13:04:28', 'another')
1788
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'again' AND `spud_pages`.`id` != 51 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1789
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'again' AND `spud_pages`.`id` != 51 AND `spud_pages`.`site_id` = 0) LIMIT 1
1790
+  (0.2ms) UPDATE `spud_pages` SET `name` = 'again', `url_name` = 'again', `updated_at` = '2013-02-20 13:04:28' WHERE `spud_pages`.`id` = 51
1791
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1792
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1793
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another' LIMIT 1
1794
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 51 LIMIT 1
1795
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another-1' LIMIT 1
1796
+ 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
1797
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'another-1' AND `spud_pages`.`site_id` = 0) LIMIT 1
1798
+  (0.3ms) ROLLBACK
1831
1799
   (0.0ms) ROLLBACK
1832
1800
   (0.0ms) BEGIN
1833
1801
   (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)
1802
+  (0.0ms) SAVEPOINT active_record_2
1803
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1804
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage' LIMIT 1
1805
+ 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
1806
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'permapage' AND `spud_pages`.`site_id` = 0) LIMIT 1
1807
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'permapage', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'permapage', 0, 0)
1840
1808
   (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
1809
+  (0.0ms) SAVEPOINT active_record_2
1810
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 52)
1811
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage-new' LIMIT 1
1812
+ SpudPermalink Exists (0.2ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'permapage' AND `spud_permalinks`.`site_id` = 0) LIMIT 1
1813
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (52, 'SpudPage', '2013-02-20 13:04:28', 0, '2013-02-20 13:04:28', 'permapage')
1814
+ 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
1815
+ SpudPage Exists (0.1ms) 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
1816
+  (0.2ms) UPDATE `spud_pages` SET `name` = 'permapage new', `url_name` = 'permapage-new', `updated_at` = '2013-02-20 13:04:28' WHERE `spud_pages`.`id` = 52
1817
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1818
+  (0.1ms) SELECT COUNT(*) FROM `spud_permalinks`
1819
+  (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'
1820
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 52)
1821
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage' LIMIT 1
1822
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 52 LIMIT 1
1823
+  (0.1ms) SAVEPOINT active_record_2
1824
+ SQL (0.2ms) DELETE FROM `spud_permalinks` WHERE `spud_permalinks`.`id` = 5
1825
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1826
+  (0.0ms) SAVEPOINT active_record_2
1827
+ 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
1828
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (52, 'SpudPage', '2013-02-20 13:04:28', 0, '2013-02-20 13:04:28', 'permapage-new')
1829
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1830
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'permapage' AND `spud_pages`.`id` != 52 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1831
+ SpudPage Exists (0.1ms) 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
1832
+  (0.1ms) SELECT COUNT(*) FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 52 AND `spud_permalinks`.`attachment_type` = 'SpudPage' AND `spud_permalinks`.`url_name` = 'permapage'
1833
+  (0.7ms) ROLLBACK
1834
+  (0.0ms) ROLLBACK
1845
1835
   (0.0ms) BEGIN
1846
1836
   (0.0ms) BEGIN
1847
1837
   (0.0ms) SAVEPOINT active_record_2
1848
- SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1838
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1849
1839
  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
1840
  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
1841
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'original' AND `spud_pages`.`site_id` = 0) LIMIT 1
1842
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'original', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'original', 0, 0)
1843
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1844
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'new' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1845
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'original' AND `spud_pages`.`site_id` = 0) LIMIT 1
1846
+  (0.3ms) ROLLBACK
1847
+  (0.0ms) ROLLBACK
1848
+  (0.0ms) BEGIN
1849
+  (0.0ms) BEGIN
1850
+  (0.0ms) SAVEPOINT active_record_2
1851
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1852
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original' LIMIT 1
1853
+ SpudPage Exists (0.3ms) 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
1854
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'original' AND `spud_pages`.`site_id` = 0) LIMIT 1
1855
+ SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `created_by`, `format`, `layout`, `meta_description`, `meta_keywords`, `name`, `notes`, `page_order`, `publish_at`, `published`, `site_id`, `spud_page_id`, `updated_at`, `updated_by`, `url_name`, `use_custom_url_name`, `visibility`) VALUES ('2013-02-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'original', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'original', 0, 0)
1856
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1857
+  (0.0ms) SAVEPOINT active_record_2
1858
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND (id != 54)
1859
+ SpudPermalink Load (0.1ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original2' LIMIT 1
1860
+ SpudPermalink Exists (0.2ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'original' AND `spud_permalinks`.`site_id` = 0) LIMIT 1
1861
+ SQL (0.1ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (54, 'SpudPage', '2013-02-20 13:04:28', 0, '2013-02-20 13:04:28', 'original')
1862
+ 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
1863
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'original2' AND `spud_pages`.`id` != 54 AND `spud_pages`.`site_id` = 0) LIMIT 1
1864
+  (0.2ms) UPDATE `spud_pages` SET `name` = 'original2', `url_name` = 'original2', `updated_at` = '2013-02-20 13:04:28' WHERE `spud_pages`.`id` = 54
1865
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1866
+  (0.0ms) SAVEPOINT active_record_2
1867
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
1868
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'new' LIMIT 1
1869
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'new' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
1870
+ SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'new' AND `spud_pages`.`site_id` = 0) LIMIT 1
1871
+ 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-20 13:04:28', NULL, 'html', NULL, NULL, NULL, 'new', NULL, NULL, NULL, 1, 0, NULL, '2013-02-20 13:04:28', NULL, 'new', 0, 0)
1862
1872
   (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
1873
+ SpudPage Load (0.1ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 55 LIMIT 1
1874
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original' LIMIT 1
1875
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 54 LIMIT 1
1876
+  (0.3ms) ROLLBACK
1877
+  (0.1ms) ROLLBACK