Connecting to database specified by database.yml Connecting to database specified by database.yml Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`  (0.4ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.1ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'  (0.2ms) SET FOREIGN_KEY_CHECKS = 1  (0.0ms) BEGIN  (0.0ms) BEGIN Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`  (0.1ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`  (0.1ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`  (0.0ms) ROLLBACK  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.2ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (2.4ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'  (1.2ms) TRUNCATE TABLE `spud_admin_permissions`;  (1.1ms) TRUNCATE TABLE `spud_banner_sets`;  (0.9ms) TRUNCATE TABLE `spud_banners`;  (0.8ms) TRUNCATE TABLE `spud_user_settings`;  (0.8ms) TRUNCATE TABLE `spud_users`;  (0.0ms) SET FOREIGN_KEY_CHECKS = 1  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (1.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.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fd90c37a9762f232afdaa4fabd5c595c1830175d71153c12b2b2363d7d9940be1f91e233b86bf0043d05e42894ca8e7925c746fedd4280ec4460606d467e829a' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qxlsaCXjbh58NrKAJNB' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', '37f09138c1c1dee54806a0dbb2678e3d87a60a83fcc75d6ef744cf6b613c57b1e59f347a926ffa7b9f21d5edcde04d5baf54c33d7f4f262efc4eace9cffb413a', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'tzCsJB9cQ33eFvUNIf', 'TFyUKalMIJv11VNmYz1', 'fd90c37a9762f232afdaa4fabd5c595c1830175d71153c12b2b2363d7d9940be1f91e233b86bf0043d05e42894ca8e7925c746fedd4280ec4460606d467e829a', 'qxlsaCXjbh58NrKAJNB', 1, NULL, '2012-12-20 22:58:07')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Xa86ul1j2zJe2WK2C5', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 1  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_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.3ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 1', '2012-12-20 22:58:07', 600)  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 2', '2012-12-20 22:58:07', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.1ms) 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`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 3', '2012-12-20 22:58:07', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.1ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 4', '2012-12-20 22:58:07', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.1ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 5', '2012-12-20 22:58:07', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::BannerSetsController#index as HTML SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1 SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` Rendered /Users/davydotcom/projects/ruby/engines/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (1.5ms) Completed 200 OK in 45ms (Views: 38.6ms | ActiveRecord: 0.6ms)  (1.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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 '9a876a83b7254ee1f54269cf9ea649b4647dcab0ecce4399f8324a59bdbf36603ebb560ddbded215ac912e587b98d1c3fb413739bf136069441ae0684d21ac20' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MpYAc5zAF3d84MLg3l8I' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', '1f7bb5e73d3f7cf18413e74f24947332cac74a736d3ac37056a1670e632e3d72cefa1d28212ee80fd6453a81952bb3ed55c2d7e93192b0e9941c25b89eee293e', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'rdOJXiIkc5DdINJV35ss', 'Q893t6LkO7dqn82omc9', '9a876a83b7254ee1f54269cf9ea649b4647dcab0ecce4399f8324a59bdbf36603ebb560ddbded215ac912e587b98d1c3fb413739bf136069441ae0684d21ac20', 'MpYAc5zAF3d84MLg3l8I', 1, NULL, '2012-12-20 22:58:07')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'bjMZ5bpqhh3FBSbDpM2', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 2  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.1ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 6', '2012-12-20 22:58:07', 600)  (0.0ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::BannerSetsController#show as HTML Parameters: {"id"=>"6"} SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1 Looking for banner set with id: 6 SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (0.7ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 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 '837d592688a9c6a32e1c0073317a8cbdcf2f38eca3bf76c6e1de37b35d99b6e2b7e695dd69934becf5b860bd016ff008c93dfb7b7c3e8561c10380a354b3aa3d' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vUXk46bOLmk1TgvxOYY' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', '5b1dcd90c87e05d905c0149c11771e95f697c8f8671ee83f32bf1b21f3041e6cd2661524b5508326cc4287d0dfbf32a2da5dc6da7f349ff9d3b351c90eec396a', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'WoXJriGLD75aUG1mygMt', 'o4EloUhy4TRbF6Nlpf', '837d592688a9c6a32e1c0073317a8cbdcf2f38eca3bf76c6e1de37b35d99b6e2b7e695dd69934becf5b860bd016ff008c93dfb7b7c3e8561c10380a354b3aa3d', 'vUXk46bOLmk1TgvxOYY', 1, NULL, '2012-12-20 22:58:07')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'yNmOdkfAl4NXb6rm0Q6h', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 3  (0.1ms) RELEASE SAVEPOINT active_record_2 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` = 3 LIMIT 1 Looking for banner set with id: -1 SpudBannerSet Load (2.0ms) 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: 2.4ms)  (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fb944b630fa611cd2711598117a3a90047f8f8bdfebd37b078ea79d8ab5701db82e0e8317385d9d2f37c163c4f2ac0e646522e304b5a8944bdf2c4eaa1703d97' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XmBwqSAopycJ27ZD9auS' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', '35b72c1c62143cda63ca519c8e6cf062a42abbfed9833bb18f0842b9bac931f5f01ed687154727b21f1ac668a4b0427cdafdb222766a632462b831c16e8e1195', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'q2nwyHBbnj8FEguPfaq7', '1kPBTJwD9mU7FXkumU5', 'fb944b630fa611cd2711598117a3a90047f8f8bdfebd37b078ea79d8ab5701db82e0e8317385d9d2f37c163c4f2ac0e646522e304b5a8944bdf2c4eaa1703d97', 'XmBwqSAopycJ27ZD9auS', 1, NULL, '2012-12-20 22:58:07')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'xdwVzRIOgZCzi77q3Ztr', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 4  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::BannerSetsController#new as HTML SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.3ms)  (0.8ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) 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 '66117064ac91d19b4b426d6cc4b7782c8d3f11dd4e303d11556e7db9f84b9d1a4cc092f39fa274da7df9525ddc19074de50ad64a970b6726d70e47aee441abb5' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ydRuIwjURCY2AuspgEbR' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', 'b515d91558117387e5ce6bc6d072b6a9c5f30f0bce21fa462135ef8b4bcd8b90710f43b0385d4ff55f93ac6f3557a906e59ee37bc2f9151810dc51639cf03cb6', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'gVAzDzZWX0qut5xJ6Ye', 'lHV38hhiF2igaukwZXcd', '66117064ac91d19b4b426d6cc4b7782c8d3f11dd4e303d11556e7db9f84b9d1a4cc092f39fa274da7df9525ddc19074de50ad64a970b6726d70e47aee441abb5', 'ydRuIwjURCY2AuspgEbR', 1, NULL, '2012-12-20 22:58:07')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'zO6hPkb5kDnzvlRdWrj1', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 5  (0.1ms) RELEASE SAVEPOINT active_record_2  (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` = 5 LIMIT 1  (0.2ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 7', '2012-12-20 22:58:07', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2 Completed 200 OK in 9ms (Views: 1.2ms | ActiveRecord: 1.2ms)  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets`  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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 'd3cc810ab153896b535d8ea5cbdcf5da374075d9cc0ad04093eab65a60bbf366b7ca69961935ac995e1430e515e2811a9c67c70f5a75113bf235e03126ef4377' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZnlFIjwbqc9nt5nuVDlc' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', 'eb898eec1d2b111725dd0aff6bca4201a25924d3d63d1b98a9ec82822efcdc09f059a5f6e8d64aae92d70000fecdfd377d511c04c5b50ea032f6216ecd7dbb05', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'qEJZrEfY4mPuQR6yPFob', 'lBsp1yTcxX5D3V90TYyl', 'd3cc810ab153896b535d8ea5cbdcf5da374075d9cc0ad04093eab65a60bbf366b7ca69961935ac995e1430e515e2811a9c67c70f5a75113bf235e03126ef4377', 'ZnlFIjwbqc9nt5nuVDlc', 1, NULL, '2012-12-20 22:58:07')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dbX3yFqLXbIw9P6Hf9B', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 6  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) 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` = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2 Completed 422 Unprocessable Entity in 8ms (Views: 0.7ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`  (0.7ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) 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 '8c373a0c5ecd745fc9dae3ddcfdf58d95a9ac5da825da81366a04ecb2b70356a1344017aa112c1fe614178d576ed07aa6a8bd95308ce90c351a818c820b353d4' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kleok62VXHaRxENBt3nr' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', 'b6d20b43e0eae5f3bfb331a8268ac86192cf630e3ed82be9fe1ae96a6ae71dcf2d90a32d8ed62badecb4e6d4b6362f4bea6d6aa863a5df726df5dba8c39f6d2a', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'xEn0DNjNCXzBB6JxvZW0', 'cuwadY69MeGF0Jr1BD8F', '8c373a0c5ecd745fc9dae3ddcfdf58d95a9ac5da825da81366a04ecb2b70356a1344017aa112c1fe614178d576ed07aa6a8bd95308ce90c351a818c820b353d4', 'kleok62VXHaRxENBt3nr', 1, NULL, '2012-12-20 22:58:07')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'nIHiD13bIBkhFPn3ipN', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 7  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 8', '2012-12-20 22:58:07', 600)  (0.2ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::BannerSetsController#edit as HTML Parameters: {"id"=>"8"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1 Looking for banner set with id: 8 SpudBannerSet Load (0.4ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1 Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (0.6ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 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 '9f8d5b269afd839d73452cf630986b5f6789addb5ffb3b69723ba2659db49f52490bd695cb671b6ab187eabe4833a6c241822431f38b093321debcad0545920a' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7Drlen94qCo1DihqK' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', 'd20cf6d656e1c4105f37ad0b70e881f96f6ef08b89009aa3eb91eb7c96a363be88cbd5a78eb8aa699b84fb2ea57b65bd4a898b1a97b7c43f639b48b109b46e78', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'etSG6ymyR2C7azR0tZl', 'WQsHqnWMrllJ8MEvCEII', '9f8d5b269afd839d73452cf630986b5f6789addb5ffb3b69723ba2659db49f52490bd695cb671b6ab187eabe4833a6c241822431f38b093321debcad0545920a', '7Drlen94qCo1DihqK', 1, NULL, '2012-12-20 22:58:07')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'uc0R7ebWbmUWCYhTtnL', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 8  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 9', '2012-12-20 22:58:07', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::BannerSetsController#update as HTML Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1 Looking for banner set with id: 9 SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 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  (0.2ms) UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_banner_sets`.`id` = 9  (0.0ms) RELEASE SAVEPOINT active_record_2 SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc Completed 200 OK in 59ms (Views: 0.8ms | ActiveRecord: 3.5ms) SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1  (0.8ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 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 '055ec63dfcf3011bf323a71d0f6007e934639ec84003bb5126cd30d7b8a38d1805fc018322b004772b9cde88b4a00d4ef9615957919158ed83975036c90c7e2c' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XmHn4Cr6EOJ2c4xHPMc' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', '419410b104123344594d168fed7dfbb4728668dff1bb553dca73fdad800dc04d77d55baf67c72300c0ecc6edd6440e6997e85eed96d4f3f52f58a2a3b25395e8', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'P1ug1JAtnTi67AqN9oLR', 'Swt2CGThFhubQX3gGkpA', '055ec63dfcf3011bf323a71d0f6007e934639ec84003bb5126cd30d7b8a38d1805fc018322b004772b9cde88b4a00d4ef9615957919158ed83975036c90c7e2c', 'XmHn4Cr6EOJ2c4xHPMc', 1, NULL, '2012-12-20 22:58:07')  (0.3ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mhNCDNKazSfhm7xSqDER', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 9  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.0ms) SAVEPOINT active_record_2 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.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 10', '2012-12-20 22:58:07', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2  (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"=>"10"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1 Looking for banner set with id: 10 SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2 Completed 422 Unprocessable Entity in 8ms (Views: 0.7ms | ActiveRecord: 1.1ms)  (0.4ms) SELECT COUNT(*) FROM `spud_banner_sets`   (3.3ms) ROLLBACK  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) 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 '9784a61e2cdd80e4892ba418847ec30fc1aef7e3931b437dcf3c7d847fd996e1697d20c10773af8e745bb7f67b02f5d78a72ca2815a87ad30dcfca2343f457dc' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'r5KNEJfHAoxo8bTanzl' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 22:58:07', 'b71ec6758e2e00762ecd280cf945e71db02257d04975f5840c25750a4dee69b179cc269022121802ab057925dd72d8a642f3f46b1e679e121ca3e26583c7a429', '2012-12-20 22:58:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 22:58:07', 'testuser', 1, 'k10muGSM9ZSXn3uX6DNX', 'c3KRQlzX2518xSLRKfCu', '9784a61e2cdd80e4892ba418847ec30fc1aef7e3931b437dcf3c7d847fd996e1697d20c10773af8e745bb7f67b02f5d78a72ca2815a87ad30dcfca2343f457dc', 'r5KNEJfHAoxo8bTanzl', 1, NULL, '2012-12-20 22:58:07')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 22:58:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mZ1Zc6Y1wE0JPkaDoL', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_users`.`id` = 10  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 22:58:07', 1, 200, 'Banner Set 11', '2012-12-20 22:58:07', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets` Processing by Spud::Admin::BannerSetsController#destroy as HTML Parameters: {"id"=>"11"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1 Looking for banner set with id: 11 SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 11 ORDER BY sort_order asc SQL (0.2ms) DELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11  (0.1ms) RELEASE SAVEPOINT active_record_2 Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 1.2ms)  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`   (0.6ms) ROLLBACK  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (0.7ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'  (0.6ms) TRUNCATE TABLE `spud_admin_permissions`;  (1.4ms) TRUNCATE TABLE `spud_banner_sets`;  (0.6ms) TRUNCATE TABLE `spud_banners`;  (1.3ms) TRUNCATE TABLE `spud_user_settings`;  (2.6ms) TRUNCATE TABLE `spud_users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.3ms) SAVEPOINT active_record_2 SpudUser Exists (1.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.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5a96648387bcf221cbce46f5ea0b9c393b3cc11ad3421bede06ad77c38dc7590980a83cfd5148b9923ee90aecb26e1da05134880c1a12951c38329e0dc9e4ebf' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LZahI8BsLmavKgcor0u' LIMIT 1 SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', '22ac15507b1bc3a0acd049ba4884858412dfb603489063ea16332f1fbb163c127777fc395edc20b643313470705ecdc22f1e65be7a5bb8e752b67691d308791c', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'svv9GFOrWQ6kZdhH1aXk', 'LkESr4wWomYNHlTHSXYm', '5a96648387bcf221cbce46f5ea0b9c393b3cc11ad3421bede06ad77c38dc7590980a83cfd5148b9923ee90aecb26e1da05134880c1a12951c38329e0dc9e4ebf', 'LZahI8BsLmavKgcor0u', 1, NULL, '2012-12-20 23:43:23')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qBduy9vlqbZrNiFbUrl', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 1  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.6ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_2 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 '9417028c0b18dca57ea0756f2e8411082ac888239ef4e7708e64f4c3cbe1d59839ae03abec88e36d00ab981221e2a3c0fb430b967d941875f41eccdfb624a57e' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TKjRBFyQ1f0HDsr1q7S' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', 'd57fa7524ee33cc46904e4a1a22e1044ae497961de54a1b342e2afac25ec0ae7c69eea14ddd7d840c8719b67819002e4ffab170ca5cdb6665ae40fc0d6dbf28f', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'RpIREV9pQfo3GNKFzgXC', 'p3TxHUkkpemPCF9jmMtk', '9417028c0b18dca57ea0756f2e8411082ac888239ef4e7708e64f4c3cbe1d59839ae03abec88e36d00ab981221e2a3c0fb430b967d941875f41eccdfb624a57e', 'TKjRBFyQ1f0HDsr1q7S', 1, NULL, '2012-12-20 23:43:23')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Rbcm6wwMYNMwdQbWaa', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 2  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '055487780e759a385c7549e78af62852fd76a84fd4c17b16e57e08d574e0a1338bc1efbe356bbb1add3b42e3ad4d245ac838963f6f7cb744364498606a4cb73e' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uFsDtP0wjMAvRFqSRuH3' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', '646bfe23175d9174e8330ae3fb5d0c6a8bf15b6b7504037aba4e1a013c84c8f77f569d62945098a3aa14a8c76970161453643766b90740b16ecb29f13f2b6dc3', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'ABLuDvYY4DfSiFZlhKgJ', 'ZpBZpen7zgIcdp4ygIHH', '055487780e759a385c7549e78af62852fd76a84fd4c17b16e57e08d574e0a1338bc1efbe356bbb1add3b42e3ad4d245ac838963f6f7cb744364498606a4cb73e', 'uFsDtP0wjMAvRFqSRuH3', 1, NULL, '2012-12-20 23:43:23')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = '9WTfWOgkJpbH36w95m', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 3  (0.1ms) RELEASE SAVEPOINT active_record_2 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` = 3 LIMIT 1 Looking for banner set with id: -1 SpudBannerSet Load (0.3ms) 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: 0.6ms)  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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 'b3f12517a53a0437b8ff55994c000776121589495f633f3d2df970b284eb17b091e8f97ff8b83cae5727e18007710abd0d37abaac1a65cc96cb06bced97adad1' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Ti8dDw9AklKzqJU8FZT4' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', '883fb9be2619ffe51267d26ca80b50d9deff4b0a87fd5540da2b4567d2a48d2040dd16b861040d86a44cba950135427944fc27a67612c4d5738d38768c62b4a3', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'ZB2MlwN2j3H50h8F8X5', 'DfABwaGHDWAbkUYYjp25', 'b3f12517a53a0437b8ff55994c000776121589495f633f3d2df970b284eb17b091e8f97ff8b83cae5727e18007710abd0d37abaac1a65cc96cb06bced97adad1', 'Ti8dDw9AklKzqJU8FZT4', 1, NULL, '2012-12-20 23:43:23')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'my1bf3uXBwDZZZwzRvhw', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 4  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::BannerSetsController#new as HTML SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1 Completed 200 OK in 14ms (Views: 9.6ms | ActiveRecord: 0.3ms)  (6.7ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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 'd3811832b0fffc504b82afc52c0c9dfde86280596d3c8a1d586815fb908520c2a96773a5ed1cb5ff2fc43fa96d92d16e799f957f0dd4c0fd2f87d892f78bd2a7' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HrKRg434jhplXt3ZZ4F' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', 'd4d7cab4e7788bba5211f9811d582cc42451a34dab02bf5eb3d985a3f0634a0288e3acd3178a7b924c7fb8584370f2a0adab02d4d179ecdb2f3e791314a25937', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'op7M9XXeNWxmdRiKMiEs', 'Wy49HChjBe5jikx688n', 'd3811832b0fffc504b82afc52c0c9dfde86280596d3c8a1d586815fb908520c2a96773a5ed1cb5ff2fc43fa96d92d16e799f957f0dd4c0fd2f87d892f78bd2a7', 'HrKRg434jhplXt3ZZ4F', 1, NULL, '2012-12-20 23:43:23')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gGeuH1SuZUrXoQZtvnrV', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 5  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`  (8.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 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 '8defcc9618713654b512833339345270b86304fe40839c7c31eb0b98c50bfb98a3882694e2d9dd322639d0bfe9557dafb36b2e9a6d025bcabac26463f33d910d' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4Vf3a3vA51mHTntSJec' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', 'f99b2170bf07432ad599e2bf1ac489efa42fab2a7ba2f64130c43fb4daba0ea9be237238c8b949471d5d1befb734b60b093e5a799a03f55d1708f15598488b4c', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'ngy1oMm9CiwVkIr2x3cG', 'uwRgGc75jOl7Dau3qZo', '8defcc9618713654b512833339345270b86304fe40839c7c31eb0b98c50bfb98a3882694e2d9dd322639d0bfe9557dafb36b2e9a6d025bcabac26463f33d910d', '4Vf3a3vA51mHTntSJec', 1, NULL, '2012-12-20 23:43:23')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Zasw4iJzqzRQnPTmuVt', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 6  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) 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` = 6 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2 Completed 422 Unprocessable Entity in 10ms (Views: 0.8ms | ActiveRecord: 0.8ms)  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets`  (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) 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 '18728ae710f2d566f8e9d659550c34cc78d49e3a8aed30b31d8ef4d63d31f52255ae20c78172c0c09e7d1985a68fc77052176a12faf4a82985a4a47a307585ff' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZSjX22qNmgRMHaktVMP9' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', 'bc89f15ed97efec5f3dca776685884a4469ef32e49b7fdbb6a156842f33beec375dc825700a2aa648f5c5782ff4c7d2c62676c4033199ad8e779a24d558c0d0f', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'wG6qA2Zoc2wNqbniWqJ', 'W4E2Nfp2Exmod0ckyk3', '18728ae710f2d566f8e9d659550c34cc78d49e3a8aed30b31d8ef4d63d31f52255ae20c78172c0c09e7d1985a68fc77052176a12faf4a82985a4a47a307585ff', 'ZSjX22qNmgRMHaktVMP9', 1, NULL, '2012-12-20 23:43:23')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iTdb1kXKWpOes4KVBor9', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 7  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd47813e739f98ebc75f1371ca7190c815b5febad3959f93b11c0fe8d6db96be7045b9fb7dd385b4615ac2e0a77918fc7c64c2e6b4edb28dc15905023dbe90076' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'e2WApnPLYtp7oMjE4LZP' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', '9ef81d44c85970d94b1fe33a93e8706bd6de95be07e6d49f52844402dd9be1c590784712236fd041fa14f292023d9cc072f2bd2e4ff320eaef180db3ff1424bc', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'IFFtTrY6HOvpq7ZjGUM9', 'v1BZwkgznMQN8LCgPqP', 'd47813e739f98ebc75f1371ca7190c815b5febad3959f93b11c0fe8d6db96be7045b9fb7dd385b4615ac2e0a77918fc7c64c2e6b4edb28dc15905023dbe90076', 'e2WApnPLYtp7oMjE4LZP', 1, NULL, '2012-12-20 23:43:23')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qm8IY8wLVU1S3ahgfE8', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 8  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.3ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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 '6b4c3d6c1563bcb9c9f8bec0b85421bcbe7c3629a7d986800da5be8fa0c582def579678322d5b72584736af0ae5201c17f737edf03f9bd81552e1e9830ea3d85' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0ThRhGk9Xky7sWsTYK5' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', '6fb81d9bf8de0448edefa7a6a5133b3863acaff22c0b8b076273c8d065879c0e8b19d4daa318a42f8550f11db0204317abb00945dcf80198972b0186857eafe3', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'nGfZBnVqUFq0jftG7BAe', '9aSksPMTb3OmxwJEv', '6b4c3d6c1563bcb9c9f8bec0b85421bcbe7c3629a7d986800da5be8fa0c582def579678322d5b72584736af0ae5201c17f737edf03f9bd81552e1e9830ea3d85', '0ThRhGk9Xky7sWsTYK5', 1, NULL, '2012-12-20 23:43:23')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'W6Otc43Q203jVVV5VxiJ', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 9  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.3ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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 'ca7db2e38055556b01901df26d8a7e589e3a5fcf3aeb4b8433940fbca1558ccc2c8b1f832a8e0ba8105943b0d48bbe18fcf265ac6c290874310206c071bcc698' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'z6hMFzt2sfNbZksdKMih' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:43:23', '6c39e65da6929f6bb1b6e92fbac1cec562b459d71cde120679a3ccddcd24c7b3bf203f41e62d3405f30c4bb0b327707377bcc26a6cd1d61541dd1b25e3d844e2', '2012-12-20 23:43:23', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:43:23', 'testuser', 1, 'nveqB9qum9UASq54U1HM', 'HMQAED0h1UuhrQp4W3v', 'ca7db2e38055556b01901df26d8a7e589e3a5fcf3aeb4b8433940fbca1558ccc2c8b1f832a8e0ba8105943b0d48bbe18fcf265ac6c290874310206c071bcc698', 'z6hMFzt2sfNbZksdKMih', 1, NULL, '2012-12-20 23:43:23')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:43:23', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gT8GWC0XTnY4IpWKvC83', `updated_at` = '2012-12-20 23:43:23' WHERE `spud_users`.`id` = 10  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (1.2ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'  (0.6ms) TRUNCATE TABLE `spud_admin_permissions`;  (0.5ms) TRUNCATE TABLE `spud_banner_sets`;  (0.5ms) TRUNCATE TABLE `spud_banners`;  (0.5ms) TRUNCATE TABLE `spud_user_settings`;  (0.7ms) TRUNCATE TABLE `spud_users`;  (0.0ms) SET FOREIGN_KEY_CHECKS = 1  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (1.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.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '386aa08d0493b1757a20d31cc49d67c2f0aaeaa4467f6c60e2863b1fe1146fd60c685fbd164b96fa67741cbf190ebe53bcc87dd567ab76cb49cd94de9998e09d' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'F6XXm8IECvzUGgs2KPcs' LIMIT 1 SQL (0.5ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', '1b5ecb7deefe01407c336c42a7c9ca6886007e4cf82a99fd189bb2a93831b62b27d4389439c6f44fd20d80db62d1290a4fc282f299cb4ac4f3f770cf165e1dde', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'l8yb0OjNJJfgbrmrkG4', 'rjFYMgJOv8egbcbOpC', '386aa08d0493b1757a20d31cc49d67c2f0aaeaa4467f6c60e2863b1fe1146fd60c685fbd164b96fa67741cbf190ebe53bcc87dd567ab76cb49cd94de9998e09d', 'F6XXm8IECvzUGgs2KPcs', 1, NULL, '2012-12-20 23:44:54')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YQxeNqe4bgJIY9mC91HF', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 1  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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 '4f54177b09038038b290f64a6fc9ca15e24c23f6e1bb7bf1ef11236e6776f2dd4667a0e87e3396f756af4e507421fbcc1571b98d88f757ef3e0be799263d1f8c' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yog55UMQzx7MhyzczDrq' LIMIT 1 SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', '406d443dd0d1030834c8e771a47b51f6dd50c1418af5a5b8947a68575bce012eb14bf8a23198f2cc34649d739fe3f6aee6cccce1c31aa468466bf70d09e780e8', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'd66idfsx8WYFyXtlEFrC', 'hzcysreSAY6FQ6sAKjXx', '4f54177b09038038b290f64a6fc9ca15e24c23f6e1bb7bf1ef11236e6776f2dd4667a0e87e3396f756af4e507421fbcc1571b98d88f757ef3e0be799263d1f8c', 'yog55UMQzx7MhyzczDrq', 1, NULL, '2012-12-20 23:44:54')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'R2WjI3WylFZBv2CrJicP', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 2  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) 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 'beb9c3efb91d656997c49bfa42bf4a73b74fafa368c94a4fa24f2b51e9bc8844b4e9a0c1edf8c059d01ef41fce3c6513cde412a36fb8471638e7eb84fa2af440' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1IHWil6iyT3nkzhi0nxt' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', 'eae36c7d72d02d3c815ab74b0a4319e06eda621fe72a7d1142c949895788d626241861c0a749fc0f5055e6da44e271fc52c7d2e50848f2b02645554689742a2a', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'ZIcGBmCdtQmKYAiIvI', 'uBXg4KIsLrfMI6vSyP', 'beb9c3efb91d656997c49bfa42bf4a73b74fafa368c94a4fa24f2b51e9bc8844b4e9a0c1edf8c059d01ef41fce3c6513cde412a36fb8471638e7eb84fa2af440', '1IHWil6iyT3nkzhi0nxt', 1, NULL, '2012-12-20 23:44:54')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = '9cUhBvWHoAfdr4eOyRNx', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 3  (0.1ms) RELEASE SAVEPOINT active_record_2 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` = 3 LIMIT 1 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.6ms)  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 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 '45c2f9adc815d7acf9d706831f140533b51f554d427a4d0fe86482722e214682134bd2a422a7097c442cb1c03a189902ec1aa9524d191eca62aefe9acefe5282' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EMftPbi51IVKf99nhYdJ' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', '3002ee2cd805d1556345ff0d6ebed9e026ba28f9f3e5f92ed19d29de8c35d1de56b88b742cc5179a27107a02ac055bb28485517687c6957b2480dcf010e027e8', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'n2Hy1pyf5uhG1jFrdH', 'KVgoUJMfizLBcAlEvnW3', '45c2f9adc815d7acf9d706831f140533b51f554d427a4d0fe86482722e214682134bd2a422a7097c442cb1c03a189902ec1aa9524d191eca62aefe9acefe5282', 'EMftPbi51IVKf99nhYdJ', 1, NULL, '2012-12-20 23:44:54')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'b70M0YOsVc0htMUPc0yw', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 4  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::BannerSetsController#new as HTML SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1 Completed 200 OK in 11ms (Views: 8.1ms | ActiveRecord: 0.3ms)  (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9c33b29c865fa315041d17bd4742d897e849c0a31d5c96c04c85e4413e068ed1d9689860d58860d486b22cfa5d486c1d6fe7de1563a2428a421f3e5e4218e929' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qHkQtG61mV6alMsOVYKN' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', 'd44b816256f0091fbbc74bd8a5fed4d7ee2f3d29c73b826945fbae952d5a1ec2edfa3a369ba5bdc6c3f8e507030484f1ce95a4dcd60bd0084943eb46045eafde', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'w1wZxuOx4VUECxmImfyA', 'RC8CEi8XraeYZHqnqENi', '9c33b29c865fa315041d17bd4742d897e849c0a31d5c96c04c85e4413e068ed1d9689860d58860d486b22cfa5d486c1d6fe7de1563a2428a421f3e5e4218e929', 'qHkQtG61mV6alMsOVYKN', 1, NULL, '2012-12-20 23:44:54')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GybKjf1bHzCGX2drz0U', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 5  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets` Processing by Spud::Admin::BannerSetsController#create as HTML Parameters: {"spud_banner_set"=>{"name"=>nil, "width"=>"600", "height"=>"200", "cropped"=>true}} SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` IS NULL LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2 Completed 422 Unprocessable Entity in 8ms (Views: 0.7ms | ActiveRecord: 0.8ms)  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`   (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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 '42b71603c94fa768c8468282d1893a282de6fba42004d26d605056c2db885ad3bb4b69db7d1c78efcb52d1d2b0a5e781f26bb20fc20d61b7093e57a38ade1c5c' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KWsC5EIynuGWRBIfj738' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', '7f4fbee2d9bc8ba39895977f753dbb6922a306e173d4f2f6fafbaf4b4ca03a9ad97f43aa72b53482ef5339b537fc6a3a38cce1f482a263e6b210fe610abea2ce', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'LE9Q7wNiOtCZOVragyZ', 'IzVKkDJRE7aJ3nj5F6', '42b71603c94fa768c8468282d1893a282de6fba42004d26d605056c2db885ad3bb4b69db7d1c78efcb52d1d2b0a5e781f26bb20fc20d61b7093e57a38ade1c5c', 'KWsC5EIynuGWRBIfj738', 1, NULL, '2012-12-20 23:44:54')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'lkXfYK3HQd0nc7CqiyQ', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 6  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) 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` = 6 LIMIT 1  (0.2ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2 Completed 422 Unprocessable Entity in 7ms (Views: 0.7ms | ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`   (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) 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 '2974dcee0f105c5070e9d0ec69febdd43d17a4e1070c1f301316353b1a86a91e0663e2a97800b4e887993a646fd530ed1742d44c44ad0790156664c982ed0b95' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Zr7unkmbi0IuJIoWNk0' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', 'ffe98958e548a43dfd92279997cf85b060d6515a7e34bdd8b84d0d5674baa693ecdfba314994c703c6894ad038387e5bf23808ec4551fb9a111e8333ec4486af', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'YM4UkgApBf1zo1ofpvkm', '5OkSq4kC4NuFBZ8M63Mw', '2974dcee0f105c5070e9d0ec69febdd43d17a4e1070c1f301316353b1a86a91e0663e2a97800b4e887993a646fd530ed1742d44c44ad0790156664c982ed0b95', 'Zr7unkmbi0IuJIoWNk0', 1, NULL, '2012-12-20 23:44:54')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'emSe2Ac90Dlc3Dw2Xvq', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 7  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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 '9a5400ab0b11b4fcf146a5512e5a40abc4e5dd5e53be5a0481117f42111b6938b77abd6e850f9c740afe8ee9bf80590ff2195b31653c0b0be6ff79220a9c50a7' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8zTqoL9wQtQW16vpWCr' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', 'd1fbbf95813abb36a9c9aace2ab1a0ee2a487651dc7fa1332147320ef085bafaa2ead7d4d3d67f81e1f31719620dc843280eb97f2916cd4768dfe189d080e158', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'd2LyH5k7PZiMfpWjDF', 'NzhyNzhGQoHONvMZ37B', '9a5400ab0b11b4fcf146a5512e5a40abc4e5dd5e53be5a0481117f42111b6938b77abd6e850f9c740afe8ee9bf80590ff2195b31653c0b0be6ff79220a9c50a7', '8zTqoL9wQtQW16vpWCr', 1, NULL, '2012-12-20 23:44:54')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gpzjq4QmAeirWmf3tky', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 8  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 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 'd2a620253c115f29f9e1dabbfe52d5cbafc8a7dc1becd3fd7c2957e9305b1d06d0dc65218c0e97d1ea7f790421b1f416c7d802cffede9617192600e7ea02355b' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Ab8k4j7wDCmaxD4PvsVF' LIMIT 1 SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', '01263d1b279ffdf7d9097d08fc729dd0ca0a71108f0e62f9c2a0b9673fea7798219643c1d4bdf316e4a743d243749091641c38a03acc091a603d3004c9d559d6', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, 'ePPOFmU6ppIykpvRB0Tq', 'hW03MFsYY8oy2q7sT', 'd2a620253c115f29f9e1dabbfe52d5cbafc8a7dc1becd3fd7c2957e9305b1d06d0dc65218c0e97d1ea7f790421b1f416c7d802cffede9617192600e7ea02355b', 'Ab8k4j7wDCmaxD4PvsVF', 1, NULL, '2012-12-20 23:44:54')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'W3MGzfWhjW9sPewzQhFH', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 9  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.4ms) ROLLBACK  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 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 'fc6225f17bb786c6faa6fc308c8e759ee917d82d7bd06497aacba6c4c470682448cc2b16f2ff27ab4af6f0907b5fc9216a6342519265eab28d328cce24984d1b' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'D2metN8TIdV32ZbOPITr' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:44:54', 'ea4555be100d9c133023953548e257544a0e6f15dc8bc5f63e1f24dacfd67cf370d8fa9bd6c89f69da192204ac52c1baaa1faef6a51ad63619ab3803011e5409', '2012-12-20 23:44:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:44:54', 'testuser', 1, '1RQbIak8D1sFpxc9m1vv', '1DK9zb5EAA1kalUO9', 'fc6225f17bb786c6faa6fc308c8e759ee917d82d7bd06497aacba6c4c470682448cc2b16f2ff27ab4af6f0907b5fc9216a6342519265eab28d328cce24984d1b', 'D2metN8TIdV32ZbOPITr', 1, NULL, '2012-12-20 23:44:54')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:44:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'R6s2X1ILDBOeauKKc0', `updated_at` = '2012-12-20 23:44:54' WHERE `spud_users`.`id` = 10  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.6ms) ROLLBACK  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (2.2ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'  (0.9ms) TRUNCATE TABLE `spud_admin_permissions`;  (0.8ms) TRUNCATE TABLE `spud_banner_sets`;  (0.9ms) TRUNCATE TABLE `spud_banners`;  (0.7ms) TRUNCATE TABLE `spud_user_settings`;  (1.1ms) TRUNCATE TABLE `spud_users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (2.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.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7400314332d02c51e81c69a5e1ca62b2dfb1e6380f71fea9d49952453c790d2314374fbf2138b76efa5c91c78fc62f2eb8949a64fe4bfbfdbd85a185db2bc3b0' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BAzT2ErpWyk6kBiIUyk' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:13', '83f63e7e4456087f8701a83e0360d73f7ae31083d8d26da67278f86a387cf54cf081e8e412cf0fcba73454fe15e07e37584bad87a8ddb1c861a254b80a0c4cfe', '2012-12-20 23:45:13', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:13', 'testuser', 1, 'cFeUp7BRXk6HsIOulwfY', 'CkFEmR2TQWeIpBXI3he', '7400314332d02c51e81c69a5e1ca62b2dfb1e6380f71fea9d49952453c790d2314374fbf2138b76efa5c91c78fc62f2eb8949a64fe4bfbfdbd85a185db2bc3b0', 'BAzT2ErpWyk6kBiIUyk', 1, NULL, '2012-12-20 23:45:13')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:13', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gWdSqOSbfU7T9t5F65J7', `updated_at` = '2012-12-20 23:45:13' WHERE `spud_users`.`id` = 1  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_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`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:13', 1, 200, 'Banner Set 1', '2012-12-20 23:45:13', 600)  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:13', 1, 200, 'Banner Set 2', '2012-12-20 23:45:13', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:13', 1, 200, 'Banner Set 3', '2012-12-20 23:45:13', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:13', 1, 200, 'Banner Set 4', '2012-12-20 23:45:13', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.3ms) 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`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:13', 1, 200, 'Banner Set 5', '2012-12-20 23:45:13', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::BannerSetsController#index as HTML SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1 SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` Rendered /Users/davydotcom/projects/ruby/engines/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.0ms) Completed 200 OK in 16ms (Views: 10.3ms | ActiveRecord: 0.5ms)  (0.7ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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 '6f86f0facdd63abeffe7051397dbc8a2af24d11537d9635e851c07f31a16e7774d14bfd0e067ba99c4c578cd4377aaef88b8aba708c663811d1cdfafce531feb' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'W17QCh4R5QnIIwl0vJy' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:13', 'cec69ca44f049f0f6f1119c02a1f2bbdeec097539cab5b30536873358e2e6473f66bdf56b25a0f243cc8821e4e753e07ea69452a31782c64fe4658fc9c7f7e1c', '2012-12-20 23:45:13', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:13', 'testuser', 1, 's1wv5tUS8KjDUzxFFZ', '08C86w0zcZEf5vKRz9Z', '6f86f0facdd63abeffe7051397dbc8a2af24d11537d9635e851c07f31a16e7774d14bfd0e067ba99c4c578cd4377aaef88b8aba708c663811d1cdfafce531feb', 'W17QCh4R5QnIIwl0vJy', 1, NULL, '2012-12-20 23:45:13')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:13', `last_login_ip` = '0.0.0.0', `perishable_token` = '4bK9VDLLwSjanTUC9i1J', `updated_at` = '2012-12-20 23:45:13' WHERE `spud_users`.`id` = 2  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:13', 1, 200, 'Banner Set 6', '2012-12-20 23:45:13', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::BannerSetsController#show as HTML Parameters: {"id"=>"6"} SpudUser Load (0.5ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1 Looking for banner set with id: 6 SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.7ms)  (0.5ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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 '71879bbcc5c27ef2c49b6c039f2b32cd3c8de8b56ea9a960e46b4ccda55c8d8f8abb9110daa12d17eba28a20f2445801031be1e796906bf56efcc208c4643ec0' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VJcjyWItnG1Y3dP4oWe' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:13', '15a5d765fbc99de08b79e1badc664761b87b11c1f031ee7f5b3ce92d474630e9d6ece388f7bab1bb28fa7299835e64f1031100f7db0fd9b4c6676437d12bbbc8', '2012-12-20 23:45:13', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:13', 'testuser', 1, 'ZzMPYnpdkZosmZoIaq1', 'G2o90ROa36rp8f4Q0BCr', '71879bbcc5c27ef2c49b6c039f2b32cd3c8de8b56ea9a960e46b4ccda55c8d8f8abb9110daa12d17eba28a20f2445801031be1e796906bf56efcc208c4643ec0', 'VJcjyWItnG1Y3dP4oWe', 1, NULL, '2012-12-20 23:45:13')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:13', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VPJmFuLdLU1jnO73AooO', `updated_at` = '2012-12-20 23:45:13' WHERE `spud_users`.`id` = 3  (0.1ms) RELEASE SAVEPOINT active_record_2 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` = 3 LIMIT 1 Looking for banner set with id: -1 SpudBannerSet Load (0.4ms) 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 4ms (ActiveRecord: 0.7ms)  (0.7ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) 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 '1eab0845df7a34fc4af50f7e713ac438cfdc950b3e5a4bc494f0cd116d972679c2cf3a2a8095d1b59257adb4cf57ee7ba0578f68c50e6334bf6eb78171ec5696' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4nAoJ424vzZo0begtLgT' LIMIT 1 SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:13', '09a1bd7a4d184ec45780ab37ebdf0f8d60706f01194dd243a01e16e9c034555a739310b7c368f634593350979910f821da186462585af5d1ab71106daf21cc3e', '2012-12-20 23:45:13', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:13', 'testuser', 1, 'osmTg4xI3TquQUEcifWq', 'Wq1jNM80F0MrNsMOPo', '1eab0845df7a34fc4af50f7e713ac438cfdc950b3e5a4bc494f0cd116d972679c2cf3a2a8095d1b59257adb4cf57ee7ba0578f68c50e6334bf6eb78171ec5696', '4nAoJ424vzZo0begtLgT', 1, NULL, '2012-12-20 23:45:13')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:13', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dYrojaBckJXVNlOrZq94', `updated_at` = '2012-12-20 23:45:13' WHERE `spud_users`.`id` = 4  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::BannerSetsController#new as HTML SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1 Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.3ms)  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 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 'b936a2f15b918b2469e7647bf3021d024111e03c435b073a4657c431ce281bb840ca858bada1270e48aa3678662a8986225d5c519973fa472b32cd1997592443' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'buzQsrEI6WdK7lt5aQi' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:13', '38434a33d6a96f887d165e9722d9a6f51f2cc95f13fd63b2f68f0bf34de46dd5250536dc01b9ed256823b52c67efd7ad4752765e733dc6f41ca5af291c228a5a', '2012-12-20 23:45:13', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:13', 'testuser', 1, 'uWj6BauUGHySlDpD4y', 'fNbDMgBCslOrgpirkxpe', 'b936a2f15b918b2469e7647bf3021d024111e03c435b073a4657c431ce281bb840ca858bada1270e48aa3678662a8986225d5c519973fa472b32cd1997592443', 'buzQsrEI6WdK7lt5aQi', 1, NULL, '2012-12-20 23:45:13')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:13', `last_login_ip` = '0.0.0.0', `perishable_token` = 'eIoAdjtgW6S6qbcUJzX', `updated_at` = '2012-12-20 23:45:13' WHERE `spud_users`.`id` = 5  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) 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` = 5 LIMIT 1  (0.2ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.3ms) 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`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:13', 1, 200, 'Banner Set 7', '2012-12-20 23:45:13', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2 Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 1.0ms)  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`  (0.3ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 SpudUser Exists (0.3ms) 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 'f62dfbe0bd1814e8a5b7d67f85d67b6030df785638904ef84c36945738c25a862007872ffebb7494003920678e47b60bd8239f8ac20412f431efddc899139813' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qIYwlbeRYqSer7DBEFR' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:13', 'bacdf55e2336ca781daa3e734aa2ebab1fcaf4839e50e761bcacc3e47489eab436b7f9ad160dd39602d712d6c93fad8f195fa2c048a5444e50d5b252312a07d0', '2012-12-20 23:45:13', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:13', 'testuser', 1, 'cujMRegIx5R6D4CxHVH', 'eHJUoeGjc99W6gzm1YX', 'f62dfbe0bd1814e8a5b7d67f85d67b6030df785638904ef84c36945738c25a862007872ffebb7494003920678e47b60bd8239f8ac20412f431efddc899139813', 'qIYwlbeRYqSer7DBEFR', 1, NULL, '2012-12-20 23:45:13')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:13', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iG6tSj4OVZWqvm3L36Mf', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_users`.`id` = 6  (0.2ms) RELEASE SAVEPOINT active_record_2  (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.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1  (0.2ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2012-12-20 23:45:14', `perishable_token` = 'RNM2qoyYc3KTmH5jjie', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_users`.`id` = 6  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_2 Completed 422 Unprocessable Entity in 11ms (Views: 0.7ms | ActiveRecord: 1.8ms)  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`   (0.6ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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 'e0db6baac2401111748b6d8aa225305c94b7eeee563dddd6c71f3571aa3d26ce5f3bd9ab5e0666fe264c2ffd92ded569b452e2d39c38ad3ec427f8e93876535d' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'aG8PruBEXZwJUL12yec' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:14', 'ce5af1ec73a8618c4c84d16878adb2e1e4c39c8869069a75aa776dbc2c2fef143b0c37dd8d15c7f69870a1056d0033e2dc356d0ff871d1efde9638b30e072b90', '2012-12-20 23:45:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:14', 'testuser', 1, 'wrl8cltOsuQ9NcKxISjd', 'Ipl4iP5y9DiZLn73UdiG', 'e0db6baac2401111748b6d8aa225305c94b7eeee563dddd6c71f3571aa3d26ce5f3bd9ab5e0666fe264c2ffd92ded569b452e2d39c38ad3ec427f8e93876535d', 'aG8PruBEXZwJUL12yec', 1, NULL, '2012-12-20 23:45:14')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:14', `last_login_ip` = '0.0.0.0', `perishable_token` = '1HPxnym2vmp8ZyLRPmW', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_users`.`id` = 7  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:14', 1, 200, 'Banner Set 8', '2012-12-20 23:45:14', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::BannerSetsController#edit as HTML Parameters: {"id"=>"8"} SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1 Looking for banner set with id: 8 SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms)  (0.5ms) ROLLBACK  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_2 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 '41b02b9bfae8a5f59978bef77b79166c1caedbe41f524e795e4b93c5b6ac4d1c9f19b609ab8b992966cf9c20277f610e0a534ccd7284ebaf9256eb73825bd7fc' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tzxvqYn8WED2aOsMkj1' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:14', '914d78325455a6cecace8eb91f430b50431069463be62451b09baf48a6e1f396b940dd5c4cd9a0ba5cd4b52fc22cd74e72cc1edb3e1f81c93a3406a37aad74f2', '2012-12-20 23:45:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:14', 'testuser', 1, 'kI61HRSd7i6PeyB1eP9', 'mFRe64gEYeh5DPNmROBc', '41b02b9bfae8a5f59978bef77b79166c1caedbe41f524e795e4b93c5b6ac4d1c9f19b609ab8b992966cf9c20277f610e0a534ccd7284ebaf9256eb73825bd7fc', 'tzxvqYn8WED2aOsMkj1', 1, NULL, '2012-12-20 23:45:14')  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'fywvBOAjbIp95cK0D', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_users`.`id` = 8  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.3ms) 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`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:14', 1, 200, 'Banner Set 9', '2012-12-20 23:45:14', 600)  (0.2ms) RELEASE SAVEPOINT active_record_2 Processing by Spud::Admin::BannerSetsController#update as HTML Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"} SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1 Looking for banner set with id: 9 SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 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  (0.2ms) UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_banner_sets`.`id` = 9  (0.1ms) RELEASE SAVEPOINT active_record_2 SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc Completed 200 OK in 24ms (Views: 0.7ms | ActiveRecord: 3.5ms) SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1  (0.6ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 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 'b293c08b2b6580c7ee1d1dd530774e36fbac7e6b9141b762dcd67b3c486ac6e1c6446f9f43598afbef0c22d5182f516825b4da0378725ae9a04c9c56bbfe373b' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'K4bbYc4rBXPIYzkA3I' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:14', '07846979c4b549c4e54854518862132c496a6124f67e2d4eae8c5a53dd8b757ef3d3bed9cf62c2e2e3a7e712aaf4129ec2b036cc28410123b0644e31ba8978b0', '2012-12-20 23:45:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:14', 'testuser', 1, 'vDdHYegPKcpYMuQ1Cli', 'AUeMGqkmYKAciBjiDzT', 'b293c08b2b6580c7ee1d1dd530774e36fbac7e6b9141b762dcd67b3c486ac6e1c6446f9f43598afbef0c22d5182f516825b4da0378725ae9a04c9c56bbfe373b', 'K4bbYc4rBXPIYzkA3I', 1, NULL, '2012-12-20 23:45:14')  (0.0ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Q4A6ozAuSQDRnEIGgCC', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_users`.`id` = 9  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 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`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:14', 1, 200, 'Banner Set 10', '2012-12-20 23:45:14', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets` Processing by Spud::Admin::BannerSetsController#update as HTML Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"} SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1 Looking for banner set with id: 10 SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.5ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2 Completed 422 Unprocessable Entity in 12ms (Views: 0.8ms | ActiveRecord: 1.5ms)  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`  (0.4ms) ROLLBACK  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_2 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 '105a65d7a884d4bc01a0f5137991363992d0ce9c017ac92ff3d8c1d37df1b694358b22d5e66444fe59b1c0a846904384e6b940222c220edc40cbb811ff3064aa' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ntGepINYv7UTcAMMX53a' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-20 23:45:14', 'e67caea149a702e8f1910421c7db89d026842b36c3137201dc113a25d653b9e6fe2ff388605844fa2917508a2cdcbefe069e401f5905e403f4231fad8d420db8', '2012-12-20 23:45:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-20 23:45:14', 'testuser', 1, '33aF5O6dyjnLG4j6BrY', '69g26iKjYAy9CiEnMGvj', '105a65d7a884d4bc01a0f5137991363992d0ce9c017ac92ff3d8c1d37df1b694358b22d5e66444fe59b1c0a846904384e6b940222c220edc40cbb811ff3064aa', 'ntGepINYv7UTcAMMX53a', 1, NULL, '2012-12-20 23:45:14')  (0.2ms) RELEASE SAVEPOINT active_record_2  (0.2ms) SAVEPOINT active_record_2  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-20 23:45:14', `last_login_ip` = '0.0.0.0', `perishable_token` = '5kPSzLSAF9F3wOpOsQXC', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_users`.`id` = 10  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SAVEPOINT active_record_2 SpudBannerSet Exists (0.3ms) 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`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-12-20 23:45:14', 1, 200, 'Banner Set 11', '2012-12-20 23:45:14', 600)  (0.1ms) RELEASE SAVEPOINT active_record_2  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets`  Processing by Spud::Admin::BannerSetsController#destroy as HTML Parameters: {"id"=>"11"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1 Looking for banner set with id: 11 SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11 LIMIT 1  (0.1ms) SAVEPOINT active_record_2 SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 11 ORDER BY sort_order asc SQL (0.2ms) DELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11  (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