spud_cms 1.0.0.rc1.1 → 1.0.0.rc1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e475674e995836193d4b874da0712c15cd79704e
4
- data.tar.gz: 84877b96a514f815df00b78e51bc85e7f05f6b3c
3
+ metadata.gz: 46b436dc0ec6104c68765176effcb57295812080
4
+ data.tar.gz: ecb6b9a8797fc08ea81bcd56e6ee5a6fe441b2da
5
5
  SHA512:
6
- metadata.gz: 2fb5e63a018b9053ae5cbebb2b6f798955d534f8d4f6cdd675915b8f7beeb1de6656bd0e130c30ce0edc47548ccc9b099bbaa753bf01990661544dc29e2d8eaa
7
- data.tar.gz: 189f3a9283f10e743c8d2e6b634a75b995fb65ddaefd4518c6cf386ce4d55aa91b78bade812f0f440eb932bae801955da261a19995f2666efebb3e3d26596f8b
6
+ metadata.gz: 78cc9d0a064b26653f4146702787fd5e39659536652027d3db266e5bc00bcc8ad1bc646aedfe3cbaadcb8337e164723f8481ceb9a75574bf0155df6c881b8465
7
+ data.tar.gz: fb0e93d443d91320d5e8b8689b6544eeac75fd59bf4cb344e5b3bd80e38ddf0fb720c87fcccd4763e26a98ee006e48aea6b2fb045946672fe38143ed5c0a8311
@@ -18,12 +18,20 @@ spud.admin.cms.pages = {};
18
18
  var tabButtons = $('.formtabs .formtab_buttons').first();
19
19
  for(var x=0;x<tabNames.length;x++)
20
20
  {
21
- var tabButton = $('<li><a href="#tab-' + x + '" data-toggle="tab">' + tabNames[x] + '</a></li>');
21
+ var tabButton = $('<li><a class="spud-page-tab-button" href="#tab-' + x + '" data-toggle="tab">' + tabNames[x] + '</a></li>');
22
22
  if(x === 0) {
23
23
  tabButton.addClass('active');
24
24
  }
25
25
  tabButtons.append(tabButton);
26
- }
27
26
 
27
+ }
28
+ pages.tabMonitor();
29
+ };
30
+ pages.tabMonitor = function() {
31
+ $('a.spud-page-tab-button[data-toggle="tab"]').on('shown', function (e) {
32
+ var editors = $(e.target).find('.spud-formatted-editor');
33
+ spud.admin.editor.unload('.formtab [code-mirror-id]')
34
+ spud.admin.editor.init(editors);
35
+ })
28
36
  };
29
37
  })();
@@ -5,7 +5,7 @@
5
5
  <% spud_page_partials.each_with_index do |spud_page_partial, index| %>
6
6
  <div class="formtab tab-pane">
7
7
  <input type="hidden" class="tab_name" name="spud_page[spud_page_partials_attributes][<%= index %>][name]" value="<%= spud_page_partial.name %>" />
8
- <textarea class="wysiwym tinymce" name="spud_page[spud_page_partials_attributes][<%= index %>][content]">
8
+ <textarea class="spud-formatted-editor" name="spud_page[spud_page_partials_attributes][<%= index %>][content]">
9
9
  <%= spud_page_partial.content %>
10
10
  </textarea>
11
11
  </div>
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Cms
3
- VERSION = "1.0.0.rc1.1"
3
+ VERSION = "1.0.0.rc1.2"
4
4
  end
5
5
  end
@@ -21380,3 +21380,1616 @@ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
21380
21380
  SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1062 ORDER BY `spud_pages`.`id` ASC LIMIT 1
21381
21381
   (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
21382
21382
   (0.1ms) ROLLBACK
21383
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
21384
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
21385
+  (0.2ms) SELECT DATABASE() as db
21386
+  (14.1ms) select table_name from information_schema.views where table_schema = 'spud_cms_test'
21387
+  (2.0ms) TRUNCATE TABLE `spud_admin_permissions`;
21388
+  (2.3ms) TRUNCATE TABLE `spud_menu_items`;
21389
+  (1.7ms) TRUNCATE TABLE `spud_menus`;
21390
+  (1.9ms) TRUNCATE TABLE `spud_page_liquid_tags`;
21391
+  (5.0ms) TRUNCATE TABLE `spud_page_partial_revisions`;
21392
+  (3.1ms) TRUNCATE TABLE `spud_page_partials`;
21393
+  (2.3ms) TRUNCATE TABLE `spud_pages`;
21394
+  (3.9ms) TRUNCATE TABLE `spud_permalinks`;
21395
+  (42.6ms) TRUNCATE TABLE `spud_snippets`;
21396
+  (28.9ms) TRUNCATE TABLE `spud_user_settings`;
21397
+  (3.1ms) TRUNCATE TABLE `spud_users`;
21398
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
21399
+  (0.1ms) BEGIN
21400
+  (0.1ms) SAVEPOINT active_record_1
21401
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
21402
+ SpudPermalink Load (0.5ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page1' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
21403
+ SpudPage Exists (0.4ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page1' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
21404
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page1' AND `spud_pages`.`site_id` = 0) LIMIT 1
21405
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:36', 'Page1', '2014-01-05 19:31:36', 'page1')
21406
+ Processing by PagesController#show as HTML
21407
+ Parameters: {"id"=>"page1"}
21408
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'page1' ORDER BY `spud_pages`.`id` ASC LIMIT 1
21409
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (2)
21410
+ Rendered /Users/davidestes/projects/ruby/engines/spud_cms/app/views/pages/show.html.erb within layouts/application (0.4ms)
21411
+ Completed 200 OK in 352ms (Views: 9.1ms | ActiveRecord: 11.1ms)
21412
+  (6.4ms) ROLLBACK TO SAVEPOINT active_record_1
21413
+  (0.2ms) ROLLBACK
21414
+  (0.1ms) BEGIN
21415
+  (0.1ms) SAVEPOINT active_record_1
21416
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
21417
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'home' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
21418
+ 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
21419
+ 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
21420
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:36', 'home', '2014-01-05 19:31:36', 'home')
21421
+ Processing by PagesController#show as HTML
21422
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'home' ORDER BY `spud_pages`.`id` ASC LIMIT 1
21423
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (22)
21424
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.5ms)
21425
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
21426
+  (0.1ms) ROLLBACK
21427
+  (0.1ms) BEGIN
21428
+  (0.1ms) SAVEPOINT active_record_1
21429
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
21430
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
21431
+ 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
21432
+ 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
21433
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:36', 'about', '2014-01-05 19:31:36', 'about')
21434
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE (id != 42) AND `spud_pages`.`site_id` = 0
21435
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about-us' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
21436
+ 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
21437
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (42, 'SpudPage', '2014-01-05 19:31:36', 0, '2014-01-05 19:31:36', 'about')
21438
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about us' AND `spud_pages`.`id` != 42 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
21439
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'about-us' AND `spud_pages`.`id` != 42 AND `spud_pages`.`site_id` = 0) LIMIT 1
21440
+ SQL (0.2ms) UPDATE `spud_pages` SET `name` = 'about us', `url_name` = 'about-us', `updated_at` = '2014-01-05 19:31:36' WHERE `spud_pages`.`id` = 42
21441
+ Processing by PagesController#show as HTML
21442
+ Parameters: {"id"=>"about"}
21443
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' ORDER BY `spud_pages`.`id` ASC LIMIT 1
21444
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`url_name` = 'about' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
21445
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 42 ORDER BY `spud_pages`.`id` ASC LIMIT 1
21446
+ Redirected to http://test.host/about-us
21447
+ Completed 301 Moved Permanently in 7ms (ActiveRecord: 0.7ms)
21448
+  (6.5ms) ROLLBACK TO SAVEPOINT active_record_1
21449
+  (0.2ms) ROLLBACK
21450
+  (0.1ms) BEGIN
21451
+  (0.1ms) SAVEPOINT active_record_1
21452
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
21453
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
21454
+ 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
21455
+ 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
21456
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`, `visibility`) VALUES ('2014-01-05 19:31:37', 'about', '2014-01-05 19:31:37', 'about', 1)
21457
+ Processing by PagesController#show as HTML
21458
+ Parameters: {"id"=>"about"}
21459
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' ORDER BY `spud_pages`.`id` ASC LIMIT 1
21460
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (62)
21461
+ Redirected to http://test.host/spud/user_session/new
21462
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
21463
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
21464
+  (0.1ms) ROLLBACK
21465
+  (0.1ms) BEGIN
21466
+  (0.1ms) SAVEPOINT active_record_1
21467
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21468
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21469
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '29882e37cd26ec4eba51519c5d742ab5abee5dda66ed427438baa8b61595d62f2c259afbfb6494b0e559928135c4cfcd5b3b125cdaeac586f8fdf7a556676769' LIMIT 1
21470
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'A53QZvjsHhAdOPnZGA3W' LIMIT 1
21471
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '3c4214810f5a11a018ad2110c1466069a9bfb843b1865c8564b97bdd32627a14267a671d839bc3257d8740ddd50a3704d0d2385ae98d8186f5967844ea1e9907', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'eX03dN17rFGY31gB64Jh', 'G3saygWVOF6WUG0TM1', '29882e37cd26ec4eba51519c5d742ab5abee5dda66ed427438baa8b61595d62f2c259afbfb6494b0e559928135c4cfcd5b3b125cdaeac586f8fdf7a556676769', 'A53QZvjsHhAdOPnZGA3W', 1, '2014-01-05 19:31:37')
21472
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'bFSHQ1Yl3ZyqJT1czr8w', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 2
21473
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
21474
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
21475
+ 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
21476
+ 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
21477
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`, `visibility`) VALUES ('2014-01-05 19:31:37', 'about', '2014-01-05 19:31:37', 'about', 1)
21478
+ Processing by PagesController#show as HTML
21479
+ Parameters: {"id"=>"about"}
21480
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
21481
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = '8dqlvBV7dIEQC6AmpXkp', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 2
21482
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' ORDER BY `spud_pages`.`id` ASC LIMIT 1
21483
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (82)
21484
+ Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.9ms)
21485
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
21486
+  (0.1ms) ROLLBACK
21487
+  (0.1ms) BEGIN
21488
+  (0.1ms) SAVEPOINT active_record_1
21489
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
21490
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
21491
+ SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'about' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
21492
+ 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
21493
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:37', 'about', '2014-01-05 19:31:37', 'about')
21494
+ Processing by PagesController#show as HTML
21495
+ Parameters: {"id"=>"about"}
21496
+ 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 ORDER BY `spud_pages`.`id` ASC LIMIT 1
21497
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`url_name` = 'about' AND `spud_permalinks`.`site_id` = 1 ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
21498
+ Completed 404 Not Found in 3ms
21499
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
21500
+  (0.1ms) ROLLBACK
21501
+  (0.1ms) BEGIN
21502
+  (0.1ms) SAVEPOINT active_record_1
21503
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
21504
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
21505
+ 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
21506
+ 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
21507
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:37', 'about', '2014-01-05 19:31:37', 'about')
21508
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
21509
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'about' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
21510
+ 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
21511
+ 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
21512
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `site_id`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:37', 'about', 1, '2014-01-05 19:31:37', 'about')
21513
+ Processing by PagesController#show as HTML
21514
+ Parameters: {"id"=>"about"}
21515
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`published` = 1 AND `spud_pages`.`url_name` = 'about' AND `spud_pages`.`site_id` = 1 ORDER BY `spud_pages`.`id` ASC LIMIT 1
21516
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (142)
21517
+ Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.6ms)
21518
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
21519
+  (0.1ms) ROLLBACK
21520
+  (0.1ms) BEGIN
21521
+  (0.1ms) SAVEPOINT active_record_1
21522
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
21523
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'home' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
21524
+ 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
21525
+ 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
21526
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:37', 'home', '2014-01-05 19:31:37', 'home')
21527
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
21528
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'home' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
21529
+ 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
21530
+ 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
21531
+ SQL (0.3ms) INSERT INTO `spud_pages` (`created_at`, `name`, `site_id`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:37', 'home', 1, '2014-01-05 19:31:37', 'home')
21532
+ Processing by PagesController#show as HTML
21533
+ 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 ORDER BY `spud_pages`.`id` ASC LIMIT 1
21534
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (182)
21535
+ Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.8ms)
21536
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
21537
+  (0.1ms) ROLLBACK
21538
+  (0.1ms) BEGIN
21539
+  (0.1ms) SAVEPOINT active_record_1
21540
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
21541
+  (0.1ms) ROLLBACK
21542
+  (0.1ms) BEGIN
21543
+  (0.1ms) SAVEPOINT active_record_1
21544
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21545
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21546
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7ac0553025dac2ccaac7e0791bdd43faec90b4cdfc855ab734e5e3ab4b900f73c3e9246c75248c5c0d10444e2704e9cab1944928e97d496544da8a011b64db4a' LIMIT 1
21547
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7pXV0Ow2sdIlKcqm9Idz' LIMIT 1
21548
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '95a55238f6556cbc49a9d92f2d32ea8290b1c171a3e89fbaaae3dfc65ecf37b3c3204e84344b6b960868abec5e148227bf3ed49923b822881fba4ae7bde9e1bb', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'znXTL4vXHTcPHyNmkv4', 'rc88mmZe55RJ0JrJGf0', '7ac0553025dac2ccaac7e0791bdd43faec90b4cdfc855ab734e5e3ab4b900f73c3e9246c75248c5c0d10444e2704e9cab1944928e97d496544da8a011b64db4a', '7pXV0Ow2sdIlKcqm9Idz', 1, '2014-01-05 19:31:37')
21549
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'bosTfFMP4UGhAndZVy6a', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 22
21550
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu1' LIMIT 1
21551
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu1', '2014-01-05 19:31:37')
21552
+ SQL (0.3ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu Item 1', 2, 'SpudMenu', 2, '2014-01-05 19:31:37')
21553
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 2 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21554
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 2
21555
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 2 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21556
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 2
21557
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu Item 2', 2, 'SpudMenu', 2, '2014-01-05 19:31:37')
21558
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 2 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21559
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 2
21560
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 2 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21561
+ SQL (0.1ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 2
21562
+ Processing by Spud::Admin::MenuItemsController#index as HTML
21563
+ Parameters: {"menu_id"=>"2"}
21564
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1
21565
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'CHLDh7suWembIVcFPv07', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 22
21566
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 2 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21567
+ Completed 200 OK in 10ms (Views: 2.4ms | ActiveRecord: 0.7ms)
21568
+  (0.3ms) SELECT COUNT(*) FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 2 AND `spud_menu_items`.`parent_type` = 'SpudMenu'
21569
+  (6.5ms) ROLLBACK TO SAVEPOINT active_record_1
21570
+  (0.2ms) ROLLBACK
21571
+  (0.1ms) BEGIN
21572
+  (0.1ms) SAVEPOINT active_record_1
21573
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21574
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21575
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c182c5fa5d92fc8fbed9b18bb783df181ead794dece08dcd52b1ad01d5aa15edbb0a4d05cae5a03aecdcdb5a176097bb419344bced5a0c5577b689c463048e07' LIMIT 1
21576
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QI50RGZV4kwniiqbuCPp' LIMIT 1
21577
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'ae537bc5d23a22e61d654097d3bdd9b858567b72d528d39a06a4066ea8f21692556c48bd9fa829e1d89694d6b51fc0e67af34b8ce0427355bb475c2dd477bb5a', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'dbMlkO7tAyzAj2Ik34n9', '2JYpt9rEVsjBIoouRhIh', 'c182c5fa5d92fc8fbed9b18bb783df181ead794dece08dcd52b1ad01d5aa15edbb0a4d05cae5a03aecdcdb5a176097bb419344bced5a0c5577b689c463048e07', 'QI50RGZV4kwniiqbuCPp', 1, '2014-01-05 19:31:37')
21578
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'JoBc8hAwGtt4THgxV5c', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 42
21579
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu2' LIMIT 1
21580
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu2', '2014-01-05 19:31:37')
21581
+ Processing by Spud::Admin::MenuItemsController#index as HTML
21582
+ Parameters: {"menu_id"=>"23"}
21583
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1
21584
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'bDzdvgHu2dICynOG1h3K', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 42
21585
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 23 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21586
+ Redirected to http://test.host/spud/admin/menus
21587
+ Filter chain halted as :load_menu rendered or redirected
21588
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
21589
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
21590
+  (0.1ms) ROLLBACK
21591
+  (0.1ms) BEGIN
21592
+  (0.1ms) SAVEPOINT active_record_1
21593
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21594
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21595
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'af1a9539a1fd447d6624054f8858c335d27ac440e582e150b38b8cc394f0860b30be0a2308378177396a5b720b072f0e28a9a992e4ed057cc94e793e6ba50800' LIMIT 1
21596
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Ht4b66y0FK445MrgNcVe' LIMIT 1
21597
+ SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '1b870b4a8d6d4ef4c42c0547b94d30144cc0f123e3ca4a95d69258d915596a0f37910c90b983850ad8d74dca5f6e32f9a1b660b6c317196aa3d12b64e6bf6d9a', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'j9r0np85Et8E0NREGzSa', 'vuHHUqvwIBPb4DEV04XW', 'af1a9539a1fd447d6624054f8858c335d27ac440e582e150b38b8cc394f0860b30be0a2308378177396a5b720b072f0e28a9a992e4ed057cc94e793e6ba50800', 'Ht4b66y0FK445MrgNcVe', 1, '2014-01-05 19:31:37')
21598
+ SQL (1.6ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'lrsSdVnxtmM7aPk44wFk', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 62
21599
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu3' LIMIT 1
21600
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu3', '2014-01-05 19:31:37')
21601
+ Processing by Spud::Admin::MenuItemsController#new as HTML
21602
+ Parameters: {"menu_id"=>"42"}
21603
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1
21604
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'olKlTwu8SBOXrZqmTpA4', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 62
21605
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 42 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21606
+ Completed 200 OK in 9ms (Views: 2.3ms | ActiveRecord: 0.7ms)
21607
+  (12.4ms) ROLLBACK TO SAVEPOINT active_record_1
21608
+  (0.2ms) ROLLBACK
21609
+  (0.1ms) BEGIN
21610
+  (0.1ms) SAVEPOINT active_record_1
21611
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21612
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21613
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '92954d5bfbb5e401a4e13c5a58ed8d52afa54e241d96d392e9ed527dc9d3b7975beff4cdbddb583b4f3607decaa0da9f2066e1169dacf9a29837eb9193949fc0' LIMIT 1
21614
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vWV9CSTalarLHDcv5' LIMIT 1
21615
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '216f82aac0edc0bd4dcec3bfe29766d8329a7320ce5ec2d7ed77fd9a7dce8d396724c36b4ddc7be2347e3a329b4c4981ee640c5deb265ab3ecc41ba7cf6ac449', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'YXT0wLpvwmwZvAurse4y', 'wBUrO1Bs2nKgIAtPZiyZ', '92954d5bfbb5e401a4e13c5a58ed8d52afa54e241d96d392e9ed527dc9d3b7975beff4cdbddb583b4f3607decaa0da9f2066e1169dacf9a29837eb9193949fc0', 'vWV9CSTalarLHDcv5', 1, '2014-01-05 19:31:37')
21616
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'zYXU95K9kROFrUZxA55a', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 82
21617
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu4' LIMIT 1
21618
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu4', '2014-01-05 19:31:37')
21619
+  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items`
21620
+ Processing by Spud::Admin::MenuItemsController#create as HTML
21621
+ Parameters: {"spud_menu_item"=>{"name"=>"Menu Item 3", "parent_type"=>"SpudMenu", "parent_id"=>nil}, "menu_id"=>"62"}
21622
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1
21623
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'ZPwqa0ALg5ouSyH3Ro', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 82
21624
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 62 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21625
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu Item 3', 62, 'SpudMenu', 62, '2014-01-05 19:31:37')
21626
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 62 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21627
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 62
21628
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 62 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21629
+ SQL (0.1ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 62
21630
+ Redirected to http://test.host/spud/admin/menus/62/menu_items
21631
+ Completed 302 Found in 12ms (ActiveRecord: 1.4ms)
21632
+  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items`
21633
+  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1
21634
+  (0.1ms) ROLLBACK
21635
+  (0.1ms) BEGIN
21636
+  (0.1ms) SAVEPOINT active_record_1
21637
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21638
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21639
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c59583a880d79491dc4146fd375de21bc59cd1d064cc06ba53988a7f48a7eeebb8c83a6afa3b8dcb1b21ae17d8c53036e16df701e0cc46fd4336ee45c53cc01f' LIMIT 1
21640
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'rWR2ZH3xAi6A3amHS75' LIMIT 1
21641
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '5357aa16380b3a2d29dfd227ba5e4145157aef43414cd91de921407e8d840b7b712a4af8a63cb2b7a999842619265f1cea2256eecfe080ebda25526c0be51e72', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'fewz1Q8jXxwP11am4mdX', 'gaKBHUloy0xq69M9ZQ9P', 'c59583a880d79491dc4146fd375de21bc59cd1d064cc06ba53988a7f48a7eeebb8c83a6afa3b8dcb1b21ae17d8c53036e16df701e0cc46fd4336ee45c53cc01f', 'rWR2ZH3xAi6A3amHS75', 1, '2014-01-05 19:31:37')
21642
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'jvfKLARW3RtVPAzD9cV', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 102
21643
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu5' LIMIT 1
21644
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu5', '2014-01-05 19:31:37')
21645
+  (0.3ms) SELECT COUNT(*) FROM `spud_menu_items`
21646
+ Processing by Spud::Admin::MenuItemsController#create as HTML
21647
+ Parameters: {"spud_menu_item"=>{"name"=>nil, "parent_type"=>"SpudMenu", "parent_id"=>nil}, "menu_id"=>"82"}
21648
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 102 LIMIT 1
21649
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'Cit2kaP1gcnnI31rVlx', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 102
21650
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 82 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21651
+ Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 0.8ms)
21652
+  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items`
21653
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
21654
+  (0.1ms) ROLLBACK
21655
+  (0.1ms) BEGIN
21656
+  (0.1ms) SAVEPOINT active_record_1
21657
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21658
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21659
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f9573f9bb6fef4a40bd4624994d820fd58acd3a0a37b8f2bcba4889450a1440d065cd7baea222de5d376851621a7dfeb790d216544a812b8d7b7f9f822435e3a' LIMIT 1
21660
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Rs9naOtzZ3E2OvRvz90' LIMIT 1
21661
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '5afd6aea099ead650d3b4bdfea9f2f235054743e28ff173edef3533431b47eb82e23110ae559b1cce4beac78b84eba1f58787cf594c3ff0b38c8eb240096ada2', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'MzBRQkpBK0R852cPj9eE', 'I5fc5v6yKzDR4iRRY9t', 'f9573f9bb6fef4a40bd4624994d820fd58acd3a0a37b8f2bcba4889450a1440d065cd7baea222de5d376851621a7dfeb790d216544a812b8d7b7f9f822435e3a', 'Rs9naOtzZ3E2OvRvz90', 1, '2014-01-05 19:31:37')
21662
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = '6xQOkPWnkjLS1xhvSVnb', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 122
21663
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu6' LIMIT 1
21664
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu6', '2014-01-05 19:31:37')
21665
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu Item 4', 102, 'SpudMenu', 1, '2014-01-05 19:31:37')
21666
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 102 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21667
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 102
21668
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21669
+ Processing by Spud::Admin::MenuItemsController#create as HTML
21670
+ Parameters: {"spud_menu_item"=>{"name"=>"Menu Item 5", "parent_type"=>"SpudMenu", "parent_id"=>nil, "menu_order"=>nil}, "menu_id"=>"102"}
21671
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1
21672
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'V7gobn7WSNeHywnoCI2F', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 122
21673
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 102 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21674
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 102 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21675
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 102 AND `spud_menu_items`.`parent_type` = 'SpudMenu' ORDER BY menu_order desc LIMIT 1
21676
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `menu_order`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 1, 'Menu Item 5', 102, 'SpudMenu', 102, '2014-01-05 19:31:37')
21677
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 102
21678
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 102 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21679
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 102
21680
+ Redirected to http://test.host/spud/admin/menus/102/menu_items
21681
+ Completed 302 Found in 13ms (ActiveRecord: 1.8ms)
21682
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
21683
+  (0.1ms) ROLLBACK
21684
+  (0.2ms) BEGIN
21685
+  (0.1ms) SAVEPOINT active_record_1
21686
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21687
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21688
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c03ae6525a70c43414a827a3112c8120407e9af3356e0c8ed460c7be4013255a8ca20dd92c5e0787c5023931db607a1a0ceda1a01517ca867ab75fb8cf9e119f' LIMIT 1
21689
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oxwnaTlK0Z8bqwQ30t8o' LIMIT 1
21690
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '3f11ce6602ffb39b7903c25354ace2f43ee4690f13cc2d096bab1594fc8a1540531af872d78ce7c77093e8bdbfcf7ece2b181f878bb806ed83f582971257b1b7', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'McNuX7WIQ7PpYDWaUtl', 'R4bpJou8xISxaLARmPT', 'c03ae6525a70c43414a827a3112c8120407e9af3356e0c8ed460c7be4013255a8ca20dd92c5e0787c5023931db607a1a0ceda1a01517ca867ab75fb8cf9e119f', 'oxwnaTlK0Z8bqwQ30t8o', 1, '2014-01-05 19:31:37')
21691
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'mZXiF7ExJVjJVWpR0HK', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 142
21692
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu7' LIMIT 1
21693
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu7', '2014-01-05 19:31:37')
21694
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
21695
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page2' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
21696
+ 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
21697
+ 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
21698
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:37', 'Page2', '2014-01-05 19:31:37', 'page2')
21699
+ Processing by Spud::Admin::MenuItemsController#create as HTML
21700
+ Parameters: {"spud_menu_item"=>{"name"=>nil, "parent_type"=>"SpudMenu", "parent_id"=>"1", "spud_page_id"=>"202"}, "menu_id"=>"122"}
21701
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1
21702
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'eJbx9FbuKXWiy2dSy6B', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 142
21703
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 122 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21704
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 202 ORDER BY `spud_pages`.`id` ASC LIMIT 1
21705
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `spud_page_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Page2', 1, 'SpudMenuItem', 122, 202, '2014-01-05 19:31:37')
21706
+ SpudMenuItem Load (0.1ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 1 ORDER BY `spud_menu_items`.`id` ASC LIMIT 1
21707
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 122 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21708
+ SQL (0.3ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 122
21709
+ Redirected to http://test.host/spud/admin/menus/122/menu_items
21710
+ Completed 302 Found in 13ms (ActiveRecord: 1.9ms)
21711
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
21712
+  (0.1ms) ROLLBACK
21713
+  (0.1ms) BEGIN
21714
+  (0.2ms) SAVEPOINT active_record_1
21715
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21716
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21717
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a74e39f47831254cb33cf0b1d16b91c2633bd10b6b73fbef4818ca18a1dfea298b7afde0fd1e6efaac48fb2a378e35b644ee9274d7f8c013251b023ed83ba923' LIMIT 1
21718
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NM8IzamoS2ye97f9bBM' LIMIT 1
21719
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '54e2687eb73cc388722626343105f481b56ed0868e1b3a3d9ae31a0801ff75a08144fc4a62cad4bf3f15634d496fe48172f42cc1de8b9008dc3bb933dae261c7', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'YFZ1GLsDUfhw9kH1QkJV', 'GjXohmxcpgkt17lC3r', 'a74e39f47831254cb33cf0b1d16b91c2633bd10b6b73fbef4818ca18a1dfea298b7afde0fd1e6efaac48fb2a378e35b644ee9274d7f8c013251b023ed83ba923', 'NM8IzamoS2ye97f9bBM', 1, '2014-01-05 19:31:37')
21720
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'HiqEzgQwNTnB9jvAGjL', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 162
21721
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu8' LIMIT 1
21722
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu8', '2014-01-05 19:31:37')
21723
+ SQL (0.3ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu Item 6', 142, 'SpudMenu', 1, '2014-01-05 19:31:37')
21724
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 142 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21725
+ SQL (0.3ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 142
21726
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21727
+ Processing by Spud::Admin::MenuItemsController#create as HTML
21728
+ Parameters: {"spud_menu_item"=>{"name"=>"Menu Item 7", "parent_type"=>"SpudMenu", "parent_id"=>"122"}, "menu_id"=>"142"}
21729
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1
21730
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'kLbxKCqKZ2kYCSqWPfs4', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 162
21731
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 142 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21732
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu Item 7', 122, 'SpudMenuItem', 142, '2014-01-05 19:31:37')
21733
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 122 ORDER BY `spud_menu_items`.`id` ASC LIMIT 1
21734
+ SQL (0.2ms) UPDATE `spud_menu_items` SET `spud_menu_items`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menu_items`.`id` = 122
21735
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 142 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21736
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 142
21737
+ SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21738
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 142 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21739
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 142
21740
+ Redirected to http://test.host/spud/admin/menus/142/menu_items
21741
+ Completed 302 Found in 13ms (ActiveRecord: 2.1ms)
21742
+  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1
21743
+  (0.1ms) ROLLBACK
21744
+  (0.1ms) BEGIN
21745
+  (0.2ms) SAVEPOINT active_record_1
21746
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21747
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21748
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3e147e7a9a3ea4c6b46a88a74ff8d75364819be4eaef1e5f18bfe61c1742f2f1d15a8fd921779227157eda92ebfe997ffa679e7fab66b9635b642b418a66ee1a' LIMIT 1
21749
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'RO77VkcTgTd9zjchM4gI' LIMIT 1
21750
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '04c922f27e8613500230f2ae41565449cd55a085f4d060e613780d61bb428b670ab2211326018e5188ff049a96710594aa76811d22de40530ce4e4354e26b5d1', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, '20njHzjolWg2gJ1DkOU6', '0HAA2cEy8cgAxiTciNkr', '3e147e7a9a3ea4c6b46a88a74ff8d75364819be4eaef1e5f18bfe61c1742f2f1d15a8fd921779227157eda92ebfe997ffa679e7fab66b9635b642b418a66ee1a', 'RO77VkcTgTd9zjchM4gI', 1, '2014-01-05 19:31:37')
21751
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'O8SuNc3LX9LHK73UIclI', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 182
21752
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu9' LIMIT 1
21753
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu9', '2014-01-05 19:31:37')
21754
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu Item 8', 1, 'SpudMenu', 1, '2014-01-05 19:31:37')
21755
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21756
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21757
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu Item 9', 1, 'SpudMenu', 1, '2014-01-05 19:31:37')
21758
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21759
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21760
+ Processing by Spud::Admin::MenuItemsController#edit as HTML
21761
+ Parameters: {"menu_id"=>"162", "id"=>"182"}
21762
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 182 LIMIT 1
21763
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'yf8VPDr58P87VJN9qU', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 182
21764
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 162 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21765
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 182 ORDER BY `spud_menu_items`.`id` ASC LIMIT 1
21766
+ Completed 200 OK in 9ms (Views: 2.3ms | ActiveRecord: 0.9ms)
21767
+  (12.9ms) ROLLBACK TO SAVEPOINT active_record_1
21768
+  (0.2ms) ROLLBACK
21769
+  (0.1ms) BEGIN
21770
+  (0.1ms) SAVEPOINT active_record_1
21771
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21772
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21773
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b6d669d7ef33d636376e65129d9f06856b22637e40dbf43eff641109c5130ff743878d9655399af885a935a440d01c4e22f8121bc32b64576e30053532043816' LIMIT 1
21774
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zTtrF3zINtETU10mzjDZ' LIMIT 1
21775
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '4a55e69217a8b0d88bae17cb782d28693abf44516cb5bfd197a5b849cf1c1a3a488beab48ceb7e8d098c31241881dbca8842b4e2d6d75190524a939d605862df', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'bG9BvYpbEdUvUK49QCbW', 'VDyPSTa9V8boKAjQeR2', 'b6d669d7ef33d636376e65129d9f06856b22637e40dbf43eff641109c5130ff743878d9655399af885a935a440d01c4e22f8121bc32b64576e30053532043816', 'zTtrF3zINtETU10mzjDZ', 1, '2014-01-05 19:31:37')
21776
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'fqhMtGnmQDBlxqHSMPXE', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 202
21777
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu10' LIMIT 1
21778
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu10', '2014-01-05 19:31:37')
21779
+ Processing by Spud::Admin::MenuItemsController#edit as HTML
21780
+ Parameters: {"menu_id"=>"182", "id"=>"345"}
21781
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 202 LIMIT 1
21782
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'KkeJFpD3UQ8cLJwJhezy', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 202
21783
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 182 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21784
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 345 ORDER BY `spud_menu_items`.`id` ASC LIMIT 1
21785
+ Redirected to http://test.host/spud/admin/menus/182/menu_items
21786
+ Filter chain halted as :load_menu_item rendered or redirected
21787
+ Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
21788
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
21789
+  (0.1ms) ROLLBACK
21790
+  (0.1ms) BEGIN
21791
+  (0.1ms) SAVEPOINT active_record_1
21792
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21793
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21794
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8a024589bd08edbae763558a07ad7ba0eacf25349c66e9448a1eecd90dfb5f375c46726a0f31b1723bb47a5b5de6c5f71683d231e2c6d41492067cc9980982f7' LIMIT 1
21795
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7dWI9NlDoa5cL36i6ba' LIMIT 1
21796
+ SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '0fa807fde1791ca8477faed627cfa2fb0ac569285588cd312651855910c794dfb7de735d96739504803817964cb543f2051e92e89e97093a2114507b6d7cb157', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'ucBtOquifZ4Yc4yzMZEY', 'kdAhT0a1VDpTPGyoJkJR', '8a024589bd08edbae763558a07ad7ba0eacf25349c66e9448a1eecd90dfb5f375c46726a0f31b1723bb47a5b5de6c5f71683d231e2c6d41492067cc9980982f7', '7dWI9NlDoa5cL36i6ba', 1, '2014-01-05 19:31:37')
21797
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'GHgTmv19lZEvaS1KPv', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 222
21798
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu11' LIMIT 1
21799
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu11', '2014-01-05 19:31:37')
21800
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu Item 10', 1, 'SpudMenu', 1, '2014-01-05 19:31:37')
21801
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21802
+ SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21803
+ Processing by Spud::Admin::MenuItemsController#update as HTML
21804
+ 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"=>"202", "id"=>"202"}
21805
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 222 LIMIT 1
21806
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = '3kOMl9TcQb6Ncv9OoMuG', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 222
21807
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 202 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21808
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 202 ORDER BY `spud_menu_items`.`id` ASC LIMIT 1
21809
+ SQL (0.2ms) UPDATE `spud_menu_items` SET `name` = 'MyMenu', `parent_id` = 202, `spud_menu_id` = 202, `updated_at` = '2014-01-05 19:31:37' WHERE `spud_menu_items`.`id` = 202
21810
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 LIMIT 1
21811
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 202 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21812
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 202
21813
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 LIMIT 1
21814
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 202 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21815
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 202
21816
+ Redirected to http://test.host/spud/admin/menus/202/menu_items
21817
+ Completed 302 Found in 15ms (ActiveRecord: 2.3ms)
21818
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 202 LIMIT 1
21819
+  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1
21820
+  (0.2ms) ROLLBACK
21821
+  (0.2ms) BEGIN
21822
+  (0.1ms) SAVEPOINT active_record_1
21823
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21824
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21825
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0eb1f587ce99219fb07d2328d817862ab69dbba973bb00152df9314bfb6687929670276b2ef68c6a7123f674c218f254e01fecadb17abc7bdf444771900f306d' LIMIT 1
21826
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PddiNf2pgtqZeEqKDTug' LIMIT 1
21827
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '286942665cde5a88a68637e55b92b83745182e214cb35c2c1fdbb72600c6e39c69fc1300a46f9fbff80fd9da8161e351701081335ada9d5ca54cd4c1142a6dbb', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'nxLNosqB3FeaIjZy4q', '7fcmoMCM9OcTakZfKuGL', '0eb1f587ce99219fb07d2328d817862ab69dbba973bb00152df9314bfb6687929670276b2ef68c6a7123f674c218f254e01fecadb17abc7bdf444771900f306d', 'PddiNf2pgtqZeEqKDTug', 1, '2014-01-05 19:31:37')
21828
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'wkxDsdLJOJutkDrz8YO', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 242
21829
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu12' LIMIT 1
21830
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu12', '2014-01-05 19:31:37')
21831
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu Item 11', 1, 'SpudMenu', 1, '2014-01-05 19:31:37')
21832
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21833
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21834
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu Item 12', 1, 'SpudMenu', 1, '2014-01-05 19:31:37')
21835
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21836
+ SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21837
+ Processing by Spud::Admin::MenuItemsController#update as HTML
21838
+ Parameters: {"spud_menu_item"=>{"parent_type"=>"SpudMenu", "parent_id"=>"222", "item_type"=>nil, "spud_page_id"=>nil, "menu_order"=>"0", "url"=>nil, "name"=>"Menu Item 12", "classes"=>nil}, "menu_id"=>"222", "id"=>"242"}
21839
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 242 LIMIT 1
21840
+ SQL (0.4ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'gy28ikYS5ucv8Y0CZsEN', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 242
21841
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 222 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21842
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 242 ORDER BY `spud_menu_items`.`id` ASC LIMIT 1
21843
+ SQL (0.2ms) UPDATE `spud_menu_items` SET `parent_type` = 'SpudMenuItem', `parent_id` = 222, `spud_menu_id` = 222, `updated_at` = '2014-01-05 19:31:37' WHERE `spud_menu_items`.`id` = 242
21844
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 1 LIMIT 1
21845
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 222 ORDER BY `spud_menu_items`.`id` ASC LIMIT 1
21846
+ SQL (0.2ms) UPDATE `spud_menu_items` SET `spud_menu_items`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menu_items`.`id` = 222
21847
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21848
+ SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21849
+ SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 LIMIT 1
21850
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 222 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21851
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 222
21852
+ Redirected to http://test.host/spud/admin/menus/222/menu_items
21853
+ Completed 302 Found in 14ms (ActiveRecord: 2.5ms)
21854
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 242 LIMIT 1
21855
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 222 ORDER BY `spud_menu_items`.`id` ASC LIMIT 1
21856
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
21857
+  (0.1ms) ROLLBACK
21858
+  (0.1ms) BEGIN
21859
+  (0.1ms) SAVEPOINT active_record_1
21860
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21861
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21862
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '45064d48ebfe5e069a916761bc352b7c9863b4272cbc4def9ec4777f91cb1387cc375b710b279d51eabeb9a65dc5fa6ab5be3cba5027d8354d1f01190c98f63d' LIMIT 1
21863
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'rsLVeJqJV0jYlxfMiuy' LIMIT 1
21864
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '525bb4738b548801365f9114b5d9f6a5ec6aef41cbc62e4f1c0354a3b1697d3262776904f41e942d537cc74e61830c11510b157f33126d3cdd3defb96d12e7f1', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, '7vCqEIhyg2NpcQC2Sybz', '0Ak2okwVoAxDMrImbouW', '45064d48ebfe5e069a916761bc352b7c9863b4272cbc4def9ec4777f91cb1387cc375b710b279d51eabeb9a65dc5fa6ab5be3cba5027d8354d1f01190c98f63d', 'rsLVeJqJV0jYlxfMiuy', 1, '2014-01-05 19:31:37')
21865
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'l1NtUtPq4gXnxfhpB2K', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 262
21866
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu13' LIMIT 1
21867
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu13', '2014-01-05 19:31:37')
21868
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu Item 13', 242, 'SpudMenu', 1, '2014-01-05 19:31:37')
21869
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 242 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21870
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 242
21871
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21872
+  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items`
21873
+ Processing by Spud::Admin::MenuItemsController#destroy as HTML
21874
+ Parameters: {"menu_id"=>"242", "id"=>"262"}
21875
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 262 LIMIT 1
21876
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'Y3AzISrXQMZIH5uF3PX6', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 262
21877
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 242 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21878
+ SpudMenuItem Load (0.3ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 262 ORDER BY `spud_menu_items`.`id` ASC LIMIT 1
21879
+ SpudMenuItem Load (0.5ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 262 AND `spud_menu_items`.`parent_type` = 'SpudMenuItem'
21880
+ SQL (0.3ms) DELETE FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 262
21881
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 242 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21882
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 242
21883
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21884
+ Redirected to http://test.host/spud/admin/menus/242/menu_items
21885
+ Completed 302 Found in 17ms (ActiveRecord: 2.4ms)
21886
+  (0.2ms) SELECT COUNT(*) FROM `spud_menu_items`
21887
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
21888
+  (0.1ms) ROLLBACK
21889
+  (0.1ms) BEGIN
21890
+  (0.1ms) SAVEPOINT active_record_1
21891
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21892
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21893
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a04ebc2ac570e3bff8cf0100ec7d8abb09621b760c8a45674726f4bd32b7956df98e33a2e2f979da87708fff0846b2f58faea1d5b2d87c4545c7ea2f97d29bba' LIMIT 1
21894
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SsxPFZNVqEdzGjHXMnb' LIMIT 1
21895
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '539dc97752aa8fcb7e1d870c0b58c182f65fa9e0e9b35a29693553523b8bc05910ac565252a911af33995c38c1ed608ddc7a5401df8135c5758ae4d75fbaa1bc', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'TR4GJigVIT08qJ9QojXa', '7j0Q5E92dfBciBUDp93l', 'a04ebc2ac570e3bff8cf0100ec7d8abb09621b760c8a45674726f4bd32b7956df98e33a2e2f979da87708fff0846b2f58faea1d5b2d87c4545c7ea2f97d29bba', 'SsxPFZNVqEdzGjHXMnb', 1, '2014-01-05 19:31:37')
21896
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'RYAXmU1KndPeKFkOcTnV', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 282
21897
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu14' LIMIT 1
21898
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu14', '2014-01-05 19:31:37')
21899
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu Item 14', 1, 'SpudMenu', 1, '2014-01-05 19:31:37')
21900
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21901
+ SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21902
+ Processing by Spud::Admin::MenuItemsController#edit as HTML
21903
+ Parameters: {"id"=>"282", "menu_id"=>"262"}
21904
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 282 LIMIT 1
21905
+ SQL (0.4ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'g0mF2pVTiNz3ZR0PCGT', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 282
21906
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 262 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21907
+ Redirected to http://test.host/spud/admin/menus
21908
+ Filter chain halted as :load_menu rendered or redirected
21909
+ Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
21910
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
21911
+  (0.1ms) ROLLBACK
21912
+  (0.1ms) BEGIN
21913
+  (0.1ms) SAVEPOINT active_record_1
21914
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21915
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21916
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f78e8aadf15afd795caea92fa9b0fe6a25a78d8a9098a0b151177995b1b4758ada93d6d9af63a077150601a07aa66ae77c90993d82cd76eb61dc9499d352625c' LIMIT 1
21917
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wJV6ApbDkVBWv6QemH35' LIMIT 1
21918
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'b803a85bb36a533a8faf44cc01f8a73920e88ec17cc0c94b8aa2a4e0b100865b8b09e899b82fd776f301038f2befb8e309c501893124fb54b44787185042b8e7', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'QXCKlAiWN6ZB2vqB2lpM', 'nDaswZdI02qrRbN2GX', 'f78e8aadf15afd795caea92fa9b0fe6a25a78d8a9098a0b151177995b1b4758ada93d6d9af63a077150601a07aa66ae77c90993d82cd76eb61dc9499d352625c', 'wJV6ApbDkVBWv6QemH35', 1, '2014-01-05 19:31:37')
21919
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'eyDmYopUO28fqzZTkJIf', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 302
21920
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu15' LIMIT 1
21921
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu15', '2014-01-05 19:31:37')
21922
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu16' LIMIT 1
21923
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu16', '2014-01-05 19:31:37')
21924
+ Processing by Spud::Admin::MenusController#index as HTML
21925
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 302 LIMIT 1
21926
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'VZ7CvldMCSzrDO43PA', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 302
21927
+ Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 0.6ms)
21928
+  (0.3ms) SELECT COUNT(*) FROM `spud_menus` WHERE `spud_menus`.`site_id` = 0
21929
+  (6.3ms) ROLLBACK TO SAVEPOINT active_record_1
21930
+  (0.2ms) ROLLBACK
21931
+  (0.1ms) BEGIN
21932
+  (0.1ms) SAVEPOINT active_record_1
21933
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21934
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21935
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '99618da3d8e4b14278efb8b532f559766b44d5e1f182d5468c5c645f995c32ba90597efff22a9e931fcb51a5d17d06e385d883e431cc3ed4e45ca1dc27917eaa' LIMIT 1
21936
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cb4yC9mGmnflEpU1gx' LIMIT 1
21937
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'ca8bd19a456743c0df9412727ea016d456196e2d37b68d47c2e46aad7a76542e7c9081bab5b48a348330ee4a5f6e9043b9d27921482f2cf94dc8f36ce8150305', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'hOWWOeshzYRKWmGZzRY', 'qYkN5IAKDehWLE4HPPtv', '99618da3d8e4b14278efb8b532f559766b44d5e1f182d5468c5c645f995c32ba90597efff22a9e931fcb51a5d17d06e385d883e431cc3ed4e45ca1dc27917eaa', 'cb4yC9mGmnflEpU1gx', 1, '2014-01-05 19:31:37')
21938
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'NDjbAkDuyzo3W43VSPkc', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 322
21939
+ Processing by Spud::Admin::MenusController#new as HTML
21940
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 322 LIMIT 1
21941
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'KNbRJi3TXb3G47m296h', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 322
21942
+ Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 0.6ms)
21943
+  (12.5ms) ROLLBACK TO SAVEPOINT active_record_1
21944
+  (0.2ms) ROLLBACK
21945
+  (0.2ms) BEGIN
21946
+  (0.1ms) SAVEPOINT active_record_1
21947
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21948
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21949
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f803fe70621bf705db978ad50c93681fdb13d80c38a1fe542a9b15d04fd61bd8e322416918c9db74698b8d37ac5820de2aef133f6a95011b3a4b22511da2a2fd' LIMIT 1
21950
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iYVTF9t5z3fLjscyYzn' LIMIT 1
21951
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'efee9bce80d1332b2c6c5bcd92977578d4f0bc8f0253999f1c11f844277872a80aaa5cceeedb02cdff5d8228991bf2fa2191db16b3751f11b4c82fd8c47ea8de', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'FP4c50zvooMyxGSfgG', 'q00s1lzvnrHmFeKD3uN', 'f803fe70621bf705db978ad50c93681fdb13d80c38a1fe542a9b15d04fd61bd8e322416918c9db74698b8d37ac5820de2aef133f6a95011b3a4b22511da2a2fd', 'iYVTF9t5z3fLjscyYzn', 1, '2014-01-05 19:31:37')
21952
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'uQ7kmloOnPC696KyNpmd', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 342
21953
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus`
21954
+ Processing by Spud::Admin::MenusController#create as HTML
21955
+ Parameters: {"spud_menu"=>{"name"=>"Menu17"}}
21956
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 342 LIMIT 1
21957
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'jnZwkkfHRNuFuMV4iq65', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 342
21958
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu17' LIMIT 1
21959
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu17', '2014-01-05 19:31:37')
21960
+ Redirected to http://test.host/spud/admin/menus/322/menu_items
21961
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
21962
+  (0.3ms) SELECT COUNT(*) FROM `spud_menus`
21963
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
21964
+  (0.2ms) ROLLBACK
21965
+  (0.1ms) BEGIN
21966
+  (0.1ms) SAVEPOINT active_record_1
21967
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21968
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21969
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '56ff40912538157ce83a318ac749d9cd567601fb91b57113dd9310b21726a3adb238ec3d4d315036350e07a538b4c0076a3c22ed91e3956cd98e9bbe16e3e895' LIMIT 1
21970
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OaKIjo3rYAStZqRsQUmU' LIMIT 1
21971
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '377f3599db15b91d0d215c13a1be1619aaa802bca16dbfeb42a04c06157b5c4ddce15e4bc0a5e99f7ad6712679e52ff1f7718ea7cf0df234876ae48a4f302cfa', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'Ahcjdd3ACXqX8vHxaKGi', '78kJPJuUxpdMtQPf7b5', '56ff40912538157ce83a318ac749d9cd567601fb91b57113dd9310b21726a3adb238ec3d4d315036350e07a538b4c0076a3c22ed91e3956cd98e9bbe16e3e895', 'OaKIjo3rYAStZqRsQUmU', 1, '2014-01-05 19:31:37')
21972
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'Tglo80m2AwykvsaMJf', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 362
21973
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus`
21974
+ Processing by Spud::Admin::MenusController#create as HTML
21975
+ Parameters: {"spud_menu"=>{"name"=>nil}}
21976
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 362 LIMIT 1
21977
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'PFKOPx5wvvCKYGrhyIW', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 362
21978
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` IS NULL LIMIT 1
21979
+ Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.7ms)
21980
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus`
21981
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
21982
+  (0.1ms) ROLLBACK
21983
+  (0.1ms) BEGIN
21984
+  (0.2ms) SAVEPOINT active_record_1
21985
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
21986
+ SpudUser Exists (0.6ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
21987
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f2f288d2d48b4e3823936446b20283ce460ad7b64c7f2663af48944e00a6edf3d48b80b6bae5f5b0881761457b756a9b9a320b42e781bcf3eb3d06fc19ccd404' LIMIT 1
21988
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'U2VRMkavH6ywouhi47' LIMIT 1
21989
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'dde29f15c7c248b401dccf103830f9db24bd1f77ad6e2cc79ab6ad799e835030ca94bce3ae45dab28b8eefeff052c99f64c5f351007262537bbf7bacbb550b3f', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'jnnY8bc6mn3RTQelVZfi', '6RsqfbFB61YaRUIAQ9uN', 'f2f288d2d48b4e3823936446b20283ce460ad7b64c7f2663af48944e00a6edf3d48b80b6bae5f5b0881761457b756a9b9a320b42e781bcf3eb3d06fc19ccd404', 'U2VRMkavH6ywouhi47', 1, '2014-01-05 19:31:37')
21990
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'Wnb8fQTDXH0Tn3XzGODB', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 382
21991
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu18' LIMIT 1
21992
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `site_id`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu18', 1, '2014-01-05 19:31:37')
21993
+ Processing by Spud::Admin::MenusController#edit as HTML
21994
+ Parameters: {"id"=>"342"}
21995
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 382 LIMIT 1
21996
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'LooLJqhYRktXvJfA8Pj', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 382
21997
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 342 ORDER BY `spud_menus`.`id` ASC LIMIT 1
21998
+ Redirected to http://test.host/spud/admin/menus
21999
+ Filter chain halted as :load_menu rendered or redirected
22000
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
22001
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
22002
+  (0.1ms) ROLLBACK
22003
+  (0.1ms) BEGIN
22004
+  (0.1ms) SAVEPOINT active_record_1
22005
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22006
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22007
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a6214514278f37950192d4a2aeec658d8f5c84ba972b2e40128192057ff68b6362e95a2165023a8ee5840c481cc9197de5fd8d1c34e69bc2d4b819e7254ed91c' LIMIT 1
22008
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'utO4fW3ZNLPb43DJ9W7Z' LIMIT 1
22009
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'eddcf5e801fa7ea2acd314fce839272429539b9342cbae747ff4dfc9560e8b3c1915d16feb2000de11007d3cffb5bf4d184376bc1b55577234daedbf2ebfe439', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'jefHDCZtrxkPRBvMuYW', 'aYdfKvRoCbXWYwbqANLv', 'a6214514278f37950192d4a2aeec658d8f5c84ba972b2e40128192057ff68b6362e95a2165023a8ee5840c481cc9197de5fd8d1c34e69bc2d4b819e7254ed91c', 'utO4fW3ZNLPb43DJ9W7Z', 1, '2014-01-05 19:31:37')
22010
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'PaKiX4ZTpJkiXNZMDiu', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 402
22011
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu19' LIMIT 1
22012
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu19', '2014-01-05 19:31:37')
22013
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu20' LIMIT 1
22014
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu20', '2014-01-05 19:31:37')
22015
+ Processing by Spud::Admin::MenusController#edit as HTML
22016
+ Parameters: {"id"=>"382"}
22017
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 402 LIMIT 1
22018
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'utwkogBp43MLeNv9x94', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 402
22019
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 382 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22020
+ Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.6ms)
22021
+  (6.2ms) ROLLBACK TO SAVEPOINT active_record_1
22022
+  (0.1ms) ROLLBACK
22023
+  (0.1ms) BEGIN
22024
+  (0.1ms) SAVEPOINT active_record_1
22025
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22026
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22027
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd1c79cb2c3c8f25ce4284119b464d8deddcdb9f8aa3d374bb3790568fcb0c5de20f1b91c3022ffda56b4944389b4273f0fa9f2a725811d051f77949ded65e851' LIMIT 1
22028
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QrMd47QP1c8DJhu66VQ' LIMIT 1
22029
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '34b27e69a4e619f7e8158a71e35236cf0878b88e5caa59b4b863aba2fa94382a4b8a981b9d216ae4ac04722431995b1cb3d986eae70015f772a1b6a4ceff752b', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'hdwX0MeZyTDKmAfHnt', 'aIs1djQVlvlFdZZ6bvuo', 'd1c79cb2c3c8f25ce4284119b464d8deddcdb9f8aa3d374bb3790568fcb0c5de20f1b91c3022ffda56b4944389b4273f0fa9f2a725811d051f77949ded65e851', 'QrMd47QP1c8DJhu66VQ', 1, '2014-01-05 19:31:37')
22030
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = '2B12LKFk37sgWxUPQdAE', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 422
22031
+ Processing by Spud::Admin::MenusController#edit as HTML
22032
+ Parameters: {"id"=>"3"}
22033
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 422 LIMIT 1
22034
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'ARjijOYlyNkIk7EjJwn', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 422
22035
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 3 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22036
+ Redirected to http://test.host/spud/admin/menus
22037
+ Filter chain halted as :load_menu rendered or redirected
22038
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
22039
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
22040
+  (0.1ms) ROLLBACK
22041
+  (0.1ms) BEGIN
22042
+  (0.1ms) SAVEPOINT active_record_1
22043
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22044
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22045
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4299bf78e102cacf8d2f45ea74b990bb6407f618f9580841ed064dea52ef725a9e05a905c6d18a3fc6dee0c2df99f75f0eaf441645442c0db393899e8c5df8dd' LIMIT 1
22046
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'IUQJLhpy0Tkq2V5bt' LIMIT 1
22047
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '5b853c9356bb92dfa74dcbab6ed5c1047b8c266f41f96f1a53cb0e97bf0620f66950ddb3c137f3b60d53382aa487cd060e4a3c0b8015daeccc34a02805d088fe', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'NQIUrCw0oElDDaoQZFb', 'BlovVrZ9FnZWsPq8NLiW', '4299bf78e102cacf8d2f45ea74b990bb6407f618f9580841ed064dea52ef725a9e05a905c6d18a3fc6dee0c2df99f75f0eaf441645442c0db393899e8c5df8dd', 'IUQJLhpy0Tkq2V5bt', 1, '2014-01-05 19:31:37')
22048
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'zJjdbklMsWQOVhWN6g', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 442
22049
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu21' LIMIT 1
22050
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:37', 'Menu21', '2014-01-05 19:31:37')
22051
+ Processing by Spud::Admin::MenusController#update as HTML
22052
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "description"=>nil, "created_at"=>"2014-01-05 19:31:37 UTC", "updated_at"=>"2014-01-05 19:31:37 UTC"}, "id"=>"402"}
22053
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 442 LIMIT 1
22054
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'qVUq2jijheCqgUhmFNNV', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 442
22055
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 402 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22056
+ Unpermitted parameters: created_at, updated_at
22057
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'MyMenu' AND `spud_menus`.`id` != 402) LIMIT 1
22058
+ SQL (0.2ms) UPDATE `spud_menus` SET `name` = 'MyMenu', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_menus`.`id` = 402
22059
+ Redirected to http://test.host/spud/admin/menus/402/menu_items
22060
+ Completed 302 Found in 10ms (ActiveRecord: 1.3ms)
22061
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 402 LIMIT 1
22062
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
22063
+  (0.1ms) ROLLBACK
22064
+  (0.1ms) BEGIN
22065
+  (0.2ms) SAVEPOINT active_record_1
22066
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22067
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22068
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b9beb45370b6244e3ddd18ff34315f067520b53a27ad6d69f41aa4599499833dd2cc8ee750bc4975d4d70c80ba248e6aaf8a2bbfc17ba5a2f716b72ec14a38d7' LIMIT 1
22069
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QCqkE1A4xcuvtVWzPxLV' LIMIT 1
22070
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:37', '56fd4c3569566b52c579208346acaf98fd1b864e2fdae9583b07b44d073d05bf151c16b8b69155e56d07de1fcba13944ce217cc2274cf93682da42a09faf48fc', '2014-01-05 19:31:37', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:37', 'testuser', 1, 'DyDFJhOePmYMgAJUTqAZ', '3bzUdSrcqZdvvXJxnxCJ', 'b9beb45370b6244e3ddd18ff34315f067520b53a27ad6d69f41aa4599499833dd2cc8ee750bc4975d4d70c80ba248e6aaf8a2bbfc17ba5a2f716b72ec14a38d7', 'QCqkE1A4xcuvtVWzPxLV', 1, '2014-01-05 19:31:37')
22071
+ SQL (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:37', `current_login_at` = '2014-01-05 19:31:37', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:37', `perishable_token` = 'r8jGQJL5x7tgTBOW8hIz', `updated_at` = '2014-01-05 19:31:37' WHERE `spud_users`.`id` = 462
22072
+ SpudMenu Exists (0.3ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu22' LIMIT 1
22073
+ SQL (0.3ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:38', 'Menu22', '2014-01-05 19:31:38')
22074
+ Processing by Spud::Admin::MenusController#update as HTML
22075
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "description"=>nil, "created_at"=>"2014-01-05 19:31:38 UTC", "updated_at"=>"2014-01-05 19:31:38 UTC"}, "id"=>"422"}
22076
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 462 LIMIT 1
22077
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'yDOGPwFGowa2GOBAtkJ', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 462
22078
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 422 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22079
+ Unpermitted parameters: created_at, updated_at
22080
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE (`spud_menus`.`name` = BINARY 'MyMenu' AND `spud_menus`.`id` != 422) LIMIT 1
22081
+ SQL (0.2ms) UPDATE `spud_menus` SET `name` = 'MyMenu', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 422
22082
+ Redirected to http://test.host/spud/admin/menus/422/menu_items
22083
+ Completed 302 Found in 8ms (ActiveRecord: 1.2ms)
22084
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
22085
+  (0.1ms) ROLLBACK
22086
+  (0.1ms) BEGIN
22087
+  (0.1ms) SAVEPOINT active_record_1
22088
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22089
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22090
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '95a5bfc1914c9fa83ae73088424845f50cf6bba693d354167fdf8f1a1452ec2413455cb273ae49feabdc7456392eab213aa83f9280c7c4a5543d4ba98ec3adc3' LIMIT 1
22091
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '2UfSVUChFS4IfsmVCk' LIMIT 1
22092
+ SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:38', '21165f8ea13beacec16c0072b4474c5d04764554a1e4ad02965db42ad7776b21ca2ddbcc2b728955fa2740d61978bf6ca090111da34a540d5be3bd6c5ab41bf7', '2014-01-05 19:31:38', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:38', 'testuser', 1, '8xAMuGinK7AEzD92J0s', 'wi1GAgqGGe7Lm2fswvd', '95a5bfc1914c9fa83ae73088424845f50cf6bba693d354167fdf8f1a1452ec2413455cb273ae49feabdc7456392eab213aa83f9280c7c4a5543d4ba98ec3adc3', '2UfSVUChFS4IfsmVCk', 1, '2014-01-05 19:31:38')
22093
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:38', `current_login_at` = '2014-01-05 19:31:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'nGbd3s8Dzxj2SI1QZFPO', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 482
22094
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu23' LIMIT 1
22095
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:38', 'Menu23', '2014-01-05 19:31:38')
22096
+  (0.1ms) SELECT COUNT(*) FROM `spud_menus`
22097
+ Processing by Spud::Admin::MenusController#destroy as HTML
22098
+ Parameters: {"id"=>"442"}
22099
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 482 LIMIT 1
22100
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'i5ChdklfKoJyOYvuESbu', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 482
22101
+ SpudMenu Load (0.4ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 442 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22102
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`parent_id` = 442 AND `spud_menu_items`.`parent_type` = 'SpudMenu'
22103
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`spud_menu_id` = 442
22104
+ SQL (0.2ms) DELETE FROM `spud_menus` WHERE `spud_menus`.`id` = 442
22105
+ Redirected to http://test.host/spud/admin/menus
22106
+ Completed 302 Found in 12ms (ActiveRecord: 1.7ms)
22107
+  (0.2ms) SELECT COUNT(*) FROM `spud_menus`
22108
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
22109
+  (0.1ms) ROLLBACK
22110
+  (0.1ms) BEGIN
22111
+  (0.1ms) SAVEPOINT active_record_1
22112
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22113
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22114
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '92b803f3659f34458193958e45091c2c53acc2c55d025be1db4417a834f2efae0320c8b042ed56cca6a9d8ba1a2873d4e5472f626259a0d4d4b8820bb7b93dc3' LIMIT 1
22115
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eySqlFgnVHCtTXQQ2ph' LIMIT 1
22116
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:38', '713e4118fcae21992bc592ffb2b07be465a8645a1baeb37e21670572a59d69c7f52db32366f6f3e377c701be0269530c14a09b8dd77fb10c1a4c9606792eb74f', '2014-01-05 19:31:38', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:38', 'testuser', 1, 'zdLcEHhME5p5Uh7yBpR7', 'jdQKK5fTgDPrv8V843j', '92b803f3659f34458193958e45091c2c53acc2c55d025be1db4417a834f2efae0320c8b042ed56cca6a9d8ba1a2873d4e5472f626259a0d4d4b8820bb7b93dc3', 'eySqlFgnVHCtTXQQ2ph', 1, '2014-01-05 19:31:38')
22117
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:38', `current_login_at` = '2014-01-05 19:31:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'URntkQ0yX5Ds2pbhJfTt', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 502
22118
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu24' LIMIT 1
22119
+ SQL (0.1ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:38', 'Menu24', '2014-01-05 19:31:38')
22120
+  (0.1ms) SELECT COUNT(*) FROM `spud_menus`
22121
+ Processing by Spud::Admin::MenusController#destroy as HTML
22122
+ Parameters: {"id"=>"23532"}
22123
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 502 LIMIT 1
22124
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'M86Rd06EApVmya26DEA', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 502
22125
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 23532 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22126
+ Redirected to http://test.host/spud/admin/menus
22127
+ Filter chain halted as :load_menu rendered or redirected
22128
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
22129
+  (0.1ms) SELECT COUNT(*) FROM `spud_menus`
22130
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
22131
+  (0.1ms) ROLLBACK
22132
+  (0.1ms) BEGIN
22133
+  (0.1ms) SAVEPOINT active_record_1
22134
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22135
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22136
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3f15f0a9c42006f1f0a6fe00db67ba94b7075cdd7ae65e346785a628ceb011654aec92ea36d6065dfba7b080feb1fc870d60b430212e6904c7e5e10086aa6b00' LIMIT 1
22137
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OsIHXFRFNNdzbT1u36PI' LIMIT 1
22138
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:38', '42d891c7fd57b2345917c485731ab45087b6d2eb6ef880632e88b41907ae286e5ec7d92af539273dc35e94da9342fc0d45173cf58c8a543f80480a08c291e90a', '2014-01-05 19:31:38', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:38', 'testuser', 1, 'b8tzqiJtpdnTlYr1lU6', 'tpGtE6tn2qX8HFM0kO5U', '3f15f0a9c42006f1f0a6fe00db67ba94b7075cdd7ae65e346785a628ceb011654aec92ea36d6065dfba7b080feb1fc870d60b430212e6904c7e5e10086aa6b00', 'OsIHXFRFNNdzbT1u36PI', 1, '2014-01-05 19:31:38')
22139
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:38', `current_login_at` = '2014-01-05 19:31:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'lxPEtER6xcXnBK0taud', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 522
22140
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22141
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page3' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22142
+ 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
22143
+ 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
22144
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page3', '2014-01-05 19:31:38', 'page3')
22145
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22146
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page4' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22147
+ 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
22148
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page4' AND `spud_pages`.`site_id` = 0) LIMIT 1
22149
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page4', '2014-01-05 19:31:38', 'page4')
22150
+ Processing by Spud::Admin::PagesController#index as HTML
22151
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 522 LIMIT 1
22152
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'ZebPRJ6s15o6ejd6m1z7', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 522
22153
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`url_name` = 'home' ORDER BY `spud_pages`.`id` ASC LIMIT 1
22154
+ Completed 200 OK in 61ms (Views: 2.0ms | ActiveRecord: 0.7ms)
22155
+  (0.3ms) SELECT COUNT(*) FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL
22156
+  (12.7ms) ROLLBACK TO SAVEPOINT active_record_1
22157
+  (0.1ms) ROLLBACK
22158
+  (0.1ms) BEGIN
22159
+  (0.1ms) SAVEPOINT active_record_1
22160
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22161
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22162
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c20150a5e829d1dbc7c612831e08f4772da0b1bfd1a30d77cdaeea9844bbb10f76b7288cda91c4b4cd08c078f143101189f243cc0ab3937c8685b7b93d3314d9' LIMIT 1
22163
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gbRk5SofE1Aqfnq8IfN' LIMIT 1
22164
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:38', '79e21404b4d81bccf0c278c553abff30922dad39488431f3c875aa0ff1bb45304809cc6a09c962fc66e8c92aa41312013d24d8fce846e7c4957ae45eb5c20dc8', '2014-01-05 19:31:38', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:38', 'testuser', 1, 'oN8aKvkCXvYo5PLy6aE', 'Z8PgZve2WeqJYy0DahFW', 'c20150a5e829d1dbc7c612831e08f4772da0b1bfd1a30d77cdaeea9844bbb10f76b7288cda91c4b4cd08c078f143101189f243cc0ab3937c8685b7b93d3314d9', 'gbRk5SofE1Aqfnq8IfN', 1, '2014-01-05 19:31:38')
22165
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:38', `current_login_at` = '2014-01-05 19:31:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'LiUWNTzpTp4MromkWP1f', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 542
22166
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22167
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page5' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22168
+ 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
22169
+ 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
22170
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page5', '2014-01-05 19:31:38', 'page5')
22171
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22172
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page6' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22173
+ 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
22174
+ 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
22175
+ SQL (0.1ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page6', '2014-01-05 19:31:38', 'page6')
22176
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22177
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22178
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page7' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22179
+ 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
22180
+ 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
22181
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `spud_page_id`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page7', 1, '2014-01-05 19:31:38', 'page7')
22182
+ Processing by Spud::Admin::PagesController#index as HTML
22183
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 542 LIMIT 1
22184
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'Ra99soqeVxgZinL5bHsF', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 542
22185
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`url_name` = 'home' ORDER BY `spud_pages`.`id` ASC LIMIT 1
22186
+ Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.6ms)
22187
+  (0.2ms) SELECT COUNT(*) FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL
22188
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
22189
+  (0.1ms) ROLLBACK
22190
+  (0.1ms) BEGIN
22191
+  (0.1ms) SAVEPOINT active_record_1
22192
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22193
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22194
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b0336a80d94ac8bb0f3f1a22bee1831fc625fefe59b8ff4068926a48c203fdb95c73eee0c7a537cb5179b8c422a9da6b2e7d62eedb87880ef47051446c761f8c' LIMIT 1
22195
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wa7mCKBVuW9DlQnEW51J' LIMIT 1
22196
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:38', 'ab181aa7d391ea9aa8843f2b16bbf4a3a2e4df0ff256d3c9c5f77050d8f4ee9dd215df402c55dc702960628301ac0e41e28d2f24bf65b7d7437407fcb1488668', '2014-01-05 19:31:38', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:38', 'testuser', 1, 'aYFvt1xHdvTa6yMwWEh', 'kFkS5ai6VAHzMicKwnH', 'b0336a80d94ac8bb0f3f1a22bee1831fc625fefe59b8ff4068926a48c203fdb95c73eee0c7a537cb5179b8c422a9da6b2e7d62eedb87880ef47051446c761f8c', 'wa7mCKBVuW9DlQnEW51J', 1, '2014-01-05 19:31:38')
22197
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:38', `current_login_at` = '2014-01-05 19:31:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'HmJlWURJeAdSocRZdlv', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 562
22198
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22199
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page8' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22200
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page8' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
22201
+ 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
22202
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page8', '2014-01-05 19:31:38', 'page8')
22203
+ Processing by Spud::Admin::PagesController#show as HTML
22204
+ Parameters: {"id"=>"322"}
22205
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 562 LIMIT 1
22206
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'cKu7IvcuVpkx7lLPvIvr', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 562
22207
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 322 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22208
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (322)
22209
+ Completed 200 OK in 7ms (Views: 2.0ms | ActiveRecord: 0.8ms)
22210
+  (12.4ms) ROLLBACK TO SAVEPOINT active_record_1
22211
+  (0.1ms) ROLLBACK
22212
+  (0.1ms) BEGIN
22213
+  (0.1ms) SAVEPOINT active_record_1
22214
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22215
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22216
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b5186c0d565206b090042f8cd11db557d764df9427b3f688d391759fd9e92bc795f818a3b5fc54999301e78f915487215171f44deb3b34466203734c61101ebc' LIMIT 1
22217
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Q3piguq9LuksnZiPHCI' LIMIT 1
22218
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:38', '21ec58c26e7e52ec3e18f6f6d649339994735c0acc0670f1fb676b21ec745fad81e1cf8eba5ee4c8947a3ee45b102cccf203b7ed9a51e6cc7d1651fd94c50d25', '2014-01-05 19:31:38', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:38', 'testuser', 1, 'cfH0D9i9UucSI3hljQp', 'iSuGVc1LdAYJkVgmfx', 'b5186c0d565206b090042f8cd11db557d764df9427b3f688d391759fd9e92bc795f818a3b5fc54999301e78f915487215171f44deb3b34466203734c61101ebc', 'Q3piguq9LuksnZiPHCI', 1, '2014-01-05 19:31:38')
22219
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:38', `current_login_at` = '2014-01-05 19:31:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'uDg86rXGetEKI3KcDO', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 582
22220
+ Processing by Spud::Admin::PagesController#new as HTML
22221
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 582 LIMIT 1
22222
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'K17aQWkDB5wdgEquEnm', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 582
22223
+ Completed 200 OK in 18ms (Views: 2.2ms | ActiveRecord: 0.6ms)
22224
+  (12.7ms) ROLLBACK TO SAVEPOINT active_record_1
22225
+  (0.1ms) ROLLBACK
22226
+  (0.2ms) BEGIN
22227
+  (0.1ms) SAVEPOINT active_record_1
22228
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22229
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22230
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b0eba2f6ffee720fa15894b6f30762ffbcbea27e450f110596404275ce123b89e0ed723e0b76f331a186b6150152430be00b4ab979dfdc11f3e8c9ead31d10e8' LIMIT 1
22231
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ne9NZ8TcqAqKLcFsB4hG' LIMIT 1
22232
+ SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:38', '2e80d6f2901dafbe71dc36170dc5791557d7e0fbf158e13eb86119a5b74df242cc98d52f990f1ebdfd104488167b41864265504e5c2802d31aafec7e9ce9fb1e', '2014-01-05 19:31:38', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:38', 'testuser', 1, 'BIJ1YTNtj0oXPBgApIf', 'JiX1C7DkMx2oumcgQpg', 'b0eba2f6ffee720fa15894b6f30762ffbcbea27e450f110596404275ce123b89e0ed723e0b76f331a186b6150152430be00b4ab979dfdc11f3e8c9ead31d10e8', 'ne9NZ8TcqAqKLcFsB4hG', 1, '2014-01-05 19:31:38')
22233
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:38', `current_login_at` = '2014-01-05 19:31:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'dXwjDjTBFgDx6IwJl1A', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 602
22234
+ Processing by Spud::Admin::PagesController#new as HTML
22235
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 602 LIMIT 1
22236
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'aNtrGsmqFdhsg1vbwxsR', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 602
22237
+ Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.5ms)
22238
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
22239
+  (0.1ms) ROLLBACK
22240
+  (0.1ms) BEGIN
22241
+  (0.1ms) SAVEPOINT active_record_1
22242
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22243
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22244
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '506c0611acc499db47cffd0857004bc52efaca8c230f8142cbd2ee64701367a8402e0aae4d165c757a11f8835b1a245d3d36e9090ada6f4dff691c138f3e1691' LIMIT 1
22245
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'exWaZcwLWKCVWiswxyX' LIMIT 1
22246
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:38', '178d7925a7a7587ec267e05782c3d3ef7f5f51d44d27e36ee3b6656168aa1fb46e362c61de65186d0c36ff341f43c89df2c4b6ef1e1fc7cc25cbfc318f28ff89', '2014-01-05 19:31:38', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:38', 'testuser', 1, 'mQJkUkKKPeNEsZf0NSH', '6F0fgU0GICGicOm3fzx7', '506c0611acc499db47cffd0857004bc52efaca8c230f8142cbd2ee64701367a8402e0aae4d165c757a11f8835b1a245d3d36e9090ada6f4dff691c138f3e1691', 'exWaZcwLWKCVWiswxyX', 1, '2014-01-05 19:31:38')
22247
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:38', `current_login_at` = '2014-01-05 19:31:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'sAlx6g8BaL7Xb02LmBNQ', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 622
22248
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22249
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page9' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22250
+ 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
22251
+ 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
22252
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page9', '2014-01-05 19:31:38', 'page9')
22253
+ Processing by Spud::Admin::PagesController#edit as HTML
22254
+ Parameters: {"id"=>"342"}
22255
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 622 LIMIT 1
22256
+ SQL (0.5ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'yHgEb62GXmFIVUPxHvTl', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 622
22257
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 342 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22258
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (342)
22259
+ Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.4ms)
22260
+  (12.7ms) ROLLBACK TO SAVEPOINT active_record_1
22261
+  (0.1ms) ROLLBACK
22262
+  (0.1ms) BEGIN
22263
+  (0.1ms) SAVEPOINT active_record_1
22264
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22265
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22266
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a76b2dba7db4b395714f6eae23f57033edd900e0b0d4d6042c5c2fb319626c31e0b1287a5e3c5253ce5a54ec60a8e893676b9dbb837977bff2004cb465d5b430' LIMIT 1
22267
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ujPZkUAQSqOaWVf60wn7' LIMIT 1
22268
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:38', '2d3769dbb885978ff37a36f4d154e32a83d38387af67277a7d40359952f1dd94fe44466ca6db4fce8696be48d54460bfe00c0852dc990bff01b4cbf1aef28f4e', '2014-01-05 19:31:38', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:38', 'testuser', 1, '07H3c2kXVfOaXd4hmrY', 'sHuXmfQfAh5n1l0EsJ1I', 'a76b2dba7db4b395714f6eae23f57033edd900e0b0d4d6042c5c2fb319626c31e0b1287a5e3c5253ce5a54ec60a8e893676b9dbb837977bff2004cb465d5b430', 'ujPZkUAQSqOaWVf60wn7', 1, '2014-01-05 19:31:38')
22269
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:38', `current_login_at` = '2014-01-05 19:31:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'twpaZOszo2OM0KeKYjvJ', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 642
22270
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22271
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page10' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22272
+ 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
22273
+ 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
22274
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page10', '2014-01-05 19:31:38', 'page10')
22275
+ Processing by Spud::Admin::PagesController#update as HTML
22276
+ 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"=>"362"}
22277
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 642 LIMIT 1
22278
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'NJEobV5halrqLWx1c4Uu', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 642
22279
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 362 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22280
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (362)
22281
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE (id != 362) AND `spud_pages`.`site_id` = 0
22282
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'adam' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22283
+ 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
22284
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (362, 'SpudPage', '2014-01-05 19:31:38', 0, '2014-01-05 19:31:38', 'page10')
22285
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Adam' AND `spud_pages`.`id` != 362 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
22286
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'adam' AND `spud_pages`.`id` != 362 AND `spud_pages`.`site_id` = 0) LIMIT 1
22287
+ SQL (0.2ms) UPDATE `spud_pages` SET `name` = 'Adam', `url_name` = 'adam', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_pages`.`id` = 362
22288
+ Redirected to http://test.host/spud/admin/pages
22289
+ Completed 302 Found in 16ms (ActiveRecord: 2.5ms)
22290
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 362 LIMIT 1
22291
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
22292
+  (0.1ms) ROLLBACK
22293
+  (0.1ms) BEGIN
22294
+  (0.1ms) SAVEPOINT active_record_1
22295
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22296
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22297
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f20e9de1c63a8a9854474a1e2211740997ac10515a00a48581d5806a22d4a2274d5333e4d8d99c49a1c1b61474fd54e93f0cd99bd596ac1f29f19766f4851887' LIMIT 1
22298
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UbsKz7vLt3U9SrRJAN' LIMIT 1
22299
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:38', '298d93f10768bd3fbe7c6677096908abedeab36883767595bc8e4f5f78169dd2fdc4e9eb9b14e483ee73583751da8669bcd1abb5eaaa8dcdd5f797ab355ac0f9', '2014-01-05 19:31:38', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:38', 'testuser', 1, '0z3G5YVoWX6K0TCTB7Z4', 'iST3qwMCjx8z3DuYYnI6', 'f20e9de1c63a8a9854474a1e2211740997ac10515a00a48581d5806a22d4a2274d5333e4d8d99c49a1c1b61474fd54e93f0cd99bd596ac1f29f19766f4851887', 'UbsKz7vLt3U9SrRJAN', 1, '2014-01-05 19:31:38')
22300
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:38', `current_login_at` = '2014-01-05 19:31:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'XyRu9DGtJQmLa1xcER', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 662
22301
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22302
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page11' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22303
+ 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
22304
+ 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
22305
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page11', '2014-01-05 19:31:38', 'page11')
22306
+ Processing by Spud::Admin::PagesController#update as HTML
22307
+ 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"=>"382"}
22308
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 662 LIMIT 1
22309
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'tpsVTZNFSDfePBiZVqG7', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 662
22310
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 382 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22311
+ SpudPagePartial Load (0.2ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (382)
22312
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE (id != 382) AND `spud_pages`.`site_id` = 0
22313
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'adam' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22314
+ SpudPermalink Exists (0.2ms) SELECT 1 AS one FROM `spud_permalinks` WHERE (`spud_permalinks`.`url_name` = BINARY 'page11' AND `spud_permalinks`.`site_id` = 0) LIMIT 1
22315
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (382, 'SpudPage', '2014-01-05 19:31:38', 0, '2014-01-05 19:31:38', 'page11')
22316
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Adam' AND `spud_pages`.`id` != 382 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
22317
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'adam' AND `spud_pages`.`id` != 382 AND `spud_pages`.`site_id` = 0) LIMIT 1
22318
+ SQL (0.2ms) UPDATE `spud_pages` SET `name` = 'Adam', `url_name` = 'adam', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_pages`.`id` = 382
22319
+ Redirected to http://test.host/spud/admin/pages
22320
+ Completed 302 Found in 13ms (ActiveRecord: 2.3ms)
22321
+  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1
22322
+  (0.1ms) ROLLBACK
22323
+  (0.1ms) BEGIN
22324
+  (0.1ms) SAVEPOINT active_record_1
22325
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22326
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22327
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '52163b57fce3ef7c03956475f25cd38aab24568a5c866d0e1f244e1d937761f49529ca00df7e88bb68f577ef16da4c0cf3ae145a558a478d4f323a4daa0dbe76' LIMIT 1
22328
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'm147DiRqQh9e7WkxwPD' LIMIT 1
22329
+ SQL (0.5ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:38', '9ea21e7b9884a1065beddde7275bdc8cedd349a584095ee6329d65dc86f327b2065bc95ec6cd13a8f6a533e83074ec1569d1be12d04d740ca8b89be98563151e', '2014-01-05 19:31:38', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:38', 'testuser', 1, 'YxQSlrOIJSrpUgLW0d', 'M9dt3Ws7kgD8NEP4ZyoH', '52163b57fce3ef7c03956475f25cd38aab24568a5c866d0e1f244e1d937761f49529ca00df7e88bb68f577ef16da4c0cf3ae145a558a478d4f323a4daa0dbe76', 'm147DiRqQh9e7WkxwPD', 1, '2014-01-05 19:31:38')
22330
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:38', `current_login_at` = '2014-01-05 19:31:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = '9m03xhgnoct7tYZN0Ft', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 682
22331
+ SpudPage Load (0.5ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22332
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page12' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22333
+ 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
22334
+ 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
22335
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page12', '2014-01-05 19:31:38', 'page12')
22336
+  (0.1ms) SELECT COUNT(*) FROM `spud_pages`
22337
+ Processing by Spud::Admin::PagesController#destroy as HTML
22338
+ Parameters: {"id"=>"402"}
22339
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 682 LIMIT 1
22340
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'KvvWxYeQI7ZXmxaRLSl', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 682
22341
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 402 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22342
+ SpudPagePartial Load (0.3ms) SELECT `spud_page_partials`.* FROM `spud_page_partials` WHERE `spud_page_partials`.`spud_page_id` IN (402)
22343
+ SQL (0.2ms) UPDATE `spud_pages` SET `spud_pages`.`spud_page_id` = NULL WHERE `spud_pages`.`spud_page_id` = 402
22344
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 402 AND `spud_permalinks`.`attachment_type` = 'SpudPage'
22345
+ SQL (0.2ms) DELETE FROM `spud_pages` WHERE `spud_pages`.`id` = 402
22346
+ Redirected to http://test.host/spud/admin/pages
22347
+ Completed 302 Found in 11ms (ActiveRecord: 1.4ms)
22348
+  (0.2ms) SELECT COUNT(*) FROM `spud_pages`
22349
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
22350
+  (0.1ms) ROLLBACK
22351
+  (0.1ms) BEGIN
22352
+  (0.1ms) SAVEPOINT active_record_1
22353
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
22354
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
22355
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '41400ff30171b2e89a294eb261e129e2ccf5e3c3e8982872babf2706485e7ef91268c4840856175ac4e2574b8422a94c5c09d7f334707e62131233672ce9e6d4' LIMIT 1
22356
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'f3iLVhozyQVtDmPcfHaQ' LIMIT 1
22357
+ SQL (0.5ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 19:31:38', '2e7717bfa2194e0b36059d2df997f24c99d94e63d332b54c2ab2b3a734b72288ba83cc3d5b4c3d2234546a61e7b795319de61dd85cccb84d805e6e3095191b3a', '2014-01-05 19:31:38', '0.0.0.0', 'test@testuser.com', '2014-01-05 19:31:38', 'testuser', 1, 'jdqvlZAs6YBpVR1XOuqc', 'mejCo12950EIZ7bUdJz', '41400ff30171b2e89a294eb261e129e2ccf5e3c3e8982872babf2706485e7ef91268c4840856175ac4e2574b8422a94c5c09d7f334707e62131233672ce9e6d4', 'f3iLVhozyQVtDmPcfHaQ', 1, '2014-01-05 19:31:38')
22358
+ SQL (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 19:31:38', `current_login_at` = '2014-01-05 19:31:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = 'u1dy6SbnmaUl3bkM8B4w', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 702
22359
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22360
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page13' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22361
+ 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
22362
+ 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
22363
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page13', '2014-01-05 19:31:38', 'page13')
22364
+  (0.1ms) SELECT COUNT(*) FROM `spud_pages`
22365
+ Processing by Spud::Admin::PagesController#destroy as HTML
22366
+ Parameters: {"id"=>"23532"}
22367
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 702 LIMIT 1
22368
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 19:31:38', `perishable_token` = '3tdrcXiavWwdH5pqd', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_users`.`id` = 702
22369
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 23532 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22370
+ Redirected to http://test.host/spud/admin/pages
22371
+ Filter chain halted as :load_page rendered or redirected
22372
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
22373
+  (0.2ms) SELECT COUNT(*) FROM `spud_pages`
22374
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
22375
+  (0.1ms) ROLLBACK
22376
+  (0.1ms) BEGIN
22377
+  (0.1ms) SAVEPOINT active_record_1
22378
+ Processing by Spud::Cms::SitemapsController#show as XML
22379
+ Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
22380
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
22381
+  (0.1ms) ROLLBACK
22382
+  (0.1ms) BEGIN
22383
+  (0.1ms) SAVEPOINT active_record_1
22384
+ Processing by Spud::Cms::SitemapsController#show as HTML
22385
+ Completed 406 Not Acceptable in 1ms
22386
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22387
+  (0.1ms) ROLLBACK
22388
+  (0.1ms) BEGIN
22389
+  (0.1ms) SAVEPOINT active_record_1
22390
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22391
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page14' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22392
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page14' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
22393
+ 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
22394
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page14', '2014-01-05 19:31:38', 'page14')
22395
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22396
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page15' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22397
+ 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
22398
+ 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
22399
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page15', '2014-01-05 19:31:38', 'page15')
22400
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
22401
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page16' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22402
+ 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
22403
+ 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
22404
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `site_id`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page16', 1, '2014-01-05 19:31:38', 'page16')
22405
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
22406
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page17' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22407
+ 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
22408
+ 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
22409
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `site_id`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page17', 1, '2014-01-05 19:31:38', 'page17')
22410
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
22411
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page18' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22412
+ 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
22413
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page18' AND `spud_pages`.`site_id` = 1) LIMIT 1
22414
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `site_id`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page18', 1, '2014-01-05 19:31:38', 'page18')
22415
+ Processing by Spud::Cms::SitemapsController#show as XML
22416
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
22417
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
22418
+  (0.1ms) ROLLBACK
22419
+  (0.1ms) BEGIN
22420
+  (0.2ms) SAVEPOINT active_record_1
22421
+ SpudMenu Exists (0.4ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Main' LIMIT 1
22422
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:38', 'Main', '2014-01-05 19:31:38')
22423
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'Menu Item 15', 482, 'SpudMenu', 482, '2014-01-05 19:31:38', '/')
22424
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 482 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22425
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 482
22426
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 482 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22427
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 482
22428
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'Menu Item 16', 482, 'SpudMenu', 482, '2014-01-05 19:31:38', '/')
22429
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 482 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22430
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 482
22431
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 482 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22432
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 482
22433
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main' ORDER BY `spud_menus`.`id` ASC LIMIT 1
22434
+ SpudMenuItem Load (1.9ms) SELECT
22435
+ spud_menu_items.id as id,
22436
+ spud_menu_items.url as url,
22437
+ spud_menu_items.classes as classes,
22438
+ spud_menu_items.parent_type as parent_type,
22439
+ spud_menu_items.menu_order as menu_order,
22440
+ spud_menu_items.parent_id as parent_id,
22441
+ spud_menu_items.name as name,
22442
+ 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` = 482 ORDER BY `spud_menu_items`.`parent_type` ASC, `spud_menu_items`.`parent_id` ASC
22443
+  (11.7ms) ROLLBACK TO SAVEPOINT active_record_1
22444
+  (0.1ms) ROLLBACK
22445
+  (0.1ms) BEGIN
22446
+  (0.1ms) SAVEPOINT active_record_1
22447
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu25' LIMIT 1
22448
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:38', 'Menu25', '2014-01-05 19:31:38')
22449
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'Menu Item 17', 502, 'SpudMenu', 502, '2014-01-05 19:31:38', '/')
22450
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 502 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22451
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 502
22452
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 502 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22453
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 502
22454
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'Menu Item 18', 502, 'SpudMenu', 502, '2014-01-05 19:31:38', '/')
22455
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 502 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22456
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 502
22457
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 502 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22458
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 502
22459
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Menu25' ORDER BY `spud_menus`.`id` ASC LIMIT 1
22460
+ SpudMenuItem Load (0.3ms) SELECT
22461
+ spud_menu_items.id as id,
22462
+ spud_menu_items.url as url,
22463
+ spud_menu_items.classes as classes,
22464
+ spud_menu_items.parent_type as parent_type,
22465
+ spud_menu_items.menu_order as menu_order,
22466
+ spud_menu_items.parent_id as parent_id,
22467
+ spud_menu_items.name as name,
22468
+ 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` = 502 ORDER BY `spud_menu_items`.`parent_type` ASC, `spud_menu_items`.`parent_id` ASC
22469
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
22470
+  (0.1ms) ROLLBACK
22471
+  (0.1ms) BEGIN
22472
+  (0.1ms) SAVEPOINT active_record_1
22473
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Main2' LIMIT 1
22474
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:38', 'Main2', '2014-01-05 19:31:38')
22475
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'Menu Item 19', 522, 'SpudMenu', 522, '2014-01-05 19:31:38', '/')
22476
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 522 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22477
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 522
22478
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 522 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22479
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 522
22480
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'Menu Item 20', 522, 'SpudMenu', 522, '2014-01-05 19:31:38', '/')
22481
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 522 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22482
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 522
22483
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 522 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22484
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 522
22485
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'SubItem', 382, 'SpudMenuItem', 522, '2014-01-05 19:31:38', '/')
22486
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 382 ORDER BY `spud_menu_items`.`id` ASC LIMIT 1
22487
+ SQL (0.2ms) UPDATE `spud_menu_items` SET `spud_menu_items`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menu_items`.`id` = 382
22488
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 522 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22489
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 522
22490
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 522 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22491
+ SQL (0.1ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 522
22492
+ SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 522 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22493
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 522
22494
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main2' ORDER BY `spud_menus`.`id` ASC LIMIT 1
22495
+ SpudMenuItem Load (0.3ms) SELECT
22496
+ spud_menu_items.id as id,
22497
+ spud_menu_items.url as url,
22498
+ spud_menu_items.classes as classes,
22499
+ spud_menu_items.parent_type as parent_type,
22500
+ spud_menu_items.menu_order as menu_order,
22501
+ spud_menu_items.parent_id as parent_id,
22502
+ spud_menu_items.name as name,
22503
+ 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` = 522 ORDER BY `spud_menu_items`.`parent_type` ASC, `spud_menu_items`.`parent_id` ASC
22504
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
22505
+  (0.1ms) ROLLBACK
22506
+  (0.1ms) BEGIN
22507
+  (0.1ms) SAVEPOINT active_record_1
22508
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Main4' LIMIT 1
22509
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:38', 'Main4', '2014-01-05 19:31:38')
22510
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'Menu Item 21', 542, 'SpudMenu', 542, '2014-01-05 19:31:38', '/')
22511
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 542 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22512
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 542
22513
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 542 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22514
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 542
22515
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'Menu Item 22', 542, 'SpudMenu', 542, '2014-01-05 19:31:38', '/')
22516
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 542 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22517
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 542
22518
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 542 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22519
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 542
22520
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'SubItem', 442, 'SpudMenuItem', 542, '2014-01-05 19:31:38', '/')
22521
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 442 ORDER BY `spud_menu_items`.`id` ASC LIMIT 1
22522
+ SQL (0.2ms) UPDATE `spud_menu_items` SET `spud_menu_items`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menu_items`.`id` = 442
22523
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 542 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22524
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 542
22525
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 542 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22526
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 542
22527
+ SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 542 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22528
+ SQL (0.1ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 542
22529
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main4' ORDER BY `spud_menus`.`id` ASC LIMIT 1
22530
+ SpudMenuItem Load (0.3ms) SELECT
22531
+ spud_menu_items.id as id,
22532
+ spud_menu_items.url as url,
22533
+ spud_menu_items.classes as classes,
22534
+ spud_menu_items.parent_type as parent_type,
22535
+ spud_menu_items.menu_order as menu_order,
22536
+ spud_menu_items.parent_id as parent_id,
22537
+ spud_menu_items.name as name,
22538
+ 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` = 542 ORDER BY `spud_menu_items`.`parent_type` ASC, `spud_menu_items`.`parent_id` ASC
22539
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
22540
+  (0.1ms) ROLLBACK
22541
+  (0.1ms) BEGIN
22542
+  (0.1ms) SAVEPOINT active_record_1
22543
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu26' LIMIT 1
22544
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:38', 'Menu26', '2014-01-05 19:31:38')
22545
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'Menu Item 23', 562, 'SpudMenu', 562, '2014-01-05 19:31:38', '/')
22546
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 562 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22547
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 562
22548
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 562 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22549
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 562
22550
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`site_id` = 1 AND `spud_menus`.`name` = 'Menu26' ORDER BY `spud_menus`.`id` ASC LIMIT 1
22551
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
22552
+  (0.1ms) ROLLBACK
22553
+  (0.1ms) BEGIN
22554
+  (0.1ms) SAVEPOINT active_record_1
22555
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Main3' LIMIT 1
22556
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:38', 'Main3', '2014-01-05 19:31:38')
22557
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'Menu Item 24', 582, 'SpudMenu', 582, '2014-01-05 19:31:38', '/')
22558
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 582 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22559
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 582
22560
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 582 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22561
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 582
22562
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'Menu Item 25', 582, 'SpudMenu', 582, '2014-01-05 19:31:38', '/')
22563
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 582 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22564
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 582
22565
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 582 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22566
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 582
22567
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'SubItem', 522, 'SpudMenuItem', 582, '2014-01-05 19:31:38', '/')
22568
+ SpudMenuItem Load (0.2ms) SELECT `spud_menu_items`.* FROM `spud_menu_items` WHERE `spud_menu_items`.`id` = 522 ORDER BY `spud_menu_items`.`id` ASC LIMIT 1
22569
+ SQL (0.2ms) UPDATE `spud_menu_items` SET `spud_menu_items`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menu_items`.`id` = 522
22570
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 582 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22571
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 582
22572
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 582 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22573
+ SQL (0.1ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 582
22574
+ SpudMenu Load (0.1ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 582 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22575
+ SQL (0.1ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 582
22576
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Main3' ORDER BY `spud_menus`.`id` ASC LIMIT 1
22577
+ SpudMenuItem Load (0.3ms) SELECT
22578
+ spud_menu_items.id as id,
22579
+ spud_menu_items.url as url,
22580
+ spud_menu_items.classes as classes,
22581
+ spud_menu_items.parent_type as parent_type,
22582
+ spud_menu_items.menu_order as menu_order,
22583
+ spud_menu_items.parent_id as parent_id,
22584
+ spud_menu_items.name as name,
22585
+ 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` = 582 ORDER BY `spud_menu_items`.`parent_type` ASC, `spud_menu_items`.`parent_id` ASC
22586
+  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1
22587
+  (0.2ms) ROLLBACK
22588
+  (0.1ms) BEGIN
22589
+  (0.1ms) SAVEPOINT active_record_1
22590
+ SpudMenu Exists (0.2ms) SELECT 1 AS one FROM `spud_menus` WHERE `spud_menus`.`name` = BINARY 'Menu27' LIMIT 1
22591
+ SQL (0.2ms) INSERT INTO `spud_menus` (`created_at`, `name`, `updated_at`) VALUES ('2014-01-05 19:31:38', 'Menu27', '2014-01-05 19:31:38')
22592
+ SQL (0.2ms) INSERT INTO `spud_menu_items` (`created_at`, `name`, `parent_id`, `parent_type`, `spud_menu_id`, `updated_at`, `url`) VALUES ('2014-01-05 19:31:38', 'Menu Item 26', 602, 'SpudMenu', 602, '2014-01-05 19:31:38', '/')
22593
+ SpudMenu Load (0.3ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 602 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22594
+ SQL (0.4ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 602
22595
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`id` = 602 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22596
+ SQL (0.2ms) UPDATE `spud_menus` SET `spud_menus`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_menus`.`id` = 602
22597
+ SpudMenu Load (0.2ms) SELECT `spud_menus`.* FROM `spud_menus` WHERE `spud_menus`.`name` = 'Menu27' AND `spud_menus`.`site_id` = 1 ORDER BY `spud_menus`.`id` ASC LIMIT 1
22598
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
22599
+  (0.1ms) ROLLBACK
22600
+  (0.1ms) BEGIN
22601
+  (0.1ms) SAVEPOINT active_record_1
22602
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22603
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page19' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22604
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page19' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
22605
+ 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
22606
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page19', '2014-01-05 19:31:38', 'page19')
22607
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22608
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page20' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22609
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page20' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
22610
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page20' AND `spud_pages`.`site_id` = 0) LIMIT 1
22611
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page20', '2014-01-05 19:31:38', 'page20')
22612
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 542 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22613
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22614
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page19/page21' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22615
+ 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` = 542) LIMIT 1
22616
+ 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
22617
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `spud_page_id`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page21', 542, '2014-01-05 19:31:38', 'page19/page21')
22618
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
22619
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
22620
+  (0.1ms) ROLLBACK
22621
+  (0.1ms) BEGIN
22622
+  (0.1ms) SAVEPOINT active_record_1
22623
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22624
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page22' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22625
+ 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
22626
+ 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
22627
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page22', '2014-01-05 19:31:38', 'page22')
22628
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22629
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page23' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22630
+ 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
22631
+ 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
22632
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page23', '2014-01-05 19:31:38', 'page23')
22633
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
22634
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
22635
+  (0.1ms) ROLLBACK
22636
+  (0.1ms) BEGIN
22637
+  (0.1ms) SAVEPOINT active_record_1
22638
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22639
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page24' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22640
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page24' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
22641
+ 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
22642
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page24', '2014-01-05 19:31:38', 'page24')
22643
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22644
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page25' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22645
+ 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
22646
+ 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
22647
+ SQL (0.3ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page25', '2014-01-05 19:31:38', 'page25')
22648
+ 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'))
22649
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
22650
+  (0.1ms) ROLLBACK
22651
+  (0.1ms) BEGIN
22652
+  (0.1ms) SAVEPOINT active_record_1
22653
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22654
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page26' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22655
+ 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
22656
+ 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
22657
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page26', '2014-01-05 19:31:38', 'page26')
22658
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22659
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page27' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22660
+ 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
22661
+ 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
22662
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page27', '2014-01-05 19:31:38', 'page27')
22663
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 682 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22664
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22665
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page26/page28' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22666
+ 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` = 682) LIMIT 1
22667
+ 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
22668
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `spud_page_id`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page28', 682, '2014-01-05 19:31:38', 'page26/page28')
22669
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
22670
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
22671
+  (0.1ms) ROLLBACK
22672
+  (0.1ms) BEGIN
22673
+  (0.1ms) SAVEPOINT active_record_1
22674
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22675
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page29' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22676
+ 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
22677
+ 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
22678
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page29', '2014-01-05 19:31:38', 'page29')
22679
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22680
+ SpudPermalink Load (0.4ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page30' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22681
+ SpudPage Exists (0.4ms) 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
22682
+ 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
22683
+ SQL (0.3ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page30', '2014-01-05 19:31:38', 'page30')
22684
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 742 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22685
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22686
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page29/page31' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22687
+ 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` = 742) LIMIT 1
22688
+ 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
22689
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `spud_page_id`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page31', 742, '2014-01-05 19:31:38', 'page29/page31')
22690
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1
22691
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
22692
+  (0.1ms) ROLLBACK
22693
+  (0.1ms) BEGIN
22694
+  (0.1ms) SAVEPOINT active_record_1
22695
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22696
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page32' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22697
+ 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
22698
+ 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
22699
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page32', '2014-01-05 19:31:38', 'page32')
22700
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 1
22701
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 1 AND `spud_permalinks`.`url_name` = 'page33' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22702
+ 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
22703
+ SpudPage Exists (0.1ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'page33' AND `spud_pages`.`site_id` = 1) LIMIT 1
22704
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `site_id`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page33', 1, '2014-01-05 19:31:38', 'page33')
22705
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`visibility` = 0 AND `spud_pages`.`published` = 1 AND `spud_pages`.`site_id` = 1
22706
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
22707
+  (0.1ms) ROLLBACK
22708
+  (0.1ms) BEGIN
22709
+  (0.1ms) SAVEPOINT active_record_1
22710
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22711
+  (0.1ms) ROLLBACK
22712
+  (0.1ms) BEGIN
22713
+  (0.1ms) SAVEPOINT active_record_1
22714
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22715
+  (0.1ms) ROLLBACK
22716
+  (0.1ms) BEGIN
22717
+  (0.1ms) SAVEPOINT active_record_1
22718
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22719
+  (0.1ms) ROLLBACK
22720
+  (0.1ms) BEGIN
22721
+  (0.1ms) SAVEPOINT active_record_1
22722
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22723
+  (0.1ms) ROLLBACK
22724
+  (0.1ms) BEGIN
22725
+  (0.1ms) SAVEPOINT active_record_1
22726
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22727
+  (0.1ms) ROLLBACK
22728
+  (0.1ms) BEGIN
22729
+  (0.1ms) SAVEPOINT active_record_1
22730
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22731
+  (0.1ms) ROLLBACK
22732
+  (0.1ms) BEGIN
22733
+  (0.1ms) SAVEPOINT active_record_1
22734
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22735
+  (0.1ms) ROLLBACK
22736
+  (0.1ms) BEGIN
22737
+  (0.1ms) SAVEPOINT active_record_1
22738
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22739
+  (0.1ms) ROLLBACK
22740
+  (0.1ms) BEGIN
22741
+  (0.1ms) SAVEPOINT active_record_1
22742
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22743
+  (0.1ms) ROLLBACK
22744
+  (0.1ms) BEGIN
22745
+  (0.1ms) SAVEPOINT active_record_1
22746
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22747
+  (0.1ms) ROLLBACK
22748
+  (0.1ms) BEGIN
22749
+  (0.1ms) SAVEPOINT active_record_1
22750
+ SQL (0.2ms) INSERT INTO `spud_page_partials` (`created_at`, `name`, `symbol_name`, `updated_at`) VALUES ('2014-01-05 19:31:38', 'Test Page', 'test_page', '2014-01-05 19:31:38')
22751
+ SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 2 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'
22752
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
22753
+  (0.1ms) ROLLBACK
22754
+  (0.1ms) BEGIN
22755
+  (0.1ms) SAVEPOINT active_record_1
22756
+ SQL (0.3ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `name`, `spud_page_id`, `updated_at`) VALUES ('Home Sweet Home', '2014-01-05 19:31:38', 'Test Page', 1, '2014-01-05 19:31:38')
22757
+  (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'
22758
+ SQL (0.2ms) INSERT INTO `spud_page_partials` (`content`, `content_processed`, `created_at`, `name`, `spud_page_id`, `symbol_name`, `updated_at`) VALUES ('Home Sweet Home', 'Home Sweet Home', '2014-01-05 19:31:38', 'Test Page', 1, 'test_page', '2014-01-05 19:31:38')
22759
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22760
+ SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 22 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'
22761
+  (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'
22762
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
22763
+  (0.1ms) ROLLBACK
22764
+  (0.1ms) BEGIN
22765
+  (0.1ms) SAVEPOINT active_record_1
22766
+ SQL (0.2ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `name`, `spud_page_id`, `updated_at`) VALUES ('Home Sweet Home', '2014-01-05 19:31:38', 'Test Page', 1, '2014-01-05 19:31:38')
22767
+  (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'
22768
+ SQL (0.2ms) INSERT INTO `spud_page_partials` (`content`, `content_processed`, `created_at`, `name`, `spud_page_id`, `symbol_name`, `updated_at`) VALUES ('Home Sweet Home', 'Home Sweet Home', '2014-01-05 19:31:38', 'Test Page', 1, 'test_page', '2014-01-05 19:31:38')
22769
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22770
+ SpudPageLiquidTag Load (0.3ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 42 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'
22771
+ SQL (0.2ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `name`, `spud_page_id`, `updated_at`) VALUES ('Nah', '2014-01-05 19:31:38', 'Test Page', 1, '2014-01-05 19:31:38')
22772
+  (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'
22773
+ SQL (0.2ms) UPDATE `spud_page_partials` SET `content` = 'Nah', `content_processed` = 'Nah', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_page_partials`.`id` = 42
22774
+ SQL (0.2ms) INSERT INTO `spud_page_partial_revisions` (`content`, `created_at`, `name`, `spud_page_id`, `updated_at`) VALUES ('Another change', '2014-01-05 19:31:38', 'Test Page', 1, '2014-01-05 19:31:38')
22775
+  (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'
22776
+ 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
22777
+ SQL (0.2ms) DELETE FROM `spud_page_partial_revisions` WHERE `spud_page_partial_revisions`.`id` = 22
22778
+ SQL (0.2ms) UPDATE `spud_page_partials` SET `content` = 'Another change', `content_processed` = 'Another change', `updated_at` = '2014-01-05 19:31:38' WHERE `spud_page_partials`.`id` = 42
22779
+  (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'
22780
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
22781
+  (0.1ms) ROLLBACK
22782
+  (0.1ms) BEGIN
22783
+  (0.1ms) SAVEPOINT active_record_1
22784
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22785
+  (0.1ms) ROLLBACK
22786
+  (0.1ms) BEGIN
22787
+  (0.1ms) SAVEPOINT active_record_1
22788
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22789
+  (0.1ms) ROLLBACK
22790
+  (0.1ms) BEGIN
22791
+  (0.2ms) SAVEPOINT active_record_1
22792
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22793
+  (0.1ms) ROLLBACK
22794
+  (0.1ms) BEGIN
22795
+  (0.1ms) SAVEPOINT active_record_1
22796
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22797
+  (0.2ms) ROLLBACK
22798
+  (0.1ms) BEGIN
22799
+  (0.2ms) SAVEPOINT active_record_1
22800
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22801
+  (0.1ms) ROLLBACK
22802
+  (0.1ms) BEGIN
22803
+  (0.1ms) SAVEPOINT active_record_1
22804
+ 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
22805
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` IS NULL AND `spud_pages`.`site_id` = 0) LIMIT 1
22806
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22807
+  (0.1ms) ROLLBACK
22808
+  (0.1ms) BEGIN
22809
+  (0.1ms) SAVEPOINT active_record_1
22810
+ 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
22811
+ 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
22812
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`, `use_custom_url_name`) VALUES ('2014-01-05 19:31:38', 'Page34', '2014-01-05 19:31:38', 'test', 1)
22813
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page35' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
22814
+ 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
22815
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
22816
+  (0.1ms) ROLLBACK
22817
+  (0.1ms) BEGIN
22818
+  (0.1ms) SAVEPOINT active_record_1
22819
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22820
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'test' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22821
+ SpudPage Exists (0.3ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'test' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
22822
+ 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
22823
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'test', '2014-01-05 19:31:38', 'test')
22824
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22825
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'test-1' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22826
+ 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
22827
+ 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
22828
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
22829
+  (0.1ms) ROLLBACK
22830
+  (0.1ms) BEGIN
22831
+  (0.1ms) SAVEPOINT active_record_1
22832
+ SpudPage Load (0.5ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22833
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'page36' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22834
+ SpudPage Exists (0.4ms) 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
22835
+ 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
22836
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page36', '2014-01-05 19:31:38', 'page36')
22837
+ SQL (0.1ms) INSERT INTO `spud_page_partials` (`created_at`, `name`, `spud_page_id`, `symbol_name`, `updated_at`) VALUES ('2014-01-05 19:31:38', 'body', 882, 'body', '2014-01-05 19:31:38')
22838
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 882 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22839
+ SQL (0.2ms) UPDATE `spud_pages` SET `spud_pages`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_pages`.`id` = 882
22840
+ SpudPageLiquidTag Load (0.2ms) SELECT `spud_page_liquid_tags`.* FROM `spud_page_liquid_tags` WHERE `spud_page_liquid_tags`.`attachment_id` = 62 AND `spud_page_liquid_tags`.`attachment_type` = 'SpudPagePartial'
22841
+  (0.1ms) SELECT COUNT(*) FROM `spud_page_partials`
22842
+ SQL (0.1ms) UPDATE `spud_pages` SET `spud_pages`.`spud_page_id` = NULL WHERE `spud_pages`.`spud_page_id` = 882
22843
+ SQL (0.2ms) DELETE FROM `spud_page_partials` WHERE `spud_page_partials`.`id` = 62
22844
+ SQL (0.2ms) UPDATE `spud_pages` SET `spud_pages`.`updated_at` = '2014-01-05 19:31:38' WHERE `spud_pages`.`id` = 882
22845
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 882 AND `spud_permalinks`.`attachment_type` = 'SpudPage'
22846
+ SQL (0.1ms) DELETE FROM `spud_pages` WHERE `spud_pages`.`id` = 882
22847
+  (0.1ms) SELECT COUNT(*) FROM `spud_page_partials`
22848
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
22849
+  (0.1ms) ROLLBACK
22850
+  (0.1ms) BEGIN
22851
+  (0.1ms) SAVEPOINT active_record_1
22852
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22853
+  (0.1ms) ROLLBACK
22854
+  (0.1ms) BEGIN
22855
+  (0.1ms) SAVEPOINT active_record_1
22856
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22857
+  (0.1ms) ROLLBACK
22858
+  (0.1ms) BEGIN
22859
+  (0.1ms) SAVEPOINT active_record_1
22860
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22861
+  (0.1ms) ROLLBACK
22862
+  (0.1ms) BEGIN
22863
+  (0.1ms) SAVEPOINT active_record_1
22864
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22865
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'parent' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22866
+ 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
22867
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'parent' AND `spud_pages`.`site_id` = 0) LIMIT 1
22868
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'parent', '2014-01-05 19:31:38', 'parent')
22869
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22870
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'parent/page-1' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22871
+ 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` = 902) LIMIT 1
22872
+ 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
22873
+ SQL (0.3ms) INSERT INTO `spud_pages` (`created_at`, `name`, `spud_page_id`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page 1', 902, '2014-01-05 19:31:38', 'parent/page-1')
22874
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22875
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'parent/page-2' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22876
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'Page 2' AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` = 902) LIMIT 1
22877
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'parent/page-2' AND `spud_pages`.`site_id` = 0) LIMIT 1
22878
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `spud_page_id`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'Page 2', 902, '2014-01-05 19:31:38', 'parent/page-2')
22879
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22880
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
22881
+  (0.1ms) ROLLBACK
22882
+  (0.1ms) BEGIN
22883
+  (0.1ms) SAVEPOINT active_record_1
22884
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
22885
+  (0.1ms) ROLLBACK
22886
+  (0.1ms) BEGIN
22887
+  (0.1ms) SAVEPOINT active_record_1
22888
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22889
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22890
+ 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
22891
+ 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
22892
+ SQL (0.3ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:38', 'about', '2014-01-05 19:31:38', 'about')
22893
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22894
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'about/test' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22895
+ 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` = 962) LIMIT 1
22896
+ 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
22897
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
22898
+  (0.1ms) ROLLBACK
22899
+  (0.1ms) BEGIN
22900
+  (0.1ms) SAVEPOINT active_record_1
22901
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22902
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'testimonials' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22903
+ 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
22904
+ 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
22905
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:39', 'testimonials', '2014-01-05 19:31:39', 'testimonials')
22906
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22907
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'testimonials-1' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22908
+ 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
22909
+ 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
22910
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
22911
+  (0.1ms) ROLLBACK
22912
+  (0.1ms) BEGIN
22913
+  (0.1ms) SAVEPOINT active_record_1
22914
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22915
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22916
+ 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
22917
+ 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
22918
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:39', 'another', '2014-01-05 19:31:39', 'another')
22919
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE (id != 1002) AND `spud_pages`.`site_id` = 0
22920
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'again' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22921
+ 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
22922
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (1002, 'SpudPage', '2014-01-05 19:31:39', 0, '2014-01-05 19:31:39', 'another')
22923
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'again' AND `spud_pages`.`id` != 1002 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
22924
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'again' AND `spud_pages`.`id` != 1002 AND `spud_pages`.`site_id` = 0) LIMIT 1
22925
+ SQL (0.2ms) UPDATE `spud_pages` SET `name` = 'again', `url_name` = 'again', `updated_at` = '2014-01-05 19:31:39' WHERE `spud_pages`.`id` = 1002
22926
+ SpudPage Load (0.4ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22927
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22928
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1002 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22929
+ SpudPermalink Load (0.5ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'another-1' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22930
+ 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
22931
+ 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
22932
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
22933
+  (0.1ms) ROLLBACK
22934
+  (0.1ms) BEGIN
22935
+  (0.1ms) SAVEPOINT active_record_1
22936
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22937
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22938
+ 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
22939
+ 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
22940
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:39', 'permapage', '2014-01-05 19:31:39', 'permapage')
22941
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE (id != 1022) AND `spud_pages`.`site_id` = 0
22942
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage-new' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22943
+ 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
22944
+ SQL (0.1ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (1022, 'SpudPage', '2014-01-05 19:31:39', 0, '2014-01-05 19:31:39', 'permapage')
22945
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'permapage new' AND `spud_pages`.`id` != 1022 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
22946
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'permapage-new' AND `spud_pages`.`id` != 1022 AND `spud_pages`.`site_id` = 0) LIMIT 1
22947
+ SQL (0.2ms) UPDATE `spud_pages` SET `name` = 'permapage new', `url_name` = 'permapage-new', `updated_at` = '2014-01-05 19:31:39' WHERE `spud_pages`.`id` = 1022
22948
+  (0.1ms) SELECT COUNT(*) FROM `spud_permalinks`
22949
+  (0.2ms) SELECT COUNT(*) FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 1022 AND `spud_permalinks`.`attachment_type` = 'SpudPage' AND `spud_permalinks`.`url_name` = 'permapage'
22950
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE (id != 1022) AND `spud_pages`.`site_id` = 0
22951
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'permapage' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22952
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1022 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22953
+ SQL (0.2ms) DELETE FROM `spud_permalinks` WHERE `spud_permalinks`.`id` = 82
22954
+ 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
22955
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (1022, 'SpudPage', '2014-01-05 19:31:39', 0, '2014-01-05 19:31:39', 'permapage-new')
22956
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'permapage' AND `spud_pages`.`id` != 1022 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
22957
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'permapage' AND `spud_pages`.`id` != 1022 AND `spud_pages`.`site_id` = 0) LIMIT 1
22958
+  (0.2ms) SELECT COUNT(*) FROM `spud_permalinks` WHERE `spud_permalinks`.`attachment_id` = 1022 AND `spud_permalinks`.`attachment_type` = 'SpudPage' AND `spud_permalinks`.`url_name` = 'permapage'
22959
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
22960
+  (0.1ms) ROLLBACK
22961
+  (0.1ms) BEGIN
22962
+  (0.1ms) SAVEPOINT active_record_1
22963
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22964
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22965
+ 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
22966
+ 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
22967
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:39', 'original', '2014-01-05 19:31:39', 'original')
22968
+ 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
22969
+ 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
22970
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
22971
+  (0.1ms) ROLLBACK
22972
+  (0.1ms) BEGIN
22973
+  (0.1ms) SAVEPOINT active_record_1
22974
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22975
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22976
+ 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
22977
+ 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
22978
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:39', 'original', '2014-01-05 19:31:39', 'original')
22979
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE (id != 1062) AND `spud_pages`.`site_id` = 0
22980
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original2' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22981
+ 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
22982
+ SQL (0.2ms) INSERT INTO `spud_permalinks` (`attachment_id`, `attachment_type`, `created_at`, `site_id`, `updated_at`, `url_name`) VALUES (1062, 'SpudPage', '2014-01-05 19:31:39', 0, '2014-01-05 19:31:39', 'original')
22983
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`name` = BINARY 'original2' AND `spud_pages`.`id` != 1062 AND `spud_pages`.`site_id` = 0 AND `spud_pages`.`spud_page_id` IS NULL) LIMIT 1
22984
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'original2' AND `spud_pages`.`id` != 1062 AND `spud_pages`.`site_id` = 0) LIMIT 1
22985
+ SQL (0.2ms) UPDATE `spud_pages` SET `name` = 'original2', `url_name` = 'original2', `updated_at` = '2014-01-05 19:31:39' WHERE `spud_pages`.`id` = 1062
22986
+ SpudPage Load (0.3ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`site_id` = 0
22987
+ SpudPermalink Load (0.3ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'new' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22988
+ 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
22989
+ SpudPage Exists (0.2ms) SELECT 1 AS one FROM `spud_pages` WHERE (`spud_pages`.`url_name` = BINARY 'new' AND `spud_pages`.`site_id` = 0) LIMIT 1
22990
+ SQL (0.2ms) INSERT INTO `spud_pages` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 19:31:39', 'new', '2014-01-05 19:31:39', 'new')
22991
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1082 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22992
+ SpudPermalink Load (0.2ms) SELECT `spud_permalinks`.* FROM `spud_permalinks` WHERE `spud_permalinks`.`site_id` = 0 AND `spud_permalinks`.`url_name` = 'original' ORDER BY `spud_permalinks`.`id` ASC LIMIT 1
22993
+ SpudPage Load (0.2ms) SELECT `spud_pages`.* FROM `spud_pages` WHERE `spud_pages`.`id` = 1062 ORDER BY `spud_pages`.`id` ASC LIMIT 1
22994
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
22995
+  (0.1ms) ROLLBACK