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