spec/dummy/log/test.log in spud_banners-0.9.3 vs spec/dummy/log/test.log in spud_banners-1.0.0.rc1

- old
+ new

@@ -955,5 +955,641 @@  (0.1ms) RELEASE SAVEPOINT active_record_2 Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.9ms)  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK +  (5.8ms) SELECT @@FOREIGN_KEY_CHECKS +  (0.2ms) SET FOREIGN_KEY_CHECKS = 0 +  (10.8ms) SELECT DATABASE() as db +  (12.7ms) select table_name from information_schema.views where table_schema = 'spud_banners_test' +  (65.9ms) TRUNCATE TABLE `spud_admin_permissions`; +  (3.6ms) TRUNCATE TABLE `spud_banner_sets`; +  (3.7ms) TRUNCATE TABLE `spud_banners`; +  (1.4ms) TRUNCATE TABLE `spud_user_settings`; +  (1.5ms) TRUNCATE TABLE `spud_users`; +  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (5.6ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9d1bdbcc22ae91e6c041b96b926c70414b0805aae021ae7dc8d2e5932644a18987cfd48e6c1346ffc11606ff732bca081075efcf0ee33f0dfff3b13e1c864cac' LIMIT 1 + SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pV6wOBU8Uk4DjnOxs23f' LIMIT 1 + SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '0c945d787492d31df45ed8d47c67f1480c57780ca54034ba4fa6095ca7fc02ec80214d68e84409e59b0815e1ad54a4b779dbb283cf9a50875b6f567adcd43d8c', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'bNDaMgFWZyP3lmQdXAL', 'v1YrN0duTwWlqpchWAW1', '9d1bdbcc22ae91e6c041b96b926c70414b0805aae021ae7dc8d2e5932644a18987cfd48e6c1346ffc11606ff732bca081075efcf0ee33f0dfff3b13e1c864cac', 'pV6wOBU8Uk4DjnOxs23f', 1, '2014-01-05 14:38:13') + SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = '4byDmvkr1VchUf8K0Wab', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 2 + SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 1', '2014-01-05 14:38:13', 600) + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 2', '2014-01-05 14:38:13', 600) + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 3', '2014-01-05 14:38:13', 600) + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 4', '2014-01-05 14:38:13', 600) + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 5', '2014-01-05 14:38:13', 600) +Processing by Spud::Admin::BannerSetsController#index as HTML + SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'zT0I9lgL2dDDsHCSb3T', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 2 + Rendered /Users/davidestes/projects/ruby/engines/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (0.2ms) +Completed 200 OK in 8ms (Views: 2.3ms | ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (12.7ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cc2f4263adc3d71e9b079884a7c5174785b565f778106430adcb18839fc6a2d3773ffcc50b69fc51c8c89177e7cedcd6a2b4cd734b460368759eb61eba34eb35' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ASHFGU8C1eCPFKglQY' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '30e360a6530e7d4354229f0974d02be8dc42143c78ab2f37e33627ccbb663061a2808c1d35b496f605e58bc57ff1c06d7ad3f01145eda554c50ce5c6c19edf94', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'yycTPph4LgA2YIMBfBq', 'NQ3bGEPMYpTidCOjKnX', 'cc2f4263adc3d71e9b079884a7c5174785b565f778106430adcb18839fc6a2d3773ffcc50b69fc51c8c89177e7cedcd6a2b4cd734b460368759eb61eba34eb35', 'ASHFGU8C1eCPFKglQY', 1, '2014-01-05 14:38:13') + SQL (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'nJzuJb2YetIcRXYSwTYu', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 22 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 6', '2014-01-05 14:38:13', 600) +Processing by Spud::Admin::BannerSetsController#show as HTML + Parameters: {"id"=>"102"} + SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'BzR4Oqq2JHefcEkWUG', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 22 +Looking for banner set with id: 102 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 102 LIMIT 1 +Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.7ms) +  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.2ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1e56118f2000eb94f7ba1d71796c4ba1eb32a745d14c4a3d1d43f535e1ef879f7f4eb0d6be64e67c6a152629194c9c20f970e1cf7904596486015d19f32da6d0' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'q6dPxH3RdsO2CdQmruDD' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '9cdbaf1957550aa2d233c21d7d2bc30f75ceca456a1e64ea9fdbb4ababd2439d14921a07f2b958729fcc8bcc8da274a891bf767c540cbc1ef77f863d408ea1bf', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'GdNMesn1pVo9nYbyUSyD', '5cdtxbwND2KEDlRqZuNx', '1e56118f2000eb94f7ba1d71796c4ba1eb32a745d14c4a3d1d43f535e1ef879f7f4eb0d6be64e67c6a152629194c9c20f970e1cf7904596486015d19f32da6d0', 'q6dPxH3RdsO2CdQmruDD', 1, '2014-01-05 14:38:13') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'V5DVLVAER3Oq0uRbWld', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 42 +Processing by Spud::Admin::BannerSetsController#show as HTML + Parameters: {"id"=>"-1"} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1 + SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'pPDg3GM5w5Nl1XJBzvp', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 42 +Looking for banner set with id: -1 + SpudBannerSet Load (0.8ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1 +Redirected to http://test.host/spud/admin/banner_sets +Filter chain halted as :get_record rendered or redirected +Completed 302 Found in 6ms (ActiveRecord: 1.4ms) +  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4c29e4cb1245a56554ecc3ca76f2e42f35f020cf84ead794af05dfccb085e00a6d4bb3735cdf06040c822b5348c1340bd9b2dacb0958219c224e1e2a1e7380ca' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HjTfTgf5F7WdiMORDg7' LIMIT 1 + SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '2128640015a038d7059c37f6720cc66f8f2264438c047e0fe263ca8560ae8807a77ec0e92f0b7490dc4dafd297f0a0a592fe98c8c2052d9d1c12fbc4c1524f34', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'icUXXqhWN8jZBD4Xq3Qd', '9wG9QpXMWPFLw8gzVC', '4c29e4cb1245a56554ecc3ca76f2e42f35f020cf84ead794af05dfccb085e00a6d4bb3735cdf06040c822b5348c1340bd9b2dacb0958219c224e1e2a1e7380ca', 'HjTfTgf5F7WdiMORDg7', 1, '2014-01-05 14:38:13') + SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'Ja47oHaAGuEjKrnYar0r', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 62 +Processing by Spud::Admin::BannerSetsController#new as HTML + SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1 + SQL (0.6ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'z1AlN9QuXVFGDTZWPXMG', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 62 +Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 1.0ms) +  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fa303006352daab7be1f7ed6f1b64de5d67daaaae0c5f64f5c98adaaa9224217e5cce164245c89a77d616e4076c331610c8881b9dcdb82f7ec6636acde12553f' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hjri0qqPqZsXrV12nf6i' LIMIT 1 + SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '8234ca631ae855b96d6aded4759ff13a6db58cc6b7ab8958c5c7bbc9a1af3a4789c2d170d0f5053ad13a3bff93102baf9e63c5f829458754b28a644db3416ed3', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'c8fAJ9nccGdnG7G8m2o', 'j09cDaHzPVSDxzNbKWQ', 'fa303006352daab7be1f7ed6f1b64de5d67daaaae0c5f64f5c98adaaa9224217e5cce164245c89a77d616e4076c331610c8881b9dcdb82f7ec6636acde12553f', 'hjri0qqPqZsXrV12nf6i', 1, '2014-01-05 14:38:13') + SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'POL4bwXKw5jxF8NjCdqF', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 82 +  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets` +Processing by Spud::Admin::BannerSetsController#create as HTML + Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 7", "width"=>"600", "height"=>"200", "cropped"=>true}} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'nu70lEzdcbgIYNolQxUm', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 82 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 7', '2014-01-05 14:38:13', 600) +Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (12.8ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4956831e7be6b65088c4b91ee9a795caa5905a1dd9b09aca16dc54034e18c92bfe946e0b8fbac08dd323ae4dd7cf2e461904f784a513f2e35aaf9d8598478ac7' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xGkv39fonqPTOD4rsysE' LIMIT 1 + SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '9d8100b77c44fc498f8e7d71b34c948226d732f94e71e46ef37e63cce3e23a4d063f9e823a487674d8d9bebd70bf0d6efc27821504a17ed74e77349139f009a8', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'Pi2vPvRF2qydsoiB74p', 'vPOvU1XK3iLLo7zi12Yv', '4956831e7be6b65088c4b91ee9a795caa5905a1dd9b09aca16dc54034e18c92bfe946e0b8fbac08dd323ae4dd7cf2e461904f784a513f2e35aaf9d8598478ac7', 'xGkv39fonqPTOD4rsysE', 1, '2014-01-05 14:38:13') + SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'J2FuhIYRDiCNlfYp9wGX', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 102 +  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets` +Processing by Spud::Admin::BannerSetsController#create as HTML + Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 102 LIMIT 1 + SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'tft8gg7oiD9c84fEdACp', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 102 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1 +Completed 422 Unprocessable Entity in 8ms (Views: 0.6ms | ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0b49655a421f0132a430c6d54891b42883ffb55b9303223560736a9f61f878e4cf9c05b2395662856951b13226c611f03c2dc307b0ec1b7a2d7f4cd580a4b721' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'O72j0JSOK4iCLW1rO8B' LIMIT 1 + SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', 'b9f36a443026e6a5441f35ec3e32a08d3b400393d110fb83340b52b1c2f417f7d0e3f76340bc2dd0a44909c32cea991d4e7b74a84f74e0873065c655f168f616', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'W2FRd29Rh9btZG2z', 'ZyvCJJ5Wdb8bXBi9ZzL', '0b49655a421f0132a430c6d54891b42883ffb55b9303223560736a9f61f878e4cf9c05b2395662856951b13226c611f03c2dc307b0ec1b7a2d7f4cd580a4b721', 'O72j0JSOK4iCLW1rO8B', 1, '2014-01-05 14:38:13') + SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'nl7Xxar5TNEc1sqP0P0', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 122 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 8', '2014-01-05 14:38:13', 600) +Processing by Spud::Admin::BannerSetsController#edit as HTML + Parameters: {"id"=>"142"} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = '5rdl1GwH5lGuerG3u', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 122 +Looking for banner set with id: 142 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 142 LIMIT 1 +Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.7ms) +  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ffe3e8634f9c0cde0383d876afbb07f62fc3a4a85562e2d5af2270d67fd6d87816f826832aa1a2f9ad830e8b728eb0100540dd34754598599a841eb8c21b92b7' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MVfZaiUIjiUGe5jNYRC' LIMIT 1 + SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '17bdba23396d7dcb0b3a7b2c12f6b4edb84aac53a0d2e7bb2550e32c62f650ff04b64652f7f3421a25554209c26c5a17ebbbb169adad3d6923c96c5c265ad827', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'V296pK4FL1t1iqPtiKo', 'CQYqAXCAylW306BaKi9M', 'ffe3e8634f9c0cde0383d876afbb07f62fc3a4a85562e2d5af2270d67fd6d87816f826832aa1a2f9ad830e8b728eb0100540dd34754598599a841eb8c21b92b7', 'MVfZaiUIjiUGe5jNYRC', 1, '2014-01-05 14:38:13') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'Nu5hBWQaRUYXqGaB2I3', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 142 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 9', '2014-01-05 14:38:13', 600) +Processing by Spud::Admin::BannerSetsController#update as HTML + Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"162"} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1 + SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'fI9cqI5NeBvoCvNYsluo', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 142 +Looking for banner set with id: 162 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 162 LIMIT 1 + SpudBannerSet Exists (0.6ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 162) LIMIT 1 + SQL (0.2ms) UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_banner_sets`.`id` = 162 + SpudBanner Load (0.4ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 162 ORDER BY `spud_banners`.`sort_order` ASC +Completed 200 OK in 41ms (Views: 1.0ms | ActiveRecord: 20.9ms) + SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 162 LIMIT 1 +  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b7412aa6af28f261a5c80d1102f7c1934c33f4c97bb431c502f6426b7631c3527923f8f9158c5280ef5e624338ade2e4272df26b2f8298119a717f2c77e98f4e' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SUhmHRn5jkYCnfoNN' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '50cea2364fb55e9feb21db4df0469f740170fd6a60c2180c6f28932cabddd14ca1280ec042779e55e393be5c2d79936cc24ac33d9726279216d8f2f145055352', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'ZwuJTC7V6uvmOKM4EdY', 'wD02JMQzrobNvspV6Gfv', 'b7412aa6af28f261a5c80d1102f7c1934c33f4c97bb431c502f6426b7631c3527923f8f9158c5280ef5e624338ade2e4272df26b2f8298119a717f2c77e98f4e', 'SUhmHRn5jkYCnfoNN', 1, '2014-01-05 14:38:13') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = '674MZtbyBkyKF44622f', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 162 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 10', '2014-01-05 14:38:13', 600) +  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets` +Processing by Spud::Admin::BannerSetsController#update as HTML + Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"182"} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'eGGuE2PtVY3kcIDlYaP', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 162 +Looking for banner set with id: 182 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 182 LIMIT 1 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 182) LIMIT 1 +Completed 422 Unprocessable Entity in 7ms (Views: 0.6ms | ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '75a232c1f3169dfcad4b2e727369fe6d037f1a86248cb21fc22a19c7f2dd0e17c123e483ac1e745ee00354c751ca267dfae56abb7f9128e6be98936a0fd6c12a' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'RE8FR77MJG8IHxTM9RE4' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '2b34731e66edfedb8f128b78782606e251276469c04a3242cbeba8a56b29ff8736cb37d9ad23b541e218683c8cd376caf3551c28604a62194907cd1d0da39641', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'lIPJJQ1p2yHJJiU7aZR', '3pgPhQ4Edcv8LXNETSL', '75a232c1f3169dfcad4b2e727369fe6d037f1a86248cb21fc22a19c7f2dd0e17c123e483ac1e745ee00354c751ca267dfae56abb7f9128e6be98936a0fd6c12a', 'RE8FR77MJG8IHxTM9RE4', 1, '2014-01-05 14:38:13') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'Ta72BeZao7ABxiPv4Doh', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 182 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 11', '2014-01-05 14:38:13', 600) +  (0.4ms) SELECT COUNT(*) FROM `spud_banner_sets` +Processing by Spud::Admin::BannerSetsController#destroy as HTML + Parameters: {"id"=>"202"} + SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 182 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'aQUH2xA2bmkCdGAet1K6', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 182 +Looking for banner set with id: 202 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 202 LIMIT 1 + SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 202 ORDER BY `spud_banners`.`sort_order` ASC + SQL (0.2ms) DELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 202 +Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 1.1ms) +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS +  (0.1ms) SET FOREIGN_KEY_CHECKS = 0 +  (0.1ms) SELECT DATABASE() as db +  (7.7ms) select table_name from information_schema.views where table_schema = 'spud_banners_test' +  (1.3ms) TRUNCATE TABLE `spud_admin_permissions`; +  (1.1ms) TRUNCATE TABLE `spud_banner_sets`; +  (1.1ms) TRUNCATE TABLE `spud_banners`; +  (1.1ms) TRUNCATE TABLE `spud_user_settings`; +  (1.2ms) TRUNCATE TABLE `spud_users`; +  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.5ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cd0740c2dadc16185cb8bbb298f50240b5f77261ce0d9a4ef2d3d910158d4bace5b509fd99f4bad9221fdaca0e6b9947fab5811fb7556480926b61158e8b6a53' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'rZ51ajOXt1pxSIzU7J48' LIMIT 1 + SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', 'dfa3ed210955b26cd65e10dc0c147793fe5d944d7eeb6bae970ae4c4954e00349335332746f39a47702b19fa910af5389d3cd43db0bb0b7686553ea7cfa1265c', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, 'bL728QzafiIlBCzdpge', 'bSgUXps7EUL9PghZbJ', 'cd0740c2dadc16185cb8bbb298f50240b5f77261ce0d9a4ef2d3d910158d4bace5b509fd99f4bad9221fdaca0e6b9947fab5811fb7556480926b61158e8b6a53', 'rZ51ajOXt1pxSIzU7J48', 1, '2014-01-05 14:39:51') + SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = '5AORlCeNMqBvKOACew', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 2 + SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 1', '2014-01-05 14:39:51', 600) + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 2', '2014-01-05 14:39:51', 600) + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1 + SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 3', '2014-01-05 14:39:51', 600) + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 4', '2014-01-05 14:39:51', 600) + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 5', '2014-01-05 14:39:51', 600) +Processing by Spud::Admin::BannerSetsController#index as HTML + SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'b8XJ6KRsUkpasIigmBo', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 2 + Rendered /Users/davidestes/projects/ruby/engines/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (0.2ms) +Completed 200 OK in 267ms (Views: 5.0ms | ActiveRecord: 0.5ms) +  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (7.1ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b7a9654a2529b35fc56a062717ea3ca091d3e53ae0c3728b172658f2127dd54da3d999b7330f5cd009bcfb9f1ed24ceb167fbb613f876b988e5f470b6daedfe8' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7Rc0Z5jfrTbx97OcMwRT' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', '7fc3a8b3109eb826d9f669d0e08182d6e1b63b2e01b32dce8e36da3e1c9fe9d8e740bb0dd19c734e181b09a05e3296642a2d8b3382b1ed20b48e787513974591', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, 'iYF0k6b7jhj9NwB5u9S3', 'nKJp79JeqLFaQShA1kn', 'b7a9654a2529b35fc56a062717ea3ca091d3e53ae0c3728b172658f2127dd54da3d999b7330f5cd009bcfb9f1ed24ceb167fbb613f876b988e5f470b6daedfe8', '7Rc0Z5jfrTbx97OcMwRT', 1, '2014-01-05 14:39:51') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'GdubfHDDQSKdWDLKvMSr', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 22 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 6', '2014-01-05 14:39:51', 600) +Processing by Spud::Admin::BannerSetsController#show as HTML + Parameters: {"id"=>"102"} + SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1 + SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'rqlbgm4r2lNLv827gIg', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 22 +Looking for banner set with id: 102 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 102 LIMIT 1 +Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.7ms) +  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '249459ac0531927a5f3ec71654630f4473f09175dc688dd767a2b99a26d1a959801f170e22a7fd8fc2092aec0aeffa2b331fc7270ab7155e1202dfb1a056a5db' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KL5J5UnTfKz5hmEazYmt' LIMIT 1 + SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', '148228978e3de1e399fa4f84df879d24314c73fc22b4d90803e1f8c098b0019dfcb0eba146306cf5e0217fe3f5552b1a20e96156f03341e63f3bb2e4f979e3a1', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, 'TgVDiJwJSa6UHVxhOa', 'HhYeaaEASeT0fJx5bj', '249459ac0531927a5f3ec71654630f4473f09175dc688dd767a2b99a26d1a959801f170e22a7fd8fc2092aec0aeffa2b331fc7270ab7155e1202dfb1a056a5db', 'KL5J5UnTfKz5hmEazYmt', 1, '2014-01-05 14:39:51') + SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'nXdkAT6Pu5AwhQZ3', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 42 +Processing by Spud::Admin::BannerSetsController#show as HTML + Parameters: {"id"=>"-1"} + SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1 + SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'oRg6dDJRU7LAaE6AFeB', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 42 +Looking for banner set with id: -1 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1 +Redirected to http://test.host/spud/admin/banner_sets +Filter chain halted as :get_record rendered or redirected +Completed 302 Found in 7ms (ActiveRecord: 0.9ms) +  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3484570893592f6276e2fc98d3752d65f7f590fc1c16a35eaef34fe68b75269c2b538e8a9cd3e5bd93be2ca07bd6de275f01af55dfea6ed2b90e33c5201b10e9' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eEatiMRjEXPV5LoBE4cY' LIMIT 1 + SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', '8c3816fb93e6516fee1af7b42f8bccf21b043fe39de41a7e016bf2cb18637e12c528257188744d58c3eb863091054d6ae8f00b9c9eaa447c25fefb68f9752e71', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, 'I5DdtMLMvXg35ESRD9m', 'GgC3w1W6wjdIgRdWygN', '3484570893592f6276e2fc98d3752d65f7f590fc1c16a35eaef34fe68b75269c2b538e8a9cd3e5bd93be2ca07bd6de275f01af55dfea6ed2b90e33c5201b10e9', 'eEatiMRjEXPV5LoBE4cY', 1, '2014-01-05 14:39:51') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'zNlagNolLHx0yjN3f5t', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 62 +Processing by Spud::Admin::BannerSetsController#new as HTML + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = '5TdgKvjvgTMUPDztv', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 62 +Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.5ms) +  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '440bbcda224a0633eb6d1e32284ec6a8de760ad2e26952844ec9c3f87c381d0d28b7f2ab3f4ccf54179d01d3cac0d0e97f75450e78c0fc4606e17f746a8a21a6' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4t8jh3aJxVR8GUtrK5Jn' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', 'f2eff9a1b43e46182675252b25f337d1e64d05e7d17e0d39bd3c341d9222454b97aef2c87c817d79517669e0cea39f099e4f0ba6dd9251ed808ed46aff360157', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, 'B7HIuIu1jW23KO2RIP2r', '94bERi8Xac8bb7fo0Pqr', '440bbcda224a0633eb6d1e32284ec6a8de760ad2e26952844ec9c3f87c381d0d28b7f2ab3f4ccf54179d01d3cac0d0e97f75450e78c0fc4606e17f746a8a21a6', '4t8jh3aJxVR8GUtrK5Jn', 1, '2014-01-05 14:39:51') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = '4a3DyV6P9JxINHdU4SB', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 82 +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +Processing by Spud::Admin::BannerSetsController#create as HTML + Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 7", "width"=>"600", "height"=>"200", "cropped"=>true}} + SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'xTWihFFh3UPIeB6DFMIn', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 82 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1 + SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 7', '2014-01-05 14:39:51', 600) +Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '69c32eb1f618870a2080a0ed469181cfc0baa35a56ea348f34a982eea8639159b7a1daa81f84e7ce229a3670dba02ddb0608181588894b1f380fe2584b497655' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yq9gYIykrrR3XOR41uPI' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', 'dd40b805af889f3e23869e62542fa8be14167bab0fc6dcd665e8ceb1e98a07823fabc1931ead2fda2e60cd9c528363a69e55a09bfce24670711fcf7fcfed067b', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, 'cJsL1wSoYx72eimUc2', 'Nfi7eL2CrS5KSbYJJ5r4', '69c32eb1f618870a2080a0ed469181cfc0baa35a56ea348f34a982eea8639159b7a1daa81f84e7ce229a3670dba02ddb0608181588894b1f380fe2584b497655', 'yq9gYIykrrR3XOR41uPI', 1, '2014-01-05 14:39:51') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'KBf3oE6QoBV4xVvUmqU', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 102 +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +Processing by Spud::Admin::BannerSetsController#create as HTML + Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}} + SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 102 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'pkPJmWXF0fvYUuXVbKM', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 102 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1 +Completed 422 Unprocessable Entity in 8ms (Views: 0.6ms | ActiveRecord: 0.7ms) +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) SAVEPOINT active_record_1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '51792f95530d27aa0eebf9fa3bd5ffb68e3f4301b8736eaec1e72e08b1008fdb5c6251f19212e3b4f48a7c58f70b68accc5a112e97466cf19661e9acb941aacc' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yFD4ewmS5eHwZbWkCycE' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', '23cedb72afc9fce7399b0bcfb491c9479ebb7b760792372d60ffe5b38eadddf6f809ae16d67024632c47b40896e68e60b4da0a3e0d67263715d11c92251a0d0b', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, '9NdY0VDesUnGqQvvd0Lk', 'QRZaoomY7FL6rBQwzxkc', '51792f95530d27aa0eebf9fa3bd5ffb68e3f4301b8736eaec1e72e08b1008fdb5c6251f19212e3b4f48a7c58f70b68accc5a112e97466cf19661e9acb941aacc', 'yFD4ewmS5eHwZbWkCycE', 1, '2014-01-05 14:39:51') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'CduDduhk9eVQCCFyGJ', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 122 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 8', '2014-01-05 14:39:51', 600) +Processing by Spud::Admin::BannerSetsController#edit as HTML + Parameters: {"id"=>"142"} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = '9BCkuK5CGdiLEMstkbX', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 122 +Looking for banner set with id: 142 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 142 LIMIT 1 +Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.6ms) +  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5e02d2f9007f672f182c750dd53108f3eacdf34ee03e03405dd21f9042047373982512760517b49ea50790d205b7b46918b5434b6537c6449c0c35630981d69f' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nt1TJY6SHfSaW7VdTDs' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', 'a3c48652ac011fb553d4ff799ce1b6133e8e4c505b297d5548969d0c3afb7692a4a9cba8776f17d402908b9de3449107a601c2b534655bd858917f262dd347f3', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, '1tu9GSsq29MJoXQxmb', 'I03LByy4lAxLNKoSvmej', '5e02d2f9007f672f182c750dd53108f3eacdf34ee03e03405dd21f9042047373982512760517b49ea50790d205b7b46918b5434b6537c6449c0c35630981d69f', 'nt1TJY6SHfSaW7VdTDs', 1, '2014-01-05 14:39:51') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'objmfsr7qM8XmhnDPIQ', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 142 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 9', '2014-01-05 14:39:51', 600) +Processing by Spud::Admin::BannerSetsController#update as HTML + Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"162"} + SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'Lrvc9JsdkBezrXGEt8', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 142 +Looking for banner set with id: 162 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 162 LIMIT 1 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 162) LIMIT 1 + SQL (0.2ms) UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_banner_sets`.`id` = 162 + SpudBanner Load (0.4ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 162 ORDER BY `spud_banners`.`sort_order` ASC +Completed 200 OK in 26ms (Views: 0.8ms | ActiveRecord: 3.0ms) + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 162 LIMIT 1 +  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (45.9ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c8e2daac1d317a32cc9a5f3f5ff68feda57b724b24dfa7b4a0f55d5eae7dea8001dad93afefe4fcc750e6e4d6fe8eae67326045c33f4bfd54c5cc206508fd5f0' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uPJWp2Ufeeun3TsszgFk' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', '2357774dc12b4b2250304333f7df0f2b6eb7f1b5d1fc8cb6d1cdcb7a0a0268aa2d14ee471f0feedba44069acb8c33857bbcbbd06c1153afd9a3314f5a96fa0c1', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, 'IUwhyH4Ym7rIQUhDGeH', 'A5YMljvkSPpYD7Km7Ue7', 'c8e2daac1d317a32cc9a5f3f5ff68feda57b724b24dfa7b4a0f55d5eae7dea8001dad93afefe4fcc750e6e4d6fe8eae67326045c33f4bfd54c5cc206508fd5f0', 'uPJWp2Ufeeun3TsszgFk', 1, '2014-01-05 14:39:51') + SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'sCSzWNffraO26DIEPhg', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 162 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 10', '2014-01-05 14:39:51', 600) +  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets` +Processing by Spud::Admin::BannerSetsController#update as HTML + Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"182"} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'QDtePJUKa1aih5j5NajO', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 162 +Looking for banner set with id: 182 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 182 LIMIT 1 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 182) LIMIT 1 +Completed 422 Unprocessable Entity in 8ms (Views: 0.6ms | ActiveRecord: 0.8ms) +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9610b0d7c4bea7b9e099e1aac8e5dcacdc6a1082427105faa70dcf0160c6a469ea9730b5a5721052e4546c6f849a5f9d4e5b27d2d30e4fbd49d7f9c5e35f2ba1' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'h4ozwm9m8PB9npArIpMp' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', '9e33f7b1eaf9401cd2119954471cd058c7a985ae739b3a10f598c309bc3eb8c7c79ada5d75b75bdf511e0c2556cd0f9a7ecbb8e9bd810b6f111e95941ce3b28f', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, '0zI4eeUxWvT78DwyrHz', 'LdQKSd24HZ474XIhrn4', '9610b0d7c4bea7b9e099e1aac8e5dcacdc6a1082427105faa70dcf0160c6a469ea9730b5a5721052e4546c6f849a5f9d4e5b27d2d30e4fbd49d7f9c5e35f2ba1', 'h4ozwm9m8PB9npArIpMp', 1, '2014-01-05 14:39:51') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'WzC0q2EUFh7xh8aMoh6P', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 182 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1 + SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 11', '2014-01-05 14:39:51', 600) +  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets` +Processing by Spud::Admin::BannerSetsController#destroy as HTML + Parameters: {"id"=>"202"} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 182 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'Jyjs32KMk6SFRDxe4sd0', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 182 +Looking for banner set with id: 202 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 202 LIMIT 1 + SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 202 ORDER BY `spud_banners`.`sort_order` ASC + SQL (0.2ms) DELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 202 +Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.0ms) +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS +  (0.1ms) SET FOREIGN_KEY_CHECKS = 0 +  (0.2ms) SELECT DATABASE() as db +  (0.9ms) select table_name from information_schema.views where table_schema = 'spud_banners_test' +  (1.0ms) TRUNCATE TABLE `spud_admin_permissions`; +  (1.2ms) TRUNCATE TABLE `spud_banner_sets`; +  (1.3ms) TRUNCATE TABLE `spud_banners`; +  (0.7ms) TRUNCATE TABLE `spud_user_settings`; +  (1.2ms) TRUNCATE TABLE `spud_users`; +  (0.1ms) SET FOREIGN_KEY_CHECKS = 1 +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '320e6ab7c82d70a3f91e1154d310705467da9aa0a4ed07ed426ce4ca4e0004a41123c88c63ba5a25ad7506bc6a85819a793b410377a2af324ba5260d79515fe2' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'O8cFKmqtP7sbkVVZYqhH' LIMIT 1 + SQL (1.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', 'a3993606054275d2218f389eae37ef67e347b5f3c92190a077ec345e310748726b5ccc10381f8bda03803876ef105fcb75d702a6365e76cba2596914aa6b1f1a', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, '1jY1AzSRAALBtkyt5lDU', '7AvGS4IogdOwor2', '320e6ab7c82d70a3f91e1154d310705467da9aa0a4ed07ed426ce4ca4e0004a41123c88c63ba5a25ad7506bc6a85819a793b410377a2af324ba5260d79515fe2', 'O8cFKmqtP7sbkVVZYqhH', 1, '2014-01-05 14:41:14') + SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'ifQYYCYQs5m2WDFz1Q7', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 2 + SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 1', '2014-01-05 14:41:14', 600) + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 2', '2014-01-05 14:41:14', 600) + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1 + SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 3', '2014-01-05 14:41:14', 600) + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 4', '2014-01-05 14:41:14', 600) + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 5', '2014-01-05 14:41:14', 600) +Processing by Spud::Admin::BannerSetsController#index as HTML + SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'kosJN9gjqePTto4EzxG', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 2 + Rendered /Users/davidestes/projects/ruby/engines/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (0.2ms) +Completed 200 OK in 267ms (Views: 5.0ms | ActiveRecord: 0.5ms) +  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (7.2ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1d726c207f65d03c0696d8017bcf65b89dec24db0859cfa34a1a222a75c3320b4a9d9940c963b99283aa117a316790167324f30a1ce6addc8d69713683d04217' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BaMeNna82GKJn9UdJCy' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', 'cbe4fd1e43080b3e84f9e02c998cf5cbd7e5e399f55950bfb61b63f860bc67aa3856586b9d92cb16be578b744600defb56c413718e6b5b00a0e1efa7d91e9e9c', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'uuwlJ5UUW7IyPMKKThJn', '6zyH51h0ykmjTL6Gu7wa', '1d726c207f65d03c0696d8017bcf65b89dec24db0859cfa34a1a222a75c3320b4a9d9940c963b99283aa117a316790167324f30a1ce6addc8d69713683d04217', 'BaMeNna82GKJn9UdJCy', 1, '2014-01-05 14:41:14') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'F3AxPs217joiqgr3jFf', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 22 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 6', '2014-01-05 14:41:14', 600) +Processing by Spud::Admin::BannerSetsController#show as HTML + Parameters: {"id"=>"102"} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'sSLnhTy8woDb1y1R6mQ9', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 22 +Looking for banner set with id: 102 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 102 LIMIT 1 +Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.6ms) +  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5b092b35783d59fe187a3667b778e7e28ebcacd43db6ed21900397ef4633e06ea2920ed76ae44d7631ad64913b48d2284bcdcb3cf6fb7f8a0824ee838c4038f2' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Bhlj0BpHsdgkLjbSdU4z' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', 'c62cbfe661ad0d8096f32f663e75dcb499aa409097eb5155ac8e8742ef36f103a630a624a23edfdb3148a00a3d2a12df8b300308833360cdfa553ada8c418c1d', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'YkfNfu15MWiXTAus4fy', 'AiKKpyj4Q5x6Lu8pDzFo', '5b092b35783d59fe187a3667b778e7e28ebcacd43db6ed21900397ef4633e06ea2920ed76ae44d7631ad64913b48d2284bcdcb3cf6fb7f8a0824ee838c4038f2', 'Bhlj0BpHsdgkLjbSdU4z', 1, '2014-01-05 14:41:14') + SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'Q53VF8q178d0quMY704Z', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 42 +Processing by Spud::Admin::BannerSetsController#show as HTML + Parameters: {"id"=>"-1"} + SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'PSk5Ixj5bzYkzRubSUdU', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 42 +Looking for banner set with id: -1 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1 +Redirected to http://test.host/spud/admin/banner_sets +Filter chain halted as :get_record rendered or redirected +Completed 302 Found in 5ms (ActiveRecord: 0.6ms) +  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '98b10b2d205cf62f4a9755d1e57d6b0a5a8876c78bb2ea49f540c5a8f0089aaac722aa59bbfe430a98a3126497f0f0e441976209f329b6b1d978a0bf10963d8f' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QTJ0qvYs1le2ktvQ6Nra' LIMIT 1 + SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', '4dd053fd72f5591fea4a3e0fd2cb9bf6cbd3af65504ac75a8833d629eda39d4b52de3947661324f30bc95d2c947c0e8912064eb6468c66dba65b56536c04e512', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'XEx3e9CDvD6O5gmBInfn', 'G0yDoYLhtnxNvch7V5mo', '98b10b2d205cf62f4a9755d1e57d6b0a5a8876c78bb2ea49f540c5a8f0089aaac722aa59bbfe430a98a3126497f0f0e441976209f329b6b1d978a0bf10963d8f', 'QTJ0qvYs1le2ktvQ6Nra', 1, '2014-01-05 14:41:14') + SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'HkoN7nPmNNSJREVqKoB', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 62 +Processing by Spud::Admin::BannerSetsController#new as HTML + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'YK2Vw03ki2C9y4dSQGn', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 62 +Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.5ms) +  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '841d90e9c91ebba678c7f09522f4b829d67a3fd80e93b10a72ac8351d0fefbb0a02fd7ba65e05adfca9b5ccc308a09669bc0cb0c92054811c5e9b9587f3c3620' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5C1ditve8i6JqyTpWMX' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', 'ac65cf1402463e30d3b737a87b2b306afabd4ba9a58392bcf0b438b76c32af862b0d96ee85b4d838c385eb5398d65b79c18563c27b64b0209f470b08ba0308e5', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'dt00JeKlYLgIZTS0F', 'MVAC4VIU70SKbhgKhmJL', '841d90e9c91ebba678c7f09522f4b829d67a3fd80e93b10a72ac8351d0fefbb0a02fd7ba65e05adfca9b5ccc308a09669bc0cb0c92054811c5e9b9587f3c3620', '5C1ditve8i6JqyTpWMX', 1, '2014-01-05 14:41:14') + SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'sOsYna0Tz93O2LDfpRM', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 82 +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +Processing by Spud::Admin::BannerSetsController#create as HTML + Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 7", "width"=>"600", "height"=>"200", "cropped"=>true}} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1 + SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'Ltw0ajzDde9Iy32aYNY', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 82 + SpudBannerSet Exists (0.4ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 7', '2014-01-05 14:41:14', 600) +Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 1.1ms) +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4915ce04a7718201a754d3ecc3e63efc015d19c3521773bf8db32a6119a8a580d1cbfdf7a7b42ade097a599c1a69596d26db49e6f3e60cd408f001e7c9d759ef' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ycg2965pbielB3qIjhmT' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', '520b4fe40e3e9ed14e5f846ad3f5bce3e36a4b8b7bd4b57ff3b62b681db80b1bf8bf587fd3776ef5b144d77ff6e51cfd1576d9ecae33943ce082d8c43164a64d', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'U0JOTC3KzYGo0GYXViWg', 'BkPkHjJVzVx3AmeSCCsC', '4915ce04a7718201a754d3ecc3e63efc015d19c3521773bf8db32a6119a8a580d1cbfdf7a7b42ade097a599c1a69596d26db49e6f3e60cd408f001e7c9d759ef', 'ycg2965pbielB3qIjhmT', 1, '2014-01-05 14:41:14') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'nvDuZHXoWc5kLK5QLgK', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 102 +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +Processing by Spud::Admin::BannerSetsController#create as HTML + Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 102 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'nqjxPwAMkOUyGyXLqdT', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 102 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1 +Completed 422 Unprocessable Entity in 7ms (Views: 0.6ms | ActiveRecord: 0.6ms) +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3544f3c68ac769c8865f881a6d1625e5529d25efd188ba4b68f733425e492b3dcf8c0b3454eef3b453482f9eabe7976757bd03637a670ff85734a087258b44aa' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'A6SuSFBxoPe17nOQO0wV' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', '40ee1886490ae6c8cf42e12442425bb7acb4a6f8f853d88293263eb32344b65c59ae99bcdfc3c4619de6d9808b66dfaef412964978f5d8a1af41652a3913291a', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, '0IjEucS44u17t46yZwxm', 'zWpDH26b0x2tuozycj6', '3544f3c68ac769c8865f881a6d1625e5529d25efd188ba4b68f733425e492b3dcf8c0b3454eef3b453482f9eabe7976757bd03637a670ff85734a087258b44aa', 'A6SuSFBxoPe17nOQO0wV', 1, '2014-01-05 14:41:14') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'tD1pTOTqvUWeYSKccfQ1', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 122 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 8', '2014-01-05 14:41:14', 600) +Processing by Spud::Admin::BannerSetsController#edit as HTML + Parameters: {"id"=>"142"} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'ahIYa9hXk9Tfql1qXMAS', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 122 +Looking for banner set with id: 142 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 142 LIMIT 1 +Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.6ms) +  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '139ad3728d9353235d14ac5dae374831651b3a11aea800dc6e1ac29fe8c544a972e81b0f2160eec4c048de38904fc1a7ccc9283457d142aa8af4590c9bb3bdea' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hMsBv0dfR8Mb98CjeB4d' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', 'a10f9e2d8a11b17df6b5cf595e400493c17eec4a488d697ba7ac39747861d6de7b56cba6bf0ba62f26ced3bf0e742674a63314a3c00c8a20eb93cf9d0945d449', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'hRJczEFxtlGQFQDgCqO', 'd0rHopEjVRT84ibbZ5C3', '139ad3728d9353235d14ac5dae374831651b3a11aea800dc6e1ac29fe8c544a972e81b0f2160eec4c048de38904fc1a7ccc9283457d142aa8af4590c9bb3bdea', 'hMsBv0dfR8Mb98CjeB4d', 1, '2014-01-05 14:41:14') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'R7nRrs9eKP77Y49CBlP', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 142 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 9', '2014-01-05 14:41:14', 600) +Processing by Spud::Admin::BannerSetsController#update as HTML + Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"162"} + SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'wyVBvdPUg4QpSntpDCJ4', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 142 +Looking for banner set with id: 162 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 162 LIMIT 1 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 162) LIMIT 1 + SQL (0.2ms) UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_banner_sets`.`id` = 162 + SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 162 ORDER BY `spud_banners`.`sort_order` ASC +Completed 200 OK in 25ms (Views: 0.7ms | ActiveRecord: 2.5ms) + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 162 LIMIT 1 +  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2b612efc5a72f035b5c007101e92c0ba97741e76179fc4dccf7863c8efbb38f8d7908616639eaa54084a07281103db971396a7544064cef4ace87048eeed4fb6' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4fyCByO09QHwEYAm' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', 'bb90d0edee21ed0f8d0e3a56917b43bb275e3bae6ea20b440e0e2d51d667bab079868f1e8f2c25db7f17c326541819a5a73c0ae43660c7133aad26c267387b22', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'Mexh5djHMq7kFewBeK6V', '79QfVoH2KtLMmCIXSdKn', '2b612efc5a72f035b5c007101e92c0ba97741e76179fc4dccf7863c8efbb38f8d7908616639eaa54084a07281103db971396a7544064cef4ace87048eeed4fb6', '4fyCByO09QHwEYAm', 1, '2014-01-05 14:41:14') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'KxKJBsOVd4qMjFmNwgJ8', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 162 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 10', '2014-01-05 14:41:14', 600) +  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets` +Processing by Spud::Admin::BannerSetsController#update as HTML + Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"182"} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'kNjESzgBaPz4AT7hvOJ', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 162 +Looking for banner set with id: 182 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 182 LIMIT 1 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 182) LIMIT 1 +Completed 422 Unprocessable Entity in 7ms (Views: 0.7ms | ActiveRecord: 0.9ms) +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.1ms) SAVEPOINT active_record_1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 + SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4b8f5a34d143ba15068aa94ac415726d4ff70d833b8a293399c69d8b0f410b7cfdf4519218a13142dbb8d29f1944387fc32d6f3e4539b861ec4d724fdbccb7ea' LIMIT 1 + SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'K73dAao4xLX6UAiSIwBn' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', '8ae7fe9af0c468f50266f9012c194d6f617795ebec5b2c9abb8800da35483a4d7d8e40379f79d7a59768ef30275f653eb17ed205fbdd3ca0d4ea47192e4d3190', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'LQMpEmspNkka05M6dJK', 'xkSDJVIwWEnMm4U86aP', '4b8f5a34d143ba15068aa94ac415726d4ff70d833b8a293399c69d8b0f410b7cfdf4519218a13142dbb8d29f1944387fc32d6f3e4539b861ec4d724fdbccb7ea', 'K73dAao4xLX6UAiSIwBn', 1, '2014-01-05 14:41:14') + SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'fN5zeegW4ma6AymA9Rc', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 182 + SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1 + SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 11', '2014-01-05 14:41:14', 600) +  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets` +Processing by Spud::Admin::BannerSetsController#destroy as HTML + Parameters: {"id"=>"202"} + SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 182 LIMIT 1 + SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'fbcYN8bUdwX2OxiWTKa', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 182 +Looking for banner set with id: 202 + SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 202 LIMIT 1 + SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 202 ORDER BY `spud_banners`.`sort_order` ASC + SQL (0.2ms) DELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 202 +Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.0ms) +  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` +  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1 +  (0.1ms) ROLLBACK