tb_banners 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. checksums.yaml +8 -8
  2. data/app/assets/javascripts/admin/banners/application.js +1 -0
  3. data/app/assets/stylesheets/admin/banners/application.css +4 -0
  4. data/app/controllers/{spud/admin → admin}/banner_sets_controller.rb +5 -5
  5. data/app/controllers/{spud/admin → admin}/banners_controller.rb +2 -2
  6. data/app/helpers/admin/banner_sets_helper.rb +2 -0
  7. data/app/helpers/admin/banners_helper.rb +2 -0
  8. data/app/views/admin/banner_sets/_banner_set.html.erb +8 -0
  9. data/app/views/admin/banner_sets/edit.html.erb +1 -0
  10. data/app/views/{spud/admin → admin}/banner_sets/index.html.erb +1 -1
  11. data/app/views/admin/banner_sets/new.html.erb +1 -0
  12. data/app/views/admin/banner_sets/show.html.erb +11 -0
  13. data/app/views/admin/banners/_banner.html.erb +7 -0
  14. data/app/views/admin/banners/edit.html.erb +1 -0
  15. data/app/views/{spud/admin → admin}/banners/legacy.js.erb +1 -1
  16. data/app/views/admin/banners/new.html.erb +1 -0
  17. data/config/routes.rb +7 -9
  18. data/lib/spud_banners/engine.rb +3 -3
  19. data/lib/spud_banners/version.rb +1 -1
  20. data/spec/controllers/{spud/admin → admin}/banner_sets_controller_spec.rb +2 -2
  21. data/spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb +11 -0
  22. data/spec/dummy/db/migrate/20130920154443_create_spud_permissions.tb_core.rb +11 -0
  23. data/spec/dummy/db/migrate/20130920154444_create_spud_role_permissions.tb_core.rb +12 -0
  24. data/spec/dummy/db/migrate/20130920154445_drop_spud_admin_permissions.tb_core.rb +16 -0
  25. data/spec/dummy/db/migrate/20130920154446_create_spud_banners.tb_banners.rb +16 -0
  26. data/spec/dummy/db/migrate/20130920154447_create_spud_banner_sets.tb_banners.rb +13 -0
  27. data/spec/dummy/db/migrate/20130920154448_add_rich_text_to_spud_banners.tb_banners.rb +7 -0
  28. data/spec/dummy/db/schema.rb +36 -16
  29. data/spec/dummy/log/test.log +1001 -0
  30. data/spec/spec_helper.rb +1 -1
  31. metadata +56 -42
  32. data/app/assets/javascripts/spud/admin/banners/application.js +0 -2
  33. data/app/assets/stylesheets/spud/admin/banners/application.css +0 -4
  34. data/app/helpers/spud/admin/banner_sets_helper.rb +0 -2
  35. data/app/helpers/spud/admin/banners_helper.rb +0 -2
  36. data/app/views/spud/admin/banner_sets/_banner_set.html.erb +0 -8
  37. data/app/views/spud/admin/banner_sets/edit.html.erb +0 -1
  38. data/app/views/spud/admin/banner_sets/new.html.erb +0 -1
  39. data/app/views/spud/admin/banner_sets/show.html.erb +0 -11
  40. data/app/views/spud/admin/banners/_banner.html.erb +0 -7
  41. data/app/views/spud/admin/banners/edit.html.erb +0 -1
  42. data/app/views/spud/admin/banners/new.html.erb +0 -1
  43. /data/app/assets/images/{spud/admin → admin}/banners/banners.png +0 -0
  44. /data/app/assets/images/{spud/admin → admin}/banners/banners@2x.png +0 -0
  45. /data/app/assets/javascripts/{spud/admin → admin}/banners/banner_sets.js +0 -0
  46. /data/app/assets/javascripts/{spud/admin → admin}/banners/banners.js +0 -0
  47. /data/app/assets/stylesheets/{spud/admin → admin}/banners/banner_sets.css +0 -0
  48. /data/app/assets/stylesheets/{spud/admin → admin}/banners/banners.css +0 -0
  49. /data/app/views/{spud/admin → admin}/banner_sets/_form.html.erb +0 -0
  50. /data/app/views/{spud/admin → admin}/banner_sets/create.html.erb +0 -0
  51. /data/app/views/{spud/admin → admin}/banners/_form.html.erb +0 -0
  52. /data/app/views/{spud/admin → admin}/banners/show.html.erb +0 -0
@@ -9330,3 +9330,1004 @@ Completed 200 OK in 10ms (Views: 2.9ms | ActiveRecord: 1.2ms)
9330
9330
   (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` 
9331
9331
   (1.0ms) ROLLBACK
9332
9332
   (0.1ms) ROLLBACK
9333
+ Connecting to database specified by database.yml
9334
+ Connecting to database specified by database.yml
9335
+ Connecting to database specified by database.yml
9336
+  (1.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
9337
+ Migrating to CreateSpudAdminPermissions (20121127192246)
9338
+ Migrating to CreateSpudUsers (20121127192247)
9339
+ Migrating to AddTimeZoneToSpudUser (20121127192248)
9340
+ Migrating to AddScopeToSpudAdminPermissions (20121127192249)
9341
+ Migrating to CreateSpudUserSettings (20121127192250)
9342
+ Migrating to CreateSpudRoles (20130920154442)
9343
+  (17.0ms) CREATE TABLE `spud_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
9344
+  (19.8ms) ALTER TABLE `spud_users` ADD `spud_role_id` int(11)
9345
+  (13.9ms) CREATE INDEX `index_spud_users_on_spud_role_id` ON `spud_users` (`spud_role_id`)
9346
+  (0.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130920154442')
9347
+ Migrating to CreateSpudPermissions (20130920154443)
9348
+  (16.2ms) CREATE TABLE `spud_permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) NOT NULL, `tag` varchar(255) NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
9349
+  (15.5ms) CREATE UNIQUE INDEX `index_spud_permissions_on_tag` ON `spud_permissions` (`tag`)
9350
+  (1.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130920154443')
9351
+ Migrating to CreateSpudRolePermissions (20130920154444)
9352
+  (15.7ms) CREATE TABLE `spud_role_permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_role_id` int(11) NOT NULL, `spud_permission_tag` varchar(255) NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
9353
+  (15.3ms) CREATE INDEX `index_spud_role_permissions_on_spud_role_id` ON `spud_role_permissions` (`spud_role_id`)
9354
+  (16.0ms) CREATE INDEX `index_spud_role_permissions_on_spud_permission_tag` ON `spud_role_permissions` (`spud_permission_tag`)
9355
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130920154444')
9356
+ Migrating to DropSpudAdminPermissions (20130920154445)
9357
+  (2.6ms) DROP TABLE `spud_admin_permissions`
9358
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130920154445')
9359
+ Migrating to CreateSpudBanners (20130920154446)
9360
+  (3.9ms) CREATE TABLE `spud_banners` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_banner_set_id` int(11) NOT NULL, `link_to` varchar(255), `link_target` varchar(255) DEFAULT '_self', `title` varchar(255), `alt` varchar(255), `sort_order` int(11) DEFAULT 0, `banner_file_name` varchar(255), `banner_content_type` varchar(255), `banner_file_size` int(11), `banner_updated_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
9361
+ Mysql2::Error: Table 'spud_banners' already exists: CREATE TABLE `spud_banners` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_banner_set_id` int(11) NOT NULL, `link_to` varchar(255), `link_target` varchar(255) DEFAULT '_self', `title` varchar(255), `alt` varchar(255), `sort_order` int(11) DEFAULT 0, `banner_file_name` varchar(255), `banner_content_type` varchar(255), `banner_file_size` int(11), `banner_updated_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
9362
+ Connecting to database specified by database.yml
9363
+  (19.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
9364
+  (23.6ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
9365
+  (2.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
9366
+ Migrating to CreateSpudAdminPermissions (20121127192246)
9367
+  (17.5ms) CREATE TABLE `spud_admin_permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `name` varchar(255), `access` tinyint(1), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
9368
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121127192246')
9369
+ Migrating to CreateSpudUsers (20121127192247)
9370
+  (17.2ms) CREATE TABLE `spud_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `first_name` varchar(255), `last_name` varchar(255), `super_admin` tinyint(1), `login` varchar(255) NOT NULL, `email` varchar(255) NOT NULL, `crypted_password` varchar(255) NOT NULL, `password_salt` varchar(255) NOT NULL, `persistence_token` varchar(255) NOT NULL, `single_access_token` varchar(255) NOT NULL, `perishable_token` varchar(255) NOT NULL, `login_count` int(11) DEFAULT 0 NOT NULL, `failed_login_count` int(11) DEFAULT 0 NOT NULL, `last_request_at` datetime, `current_login_at` datetime, `last_login_at` datetime, `current_login_ip` varchar(255), `last_login_ip` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
9371
+  (17.9ms) CREATE INDEX `index_spud_users_on_login` ON `spud_users` (`login`)
9372
+  (17.2ms) CREATE INDEX `index_spud_users_on_email` ON `spud_users` (`email`)
9373
+  (0.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121127192247')
9374
+ Migrating to AddTimeZoneToSpudUser (20121127192248)
9375
+  (18.0ms) ALTER TABLE `spud_users` ADD `time_zone` varchar(255)
9376
+  (0.7ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121127192248')
9377
+ Migrating to AddScopeToSpudAdminPermissions (20121127192249)
9378
+  (17.0ms) ALTER TABLE `spud_admin_permissions` ADD `scope` varchar(255)
9379
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121127192249')
9380
+ Migrating to CreateSpudUserSettings (20121127192250)
9381
+  (20.5ms) CREATE TABLE `spud_user_settings` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_user_id` int(11), `key` varchar(255), `value` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
9382
+  (0.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20121127192250')
9383
+ Migrating to CreateSpudRoles (20130920154442)
9384
+  (18.4ms) CREATE TABLE `spud_roles` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
9385
+  (21.6ms) ALTER TABLE `spud_users` ADD `spud_role_id` int(11)
9386
+  (17.7ms) CREATE INDEX `index_spud_users_on_spud_role_id` ON `spud_users` (`spud_role_id`)
9387
+  (0.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130920154442')
9388
+ Migrating to CreateSpudPermissions (20130920154443)
9389
+  (17.8ms) CREATE TABLE `spud_permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) NOT NULL, `tag` varchar(255) NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
9390
+  (19.5ms) CREATE UNIQUE INDEX `index_spud_permissions_on_tag` ON `spud_permissions` (`tag`)
9391
+  (0.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130920154443')
9392
+ Migrating to CreateSpudRolePermissions (20130920154444)
9393
+  (17.5ms) CREATE TABLE `spud_role_permissions` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_role_id` int(11) NOT NULL, `spud_permission_tag` varchar(255) NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
9394
+  (22.4ms) CREATE INDEX `index_spud_role_permissions_on_spud_role_id` ON `spud_role_permissions` (`spud_role_id`)
9395
+  (17.5ms) CREATE INDEX `index_spud_role_permissions_on_spud_permission_tag` ON `spud_role_permissions` (`spud_permission_tag`)
9396
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130920154444')
9397
+ Migrating to DropSpudAdminPermissions (20130920154445)
9398
+  (0.6ms) DROP TABLE `spud_admin_permissions`
9399
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130920154445')
9400
+ Migrating to CreateSpudBanners (20130920154446)
9401
+  (15.3ms) CREATE TABLE `spud_banners` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `spud_banner_set_id` int(11) NOT NULL, `link_to` varchar(255), `link_target` varchar(255) DEFAULT '_self', `title` varchar(255), `alt` varchar(255), `sort_order` int(11) DEFAULT 0, `banner_file_name` varchar(255), `banner_content_type` varchar(255), `banner_file_size` int(11), `banner_updated_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
9402
+  (15.4ms) CREATE INDEX `index_spud_banners_on_spud_banner_set_id` ON `spud_banners` (`spud_banner_set_id`)
9403
+  (3.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130920154446')
9404
+ Migrating to CreateSpudBannerSets (20130920154447)
9405
+  (16.7ms) CREATE TABLE `spud_banner_sets` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) NOT NULL, `width` int(11) NOT NULL, `height` int(11) NOT NULL, `cropped` tinyint(1) DEFAULT 1, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
9406
+  (17.1ms) CREATE UNIQUE INDEX `index_spud_banner_sets_on_name` ON `spud_banner_sets` (`name`)
9407
+  (0.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130920154447')
9408
+ Migrating to AddRichTextToSpudBanners (20130920154448)
9409
+  (18.5ms) ALTER TABLE `spud_banner_sets` ADD `has_rich_text` tinyint(1) DEFAULT 0
9410
+  (15.6ms) ALTER TABLE `spud_banners` ADD `rich_text` text
9411
+  (0.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130920154448')
9412
+  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
9413
+ Connecting to database specified by database.yml
9414
+ Connecting to database specified by database.yml
9415
+ Connecting to database specified by database.yml
9416
+ Connecting to database specified by database.yml
9417
+ Connecting to database specified by database.yml
9418
+ Connecting to database specified by database.yml
9419
+ Connecting to database specified by database.yml
9420
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
9421
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
9422
+  (0.1ms) SELECT DATABASE() as db
9423
+  (0.6ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'
9424
+  (2.0ms) TRUNCATE TABLE `spud_banner_sets`;
9425
+  (2.1ms) TRUNCATE TABLE `spud_banners`;
9426
+  (2.2ms) TRUNCATE TABLE `spud_permissions`;
9427
+  (2.3ms) TRUNCATE TABLE `spud_role_permissions`;
9428
+  (1.2ms) TRUNCATE TABLE `spud_roles`;
9429
+  (1.6ms) TRUNCATE TABLE `spud_user_settings`;
9430
+  (2.5ms) TRUNCATE TABLE `spud_users`;
9431
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
9432
+  (0.1ms) BEGIN
9433
+  (0.2ms) BEGIN
9434
+  (0.2ms) SAVEPOINT active_record_2
9435
+ SpudUser Exists (1.9ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9436
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9437
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '50b982ea9a52eee99373685fbcd96c45f9984a75d137d2a1704d17fe69d00c8993f605a7174362264edcee8cbd9682e00366719940f516df9214ce693b90b26b' LIMIT 1
9438
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tqIXlxiJihhKrAeCv0' LIMIT 1
9439
+ SQL (0.9ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:34', 'bef94a7409daaa6119fd9588cef7046ae176d8648ba8625b4ea2c10e4cae0870eeeaf3aed125ff660e2b90e1abbdf4743784a1ac8be43bee95d875d4d3a2d99c', '2013-09-20 16:23:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:34', 'testuser', 1, '7LRRvhTxjmhUFaqV9yFh', 'oqeb0X1m9BrvHArywIPk', '50b982ea9a52eee99373685fbcd96c45f9984a75d137d2a1704d17fe69d00c8993f605a7174362264edcee8cbd9682e00366719940f516df9214ce693b90b26b', 'tqIXlxiJihhKrAeCv0', NULL, 1, NULL, '2013-09-20 16:23:34')
9440
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9441
+  (0.2ms) SAVEPOINT active_record_2
9442
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:34', `current_login_at` = '2013-09-20 16:23:34', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'vUQGTHyluo9zNj1rIXdg', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 1
9443
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9444
+  (0.2ms) SAVEPOINT active_record_2
9445
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
9446
+ SQL (0.8ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:34', 1, 0, 200, 'Banner Set 1', '2013-09-20 16:23:34', 600)
9447
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9448
+  (0.1ms) SAVEPOINT active_record_2
9449
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
9450
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:34', 1, 0, 200, 'Banner Set 2', '2013-09-20 16:23:34', 600)
9451
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9452
+  (0.1ms) SAVEPOINT active_record_2
9453
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
9454
+ SQL (0.3ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:34', 1, 0, 200, 'Banner Set 3', '2013-09-20 16:23:34', 600)
9455
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9456
+  (0.0ms) SAVEPOINT active_record_2
9457
+ SpudBannerSet Exists (0.1ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
9458
+ SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:34', 1, 0, 200, 'Banner Set 4', '2013-09-20 16:23:34', 600)
9459
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9460
+  (0.0ms) SAVEPOINT active_record_2
9461
+ SpudBannerSet Exists (0.1ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
9462
+ SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:34', 1, 0, 200, 'Banner Set 5', '2013-09-20 16:23:34', 600)
9463
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9464
+ Processing by Admin::BannerSetsController#index as HTML
9465
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
9466
+  (0.1ms) SAVEPOINT active_record_2
9467
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'g7L0XOX3aJJNz73Oyft', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 1
9468
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9469
+ SpudBannerSet Load (0.1ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` 
9470
+ Rendered /Users/gregwoods/Source/twice_baked/tb_banners/app/views/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (0.2ms)
9471
+ Completed 200 OK in 21ms (Views: 12.0ms | ActiveRecord: 0.8ms)
9472
+  (0.7ms) ROLLBACK
9473
+  (0.0ms) ROLLBACK
9474
+  (0.0ms) BEGIN
9475
+  (0.0ms) BEGIN
9476
+  (0.1ms) SAVEPOINT active_record_2
9477
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9478
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9479
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '05f0dc879c1d07e010df0b5319d4fe2ddad339b6bf5a73daf68a979fee6bc5d6b7bc07811817162b51112299dd8a7bfdff3a017c9323506e6f7c111490936656' LIMIT 1
9480
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UyCC1ip0FkQowHnSFq9U' LIMIT 1
9481
+ SQL (0.8ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:34', 'd42fae930b9c01e515246b63e5a6378673a5be8dbaec37f8b71d6e491347abffd7ad10a7f12b43121719ca1bbf34298981c06b86890aa50cd4060b570436c6f6', '2013-09-20 16:23:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:34', 'testuser', 1, '6kh3i7l4c8ngVL7trYP', 'JFGJ5lCa2RaldQzRR4iP', '05f0dc879c1d07e010df0b5319d4fe2ddad339b6bf5a73daf68a979fee6bc5d6b7bc07811817162b51112299dd8a7bfdff3a017c9323506e6f7c111490936656', 'UyCC1ip0FkQowHnSFq9U', NULL, 1, NULL, '2013-09-20 16:23:34')
9482
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9483
+  (0.1ms) SAVEPOINT active_record_2
9484
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:34', `current_login_at` = '2013-09-20 16:23:34', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'j2yv3Ad3M7GJiXHIHG4', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 2
9485
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9486
+  (0.1ms) SAVEPOINT active_record_2
9487
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
9488
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:34', 1, 0, 200, 'Banner Set 6', '2013-09-20 16:23:34', 600)
9489
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9490
+ Processing by Admin::BannerSetsController#show as HTML
9491
+ Parameters: {"id"=>"6"}
9492
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
9493
+  (0.2ms) SAVEPOINT active_record_2
9494
+  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'JN6jnlKuIjEoFedR2lNf', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 2
9495
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9496
+ Looking for banner set with id: 6
9497
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
9498
+ Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 1.2ms)
9499
+  (0.8ms) ROLLBACK
9500
+  (0.0ms) ROLLBACK
9501
+  (0.0ms) BEGIN
9502
+  (0.0ms) BEGIN
9503
+  (0.1ms) SAVEPOINT active_record_2
9504
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9505
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9506
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '15aaeb7100b7d3c0dd0b246d26498679a85a6a644ab7fe3b8a20378900cbaba074c4a82a7a3c711a13f4488d9b215b184f1143c3d3f1a28626113603dd7dab2e' LIMIT 1
9507
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'JWFvagD08mxgaGQCO9eQ' LIMIT 1
9508
+ SQL (0.6ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:34', 'd37c50387b38bad80acf8caddfb949d45bfa5c4ef0b6c27da746e10426c08e82db3818f8af1f08443ad9240ce2dee20358f36803d59d9f664db8dbcc7bd1a725', '2013-09-20 16:23:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:34', 'testuser', 1, '9Zr5mcH9KxD3cyWa9D31', 'S5xRjrMsPtoXB4nm7sJd', '15aaeb7100b7d3c0dd0b246d26498679a85a6a644ab7fe3b8a20378900cbaba074c4a82a7a3c711a13f4488d9b215b184f1143c3d3f1a28626113603dd7dab2e', 'JWFvagD08mxgaGQCO9eQ', NULL, 1, NULL, '2013-09-20 16:23:34')
9509
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9510
+  (0.1ms) SAVEPOINT active_record_2
9511
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:34', `current_login_at` = '2013-09-20 16:23:34', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'EAlqKSyqwAvZxqs61NGi', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 3
9512
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9513
+ Processing by Admin::BannerSetsController#show as HTML
9514
+ Parameters: {"id"=>"-1"}
9515
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
9516
+  (0.1ms) SAVEPOINT active_record_2
9517
+  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = '24ZBJP3JH6XjtQNjj9F', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 3
9518
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9519
+ Looking for banner set with id: -1
9520
+ SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
9521
+ Redirected to http://test.host/admin/banner_sets
9522
+ Filter chain halted as :get_record rendered or redirected
9523
+ Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
9524
+  (0.5ms) ROLLBACK
9525
+  (0.0ms) ROLLBACK
9526
+  (0.1ms) BEGIN
9527
+  (0.2ms) BEGIN
9528
+  (0.1ms) SAVEPOINT active_record_2
9529
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9530
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9531
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2c49e5bc7428f24c7d3f07cc9bdf387e491fb5def19b4d903698e118b97e30e7bb0528a39d1084230e3e3f1b4d94cdce681b1166c05b78a2d1a451ceeedf2f0a' LIMIT 1
9532
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lHYfNP7zFWF7FTDbdV' LIMIT 1
9533
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:34', 'e772c158b66feadc3f9d9056e4ca1155c5b019e61af4eb3f515ff86107b9f08d8831b2057648404bb4f231666ddd83468c5e2eb84d8a184cca6f51b1fd3141bf', '2013-09-20 16:23:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:34', 'testuser', 1, 'suhxjNsBovIKrNzTNL9D', 'TsVpORHXo5CbwX2xBluO', '2c49e5bc7428f24c7d3f07cc9bdf387e491fb5def19b4d903698e118b97e30e7bb0528a39d1084230e3e3f1b4d94cdce681b1166c05b78a2d1a451ceeedf2f0a', 'lHYfNP7zFWF7FTDbdV', NULL, 1, NULL, '2013-09-20 16:23:34')
9534
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9535
+  (0.2ms) SAVEPOINT active_record_2
9536
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:34', `current_login_at` = '2013-09-20 16:23:34', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'LEepi3zf4bgp1mmiI3NG', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 4
9537
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9538
+ Processing by Admin::BannerSetsController#new as HTML
9539
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
9540
+  (0.2ms) SAVEPOINT active_record_2
9541
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'wIUFOMkeLnhiBK2Y4CdB', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 4
9542
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9543
+ Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.8ms)
9544
+  (1.0ms) ROLLBACK
9545
+  (0.1ms) ROLLBACK
9546
+  (0.1ms) BEGIN
9547
+  (0.0ms) BEGIN
9548
+  (0.1ms) SAVEPOINT active_record_2
9549
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9550
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9551
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd53cd72b56e5810c9cf6de26f58ee0e2357ea5a7d3af31402d56e2d2abfe2b3e9ca57145903298f1868db3deb5c44f86c63b8c9989cd3057b793a62ebbc70dad' LIMIT 1
9552
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WFIlS22cnmWvAVZl42d' LIMIT 1
9553
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:34', '1dbecaad2ac9992aab44c01abc2816c497b7f2045193738a1eec9899732e8b5e6667a8b0b906935c8d6e243f85ef59ec2d23add082d538cba2c24bccf0ecc0e6', '2013-09-20 16:23:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:34', 'testuser', 1, 'AKb8fntlCdXSwR5lAgp', 'jAb8v1tYdexKXsFuM7et', 'd53cd72b56e5810c9cf6de26f58ee0e2357ea5a7d3af31402d56e2d2abfe2b3e9ca57145903298f1868db3deb5c44f86c63b8c9989cd3057b793a62ebbc70dad', 'WFIlS22cnmWvAVZl42d', NULL, 1, NULL, '2013-09-20 16:23:34')
9554
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9555
+  (0.1ms) SAVEPOINT active_record_2
9556
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:34', `current_login_at` = '2013-09-20 16:23:34', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'FnQ0sLZtZbfp7qrBbq8y', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 5
9557
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9558
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
9559
+ Processing by Admin::BannerSetsController#create as HTML
9560
+ Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 7", "width"=>"600", "height"=>"200", "cropped"=>true}}
9561
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
9562
+  (0.1ms) SAVEPOINT active_record_2
9563
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'DsM0QmJJs3n44apOR2', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 5
9564
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9565
+  (0.1ms) SAVEPOINT active_record_2
9566
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
9567
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:34', 1, 0, 200, 'Banner Set 7', '2013-09-20 16:23:34', 600)
9568
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9569
+ Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 1.6ms)
9570
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` 
9571
+  (3.2ms) ROLLBACK
9572
+  (0.0ms) ROLLBACK
9573
+  (0.0ms) BEGIN
9574
+  (0.1ms) BEGIN
9575
+  (0.1ms) SAVEPOINT active_record_2
9576
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9577
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9578
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a8225d3c474a8803569f34fa747055359133e66658720fd3b72a3606d9de37b0e59200d1d65ad91021ed9f1c876b5df33afad271ef991d9aafac681fac871b3f' LIMIT 1
9579
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'djZFzDniqskhImzLIUiY' LIMIT 1
9580
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:34', '687dd001c092894488d1243d61dea68b02770e4d5773b4fbc796418a9d5eb479719efe89c8a601e87214f42a76d8c168807091ad71813685d17950f1eae5fed9', '2013-09-20 16:23:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:34', 'testuser', 1, 'owHXvAQXbVJ1ltKKS60y', 'WB8gdddis6lTArDlilu', 'a8225d3c474a8803569f34fa747055359133e66658720fd3b72a3606d9de37b0e59200d1d65ad91021ed9f1c876b5df33afad271ef991d9aafac681fac871b3f', 'djZFzDniqskhImzLIUiY', NULL, 1, NULL, '2013-09-20 16:23:34')
9581
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9582
+  (0.1ms) SAVEPOINT active_record_2
9583
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:34', `current_login_at` = '2013-09-20 16:23:34', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'APTIKCXOMzjbUkRFR9P', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 6
9584
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9585
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
9586
+ Processing by Admin::BannerSetsController#create as HTML
9587
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
9588
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
9589
+  (0.1ms) SAVEPOINT active_record_2
9590
+  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'IaKrHcaUugfQG2gtaO5s', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 6
9591
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9592
+  (0.1ms) SAVEPOINT active_record_2
9593
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
9594
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
9595
+ Completed 422 Unprocessable Entity in 11ms (Views: 0.7ms | ActiveRecord: 1.1ms)
9596
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
9597
+  (0.9ms) ROLLBACK
9598
+  (0.1ms) ROLLBACK
9599
+  (0.0ms) BEGIN
9600
+  (0.1ms) BEGIN
9601
+  (0.1ms) SAVEPOINT active_record_2
9602
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9603
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9604
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ffed955ac8bf5bb0c621f67d88a136317f2749b5d3158ed9852c9336060ff97350221e1416d2c9f6af46c30e337e4b2ca0170b7e318466171c92530a94226a03' LIMIT 1
9605
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'S9SB0L8q88Kl0TMlm9k' LIMIT 1
9606
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:34', 'ec29947c52ee7e84d5044634a9663c8bb3daa2994d26999f2eeb2239590ce000f1b8fe9bd40da6aa2cd47139f35a7e5972721af2f82e7326e5cbb6832207cb11', '2013-09-20 16:23:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:34', 'testuser', 1, 'VmTUl6XTlhTxOxAR2sa', 'pHNXcsSQCiuI5KLWae5a', 'ffed955ac8bf5bb0c621f67d88a136317f2749b5d3158ed9852c9336060ff97350221e1416d2c9f6af46c30e337e4b2ca0170b7e318466171c92530a94226a03', 'S9SB0L8q88Kl0TMlm9k', NULL, 1, NULL, '2013-09-20 16:23:34')
9607
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9608
+  (0.1ms) SAVEPOINT active_record_2
9609
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:34', `current_login_at` = '2013-09-20 16:23:34', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = '4U1LRyw3fIVVpl5ZVkfa', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 7
9610
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9611
+  (0.1ms) SAVEPOINT active_record_2
9612
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
9613
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:34', 1, 0, 200, 'Banner Set 8', '2013-09-20 16:23:34', 600)
9614
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9615
+ Processing by Admin::BannerSetsController#edit as HTML
9616
+ Parameters: {"id"=>"8"}
9617
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
9618
+  (0.2ms) SAVEPOINT active_record_2
9619
+  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'clF7dJ9Z6fz132KzNiv4', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 7
9620
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9621
+ Looking for banner set with id: 8
9622
+ SpudBannerSet Load (0.1ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
9623
+ Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 1.0ms)
9624
+  (1.1ms) ROLLBACK
9625
+  (0.1ms) ROLLBACK
9626
+  (0.0ms) BEGIN
9627
+  (0.0ms) BEGIN
9628
+  (0.2ms) SAVEPOINT active_record_2
9629
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9630
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9631
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'af9ae979202ed6be175d4db84ac4ff36097f34fdf2be5be3ea97d361c7ed5f1a11ccd5833a8318da36bffd7010eeaed115ec877bab88500cb1f84cab66bed3bc' LIMIT 1
9632
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'h5j9l1BUE3fdPueeubhN' LIMIT 1
9633
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:34', '574a066ddd393db91e2a4a959d2a198c92ba4b3994276ef182c5c1b80f4d32cf6ec13fe049fc46995384b1e12ea3f7d59a25e9eaf46a84d683996697ec390784', '2013-09-20 16:23:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:34', 'testuser', 1, 'axPRFIAfwuPwI9jrxnE1', 'Epm84QzCGccAQbwtzjZH', 'af9ae979202ed6be175d4db84ac4ff36097f34fdf2be5be3ea97d361c7ed5f1a11ccd5833a8318da36bffd7010eeaed115ec877bab88500cb1f84cab66bed3bc', 'h5j9l1BUE3fdPueeubhN', NULL, 1, NULL, '2013-09-20 16:23:34')
9634
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9635
+  (0.1ms) SAVEPOINT active_record_2
9636
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:34', `current_login_at` = '2013-09-20 16:23:34', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'Uom4P8woVbEDBaG4ckqN', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 8
9637
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9638
+  (0.2ms) SAVEPOINT active_record_2
9639
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
9640
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:34', 1, 0, 200, 'Banner Set 9', '2013-09-20 16:23:34', 600)
9641
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9642
+ Processing by Admin::BannerSetsController#update as HTML
9643
+ Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
9644
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
9645
+  (0.1ms) SAVEPOINT active_record_2
9646
+  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = '42IbHmpQ3uNpqSn3HXwc', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 8
9647
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9648
+ Looking for banner set with id: 9
9649
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
9650
+  (0.2ms) SAVEPOINT active_record_2
9651
+ SpudBannerSet Exists (0.4ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 9) LIMIT 1
9652
+  (0.2ms) UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_banner_sets`.`id` = 9
9653
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9654
+ SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc
9655
+ Completed 200 OK in 65ms (Views: 0.8ms | ActiveRecord: 4.1ms)
9656
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
9657
+  (0.7ms) ROLLBACK
9658
+  (0.0ms) ROLLBACK
9659
+  (0.0ms) BEGIN
9660
+  (0.1ms) BEGIN
9661
+  (0.1ms) SAVEPOINT active_record_2
9662
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9663
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9664
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c5b8fab314f1dd0cd4ba21d31143aaac4a76ab4422d3eb36a5c0abc01d802e3de0849a5b7f86808dd80f90bcd632b001de96bce03ca89fed2b4e1fb41ef21e1e' LIMIT 1
9665
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xMq28qe4uINRcew16R3' LIMIT 1
9666
+ SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:34', 'c850a9bb2b67ed41eb574447dd54960c6da619ac978fe84b0e5192c691366a0d2a975e9324307a5fc6ae94b0a8ca94fe62de07bad1bf4f20ea9d576af618d42b', '2013-09-20 16:23:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:34', 'testuser', 1, 'yp2Bjs7ZO2nOXEdxd', 'SltOTVlO2OjKPCXctjc', 'c5b8fab314f1dd0cd4ba21d31143aaac4a76ab4422d3eb36a5c0abc01d802e3de0849a5b7f86808dd80f90bcd632b001de96bce03ca89fed2b4e1fb41ef21e1e', 'xMq28qe4uINRcew16R3', NULL, 1, NULL, '2013-09-20 16:23:34')
9667
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9668
+  (0.2ms) SAVEPOINT active_record_2
9669
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:34', `current_login_at` = '2013-09-20 16:23:34', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'S5z65zkno3AunG5xwkm', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 9
9670
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9671
+  (0.1ms) SAVEPOINT active_record_2
9672
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
9673
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:34', 1, 0, 200, 'Banner Set 10', '2013-09-20 16:23:34', 600)
9674
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9675
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` 
9676
+ Processing by Admin::BannerSetsController#update as HTML
9677
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"}
9678
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
9679
+  (0.2ms) SAVEPOINT active_record_2
9680
+  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'mkZ7RjEvJsLExnEDXU', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 9
9681
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9682
+ Looking for banner set with id: 10
9683
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1
9684
+  (0.1ms) SAVEPOINT active_record_2
9685
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1
9686
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2
9687
+ Completed 422 Unprocessable Entity in 11ms (Views: 0.7ms | ActiveRecord: 1.9ms)
9688
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
9689
+  (0.9ms) ROLLBACK
9690
+  (0.1ms) ROLLBACK
9691
+  (0.1ms) BEGIN
9692
+  (0.0ms) BEGIN
9693
+  (0.0ms) SAVEPOINT active_record_2
9694
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9695
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9696
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ea788c2e7cf2940e4fb482ed3b94ee37372b01edaca541614489d3a0d386b2323de17a911245ba4f57d7fa2c0364f599e581affe215c5c90b82a4503c8dc74d6' LIMIT 1
9697
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'o5g4uKPxcDBBVvjlcCJ2' LIMIT 1
9698
+ SQL (0.6ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:34', 'acccd26fcf864cef30004f96f1c69e236a01c88f976187d61fcdc758ab55743ed2f42f8567f2b31b88dd3759ccdedb92bbb44408500a96edffa3f5571cae5752', '2013-09-20 16:23:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:34', 'testuser', 1, '6wRJJCN6YTtpCkDRCrLt', 'HaqSgTXHsMOAVcH1b', 'ea788c2e7cf2940e4fb482ed3b94ee37372b01edaca541614489d3a0d386b2323de17a911245ba4f57d7fa2c0364f599e581affe215c5c90b82a4503c8dc74d6', 'o5g4uKPxcDBBVvjlcCJ2', NULL, 1, NULL, '2013-09-20 16:23:34')
9699
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9700
+  (0.1ms) SAVEPOINT active_record_2
9701
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:34', `current_login_at` = '2013-09-20 16:23:34', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = '72bpZMR7p47sf1un868g', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 10
9702
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9703
+  (0.2ms) SAVEPOINT active_record_2
9704
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1
9705
+ SQL (0.3ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:34', 1, 0, 200, 'Banner Set 11', '2013-09-20 16:23:34', 600)
9706
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9707
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` 
9708
+ Processing by Admin::BannerSetsController#destroy as HTML
9709
+ Parameters: {"id"=>"11"}
9710
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
9711
+  (0.2ms) SAVEPOINT active_record_2
9712
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:34', `perishable_token` = 'buBDst5lUI6jZQtgW8p', `updated_at` = '2013-09-20 16:23:34' WHERE `spud_users`.`id` = 10
9713
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9714
+ Looking for banner set with id: 11
9715
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11 LIMIT 1
9716
+  (0.1ms) SAVEPOINT active_record_2
9717
+ SpudBanner Load (0.3ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 11 ORDER BY sort_order asc
9718
+ SQL (0.2ms) DELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11
9719
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9720
+ Completed 200 OK in 12ms (Views: 2.7ms | ActiveRecord: 1.7ms)
9721
+  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets` 
9722
+  (1.0ms) ROLLBACK
9723
+  (0.2ms) ROLLBACK
9724
+ Connecting to database specified by database.yml
9725
+  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS
9726
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
9727
+  (0.1ms) SELECT DATABASE() as db
9728
+  (2.1ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'
9729
+  (1.7ms) TRUNCATE TABLE `spud_banner_sets`;
9730
+  (1.1ms) TRUNCATE TABLE `spud_banners`;
9731
+  (0.9ms) TRUNCATE TABLE `spud_permissions`;
9732
+  (1.0ms) TRUNCATE TABLE `spud_role_permissions`;
9733
+  (0.6ms) TRUNCATE TABLE `spud_roles`;
9734
+  (1.4ms) TRUNCATE TABLE `spud_user_settings`;
9735
+  (1.7ms) TRUNCATE TABLE `spud_users`;
9736
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
9737
+  (0.3ms) BEGIN
9738
+  (0.1ms) BEGIN
9739
+  (0.2ms) SAVEPOINT active_record_2
9740
+ SpudUser Exists (1.8ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9741
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9742
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fa91b5525554a5710e53ba4caa0661d6467ec91c27395f100b5b1c4576e092664e4039b58dbc849374c303f8ec72fb469e366964e3af8cb3e2b9207df0c03a05' LIMIT 1
9743
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 't4iR4p1D8Qcee7uL6lzO' LIMIT 1
9744
+ SQL (1.0ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:54', 'fc1cc3fa5aea3f09592e12f6a8b88bb7e936f925a9eda0d2102675b782dd16b4f6ea485151ccc82de6516638e566d43df236b04348a966dd818d120f79a28a1b', '2013-09-20 16:23:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:54', 'testuser', 1, 'JKBpooFdZtfje72HH', '4X6AZ4LHEDRbFRwpjVG', 'fa91b5525554a5710e53ba4caa0661d6467ec91c27395f100b5b1c4576e092664e4039b58dbc849374c303f8ec72fb469e366964e3af8cb3e2b9207df0c03a05', 't4iR4p1D8Qcee7uL6lzO', NULL, 1, NULL, '2013-09-20 16:23:54')
9745
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9746
+  (0.1ms) SAVEPOINT active_record_2
9747
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:54', `current_login_at` = '2013-09-20 16:23:54', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = 'oxPFwnY3gfZfVQed9tv2', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 1
9748
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9749
+  (0.2ms) SAVEPOINT active_record_2
9750
+ SpudBannerSet Exists (0.7ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
9751
+ SQL (0.3ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:54', 1, 0, 200, 'Banner Set 1', '2013-09-20 16:23:54', 600)
9752
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9753
+  (0.0ms) SAVEPOINT active_record_2
9754
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
9755
+ SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:54', 1, 0, 200, 'Banner Set 2', '2013-09-20 16:23:54', 600)
9756
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9757
+  (0.1ms) SAVEPOINT active_record_2
9758
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
9759
+ SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:54', 1, 0, 200, 'Banner Set 3', '2013-09-20 16:23:54', 600)
9760
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9761
+  (0.1ms) SAVEPOINT active_record_2
9762
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
9763
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:54', 1, 0, 200, 'Banner Set 4', '2013-09-20 16:23:54', 600)
9764
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9765
+  (0.1ms) SAVEPOINT active_record_2
9766
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
9767
+ SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:54', 1, 0, 200, 'Banner Set 5', '2013-09-20 16:23:54', 600)
9768
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9769
+ Processing by Admin::BannerSetsController#index as HTML
9770
+ SpudUser Load (0.5ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
9771
+  (0.2ms) SAVEPOINT active_record_2
9772
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = 'Q1FFILRrvsnvzoqiZYP0', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 1
9773
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9774
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` 
9775
+ Rendered /Users/gregwoods/Source/twice_baked/tb_banners/app/views/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (0.2ms)
9776
+ Completed 200 OK in 19ms (Views: 9.8ms | ActiveRecord: 1.1ms)
9777
+  (1.0ms) ROLLBACK
9778
+  (0.1ms) ROLLBACK
9779
+  (0.0ms) BEGIN
9780
+  (0.0ms) BEGIN
9781
+  (0.2ms) SAVEPOINT active_record_2
9782
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9783
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9784
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8e241265e5453655cd39b9f94bf12103e1180b2cbed8afb091516cc5b5ef6027e6d42ef0e63c386861f814a218a3ee34605ec06f6e196a180567fabea8569d0a' LIMIT 1
9785
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pHu0qRvT37U9N7oHp' LIMIT 1
9786
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:54', '2aabd0d60299a85808599dfc912c3e126e3c5ff7d1161d142d654bd397f8ca576c878ad836af55945b5a2dff15e729dd9e9de4f7d1a5fd5d4ec636e0fb5e0ad7', '2013-09-20 16:23:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:54', 'testuser', 1, 'ziIvdXS6OZKdTMZyQco', 'A47ARrPg4RYTO0fSuPWn', '8e241265e5453655cd39b9f94bf12103e1180b2cbed8afb091516cc5b5ef6027e6d42ef0e63c386861f814a218a3ee34605ec06f6e196a180567fabea8569d0a', 'pHu0qRvT37U9N7oHp', NULL, 1, NULL, '2013-09-20 16:23:54')
9787
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9788
+  (0.2ms) SAVEPOINT active_record_2
9789
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:54', `current_login_at` = '2013-09-20 16:23:54', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = '2T3NGvgmFn9TeT2bX9q', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 2
9790
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9791
+  (0.2ms) SAVEPOINT active_record_2
9792
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
9793
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:54', 1, 0, 200, 'Banner Set 6', '2013-09-20 16:23:54', 600)
9794
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9795
+ Processing by Admin::BannerSetsController#show as HTML
9796
+ Parameters: {"id"=>"6"}
9797
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
9798
+  (0.3ms) SAVEPOINT active_record_2
9799
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = 'wNQhgs9fS1RCC0aBRmhA', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 2
9800
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9801
+ Looking for banner set with id: 6
9802
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
9803
+ Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 1.1ms)
9804
+  (0.8ms) ROLLBACK
9805
+  (0.1ms) ROLLBACK
9806
+  (0.1ms) BEGIN
9807
+  (0.1ms) BEGIN
9808
+  (0.1ms) SAVEPOINT active_record_2
9809
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9810
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9811
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9c50118f48585cee40f6749cf9baea55054d54d5cb6893d2379f48bdc3797294b847eb6ba96b2736ba9af709d823a4286be3b234dff49f9cffcb703968358fcf' LIMIT 1
9812
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4IpO6IS5mRj3tOHbYhN' LIMIT 1
9813
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:54', '578b58417162a744ed7577e9276031b86aa3ebaed656d883928618abd039cd5a11ca2dad6af12f520bf25ae1e11d86f8f0e4429353851da75b47016a8427b268', '2013-09-20 16:23:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:54', 'testuser', 1, '4RW1VfKErU2b7smWzuU1', 'fCMYh160gG37k2CicT6g', '9c50118f48585cee40f6749cf9baea55054d54d5cb6893d2379f48bdc3797294b847eb6ba96b2736ba9af709d823a4286be3b234dff49f9cffcb703968358fcf', '4IpO6IS5mRj3tOHbYhN', NULL, 1, NULL, '2013-09-20 16:23:54')
9814
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9815
+  (0.2ms) SAVEPOINT active_record_2
9816
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:54', `current_login_at` = '2013-09-20 16:23:54', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = 'KQr2Vuyn4yafDicMvX4N', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 3
9817
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9818
+ Processing by Admin::BannerSetsController#show as HTML
9819
+ Parameters: {"id"=>"-1"}
9820
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
9821
+  (0.2ms) SAVEPOINT active_record_2
9822
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = 'tGNk8CIDbivT1nBkGKv', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 3
9823
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9824
+ Looking for banner set with id: -1
9825
+ SpudBannerSet Load (0.1ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
9826
+ Redirected to http://test.host/admin/banner_sets
9827
+ Filter chain halted as :get_record rendered or redirected
9828
+ Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
9829
+  (0.9ms) ROLLBACK
9830
+  (0.2ms) ROLLBACK
9831
+  (0.1ms) BEGIN
9832
+  (0.1ms) BEGIN
9833
+  (0.2ms) SAVEPOINT active_record_2
9834
+ SpudUser Exists (25.9ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9835
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9836
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f76a756e4f6c49fb4b2e8f6de86bcc1bc112d863ec0d04e6516f8cf30cee57e536af297bf1d7b1fe8340b0d80aa899a80996338ddb179236d7bcdbb895152a3e' LIMIT 1
9837
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PGvR5P1xKEVtZMAjFLsR' LIMIT 1
9838
+ SQL (0.8ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:54', '4ccdadf55d38eb3ba8672dbd905562ef20e9f367bd7240b32877658326910c830d7d97e3c561693cf73f91a9a86a03114eb211392e07c25738003f6c9772493c', '2013-09-20 16:23:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:54', 'testuser', 1, 'x9jjTwEN3xHRODOgkm', 'ZSOL6s9WR1Q9AmAxNgSZ', 'f76a756e4f6c49fb4b2e8f6de86bcc1bc112d863ec0d04e6516f8cf30cee57e536af297bf1d7b1fe8340b0d80aa899a80996338ddb179236d7bcdbb895152a3e', 'PGvR5P1xKEVtZMAjFLsR', NULL, 1, NULL, '2013-09-20 16:23:54')
9839
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9840
+  (0.2ms) SAVEPOINT active_record_2
9841
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:54', `current_login_at` = '2013-09-20 16:23:54', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = 'OzH9jJc05KMYOunx6n8', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 4
9842
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9843
+ Processing by Admin::BannerSetsController#new as HTML
9844
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
9845
+  (0.2ms) SAVEPOINT active_record_2
9846
+  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = 'DaK8kTuaZ4vO2saYU', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 4
9847
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9848
+ Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 1.0ms)
9849
+  (0.7ms) ROLLBACK
9850
+  (0.1ms) ROLLBACK
9851
+  (0.0ms) BEGIN
9852
+  (0.0ms) BEGIN
9853
+  (0.2ms) SAVEPOINT active_record_2
9854
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9855
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9856
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4221c0c147d2c93cf8276550a7a6d4a2ddfd496a6af068c637af17427e4c769600ab310c9cd0fda9a9c703277a9233c6680a23daf4d9dc1885768f50295f4653' LIMIT 1
9857
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FA18cekOLu9Ka9ReCvuO' LIMIT 1
9858
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:54', '8a05036f1e8041fab0159d11b1a8ce133648d9a4c523f9c8e0c925c0423231685f66efff1ebf4b9b5ce8ab4d6f73a908de6570b7f112a33331a8ad0d966a46d9', '2013-09-20 16:23:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:54', 'testuser', 1, 'mPVdMk7ZjCjY6ej6aUYO', 'wtmcMlLaIsNs8ijjE2y5', '4221c0c147d2c93cf8276550a7a6d4a2ddfd496a6af068c637af17427e4c769600ab310c9cd0fda9a9c703277a9233c6680a23daf4d9dc1885768f50295f4653', 'FA18cekOLu9Ka9ReCvuO', NULL, 1, NULL, '2013-09-20 16:23:54')
9859
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9860
+  (0.2ms) SAVEPOINT active_record_2
9861
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:54', `current_login_at` = '2013-09-20 16:23:54', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = 'B43fsnkbYTC7l3QBXc', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 5
9862
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9863
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
9864
+ Processing by Admin::BannerSetsController#create as HTML
9865
+ Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 7", "width"=>"600", "height"=>"200", "cropped"=>true}}
9866
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
9867
+  (0.1ms) SAVEPOINT active_record_2
9868
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = '1Utjzh8EkuQ5yswPTF45', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 5
9869
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9870
+  (0.1ms) SAVEPOINT active_record_2
9871
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
9872
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:54', 1, 0, 200, 'Banner Set 7', '2013-09-20 16:23:54', 600)
9873
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9874
+ Completed 200 OK in 9ms (Views: 1.2ms | ActiveRecord: 1.3ms)
9875
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` 
9876
+  (1.8ms) ROLLBACK
9877
+  (0.2ms) ROLLBACK
9878
+  (0.1ms) BEGIN
9879
+  (0.0ms) BEGIN
9880
+  (0.1ms) SAVEPOINT active_record_2
9881
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9882
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9883
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6832c5dcf7b63ca762df051a9d3d36787757437514cacdb4e9e7d95c52208cfc4ebb863560c67ecd1875bbcb740deea842b81bb7c111cc974ece2b17ad68c1fb' LIMIT 1
9884
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bhaHOscqe80jCGAs5hGl' LIMIT 1
9885
+ SQL (0.7ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:54', 'df55e45d7cc3c5c98272e0813634aeeab1fc5575e5e83d183cf4533194a47c010dae2cab19c6f91561a37d016d17f386e4ee07648d0d15f32f930c8ee7d786ff', '2013-09-20 16:23:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:54', 'testuser', 1, 'uF1KpvauEm1m4mNHckw', 'Kf3NoKdGbJhEcWqQrba', '6832c5dcf7b63ca762df051a9d3d36787757437514cacdb4e9e7d95c52208cfc4ebb863560c67ecd1875bbcb740deea842b81bb7c111cc974ece2b17ad68c1fb', 'bhaHOscqe80jCGAs5hGl', NULL, 1, NULL, '2013-09-20 16:23:54')
9886
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9887
+  (0.1ms) SAVEPOINT active_record_2
9888
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:54', `current_login_at` = '2013-09-20 16:23:54', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = 'UBPxWmp52IYIXGU7ofYR', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 6
9889
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9890
+  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets`
9891
+ Processing by Admin::BannerSetsController#create as HTML
9892
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
9893
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
9894
+  (0.1ms) SAVEPOINT active_record_2
9895
+  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = 'HMDXY8pcQSxZ3YQEYnL', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 6
9896
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9897
+  (0.1ms) SAVEPOINT active_record_2
9898
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
9899
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
9900
+ Completed 422 Unprocessable Entity in 10ms (Views: 0.7ms | ActiveRecord: 1.3ms)
9901
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
9902
+  (0.9ms) ROLLBACK
9903
+  (0.1ms) ROLLBACK
9904
+  (0.0ms) BEGIN
9905
+  (0.0ms) BEGIN
9906
+  (0.2ms) SAVEPOINT active_record_2
9907
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9908
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9909
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9897d300b8423f8add8f3ac81c632e6c4d32644f5c51fc70a5abcbc022779a1e92806f830a102638148e1dd4a6bfcb3347da892cbc58020ccdef69e4503a48cc' LIMIT 1
9910
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hmUtRSu9l6Kl4c5ua0N' LIMIT 1
9911
+ SQL (0.8ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:54', '1436aa99dfce2c96ee5552e751588f2a0391a4e3b923f2e986fc3e1d6dea3187f2ba4b40642158adcc214fd46e4318f4af3fc2f395caa74e1c6f563106f871d2', '2013-09-20 16:23:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:54', 'testuser', 1, 'GUbzvvVaosp3HjHGpE2E', 'r68nMU7X2JX83oa7qLjz', '9897d300b8423f8add8f3ac81c632e6c4d32644f5c51fc70a5abcbc022779a1e92806f830a102638148e1dd4a6bfcb3347da892cbc58020ccdef69e4503a48cc', 'hmUtRSu9l6Kl4c5ua0N', NULL, 1, NULL, '2013-09-20 16:23:54')
9912
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9913
+  (0.1ms) SAVEPOINT active_record_2
9914
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:54', `current_login_at` = '2013-09-20 16:23:54', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = 'BNbHTK0y8HenhluLA7', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 7
9915
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9916
+  (0.1ms) SAVEPOINT active_record_2
9917
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
9918
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:54', 1, 0, 200, 'Banner Set 8', '2013-09-20 16:23:54', 600)
9919
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9920
+ Processing by Admin::BannerSetsController#edit as HTML
9921
+ Parameters: {"id"=>"8"}
9922
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
9923
+  (0.2ms) SAVEPOINT active_record_2
9924
+  (0.4ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = 'EC8XJWICy7hTWFr9z8zx', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 7
9925
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9926
+ Looking for banner set with id: 8
9927
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
9928
+ Completed 200 OK in 8ms (Views: 1.1ms | ActiveRecord: 1.3ms)
9929
+  (0.9ms) ROLLBACK
9930
+  (0.0ms) ROLLBACK
9931
+  (0.0ms) BEGIN
9932
+  (0.0ms) BEGIN
9933
+  (0.1ms) SAVEPOINT active_record_2
9934
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9935
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9936
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b8e79efdac0a439a238af338142421196de37f713647fbfc0788bcbe04ab9c5995a75abcd38224bed4aaceacf9751ddf1bb7094519166cec704d042d052b54c1' LIMIT 1
9937
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5HTJtEsyyzMoYsqRssE5' LIMIT 1
9938
+ SQL (0.8ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:54', 'd15f224608c61d4b4afad31a6e8c74767fdd1824a05eb087245480bdf0cb39fcabd18f8facf91ab30e314a52210d683c5dd6907dcf72b93f426fdde08aa140ec', '2013-09-20 16:23:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:54', 'testuser', 1, 'GJacF7Ne0dPl35s0Cjd', '1nVkkvX6T0N9f1OhVpX3', 'b8e79efdac0a439a238af338142421196de37f713647fbfc0788bcbe04ab9c5995a75abcd38224bed4aaceacf9751ddf1bb7094519166cec704d042d052b54c1', '5HTJtEsyyzMoYsqRssE5', NULL, 1, NULL, '2013-09-20 16:23:54')
9939
+  (0.0ms) RELEASE SAVEPOINT active_record_2
9940
+  (0.1ms) SAVEPOINT active_record_2
9941
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:54', `current_login_at` = '2013-09-20 16:23:54', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = 'bLJjqNxhb4XE0YyrQs0z', `updated_at` = '2013-09-20 16:23:54' WHERE `spud_users`.`id` = 8
9942
+  (0.2ms) RELEASE SAVEPOINT active_record_2
9943
+  (0.1ms) SAVEPOINT active_record_2
9944
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
9945
+ SQL (0.3ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:54', 1, 0, 200, 'Banner Set 9', '2013-09-20 16:23:54', 600)
9946
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9947
+ Processing by Admin::BannerSetsController#update as HTML
9948
+ Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
9949
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
9950
+  (0.1ms) SAVEPOINT active_record_2
9951
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:54', `perishable_token` = '3OicTbfRAn1AfKMLgCGi', `updated_at` = '2013-09-20 16:23:55' WHERE `spud_users`.`id` = 8
9952
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9953
+ Looking for banner set with id: 9
9954
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
9955
+  (0.1ms) SAVEPOINT active_record_2
9956
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 9) LIMIT 1
9957
+  (0.3ms) UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2013-09-20 16:23:55' WHERE `spud_banner_sets`.`id` = 9
9958
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9959
+ SpudBanner Load (0.3ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc
9960
+ Completed 200 OK in 57ms (Views: 0.7ms | ActiveRecord: 4.2ms)
9961
+ SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
9962
+  (0.4ms) ROLLBACK
9963
+  (0.1ms) ROLLBACK
9964
+  (0.0ms) BEGIN
9965
+  (0.0ms) BEGIN
9966
+  (0.1ms) SAVEPOINT active_record_2
9967
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
9968
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
9969
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1b9e779d9449c744c3b70ad688c54c81a3e3f3e78665de2a5863e097d15eaeaf3ec0485b6508b930574c9a8e5f57627ed09dbd66f3a851cffea0e3a02afec8d0' LIMIT 1
9970
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pLuVx4vxIh2kR9bCs5M' LIMIT 1
9971
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:55', '4df9a5debfaf44255f12000a23731dc1f51dcd8fe1eb4188c267a632e38340ff90aaf4c7cace3a61002c8b5ae72ff468933042f897ec4c6504e89e2e7b69a61a', '2013-09-20 16:23:55', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:55', 'testuser', 1, 'egfSfnN5h0Sv0subxca', 'Kk41b6vQtv7TnmLotJf2', '1b9e779d9449c744c3b70ad688c54c81a3e3f3e78665de2a5863e097d15eaeaf3ec0485b6508b930574c9a8e5f57627ed09dbd66f3a851cffea0e3a02afec8d0', 'pLuVx4vxIh2kR9bCs5M', NULL, 1, NULL, '2013-09-20 16:23:55')
9972
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9973
+  (0.2ms) SAVEPOINT active_record_2
9974
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:55', `current_login_at` = '2013-09-20 16:23:55', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:55', `perishable_token` = 'ap9jj0lBZn4VIT9OIKrg', `updated_at` = '2013-09-20 16:23:55' WHERE `spud_users`.`id` = 9
9975
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9976
+  (0.1ms) SAVEPOINT active_record_2
9977
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
9978
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:55', 1, 0, 200, 'Banner Set 10', '2013-09-20 16:23:55', 600)
9979
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9980
+  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets` 
9981
+ Processing by Admin::BannerSetsController#update as HTML
9982
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"}
9983
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
9984
+  (0.2ms) SAVEPOINT active_record_2
9985
+  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:55', `perishable_token` = 'sJTozxz7vDasz4gRNmT', `updated_at` = '2013-09-20 16:23:55' WHERE `spud_users`.`id` = 9
9986
+  (0.1ms) RELEASE SAVEPOINT active_record_2
9987
+ Looking for banner set with id: 10
9988
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1
9989
+  (0.1ms) SAVEPOINT active_record_2
9990
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1
9991
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2
9992
+ Completed 422 Unprocessable Entity in 10ms (Views: 0.6ms | ActiveRecord: 1.6ms)
9993
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
9994
+  (0.9ms) ROLLBACK
9995
+  (0.1ms) ROLLBACK
9996
+  (0.1ms) BEGIN
9997
+  (0.0ms) BEGIN
9998
+  (0.1ms) SAVEPOINT active_record_2
9999
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
10000
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
10001
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4e6a405675f7735bdc74ec67f936210dc5ba7b99107739af024ef8e9188570bc128c0943a748b37dfd955347ca298df3e76e7a593c7ecc79247c9dbdc8e5335d' LIMIT 1
10002
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YmqwGZYKGnK9c7B4TMN' LIMIT 1
10003
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:23:55', '1d3273bb8f9ed23735f9442a9c155f3748f1308d204a58804b116aba5c1de39ca341961ab49053821e30fa755367ef0d367719f7b87c096f96df06f1f81f0032', '2013-09-20 16:23:55', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:23:55', 'testuser', 1, 'znqmihyEjTJNhTrRMf', '8hIWQfFWKAK3wOmMBPy', '4e6a405675f7735bdc74ec67f936210dc5ba7b99107739af024ef8e9188570bc128c0943a748b37dfd955347ca298df3e76e7a593c7ecc79247c9dbdc8e5335d', 'YmqwGZYKGnK9c7B4TMN', NULL, 1, NULL, '2013-09-20 16:23:55')
10004
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10005
+  (0.1ms) SAVEPOINT active_record_2
10006
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:23:55', `current_login_at` = '2013-09-20 16:23:55', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:23:55', `perishable_token` = 'Mt8ob9LntDLUcVp32Te', `updated_at` = '2013-09-20 16:23:55' WHERE `spud_users`.`id` = 10
10007
+  (0.2ms) RELEASE SAVEPOINT active_record_2
10008
+  (0.2ms) SAVEPOINT active_record_2
10009
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1
10010
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:23:55', 1, 0, 200, 'Banner Set 11', '2013-09-20 16:23:55', 600)
10011
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10012
+  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets` 
10013
+ Processing by Admin::BannerSetsController#destroy as HTML
10014
+ Parameters: {"id"=>"11"}
10015
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
10016
+  (0.1ms) SAVEPOINT active_record_2
10017
+  (0.4ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:23:55', `perishable_token` = '63JDBM2oh7QiFqdtpfsl', `updated_at` = '2013-09-20 16:23:55' WHERE `spud_users`.`id` = 10
10018
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10019
+ Looking for banner set with id: 11
10020
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11 LIMIT 1
10021
+  (0.1ms) SAVEPOINT active_record_2
10022
+ SpudBanner Load (0.3ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 11 ORDER BY sort_order asc
10023
+ SQL (0.2ms) DELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11
10024
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10025
+ Completed 200 OK in 12ms (Views: 2.1ms | ActiveRecord: 1.9ms)
10026
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` 
10027
+  (0.8ms) ROLLBACK
10028
+  (0.0ms) ROLLBACK
10029
+ Connecting to database specified by database.yml
10030
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
10031
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
10032
+  (0.1ms) SELECT DATABASE() as db
10033
+  (0.8ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'
10034
+  (2.6ms) TRUNCATE TABLE `spud_banner_sets`;
10035
+  (0.7ms) TRUNCATE TABLE `spud_banners`;
10036
+  (1.0ms) TRUNCATE TABLE `spud_permissions`;
10037
+  (0.8ms) TRUNCATE TABLE `spud_role_permissions`;
10038
+  (0.7ms) TRUNCATE TABLE `spud_roles`;
10039
+  (0.8ms) TRUNCATE TABLE `spud_user_settings`;
10040
+  (1.3ms) TRUNCATE TABLE `spud_users`;
10041
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
10042
+  (0.1ms) BEGIN
10043
+  (0.1ms) BEGIN
10044
+  (0.2ms) SAVEPOINT active_record_2
10045
+ SpudUser Exists (3.6ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
10046
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
10047
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6606be953d09deeefaed400eb6de1de96c366f535703cdc0dc4d9aa57d19eb1eb3b92ac162c3b430507d304c044da696653398b3742c76a23762747f6dda8520' LIMIT 1
10048
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vLcXVBbKPvMgQugpoI4o' LIMIT 1
10049
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:27:38', '3e144bbb821abe397d4f6aa54cb819cf90ec641166fddb0a82d164d79ed855e11f28b89563f2a0a85ecdb68bdfbf2ad1a38c7fb7290cd58de1000232acccc488', '2013-09-20 16:27:38', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:27:38', 'testuser', 1, 'uLDioCnBR0k7cuhnKuOh', 'RNmGpJDaev18v1GC0UOX', '6606be953d09deeefaed400eb6de1de96c366f535703cdc0dc4d9aa57d19eb1eb3b92ac162c3b430507d304c044da696653398b3742c76a23762747f6dda8520', 'vLcXVBbKPvMgQugpoI4o', NULL, 1, NULL, '2013-09-20 16:27:38')
10050
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10051
+  (0.1ms) SAVEPOINT active_record_2
10052
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:27:38', `current_login_at` = '2013-09-20 16:27:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:27:38', `perishable_token` = 'SocPr9D1kAYZTboLk9RM', `updated_at` = '2013-09-20 16:27:38' WHERE `spud_users`.`id` = 1
10053
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10054
+  (0.2ms) SAVEPOINT active_record_2
10055
+ SpudBannerSet Exists (0.4ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
10056
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:27:38', 1, 0, 200, 'Banner Set 1', '2013-09-20 16:27:38', 600)
10057
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10058
+  (0.1ms) SAVEPOINT active_record_2
10059
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
10060
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:27:38', 1, 0, 200, 'Banner Set 2', '2013-09-20 16:27:38', 600)
10061
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10062
+  (0.1ms) SAVEPOINT active_record_2
10063
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
10064
+ SQL (0.3ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:27:38', 1, 0, 200, 'Banner Set 3', '2013-09-20 16:27:38', 600)
10065
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10066
+  (0.1ms) SAVEPOINT active_record_2
10067
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
10068
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:27:38', 1, 0, 200, 'Banner Set 4', '2013-09-20 16:27:38', 600)
10069
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10070
+  (0.1ms) SAVEPOINT active_record_2
10071
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
10072
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:27:38', 1, 0, 200, 'Banner Set 5', '2013-09-20 16:27:38', 600)
10073
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10074
+ Processing by Admin::BannerSetsController#index as HTML
10075
+ SpudUser Load (0.5ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
10076
+  (0.1ms) SAVEPOINT active_record_2
10077
+  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:27:38', `perishable_token` = 'evtayJhbq04MJuANscF', `updated_at` = '2013-09-20 16:27:38' WHERE `spud_users`.`id` = 1
10078
+  (0.2ms) RELEASE SAVEPOINT active_record_2
10079
+ SpudBannerSet Load (0.1ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` 
10080
+ Rendered /Users/gregwoods/Source/twice_baked/tb_banners/app/views/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (0.2ms)
10081
+ Completed 200 OK in 45ms (Views: 35.2ms | ActiveRecord: 1.2ms)
10082
+  (1.2ms) ROLLBACK
10083
+  (0.1ms) ROLLBACK
10084
+  (0.0ms) BEGIN
10085
+  (0.1ms) BEGIN
10086
+  (0.1ms) SAVEPOINT active_record_2
10087
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
10088
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
10089
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3e39f14b396db553b9892057cfc2b74aefe5b20257da1e2534b09504c8d5e12c3dcedc2ad17bbfb0eb9249633c624190bb5787e21fc0894854369039347bba2a' LIMIT 1
10090
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QLHfF8Q6b5CNoKtiC0' LIMIT 1
10091
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:27:38', 'cb630914d431cc376c805259df690d63d3fd5831a3218ac1cbb506f1c650aa256573f817b6107c2c1ad9dc100340de89ee83de898a6593d4b0a8c97a25234eac', '2013-09-20 16:27:38', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:27:38', 'testuser', 1, 'hlyEJvmioDElj8hgexwB', 'ZzoJ40mvMJtpdnOQk1Q', '3e39f14b396db553b9892057cfc2b74aefe5b20257da1e2534b09504c8d5e12c3dcedc2ad17bbfb0eb9249633c624190bb5787e21fc0894854369039347bba2a', 'QLHfF8Q6b5CNoKtiC0', NULL, 1, NULL, '2013-09-20 16:27:38')
10092
+  (0.2ms) RELEASE SAVEPOINT active_record_2
10093
+  (0.1ms) SAVEPOINT active_record_2
10094
+  (1.1ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:27:38', `current_login_at` = '2013-09-20 16:27:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:27:38', `perishable_token` = '0JZnLAyvhwo9Bge4syvV', `updated_at` = '2013-09-20 16:27:38' WHERE `spud_users`.`id` = 2
10095
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10096
+  (0.1ms) SAVEPOINT active_record_2
10097
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
10098
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:27:38', 1, 0, 200, 'Banner Set 6', '2013-09-20 16:27:38', 600)
10099
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10100
+ Processing by Admin::BannerSetsController#show as HTML
10101
+ Parameters: {"id"=>"6"}
10102
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
10103
+  (0.1ms) SAVEPOINT active_record_2
10104
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:27:38', `perishable_token` = 'nf7naDZa1hpyjPsuB', `updated_at` = '2013-09-20 16:27:38' WHERE `spud_users`.`id` = 2
10105
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10106
+ Looking for banner set with id: 6
10107
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
10108
+ Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 1.0ms)
10109
+  (0.9ms) ROLLBACK
10110
+  (0.0ms) ROLLBACK
10111
+  (0.0ms) BEGIN
10112
+  (0.0ms) BEGIN
10113
+  (0.1ms) SAVEPOINT active_record_2
10114
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
10115
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
10116
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '414cc15fe69f52287338252e339425c5960bc00ac141d3175168b50a06a3d778dda3e71ec022c3b767031084bcc65e412b722f95f42b8cd6c7596c6a3a30561f' LIMIT 1
10117
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hU0eBR9mdokddI8JWe' LIMIT 1
10118
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:27:38', '4aea58c4af10abbb6d7a9347fc3d032d275282c888257c726bda53ec6fe1a7e8bda95697383dab6d8d867653ddb5acf6b278b2859d92e612d4f89fe50396f714', '2013-09-20 16:27:38', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:27:38', 'testuser', 1, 'ake4kfhgUMrJJRW2bp', 'bV8CvDPQW8xLt1DCm4yg', '414cc15fe69f52287338252e339425c5960bc00ac141d3175168b50a06a3d778dda3e71ec022c3b767031084bcc65e412b722f95f42b8cd6c7596c6a3a30561f', 'hU0eBR9mdokddI8JWe', NULL, 1, NULL, '2013-09-20 16:27:38')
10119
+  (0.2ms) RELEASE SAVEPOINT active_record_2
10120
+  (0.2ms) SAVEPOINT active_record_2
10121
+  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:27:38', `current_login_at` = '2013-09-20 16:27:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:27:38', `perishable_token` = 'lHzzzHm8roUw7Xh6y', `updated_at` = '2013-09-20 16:27:38' WHERE `spud_users`.`id` = 3
10122
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10123
+ Processing by Admin::BannerSetsController#show as HTML
10124
+ Parameters: {"id"=>"-1"}
10125
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
10126
+  (0.2ms) SAVEPOINT active_record_2
10127
+  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:27:38', `perishable_token` = 'OiVfQWfYqOeaC88Wg3W', `updated_at` = '2013-09-20 16:27:38' WHERE `spud_users`.`id` = 3
10128
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10129
+ Looking for banner set with id: -1
10130
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
10131
+ Redirected to http://test.host/admin/banner_sets
10132
+ Filter chain halted as :get_record rendered or redirected
10133
+ Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
10134
+  (0.9ms) ROLLBACK
10135
+  (0.1ms) ROLLBACK
10136
+  (0.1ms) BEGIN
10137
+  (0.1ms) BEGIN
10138
+  (0.2ms) SAVEPOINT active_record_2
10139
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
10140
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
10141
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '13f328f622f244745ec35126c3c283066d0c7f9ac537c921338ba5d87c8b52144d72a049a61c97d242a8d1240986addb2070ca297604dd2027cd7dad8b79b10d' LIMIT 1
10142
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fX4LikWHkbUdEbcPs0JH' LIMIT 1
10143
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:27:38', '9dc2a5571132a876391c69b08e7eb9924bc123a329685eb8b6e9dd166a01b3507a34f5328af7af9551057e45549c6c459e24ea11463f0e5c6e0af613cce04cf9', '2013-09-20 16:27:38', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:27:38', 'testuser', 1, 'qWIsjtWPgWq06p0pkN', 'azXmnIxRBJqZpRteJJsi', '13f328f622f244745ec35126c3c283066d0c7f9ac537c921338ba5d87c8b52144d72a049a61c97d242a8d1240986addb2070ca297604dd2027cd7dad8b79b10d', 'fX4LikWHkbUdEbcPs0JH', NULL, 1, NULL, '2013-09-20 16:27:38')
10144
+  (0.0ms) RELEASE SAVEPOINT active_record_2
10145
+  (0.0ms) SAVEPOINT active_record_2
10146
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:27:38', `current_login_at` = '2013-09-20 16:27:38', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:27:38', `perishable_token` = '8Ze9yBNVaNhOSRR5vRxl', `updated_at` = '2013-09-20 16:27:38' WHERE `spud_users`.`id` = 4
10147
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10148
+ Processing by Admin::BannerSetsController#new as HTML
10149
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
10150
+  (0.2ms) SAVEPOINT active_record_2
10151
+  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:27:39', `perishable_token` = 's3AloSwLmzrCUIESuQL', `updated_at` = '2013-09-20 16:27:39' WHERE `spud_users`.`id` = 4
10152
+  (0.2ms) RELEASE SAVEPOINT active_record_2
10153
+ Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.9ms)
10154
+  (0.9ms) ROLLBACK
10155
+  (0.1ms) ROLLBACK
10156
+  (0.0ms) BEGIN
10157
+  (0.1ms) BEGIN
10158
+  (0.0ms) SAVEPOINT active_record_2
10159
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
10160
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
10161
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ad79becf0e0595d26bc22444fd20cca441411089173f75ab00698b8fdc78f29b564771f8842bf9899b57da89c8582904c3001aeee0aa2b84fbd42fcb2ca9d56a' LIMIT 1
10162
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 't3ula2BERMzZPxgkN1BZ' LIMIT 1
10163
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:27:39', 'b7ae3c36e8b2f8ec81d12028b30b6026128ac0c807f749602ef18775473952afdb8701513c2ee554e962df5fe0ebf5206aa3dfd791519fa8b28205d03853a482', '2013-09-20 16:27:39', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:27:39', 'testuser', 1, 'wdSxXZfR6UvXhV8OaNBO', 'lm4kmc8GebMFclIRp1J4', 'ad79becf0e0595d26bc22444fd20cca441411089173f75ab00698b8fdc78f29b564771f8842bf9899b57da89c8582904c3001aeee0aa2b84fbd42fcb2ca9d56a', 't3ula2BERMzZPxgkN1BZ', NULL, 1, NULL, '2013-09-20 16:27:39')
10164
+  (0.0ms) RELEASE SAVEPOINT active_record_2
10165
+  (0.1ms) SAVEPOINT active_record_2
10166
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:27:39', `current_login_at` = '2013-09-20 16:27:39', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:27:39', `perishable_token` = 'r7QtILWXSYXvj80mfpy', `updated_at` = '2013-09-20 16:27:39' WHERE `spud_users`.`id` = 5
10167
+  (0.2ms) RELEASE SAVEPOINT active_record_2
10168
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
10169
+ Processing by Admin::BannerSetsController#create as HTML
10170
+ Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 7", "width"=>"600", "height"=>"200", "cropped"=>true}}
10171
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
10172
+  (0.1ms) SAVEPOINT active_record_2
10173
+  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:27:39', `perishable_token` = 'WeWlmpJkx9tOYQCEWhwJ', `updated_at` = '2013-09-20 16:27:39' WHERE `spud_users`.`id` = 5
10174
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10175
+  (0.2ms) SAVEPOINT active_record_2
10176
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
10177
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:27:39', 1, 0, 200, 'Banner Set 7', '2013-09-20 16:27:39', 600)
10178
+  (0.0ms) RELEASE SAVEPOINT active_record_2
10179
+ Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 1.5ms)
10180
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` 
10181
+  (0.9ms) ROLLBACK
10182
+  (0.1ms) ROLLBACK
10183
+  (0.0ms) BEGIN
10184
+  (0.0ms) BEGIN
10185
+  (0.2ms) SAVEPOINT active_record_2
10186
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
10187
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
10188
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5a852ff955e9c5ac8b57534ac3075c1e39867b824830bbb4eb321dd27ee73b1db9161aa0e16c053027ba83929908390df98ab98414c287b7b0ca288a61c0a678' LIMIT 1
10189
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eIw9jdW64qZQmkepnNKQ' LIMIT 1
10190
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:27:39', '99930d8e0531d94e734efa4ddbd1910dc33c139815ab08145bc68cb580f26e4acc48f8bc41888ef637e25b00d1427c7f4c6701a64abb0c20f1d9d7c9dd24d259', '2013-09-20 16:27:39', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:27:39', 'testuser', 1, 'EDFS1mPWKx3vpYbWvf', 'rtOyguna5AMDMDiyhJq', '5a852ff955e9c5ac8b57534ac3075c1e39867b824830bbb4eb321dd27ee73b1db9161aa0e16c053027ba83929908390df98ab98414c287b7b0ca288a61c0a678', 'eIw9jdW64qZQmkepnNKQ', NULL, 1, NULL, '2013-09-20 16:27:39')
10191
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10192
+  (0.2ms) SAVEPOINT active_record_2
10193
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:27:39', `current_login_at` = '2013-09-20 16:27:39', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:27:39', `perishable_token` = '4LoBxk2gvpISkkqH7Px6', `updated_at` = '2013-09-20 16:27:39' WHERE `spud_users`.`id` = 6
10194
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10195
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
10196
+ Processing by Admin::BannerSetsController#create as HTML
10197
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
10198
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
10199
+  (0.2ms) SAVEPOINT active_record_2
10200
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:27:39', `perishable_token` = 'Pyl8T30Y7j6mIxLgcOe', `updated_at` = '2013-09-20 16:27:39' WHERE `spud_users`.`id` = 6
10201
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10202
+  (0.1ms) SAVEPOINT active_record_2
10203
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
10204
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
10205
+ Completed 422 Unprocessable Entity in 10ms (Views: 0.7ms | ActiveRecord: 1.2ms)
10206
+  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets`
10207
+  (0.7ms) ROLLBACK
10208
+  (0.1ms) ROLLBACK
10209
+  (0.0ms) BEGIN
10210
+  (0.0ms) BEGIN
10211
+  (0.1ms) SAVEPOINT active_record_2
10212
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
10213
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
10214
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7803242ca1285ab16a1038f549f4c12be39b958cf238d0185858e7848881b588fe80aa86768e72c0c22658a0e5db776bcad33a1ef61a510973237f802e02f5b0' LIMIT 1
10215
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sZ7wGBntXt7Ct1EeBeVm' LIMIT 1
10216
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:27:39', 'ab35a1f3a4c3bfdfab8eb3f80531c434a81727ff27791061618db1703a33029a61e4c3bf6b9ba1c522e08c18f7a5c5a842dcc8a5df055e747f14877948371af4', '2013-09-20 16:27:39', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:27:39', 'testuser', 1, 'y3c5lyZOt5965S4F7q', 'iMGJT6knbWtlaQTiodS', '7803242ca1285ab16a1038f549f4c12be39b958cf238d0185858e7848881b588fe80aa86768e72c0c22658a0e5db776bcad33a1ef61a510973237f802e02f5b0', 'sZ7wGBntXt7Ct1EeBeVm', NULL, 1, NULL, '2013-09-20 16:27:39')
10217
+  (0.0ms) RELEASE SAVEPOINT active_record_2
10218
+  (0.1ms) SAVEPOINT active_record_2
10219
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:27:39', `current_login_at` = '2013-09-20 16:27:39', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:27:39', `perishable_token` = 'g6vAayinDwRMY8oos', `updated_at` = '2013-09-20 16:27:39' WHERE `spud_users`.`id` = 7
10220
+  (0.2ms) RELEASE SAVEPOINT active_record_2
10221
+  (0.1ms) SAVEPOINT active_record_2
10222
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
10223
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:27:39', 1, 0, 200, 'Banner Set 8', '2013-09-20 16:27:39', 600)
10224
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10225
+ Processing by Admin::BannerSetsController#edit as HTML
10226
+ Parameters: {"id"=>"8"}
10227
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
10228
+  (0.2ms) SAVEPOINT active_record_2
10229
+  (0.4ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:27:39', `perishable_token` = '6rUOiT4RdQOPEA19Oa2x', `updated_at` = '2013-09-20 16:27:39' WHERE `spud_users`.`id` = 7
10230
+  (0.0ms) RELEASE SAVEPOINT active_record_2
10231
+ Looking for banner set with id: 8
10232
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
10233
+ Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 1.1ms)
10234
+  (0.4ms) ROLLBACK
10235
+  (0.2ms) ROLLBACK
10236
+  (0.1ms) BEGIN
10237
+  (0.0ms) BEGIN
10238
+  (0.1ms) SAVEPOINT active_record_2
10239
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
10240
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
10241
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '470265c0a6ce40cfb4f13e008d0af40c98db6429363c21749021952cbab21eddc6fc35bbb8471fcfe976dd3083a90be90c0ffd2be7f6fa3b0575525ce2a549cd' LIMIT 1
10242
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lGJ2FRCEmSwOo1N0XR' LIMIT 1
10243
+ SQL (0.9ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:27:39', 'adb200f7b2a4aee2f4606ac001b58664611aa1e3e1f51b7f3ce044d6acc80daaa5f525a01c094e23b24efa8fbfbfb98ec55c6601e67b72eea91c489412b71383', '2013-09-20 16:27:39', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:27:39', 'testuser', 1, 'kKbxRBSzAfFOmj7YA4zy', 'pQNI4K3tLqp6Mk88vHpD', '470265c0a6ce40cfb4f13e008d0af40c98db6429363c21749021952cbab21eddc6fc35bbb8471fcfe976dd3083a90be90c0ffd2be7f6fa3b0575525ce2a549cd', 'lGJ2FRCEmSwOo1N0XR', NULL, 1, NULL, '2013-09-20 16:27:39')
10244
+  (0.2ms) RELEASE SAVEPOINT active_record_2
10245
+  (0.2ms) SAVEPOINT active_record_2
10246
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:27:39', `current_login_at` = '2013-09-20 16:27:39', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:27:39', `perishable_token` = 'MKTdC1Af5mC8dOW2LqSZ', `updated_at` = '2013-09-20 16:27:39' WHERE `spud_users`.`id` = 8
10247
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10248
+  (0.1ms) SAVEPOINT active_record_2
10249
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
10250
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:27:39', 1, 0, 200, 'Banner Set 9', '2013-09-20 16:27:39', 600)
10251
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10252
+ Processing by Admin::BannerSetsController#update as HTML
10253
+ Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
10254
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
10255
+  (0.2ms) SAVEPOINT active_record_2
10256
+  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:27:39', `perishable_token` = 'gOOUgG2TQoieM5qi2Wk9', `updated_at` = '2013-09-20 16:27:39' WHERE `spud_users`.`id` = 8
10257
+  (0.2ms) RELEASE SAVEPOINT active_record_2
10258
+ Looking for banner set with id: 9
10259
+ SpudBannerSet Load (0.1ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
10260
+  (0.1ms) SAVEPOINT active_record_2
10261
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 9) LIMIT 1
10262
+  (0.4ms) UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2013-09-20 16:27:39' WHERE `spud_banner_sets`.`id` = 9
10263
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10264
+ SpudBanner Load (0.3ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc
10265
+ Completed 200 OK in 61ms (Views: 0.8ms | ActiveRecord: 4.7ms)
10266
+ SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
10267
+  (0.8ms) ROLLBACK
10268
+  (0.0ms) ROLLBACK
10269
+  (0.0ms) BEGIN
10270
+  (0.0ms) BEGIN
10271
+  (0.2ms) SAVEPOINT active_record_2
10272
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
10273
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
10274
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e1c8d7894e1679dac6c3c45774abe253c1bbd1accec67f324130fc32361f7d2bc696a00730b279184a389a933fee99c3fb5234a38dd595458e2b833597c02ae2' LIMIT 1
10275
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jf9ROZ7YIEcAmESjQIu5' LIMIT 1
10276
+ SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:27:39', '17ee9cf87a0bab4cf991abed622a00154ccf9bbcd4094df10367eec50bb404071eededae5b4a60cb7bae71f7959722ed998e5999a30b0984d91120dea5eeee31', '2013-09-20 16:27:39', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:27:39', 'testuser', 1, 'WOicWFI33aryT2UM9yeA', 'dSP5Ttdn4b3eFEBHRvFI', 'e1c8d7894e1679dac6c3c45774abe253c1bbd1accec67f324130fc32361f7d2bc696a00730b279184a389a933fee99c3fb5234a38dd595458e2b833597c02ae2', 'jf9ROZ7YIEcAmESjQIu5', NULL, 1, NULL, '2013-09-20 16:27:39')
10277
+  (0.0ms) RELEASE SAVEPOINT active_record_2
10278
+  (0.1ms) SAVEPOINT active_record_2
10279
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:27:39', `current_login_at` = '2013-09-20 16:27:39', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:27:39', `perishable_token` = 'sTnNL4tbGNRoR18aorQ', `updated_at` = '2013-09-20 16:27:39' WHERE `spud_users`.`id` = 9
10280
+  (0.0ms) RELEASE SAVEPOINT active_record_2
10281
+  (0.1ms) SAVEPOINT active_record_2
10282
+ SpudBannerSet Exists (0.1ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
10283
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:27:39', 1, 0, 200, 'Banner Set 10', '2013-09-20 16:27:39', 600)
10284
+  (0.2ms) RELEASE SAVEPOINT active_record_2
10285
+  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets` 
10286
+ Processing by Admin::BannerSetsController#update as HTML
10287
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"}
10288
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
10289
+  (0.2ms) SAVEPOINT active_record_2
10290
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:27:39', `perishable_token` = 'S82cKQsulCcVK5U1DLA', `updated_at` = '2013-09-20 16:27:39' WHERE `spud_users`.`id` = 9
10291
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10292
+ Looking for banner set with id: 10
10293
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1
10294
+  (0.1ms) SAVEPOINT active_record_2
10295
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1
10296
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2
10297
+ Completed 422 Unprocessable Entity in 10ms (Views: 0.7ms | ActiveRecord: 1.8ms)
10298
+  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets`
10299
+  (0.9ms) ROLLBACK
10300
+  (0.0ms) ROLLBACK
10301
+  (0.0ms) BEGIN
10302
+  (0.0ms) BEGIN
10303
+  (0.1ms) SAVEPOINT active_record_2
10304
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
10305
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
10306
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a590a60bb5d6a4c87c83ccb2699c8976cc16d940e360cec7d77a81b58a3f22177102627424083d314396b9f297d9b878235eba63f936f1f97fcb5c3a0222b60c' LIMIT 1
10307
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '15ZLbqEUmgKIxjNaipQH' LIMIT 1
10308
+ SQL (0.8ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `spud_role_id`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-09-20 16:27:39', '3d1cdb82e37611a5ed33b00fcdc817900309c7f68716d4e1410cf823f8ac44636209b0899ff6274df0a99d4f4c1e2fc83e7401b5afe8c1d4a97147ca0da32a24', '2013-09-20 16:27:39', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-09-20 16:27:39', 'testuser', 1, 'wUDAteWwBp6j7q6sLLl', 'cNn6zpzXf7R53WnyH64I', 'a590a60bb5d6a4c87c83ccb2699c8976cc16d940e360cec7d77a81b58a3f22177102627424083d314396b9f297d9b878235eba63f936f1f97fcb5c3a0222b60c', '15ZLbqEUmgKIxjNaipQH', NULL, 1, NULL, '2013-09-20 16:27:39')
10309
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10310
+  (0.2ms) SAVEPOINT active_record_2
10311
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-09-20 16:27:39', `current_login_at` = '2013-09-20 16:27:39', `last_login_ip` = '0.0.0.0', `last_request_at` = '2013-09-20 16:27:39', `perishable_token` = 'cyitYIAEJNWExm4KkiQ', `updated_at` = '2013-09-20 16:27:39' WHERE `spud_users`.`id` = 10
10312
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10313
+  (0.0ms) SAVEPOINT active_record_2
10314
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1
10315
+ SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `has_rich_text`, `height`, `name`, `updated_at`, `width`) VALUES ('2013-09-20 16:27:39', 1, 0, 200, 'Banner Set 11', '2013-09-20 16:27:39', 600)
10316
+  (0.1ms) RELEASE SAVEPOINT active_record_2
10317
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` 
10318
+ Processing by Admin::BannerSetsController#destroy as HTML
10319
+ Parameters: {"id"=>"11"}
10320
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
10321
+  (0.2ms) SAVEPOINT active_record_2
10322
+  (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2013-09-20 16:27:39', `perishable_token` = 'ScvHhYhJkSp6RUOZlsyf', `updated_at` = '2013-09-20 16:27:39' WHERE `spud_users`.`id` = 10
10323
+  (0.2ms) RELEASE SAVEPOINT active_record_2
10324
+ Looking for banner set with id: 11
10325
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11 LIMIT 1
10326
+  (0.2ms) SAVEPOINT active_record_2
10327
+ SpudBanner Load (0.4ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 11 ORDER BY sort_order asc
10328
+ SQL (0.2ms) DELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11
10329
+  (0.0ms) RELEASE SAVEPOINT active_record_2
10330
+ Completed 200 OK in 12ms (Views: 2.4ms | ActiveRecord: 2.0ms)
10331
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` 
10332
+  (0.7ms) ROLLBACK
10333
+  (0.1ms) ROLLBACK