spec/dummy/log/test.log in spud_banners-0.9.0.2 vs spec/dummy/log/test.log in spud_banners-0.9.1
- old
+ new
@@ -1,8512 +1,959 @@
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`
-Connecting to database specified by database.yml
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mSpudBannerSet Exists (1.8ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:25:36', 1, 200, 'Banner Set 1', '2012-11-27 19:25:36', 600)[0m
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:25:36', 1, 200, 'Banner Set 2', '2012-11-27 19:25:36', 600)[0m
- [1m[35m (0.4ms)[0m COMMIT
-Connecting to database specified by database.yml
- [1m[36m (0.9ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[36m (0.4ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (1.3ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1615c6dc255bcd780909e4c2e4dbc3406c29b44285484bbc3e353222ae58d99bb50cd41bb77bcd21d40a590c1159477d7f1de925b25ef01dfaf2d9f9de8423f0' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ixF0t2S2u43WFzdMJp' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:26:17', '7cac1f14c4052de471d7e022ef791c0c00884fea7767b742f534bee0dd1557ae2669abb6dbbb179db963c689bc5be481f978e7daab59674644bf545c35c347ac', '2012-11-27 19:26:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:26:17', 'testuser', 1, 'G4SYa66XOMSmbe06fkOG', 'FwyovpWL1PfngaXivxty', '1615c6dc255bcd780909e4c2e4dbc3406c29b44285484bbc3e353222ae58d99bb50cd41bb77bcd21d40a590c1159477d7f1de925b25ef01dfaf2d9f9de8423f0', 'ixF0t2S2u43WFzdMJp', 1, NULL, '2012-11-27 19:26:17')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:26:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'yaeZdO8uzuMg47v8HHU', `updated_at` = '2012-11-27 19:26:17' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:26:17', 1, 200, 'Banner Set 1', '2012-11-27 19:26:17', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:26:17', 1, 200, 'Banner Set 2', '2012-11-27 19:26:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (38.7ms)
-Completed 200 OK in 65ms (Views: 54.4ms | ActiveRecord: 0.6ms)
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
[1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.5ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'af95c4a25c6ba127b6ac07895efa4915b998d5a97f046c41ccdc5c7cdd070448a202442deb9438e354dffb0f14f6e519b422bf7246f008b1f61f1c623510876f' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eZeUQQgCMRaykhfTnf' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:27:36', '2853952ff3773febf2fbc8f80c0348a5a62008bc7d45c654b0f56383b57678042f4d7328ebc34c08cb67457eb8d86451e830dfa1e7955d39b470d849d6fe542d', '2012-11-27 19:27:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:27:36', 'testuser', 1, '7CHl75huD8Ef7agbpHV', 'QGUztnFGNxRMmA0Hhhmh', 'af95c4a25c6ba127b6ac07895efa4915b998d5a97f046c41ccdc5c7cdd070448a202442deb9438e354dffb0f14f6e519b422bf7246f008b1f61f1c623510876f', 'eZeUQQgCMRaykhfTnf', 1, NULL, '2012-11-27 19:27:36')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:27:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'SISZhw05iRAbGTTvpHl', `updated_at` = '2012-11-27 19:27:36' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:27:36', 1, 200, 'Banner Set 1', '2012-11-27 19:27:36', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:27:36', 1, 200, 'Banner Set 2', '2012-11-27 19:27:36', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:27:36', 1, 200, 'Banner Set 3', '2012-11-27 19:27:36', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:27:36', 1, 200, 'Banner Set 4', '2012-11-27 19:27:36', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:27:36', 1, 200, 'Banner Set 5', '2012-11-27 19:27:36', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (3.1ms)
-Completed 200 OK in 62ms (Views: 53.2ms | ActiveRecord: 0.7ms)
- [1m[36m (2.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.2ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
+ [1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '01d6bb406d59e8906f5c3a5e1dcacbd57b7c88d29e6c5b8eb138468393eaa962349cfc8cb542ca23dd97638882def6062ca566fde4e800a75d50edee0a1cc76d' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'q9mDHA3tvmp6mX1lit6' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:27:46', '9933a31b7ef0bfd7be0eeb95119dd19f47e5373f563ec1153a1e6564b4e9d029dff59504a297eb34f7e0fe3ad5df94b409c1e50d2c60e9c833329b676135bc00', '2012-11-27 19:27:46', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:27:46', 'testuser', 1, 'DOCTBIopPnyM24zmUUK', '7JyHV4gRJthjMUUXCbv', '01d6bb406d59e8906f5c3a5e1dcacbd57b7c88d29e6c5b8eb138468393eaa962349cfc8cb542ca23dd97638882def6062ca566fde4e800a75d50edee0a1cc76d', 'q9mDHA3tvmp6mX1lit6', 1, NULL, '2012-11-27 19:27:46')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:27:46', `last_login_ip` = '0.0.0.0', `perishable_token` = 'f2pgWlSwp8qNxzYqENz', `updated_at` = '2012-11-27 19:27:46' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:27:46', 1, 200, 'Banner Set 1', '2012-11-27 19:27:46', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:27:46', 1, 200, 'Banner Set 2', '2012-11-27 19:27:46', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:27:46', 1, 200, 'Banner Set 3', '2012-11-27 19:27:46', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:27:46', 1, 200, 'Banner Set 4', '2012-11-27 19:27:46', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:27:46', 1, 200, 'Banner Set 5', '2012-11-27 19:27:46', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.7ms)
-Completed 200 OK in 60ms (Views: 50.8ms | ActiveRecord: 0.8ms)
- [1m[36m (1.9ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
[1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.7ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1e54a75277bff92de1e9613ff283b8075f7fd6721405c530de818233b05486913c3f5986ad675930974e8aea99e227a14b7c03cca87dea8dcb01b7d8d66d7738' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'h0ITk14Btgvgd1utw9Y7' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 19:29:45', '192cc405a560d674c1050c07c194e1c643e4c40dc1c59bfa7af1170146a60e68e01bc2e2aa97e75d2537d288dc5d433f533a60fee13d9c93bb72b6db28a7fe6f', '2012-11-27 19:29:45', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:29:45', 'testuser', 1, 'fMtomfwWaS9mlzyZ7Dyw', 'KefHYH9exxMmk4Jccd7', '1e54a75277bff92de1e9613ff283b8075f7fd6721405c530de818233b05486913c3f5986ad675930974e8aea99e227a14b7c03cca87dea8dcb01b7d8d66d7738', 'h0ITk14Btgvgd1utw9Y7', 1, NULL, '2012-11-27 19:29:45')
- [1m[36m (1.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.5ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:29:45', `last_login_ip` = '0.0.0.0', `perishable_token` = '5sicsB9UdvUmLGzZkOPa', `updated_at` = '2012-11-27 19:29:45' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (3.0ms)
-Completed 200 OK in 31ms (Views: 16.6ms | ActiveRecord: 4.2ms)
- [1m[36m (1.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.2ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.3ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.8ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9e91c5ca8c8171b82f5f43da70b019d7d8d4371eb3ebae2a5a0539edf4322fb13da30202e50004cd387f814977a10a59c5f1a7c55881df829e8f339967780016' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1alEbrQlGcQbNN77U' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:31:44', '189c98201483384426bb1193c8de71427e4128eb362b23a87fa4a3c7bfc8ac072250f81ecbf9a54e6d643b1be2c304c254f0226b472c4b45bcd4b40de3372d8a', '2012-11-27 19:31:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:31:44', 'testuser', 1, '4KzVDxEAsuktxLt5N4M', 'r25FUmVvRvb50Jb2jgT', '9e91c5ca8c8171b82f5f43da70b019d7d8d4371eb3ebae2a5a0539edf4322fb13da30202e50004cd387f814977a10a59c5f1a7c55881df829e8f339967780016', '1alEbrQlGcQbNN77U', 1, NULL, '2012-11-27 19:31:44')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:31:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'omJoDxT54ZQyCg1NpA2N', `updated_at` = '2012-11-27 19:31:44' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:31:44', 1, 200, 'Banner Set 1', '2012-11-27 19:31:44', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:31:44', 1, 200, 'Banner Set 2', '2012-11-27 19:31:44', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:31:44', 1, 200, 'Banner Set 3', '2012-11-27 19:31:44', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:31:44', 1, 200, 'Banner Set 4', '2012-11-27 19:31:44', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:31:44', 1, 200, 'Banner Set 5', '2012-11-27 19:31:44', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (3.1ms)
-Completed 200 OK in 62ms (Views: 52.5ms | ActiveRecord: 0.7ms)
- [1m[36m (2.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6fdcb10826e27663331bb646e091e514d6986195fc9da00dc87f2f4a245a08e2fae79a6f8b9a4029c24f149636ed3d1e9b3fadb0cfe8e01125ce8a74781fc21e' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LFsOrpKkdG7Gb0pW8o' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:31:44', '6b2db07ba54babb1890d47f5e943fb3ac344d2bc7e031d7346f70c47b7c45099b5c0397d3d49d56eeb1cbf9f915132f2408d0926ae6174824183425527e025a6', '2012-11-27 19:31:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:31:44', 'testuser', 1, 'Slkoag9IlqlpthtdzyM4', 'djYSllUvpQXx2of3AVR7', '6fdcb10826e27663331bb646e091e514d6986195fc9da00dc87f2f4a245a08e2fae79a6f8b9a4029c24f149636ed3d1e9b3fadb0cfe8e01125ce8a74781fc21e', 'LFsOrpKkdG7Gb0pW8o', 1, NULL, '2012-11-27 19:31:44')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:31:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Fm7IPiJkITzUxZkKF4Qe', `updated_at` = '2012-11-27 19:31:44' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:31:44', 1, 200, 'Banner Set 6', '2012-11-27 19:31:44', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.2ms | ActiveRecord: 0.6ms)
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
[1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.3ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.2ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f463021fa1c1ff0b747e2ffdcbb610d511cf4cdf4d9a464493d3c6b89ab8b4855597d3ace040e33370ba39fd44f66c51cceb55202632d7ec54596bdbadf3129b' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vxpoGJFOIILRKycTRGOR' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:32:00', '06bb2026986b53f086d00a0b7c5b2cba87cec080aef412b31db85d4429e3ce89ce547d2fa0c700384fd9a64050dc200c23d00b9cea9ed5675d06c827159ecb98', '2012-11-27 19:32:00', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:32:00', 'testuser', 1, '0mEdE5bhaJePJmBPJvt', 'KikI33OaFLFlU0BUBmIe', 'f463021fa1c1ff0b747e2ffdcbb610d511cf4cdf4d9a464493d3c6b89ab8b4855597d3ace040e33370ba39fd44f66c51cceb55202632d7ec54596bdbadf3129b', 'vxpoGJFOIILRKycTRGOR', 1, NULL, '2012-11-27 19:32:00')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:32:00', `last_login_ip` = '0.0.0.0', `perishable_token` = 'DdBaIOS0u1P4QXTJD6q', `updated_at` = '2012-11-27 19:32:00' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:00', 1, 200, 'Banner Set 1', '2012-11-27 19:32:00', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:00', 1, 200, 'Banner Set 2', '2012-11-27 19:32:00', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:00', 1, 200, 'Banner Set 3', '2012-11-27 19:32:00', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:00', 1, 200, 'Banner Set 4', '2012-11-27 19:32:00', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:00', 1, 200, 'Banner Set 5', '2012-11-27 19:32:00', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.8ms)
-Completed 200 OK in 58ms (Views: 49.1ms | ActiveRecord: 0.6ms)
- [1m[36m (2.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cdcac11b59726731104f6a0ec25c1e98a85c775f29be08ea58eaa698b8d80a6c88490857b3269554f40e2627c2e961c972d0215b6ea2fe566f74f04fa991b4db' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'X02ePO3mNzQSW94qFPub' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 19:32:00', '2e9772912fdbcb104a8ff624f7e0be7e0f2d9bdeef5bfe54d4494404cf069d6f7984888e4f36a333d46cd23e202f6bbaf2f954c9498972a93778e61231a81e39', '2012-11-27 19:32:00', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:32:00', 'testuser', 1, 'CI4cZiCaUJPJJ54CrdUY', '6wDwsaq5yX0QzLi0jnrf', 'cdcac11b59726731104f6a0ec25c1e98a85c775f29be08ea58eaa698b8d80a6c88490857b3269554f40e2627c2e961c972d0215b6ea2fe566f74f04fa991b4db', 'X02ePO3mNzQSW94qFPub', 1, NULL, '2012-11-27 19:32:00')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:32:00', `last_login_ip` = '0.0.0.0', `perishable_token` = 'BVc2xsX10g7kEwnxWnE', `updated_at` = '2012-11-27 19:32:00' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:00', 1, 200, 'Banner Set 6', '2012-11-27 19:32:00', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 0.6ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.4ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.5ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a9053830572678bea7a5b6b5916b68d6098053c19de4fb120dc473a4ebf2a4b2776474d89eb077b6ca287805a225f55be60ad0ff75d1f809a029e3fde7d5decf' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'AflisUzS2WKC4LhaQVEZ' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:32:07', 'b2ff1dcb7cd79925cb87bf1bddf5efb8ea5b77c7f01affaa4205c3238c80bd0f3671e8924c2f79829fcee482f329c3120eaec65b2c075cf5a3048f9063a0cbcd', '2012-11-27 19:32:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:32:07', 'testuser', 1, 'wH6GoP6m16bhbKPTEL3', 'SPlpsjKk1Bma27pSBL9W', 'a9053830572678bea7a5b6b5916b68d6098053c19de4fb120dc473a4ebf2a4b2776474d89eb077b6ca287805a225f55be60ad0ff75d1f809a029e3fde7d5decf', 'AflisUzS2WKC4LhaQVEZ', 1, NULL, '2012-11-27 19:32:07')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:32:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'RHimNadkWT4pMB1oOjV', `updated_at` = '2012-11-27 19:32:07' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:07', 1, 200, 'Banner Set 1', '2012-11-27 19:32:07', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:07', 1, 200, 'Banner Set 2', '2012-11-27 19:32:07', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:07', 1, 200, 'Banner Set 3', '2012-11-27 19:32:07', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:07', 1, 200, 'Banner Set 4', '2012-11-27 19:32:07', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:07', 1, 200, 'Banner Set 5', '2012-11-27 19:32:07', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (3.3ms)
-Completed 200 OK in 61ms (Views: 51.5ms | ActiveRecord: 0.6ms)
- [1m[36m (2.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '024c5c0125f6d4194d57b4664a5247243f6536e1e80541bf5d64bc0c1b3fe3630137bebee9b243f209d98d04a73fff8e37f1118cab231791ffe5a217a7a89cc7' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qI2qNlIYFpUCprcmYhz' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:32:07', '4bce7d0e69f51270add842fc56de846f57c9aca97303de9fb8c6478c975eb7a8a3dec9cc0eee4d9d25aebee449f0c829efd91733a5ac24c30c9ca8d2ce886770', '2012-11-27 19:32:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:32:07', 'testuser', 1, 'XVig204wC9kWGK6ndU4T', 'XsH9mBG8lQeAP3eQQ2F9', '024c5c0125f6d4194d57b4664a5247243f6536e1e80541bf5d64bc0c1b3fe3630137bebee9b243f209d98d04a73fff8e37f1118cab231791ffe5a217a7a89cc7', 'qI2qNlIYFpUCprcmYhz', 1, NULL, '2012-11-27 19:32:07')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:32:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'p9B2wmdOvlCOke5r5vB', `updated_at` = '2012-11-27 19:32:07' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:07', 1, 200, 'Banner Set 6', '2012-11-27 19:32:07', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.7ms)
- [1m[36m (1.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.5ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.2ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0a6f1198a468a0c56a8588cce64924101bf5797cab42c4448b7dd24c2ac110a8068ef0d195bf8618f4852210bb8dd253dde41c98652370a81f5857e00a1d0deb' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'u8gthN2c5wsQ2MNR3c5' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:32:14', '0ac3358b3b3dc98b69e3b04494e7201531028ce6cdcdccedf7232ea82bb0eb8160fbea5292726c87739c1b64c87fb11679196f334c59a1af3a3eb0862274390f', '2012-11-27 19:32:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:32:14', 'testuser', 1, 'Xmf41k4itmX7ZnLvTK3q', 'wjSMXhxOTghsUtG2MGVw', '0a6f1198a468a0c56a8588cce64924101bf5797cab42c4448b7dd24c2ac110a8068ef0d195bf8618f4852210bb8dd253dde41c98652370a81f5857e00a1d0deb', 'u8gthN2c5wsQ2MNR3c5', 1, NULL, '2012-11-27 19:32:14')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:32:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'KjOIJApP95WlVuEAqq0', `updated_at` = '2012-11-27 19:32:14' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:14', 1, 200, 'Banner Set 1', '2012-11-27 19:32:14', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:14', 1, 200, 'Banner Set 2', '2012-11-27 19:32:14', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:14', 1, 200, 'Banner Set 3', '2012-11-27 19:32:14', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:14', 1, 200, 'Banner Set 4', '2012-11-27 19:32:14', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:14', 1, 200, 'Banner Set 5', '2012-11-27 19:32:14', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.7ms)
-Completed 200 OK in 62ms (Views: 52.1ms | ActiveRecord: 0.8ms)
- [1m[36m (2.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3d77bdc0ab72fc10249bf30d22b7b605ae9d0bb437c005f0ba542af8564e01a378560b020b8fcfba751a454f6ab6298c1de8f1c3a59e22aab1178fd1c7604672' LIMIT 1
- [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1b3iecTkx3JgkuCL1TmZ' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:32:14', '2dcb8642d95c9fc8794c5e84fe9050a1db8b9406ed577cb89043e3c183f18b097271a4c46815385ea1f99b21bea0c4722fbce1e8eeb683525cbaecc86e164385', '2012-11-27 19:32:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:32:14', 'testuser', 1, '2yQcWiyghrOlDev4SS6', 'lTlTzCq5NGGTQkCW0yH', '3d77bdc0ab72fc10249bf30d22b7b605ae9d0bb437c005f0ba542af8564e01a378560b020b8fcfba751a454f6ab6298c1de8f1c3a59e22aab1178fd1c7604672', '1b3iecTkx3JgkuCL1TmZ', 1, NULL, '2012-11-27 19:32:14')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:32:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qLTN9OhmSMi8irIfp2uu', `updated_at` = '2012-11-27 19:32:14' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:14', 1, 200, 'Banner Set 6', '2012-11-27 19:32:14', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.0ms | ActiveRecord: 0.5ms)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
[1m[35m (0.0ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.0ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.5ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7575695da7b7e6be42bc39bb8e7d25beaf5b229654d66aae04c89dce10a1cade54e412e4531972e590e14ab92d15e40a7902b6fe60579a2955644392f816e65a' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '2BS52XhVOcjAekN72WXy' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:32:22', '68977e95b8ef7884dbc261a939928d0da623269964124da748c828e2e90499f581461a51cf359ca13566934017b9e42532f6391b51274442e4b9f5cc5e4381c8', '2012-11-27 19:32:22', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:32:22', 'testuser', 1, 'bacjC7mZvbombvfGlbM', 'h1QJPxtM5LpHIwiaeEu', '7575695da7b7e6be42bc39bb8e7d25beaf5b229654d66aae04c89dce10a1cade54e412e4531972e590e14ab92d15e40a7902b6fe60579a2955644392f816e65a', '2BS52XhVOcjAekN72WXy', 1, NULL, '2012-11-27 19:32:22')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:32:22', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ctpv7NcHHigjbkggfYY', `updated_at` = '2012-11-27 19:32:22' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:22', 1, 200, 'Banner Set 1', '2012-11-27 19:32:22', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:22', 1, 200, 'Banner Set 2', '2012-11-27 19:32:22', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:22', 1, 200, 'Banner Set 3', '2012-11-27 19:32:22', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:22', 1, 200, 'Banner Set 4', '2012-11-27 19:32:22', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:22', 1, 200, 'Banner Set 5', '2012-11-27 19:32:22', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.6ms)
-Completed 200 OK in 60ms (Views: 50.9ms | ActiveRecord: 0.8ms)
- [1m[36m (1.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fca8524f5669d7ad1bff4b0f5582f85a28f729235cc6b92cd9b6fb42f1d1afb51aa25ba992a82ccbb03a1fc7bda94b5ac617978aa597b48c9ef0c8c15ffdac0e' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'DgnBUKhYvrON7hrJD7B' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:32:22', '1015cacdc382dce1d980d13b98666a0a3d3a3050a46eea7bdf60e1aa8fdb617674f2b3fae67b9c09ee840e15e9a6b2ddf62f437385522b85839e22a57d3767b3', '2012-11-27 19:32:22', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:32:22', 'testuser', 1, 'dV3vId9PUPvFozL7GdK', 'JMTP0vqittmSHqCdgXyH', 'fca8524f5669d7ad1bff4b0f5582f85a28f729235cc6b92cd9b6fb42f1d1afb51aa25ba992a82ccbb03a1fc7bda94b5ac617978aa597b48c9ef0c8c15ffdac0e', 'DgnBUKhYvrON7hrJD7B', 1, NULL, '2012-11-27 19:32:22')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:32:22', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mChAk4tonbLVDjW6FnU', `updated_at` = '2012-11-27 19:32:22' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:32:22', 1, 200, 'Banner Set 6', '2012-11-27 19:32:22', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.7ms)
- [1m[36m (1.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.2ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.5ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.4ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.6ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f0e9691b9f9501151d2a42f3dcd68b6efe13eba7a0efd4b1ee91caa2eda2dc83bebd5f442a7271bcde94d738bc4dcb300e0a504c9ba5443b6fdfd5d0a92c4be2' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BvD5n2zbxDLGzbVUoTpp' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:33:10', '56a49efc560833e3b7998ff4ade2eb7f0f3be630792b86e11ca0a9020e9411c0069e6c31c9201e70dd56d93d36cdccb22d5a15a479fb48f131409bec5f8e558a', '2012-11-27 19:33:10', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:33:10', 'testuser', 1, '5RZHCvvUE7f9C3vg3Dm', 'x5Fg5XNhw09o7DeY1T7z', 'f0e9691b9f9501151d2a42f3dcd68b6efe13eba7a0efd4b1ee91caa2eda2dc83bebd5f442a7271bcde94d738bc4dcb300e0a504c9ba5443b6fdfd5d0a92c4be2', 'BvD5n2zbxDLGzbVUoTpp', 1, NULL, '2012-11-27 19:33:10')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:33:10', `last_login_ip` = '0.0.0.0', `perishable_token` = '6rJnMCryd4QREtUDW7LD', `updated_at` = '2012-11-27 19:33:10' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:33:10', 1, 200, 'Banner Set 1', '2012-11-27 19:33:10', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:33:10', 1, 200, 'Banner Set 2', '2012-11-27 19:33:10', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:33:10', 1, 200, 'Banner Set 3', '2012-11-27 19:33:10', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:33:10', 1, 200, 'Banner Set 4', '2012-11-27 19:33:10', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:33:10', 1, 200, 'Banner Set 5', '2012-11-27 19:33:10', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.6ms)
-Completed 200 OK in 60ms (Views: 50.5ms | ActiveRecord: 0.7ms)
- [1m[36m (2.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '69536c3f82b6f524419a94e84e3cdb8dc0e052080cfacf6d279581911273a0b61bf019aff2f3b3375cced9b74892f4aa3d05fca05e9fa97aae8c2ecbb1cdaab8' LIMIT 1
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'RZjnWLENdOburiJFRcbG' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:33:10', 'f7571afbbe5e133e0c29fb97b5e173fd89c04fbb6ccef87b2e875653f797746f2d3c52639846a17b255285bb207f1038c33c16aef3ad6290e7b10b4c8a298c3b', '2012-11-27 19:33:10', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:33:10', 'testuser', 1, 'eARHCF77mnbNIzwn8Xy', 'TpGFMMGvzePleQtdMgA', '69536c3f82b6f524419a94e84e3cdb8dc0e052080cfacf6d279581911273a0b61bf019aff2f3b3375cced9b74892f4aa3d05fca05e9fa97aae8c2ecbb1cdaab8', 'RZjnWLENdOburiJFRcbG', 1, NULL, '2012-11-27 19:33:10')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:33:10', `last_login_ip` = '0.0.0.0', `perishable_token` = 'a8xDEzuZay3WXTKeMD3', `updated_at` = '2012-11-27 19:33:10' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:33:10', 1, 200, 'Banner Set 6', '2012-11-27 19:33:10', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.2ms | ActiveRecord: 0.5ms)
- [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
[1m[35m (0.0ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.5ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.4ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.9ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2ac7d12731ed1f1efcd91052372519b19dd88b71c7d2cef5dae62227ccd82cad4013c82bd0e4369378a11d6d1bdf5d7cab52654c9870d34f599ab7ec1c8e1f74' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'n04AX8zqfwIw9GAtQHK' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:33:58', 'd34e3314bdb96b01d1f5a166f2f63038aba86811e8d640084e9a3591d1bf922426a859b28c438e0dd868b62065c6c38bd5d95e56ad99aa6f46c166313678e9f8', '2012-11-27 19:33:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:33:58', 'testuser', 1, 'I4ZRDqxpR9Wz0zdYRO9', 'R4JTiC0Aw8Fob9iqCS', '2ac7d12731ed1f1efcd91052372519b19dd88b71c7d2cef5dae62227ccd82cad4013c82bd0e4369378a11d6d1bdf5d7cab52654c9870d34f599ab7ec1c8e1f74', 'n04AX8zqfwIw9GAtQHK', 1, NULL, '2012-11-27 19:33:58')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:33:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'z1pEmoBaaWKRQnQvvaZ', `updated_at` = '2012-11-27 19:33:58' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:33:58', 1, 200, 'Banner Set 1', '2012-11-27 19:33:58', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:33:58', 1, 200, 'Banner Set 2', '2012-11-27 19:33:58', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:33:58', 1, 200, 'Banner Set 3', '2012-11-27 19:33:58', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:33:58', 1, 200, 'Banner Set 4', '2012-11-27 19:33:58', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:33:58', 1, 200, 'Banner Set 5', '2012-11-27 19:33:58', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (3.0ms)
-Completed 200 OK in 60ms (Views: 50.7ms | ActiveRecord: 0.7ms)
- [1m[36m (2.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '80e46682ee6e381d4fc2f8639f76e5076ff71ff54c86e8b68ef72c9261f2cd423dcc6741cb87627adeb2d8291e63ebd0380696e3223a4bb43ada7a67f0e899dc' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'plbHkwwXVIZyJczFnix' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:33:58', 'ef34c487b3adb4d9e8dddb0cd80fc652f3dca070417ef4a161628b2c9a73f75a3a837b61b88472e86cfa67266fc98e4128da997bb6034114f104b4ecfdbc335d', '2012-11-27 19:33:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:33:58', 'testuser', 1, '52pRpivD9hgXKzOIPaCl', 'u4aMqP2rwDwLLB37pF', '80e46682ee6e381d4fc2f8639f76e5076ff71ff54c86e8b68ef72c9261f2cd423dcc6741cb87627adeb2d8291e63ebd0380696e3223a4bb43ada7a67f0e899dc', 'plbHkwwXVIZyJczFnix', 1, NULL, '2012-11-27 19:33:58')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:33:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vY7YacJ8oD1kf8rRtMVM', `updated_at` = '2012-11-27 19:33:58' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:33:59', 1, 200, 'Banner Set 6', '2012-11-27 19:33:59', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2012-11-27 19:33:59', `perishable_token` = 'ZFkRZTQzolDq30Iwey', `updated_at` = '2012-11-27 19:33:59' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Looking for banner set with id: 6
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1[0m
-Completed 200 OK in 11ms (Views: 2.1ms | ActiveRecord: 1.3ms)
- [1m[35m (1.0ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.3ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.6ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.5ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.3ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1543244bbe3494712474d0dc0625bce5ce01b1036279ebc0b502836ce2d9bc23d8d976ab5f435dfdde44ffec7e8612901dfeaf2d5f3fcfab3d3efef173b91aaf' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gdioKyci2N4bypHkiadZ' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:35:20', '14d404747e07736969d2322c59580bc1d1e519358bb01b68f10fc1c282ecd860b7b1fca7145d7198e779db72ed27189fbd2c5f6f78017dfa038b267488015e09', '2012-11-27 19:35:20', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:35:20', 'testuser', 1, 'odP7dJkUucPlRJJCboUM', 'H7lGJJ4I4sGtMNhKrHvW', '1543244bbe3494712474d0dc0625bce5ce01b1036279ebc0b502836ce2d9bc23d8d976ab5f435dfdde44ffec7e8612901dfeaf2d5f3fcfab3d3efef173b91aaf', 'gdioKyci2N4bypHkiadZ', 1, NULL, '2012-11-27 19:35:20')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:35:20', `last_login_ip` = '0.0.0.0', `perishable_token` = 'syRjFAA9MUk9Wx10IUeK', `updated_at` = '2012-11-27 19:35:20' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:35:20', 1, 200, 'Banner Set 1', '2012-11-27 19:35:20', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:35:20', 1, 200, 'Banner Set 2', '2012-11-27 19:35:20', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:35:20', 1, 200, 'Banner Set 3', '2012-11-27 19:35:20', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:35:20', 1, 200, 'Banner Set 4', '2012-11-27 19:35:20', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:35:20', 1, 200, 'Banner Set 5', '2012-11-27 19:35:20', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 60ms (Views: 51.0ms | ActiveRecord: 0.8ms)
- [1m[36m (2.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5dc1b48708536e6394399fc616b47375d29985cdbeb4096a1d25bc444683c5c12aae8719de2e9892a5008b9fff260a6927c4e71f4abbf445ba0155537e9bb786' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7zGtybZo0ihKVD7kOHfv' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:35:20', '5129bb058e4c748a1178aa99c30f7fd4f2d944195b8af1fa2ad0a6ec46b64b0f24828cddb90e1ac3125f149afc2e3d2b737d675aedd8eac24561bee11797f6f2', '2012-11-27 19:35:20', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:35:20', 'testuser', 1, 'PDvmKJvzJIi6tuUNjU7', 'n0VV81zK2murAaRm9r', '5dc1b48708536e6394399fc616b47375d29985cdbeb4096a1d25bc444683c5c12aae8719de2e9892a5008b9fff260a6927c4e71f4abbf445ba0155537e9bb786', '7zGtybZo0ihKVD7kOHfv', 1, NULL, '2012-11-27 19:35:20')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:35:20', `last_login_ip` = '0.0.0.0', `perishable_token` = 'lguxyOEWSBQWCRr0OJ', `updated_at` = '2012-11-27 19:35:20' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:35:20', 1, 200, 'Banner Set 6', '2012-11-27 19:35:20', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.7ms)
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.1ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.3ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.4ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.9ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6e9960d2aa3d90cff2646785f36290c1aee51762160fe3367f4f036b2d32d21a48085fd329c563042e7178e2084400237e04299d3357ea870bc40ac57a2aab46' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'alyIfYRV7eKeRrlEKHR6' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:35:30', 'ea03e9625025bad759dc29acb938c227ede08a3866c9088f4813b88e3b040d669f4b9bd4dee040e80b5e6d1ffd74b9d14bd6ea1924c15a7377fd56be13ea13ee', '2012-11-27 19:35:30', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:35:30', 'testuser', 1, 'yuwbK1zHkmOVd56Tx7NN', 'vqvDhrRKsv0kGXLFrXx', '6e9960d2aa3d90cff2646785f36290c1aee51762160fe3367f4f036b2d32d21a48085fd329c563042e7178e2084400237e04299d3357ea870bc40ac57a2aab46', 'alyIfYRV7eKeRrlEKHR6', 1, NULL, '2012-11-27 19:35:30')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:35:30', `last_login_ip` = '0.0.0.0', `perishable_token` = '6gIOpGig5U6OTnCjH2H', `updated_at` = '2012-11-27 19:35:30' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:35:30', 1, 200, 'Banner Set 1', '2012-11-27 19:35:30', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:35:30', 1, 200, 'Banner Set 2', '2012-11-27 19:35:30', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:35:30', 1, 200, 'Banner Set 3', '2012-11-27 19:35:30', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:35:30', 1, 200, 'Banner Set 4', '2012-11-27 19:35:30', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:35:30', 1, 200, 'Banner Set 5', '2012-11-27 19:35:30', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (3.4ms)
-Completed 200 OK in 63ms (Views: 53.2ms | ActiveRecord: 0.6ms)
- [1m[36m (1.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ade7337efa90d3677e546187633e67638a3072df4301feca6e19766262565354c1815407bb47f57bbbc931e3fa6d348bfe3f659b0b2c99dd03e10a37c2a449d4' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NEnYfYvsWPOxKjqzrbc' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:35:30', '27ad4d6f9d6868ec692735e48e1c71477652c177db007154897a13aa9706be2fdd416ec0836b8c5cfcb0cd480dcb4f87bc2a8ea9de0954ac53b55768335f229d', '2012-11-27 19:35:30', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:35:30', 'testuser', 1, '8KoJJlg0l1vRa8hr6nwr', 'z5XWJYqqzjs6LCIJN1O', 'ade7337efa90d3677e546187633e67638a3072df4301feca6e19766262565354c1815407bb47f57bbbc931e3fa6d348bfe3f659b0b2c99dd03e10a37c2a449d4', 'NEnYfYvsWPOxKjqzrbc', 1, NULL, '2012-11-27 19:35:30')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:35:30', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hgZkiSpzaVvweFHWfX6L', `updated_at` = '2012-11-27 19:35:30' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:35:30', 1, 200, 'Banner Set 6', '2012-11-27 19:35:30', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 0.5ms)
- [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
[1m[35m (0.0ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.0ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.4ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.8ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd1e9423abb2bb6979c1dc2df2ea440a205bd3bdca628c785e29eeb4ef7fbfdea3e144cfe796d048fae9685bda27819782c65b59653938c42a29a8eb4d37fb249' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hFyPVLJdYMQPWYELg06p' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:36:28', '8464c83aaef6489037aa92c4a7b62d818c3fcfdab55013e22dd7209c8e358482cc286eea54687d47c164741dee302c989f03ed684f40c573f1b6392b22006eb8', '2012-11-27 19:36:28', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:36:28', 'testuser', 1, 'sS1yivtZBfKpwEWJSMPN', 'Or1w7aLpYokgJ7LcG978', 'd1e9423abb2bb6979c1dc2df2ea440a205bd3bdca628c785e29eeb4ef7fbfdea3e144cfe796d048fae9685bda27819782c65b59653938c42a29a8eb4d37fb249', 'hFyPVLJdYMQPWYELg06p', 1, NULL, '2012-11-27 19:36:28')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:36:28', `last_login_ip` = '0.0.0.0', `perishable_token` = '9SRvhP0vWtC2LJSq8h1R', `updated_at` = '2012-11-27 19:36:28' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:36:28', 1, 200, 'Banner Set 1', '2012-11-27 19:36:28', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:36:28', 1, 200, 'Banner Set 2', '2012-11-27 19:36:28', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:36:28', 1, 200, 'Banner Set 3', '2012-11-27 19:36:28', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:36:28', 1, 200, 'Banner Set 4', '2012-11-27 19:36:28', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:36:28', 1, 200, 'Banner Set 5', '2012-11-27 19:36:28', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (3.0ms)
-Completed 200 OK in 62ms (Views: 52.1ms | ActiveRecord: 0.8ms)
- [1m[36m (2.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e410596427daa0ac7c9c2793f2a356b721d12078db28f89d1dd63aadfc8ab690c4d6cf94c91e65e67b4630eefbbf0f2583b85aa84067a14284bc75e0bd0890ac' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'P6u9WCTj7KryJAVmagVi' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 19:36:28', '1000b13f2507aab89e92cddf8636de7fd1dff2cb8d15f873a3ed4a6fe91401f02b91bd2e8ae9270b0629544363539024261a6cae01add5db85876528a4b21f83', '2012-11-27 19:36:28', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:36:28', 'testuser', 1, '4Xz3ex4sgFbWxrUXw', 'AFIs9Usul7ZCpijFiOV', 'e410596427daa0ac7c9c2793f2a356b721d12078db28f89d1dd63aadfc8ab690c4d6cf94c91e65e67b4630eefbbf0f2583b85aa84067a14284bc75e0bd0890ac', 'P6u9WCTj7KryJAVmagVi', 1, NULL, '2012-11-27 19:36:28')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:36:28', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Hg8u15bug5jlaqs30dmc', `updated_at` = '2012-11-27 19:36:28' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:36:28', 1, 200, 'Banner Set 6', '2012-11-27 19:36:28', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.0ms | ActiveRecord: 0.7ms)
- [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
[1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.3ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (1.2ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.7ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.7ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1d2baebd1f38399fa123c2b3922b5928a277e169460a2da2980fcc2b98a846268e7c37afe1b0187672831be978bf62d5f52deab72984efd74db175a0bc0cb148' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'buPOHOAkZcNj8ARydAR9' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:37:37', '53fd0c66016701f932f1c5c448a23eb3b55a5377e3348a274c3c0cf1037d75922afa097e7cab56d16310244e951f081ca8ef1b02d0bbd19615ac1420901093b7', '2012-11-27 19:37:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:37:37', 'testuser', 1, 'F57efnzVMI4hh6dfO9z5', 'Y1RSj47OT7SBuL7anYKO', '1d2baebd1f38399fa123c2b3922b5928a277e169460a2da2980fcc2b98a846268e7c37afe1b0187672831be978bf62d5f52deab72984efd74db175a0bc0cb148', 'buPOHOAkZcNj8ARydAR9', 1, NULL, '2012-11-27 19:37:37')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:37:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'KXXg7fx91c2WFOWwge', `updated_at` = '2012-11-27 19:37:37' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:37:37', 1, 200, 'Banner Set 1', '2012-11-27 19:37:37', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:37:37', 1, 200, 'Banner Set 2', '2012-11-27 19:37:37', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:37:37', 1, 200, 'Banner Set 3', '2012-11-27 19:37:37', 600)[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:37:37', 1, 200, 'Banner Set 4', '2012-11-27 19:37:37', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:37:37', 1, 200, 'Banner Set 5', '2012-11-27 19:37:37', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 60ms (Views: 50.5ms | ActiveRecord: 0.6ms)
- [1m[36m (2.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c3fc1fc13fc0b21b9849b5f3acccdeb533ad132bb814c80cd1053dade5d3e9fce99ec545b38d442fbf6ce95c828fbfa46b3d46b17f7fa75e3292101aa80a721f' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'x7ivj4WRi0L5sltiVSuX' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:37:37', 'f28de340648710fed2c5ef87ded51ef21fb0378bec3e70833c05492e40a86b6ad28cbb35dbe586090357f8f64a12a4df164fd6b858b54ae5bedec605e4688736', '2012-11-27 19:37:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:37:37', 'testuser', 1, 'nb79DE13F7VEObA6sdUp', 'DCqZEDEaSIUmmtvki', 'c3fc1fc13fc0b21b9849b5f3acccdeb533ad132bb814c80cd1053dade5d3e9fce99ec545b38d442fbf6ce95c828fbfa46b3d46b17f7fa75e3292101aa80a721f', 'x7ivj4WRi0L5sltiVSuX', 1, NULL, '2012-11-27 19:37:37')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:37:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QjiEOt25WbumL8h6yW6b', `updated_at` = '2012-11-27 19:37:37' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:37:37', 1, 200, 'Banner Set 6', '2012-11-27 19:37:37', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.7ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.3ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.4ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '53ad251b6b86d3f403285a108c7616bfa2706351663fc849b1bf7b2f985c7899e88f6502f586e5b3fdf3d9beee4a83faddd85224e1ec665b209c5e6512c06bad' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZQngYorvZcLJCRtOV6' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:38:05', 'acf95cacc81c343f4c8f941eac24ef086ee03dc9ad5933425075c61262691e43335ebe1e2c856832ce7c2478d14e5fb67d988fcbe29def5bd5d5928934f2d800', '2012-11-27 19:38:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:38:05', 'testuser', 1, 'v6ZKW2UuQM6KgKMh0T5u', 'Osfc8povE9nNJyNF4Ksf', '53ad251b6b86d3f403285a108c7616bfa2706351663fc849b1bf7b2f985c7899e88f6502f586e5b3fdf3d9beee4a83faddd85224e1ec665b209c5e6512c06bad', 'ZQngYorvZcLJCRtOV6', 1, NULL, '2012-11-27 19:38:05')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:38:05', `last_login_ip` = '0.0.0.0', `perishable_token` = 'oI4l2u9KYDSa58G8i9S', `updated_at` = '2012-11-27 19:38:05' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:38:05', 1, 200, 'Banner Set 1', '2012-11-27 19:38:05', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:38:05', 1, 200, 'Banner Set 2', '2012-11-27 19:38:05', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:38:05', 1, 200, 'Banner Set 3', '2012-11-27 19:38:05', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:38:05', 1, 200, 'Banner Set 4', '2012-11-27 19:38:05', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:38:05', 1, 200, 'Banner Set 5', '2012-11-27 19:38:05', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.9ms)
-Completed 200 OK in 60ms (Views: 50.8ms | ActiveRecord: 0.6ms)
- [1m[36m (2.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd9a0fab5c47a1a1ee0fe8cb2743033c88cd6f66e84164330174884be1c5964bab7c52d1a2c79502f0690ebf3aa9841b6ca660172f398a41c44d5b592501f160b' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'S9FQKcIA6YancIK9Fqzu' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:38:05', '94b0fe2288f92269ce35696174af3aed16d0819d104088f728a074855d750bc6940624812f467a527381384f07bf9b1e330c0306816f6b3c3e82647bbb4519bd', '2012-11-27 19:38:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:38:05', 'testuser', 1, 'XC4guu4aSTXXWtehU424', 'bWl8UgzXz9tGaQ0kGUl5', 'd9a0fab5c47a1a1ee0fe8cb2743033c88cd6f66e84164330174884be1c5964bab7c52d1a2c79502f0690ebf3aa9841b6ca660172f398a41c44d5b592501f160b', 'S9FQKcIA6YancIK9Fqzu', 1, NULL, '2012-11-27 19:38:05')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:38:05', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dQJE3LhCsm60SFpjHUH', `updated_at` = '2012-11-27 19:38:05' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:38:05', 1, 200, 'Banner Set 6', '2012-11-27 19:38:05', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.2ms | ActiveRecord: 0.5ms)
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1127bb970af98919ee12fc2f0f38930129523d3899227a68ec861e021c8eae1bdc5b57c85dbe0391726e59f0edb4332015fb2a5cdcd9ab1d5b60f64ef909b0c8' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OBJmBb7KMeUuNa79vjo' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 19:39:16', 'c8db94a141fc2c88a70b43d18fc4078d0cbd455a525541958a590781ebb9eb06e29914f2b2343e98ed5133c193aa6b34fca74ade7a09b7eb4a5018f24ad227c0', '2012-11-27 19:39:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:39:16', 'testuser', 1, 'BJJzA5yYxt66rgR7OshV', 'vad8I3BDgoaS36xWjZ9c', '1127bb970af98919ee12fc2f0f38930129523d3899227a68ec861e021c8eae1bdc5b57c85dbe0391726e59f0edb4332015fb2a5cdcd9ab1d5b60f64ef909b0c8', 'OBJmBb7KMeUuNa79vjo', 1, NULL, '2012-11-27 19:39:16')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:39:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'tM1oyffpugbGJ9Rtyyog', `updated_at` = '2012-11-27 19:39:16' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:39:16', 1, 200, 'Banner Set 1', '2012-11-27 19:39:16', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:39:16', 1, 200, 'Banner Set 2', '2012-11-27 19:39:16', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:39:16', 1, 200, 'Banner Set 3', '2012-11-27 19:39:16', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:39:16', 1, 200, 'Banner Set 4', '2012-11-27 19:39:16', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:39:16', 1, 200, 'Banner Set 5', '2012-11-27 19:39:16', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.9ms)
-Completed 200 OK in 60ms (Views: 50.5ms | ActiveRecord: 0.6ms)
- [1m[36m (2.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9b5a60df933dfcd94a5006eda85aefefce44aefb8bfa9b05a49c7338bbef06f9bbe45c9a410e6abc2cc4badaeddf2774c24aaf782505e8242874f3c205cf9315' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PA9GOEKHxd5TJLUZvr7H' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:39:16', '9f261d39728b22cd748cb9a77691c092c26070e4e214dbd15c014c7d0c92a13b217cc7f68975afee5c580902bc1317ebb50ace1b7cc164a2872fb8cda176e4ae', '2012-11-27 19:39:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:39:16', 'testuser', 1, 'MocfZ99wUhHVMMPiIRCA', 'zTsKfG59ibbla5gE5Z', '9b5a60df933dfcd94a5006eda85aefefce44aefb8bfa9b05a49c7338bbef06f9bbe45c9a410e6abc2cc4badaeddf2774c24aaf782505e8242874f3c205cf9315', 'PA9GOEKHxd5TJLUZvr7H', 1, NULL, '2012-11-27 19:39:16')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:39:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Y99wZQye0KtlnXt6UDZ', `updated_at` = '2012-11-27 19:39:16' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:39:16', 1, 200, 'Banner Set 6', '2012-11-27 19:39:16', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.6ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7954a793a8fa584669fa5d857a4331e31b5f32ed27f957ad8f8dd137d917801026d3f9e5386174d8184880c4c26f92f12d972b0f37c6f50e8855ac692b76b1df' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Elz3VwtTf6D8twMcv4sb' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:41:25', 'f518e9d2a6df2766f81814b4587e8cab861c397c9b79f2835a2b955be445066059f2d2464085a8e5723ac225b03289f7c8a44016103486060b7cba4899cf505d', '2012-11-27 19:41:25', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:41:25', 'testuser', 1, 'FXi7KB5dav2xPwXfXSLY', '5hQwJebupkaBhq8nrZiR', '7954a793a8fa584669fa5d857a4331e31b5f32ed27f957ad8f8dd137d917801026d3f9e5386174d8184880c4c26f92f12d972b0f37c6f50e8855ac692b76b1df', 'Elz3VwtTf6D8twMcv4sb', 1, NULL, '2012-11-27 19:41:25')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:41:25', `last_login_ip` = '0.0.0.0', `perishable_token` = 'IDWQ6pv4rFVvCRu5N3D', `updated_at` = '2012-11-27 19:41:25' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:41:25', 1, 200, 'Banner Set 1', '2012-11-27 19:41:25', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:41:25', 1, 200, 'Banner Set 2', '2012-11-27 19:41:25', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:41:25', 1, 200, 'Banner Set 3', '2012-11-27 19:41:25', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:41:25', 1, 200, 'Banner Set 4', '2012-11-27 19:41:25', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:41:25', 1, 200, 'Banner Set 5', '2012-11-27 19:41:25', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 58ms (Views: 49.0ms | ActiveRecord: 0.8ms)
- [1m[36m (2.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5412bcb0029ab37dcb74dbd84d99c66a35851639b3b93a6222bfd00223b961803267377714eef8d8dc652b7253aa4285940725c9d297405e23077705e28218a7' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Sq1mC1FTooSiN9bkc66l' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:41:25', '299446372ba56af0812b0f4d901729e5450bfd97a401dfeefb46175bf8fc49e253f3e7a222c522f1e70fb2160626ead82a094b9be2374c66b01f7e9c33e3ab7a', '2012-11-27 19:41:25', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:41:25', 'testuser', 1, 'QOmqahlfOpblYfyIQC3n', 'QiP5rUWYMJZQbKsMzMRo', '5412bcb0029ab37dcb74dbd84d99c66a35851639b3b93a6222bfd00223b961803267377714eef8d8dc652b7253aa4285940725c9d297405e23077705e28218a7', 'Sq1mC1FTooSiN9bkc66l', 1, NULL, '2012-11-27 19:41:25')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:41:25', `last_login_ip` = '0.0.0.0', `perishable_token` = 'q0hAyEiAH65BDzJe2jUA', `updated_at` = '2012-11-27 19:41:25' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:41:25', 1, 200, 'Banner Set 6', '2012-11-27 19:41:25', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.5ms)
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd46849ff04d3bfdfd8faf2838b019caaf2c82f385fad9f703487de9bb0fcdbff931ea88464a303d45cbd8712d690f7b21104e5de4d88afa8eeb9871749a398ea' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YkegKIvBai0IzuQ3D5RX' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:41:25', '2ed8dc583bae9a64a7da7fe1983fa0c1e4bd8711de698c23ca15a7d28b6d96a29647822ee1501f15f8c36160af878ef337daf54ae10bf28975230a4471791d57', '2012-11-27 19:41:25', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:41:25', 'testuser', 1, '2CSINjfzdqFYygm6rvV', 'tTunhupXf5nPMGyk8K', 'd46849ff04d3bfdfd8faf2838b019caaf2c82f385fad9f703487de9bb0fcdbff931ea88464a303d45cbd8712d690f7b21104e5de4d88afa8eeb9871749a398ea', 'YkegKIvBai0IzuQ3D5RX', 1, NULL, '2012-11-27 19:41:25')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:41:25', `last_login_ip` = '0.0.0.0', `perishable_token` = 'potd3i93YvQBPJYAOLxl', `updated_at` = '2012-11-27 19:41:25' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:41:25', 1, 200, 'Banner Set 7', '2012-11-27 19:41:25', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.4ms)
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '68f1da2782606f732638df4c12361ee4c04753af2e21a7f4c442947a28183175e177be74fb3b44d4905dc372e71c21b2c964f479cd7717afc8ad8ad5876b570b' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tKuMcLYOOEhN96wcsYj0' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 19:43:43', '44af7e1816357e7c1a77fd66f315e698e796a1e70523ec18218b5853aa78ba44ce0ebfdca47b0f3c25e1cd12883ea24e1130ff2bc952b74469c5307f5049fc6f', '2012-11-27 19:43:43', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:43:43', 'testuser', 1, 'OqERF0DENrZqctuzTsX7', 'RtlIDswpNKCIqh4Vslk', '68f1da2782606f732638df4c12361ee4c04753af2e21a7f4c442947a28183175e177be74fb3b44d4905dc372e71c21b2c964f479cd7717afc8ad8ad5876b570b', 'tKuMcLYOOEhN96wcsYj0', 1, NULL, '2012-11-27 19:43:43')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:43:43', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ZFolQ0Cva6apVAfK06A', `updated_at` = '2012-11-27 19:43:43' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:43', 1, 200, 'Banner Set 1', '2012-11-27 19:43:43', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:43', 1, 200, 'Banner Set 2', '2012-11-27 19:43:43', 600)[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:43', 1, 200, 'Banner Set 3', '2012-11-27 19:43:43', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:43', 1, 200, 'Banner Set 4', '2012-11-27 19:43:43', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:43', 1, 200, 'Banner Set 5', '2012-11-27 19:43:43', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.6ms)
-Completed 200 OK in 60ms (Views: 51.2ms | ActiveRecord: 0.7ms)
- [1m[36m (1.9ms)[0m [1mROLLBACK[0m
+Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6c5d156079002c806691d25d49319beabde1307f399985f268334a0aec8ba3a5f3ce46838a6d029c6e719c91de0c3a748c806257baef8f6006c8f85fd38d4be7' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'CBUZ3P69eq4lFxcmrhxV' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:43:43', '2b8c8eabc5013c95d6af53d8238c67f237e2c83ab6b55ea34296306f3bbae485eb1b6629d245f736074bd27f98f1bc6a74bda94edadfa8309b6bf633a9bb3774', '2012-11-27 19:43:43', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:43:43', 'testuser', 1, 'xDL7HF9iEmM1DylmaADE', 'fxZVj9HLpyS3pEFM7umh', '6c5d156079002c806691d25d49319beabde1307f399985f268334a0aec8ba3a5f3ce46838a6d029c6e719c91de0c3a748c806257baef8f6006c8f85fd38d4be7', 'CBUZ3P69eq4lFxcmrhxV', 1, NULL, '2012-11-27 19:43:43')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:43:43', `last_login_ip` = '0.0.0.0', `perishable_token` = 'AAqYBwNrHDnzHK9ik01', `updated_at` = '2012-11-27 19:43:43' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:43', 1, 200, 'Banner Set 6', '2012-11-27 19:43:43', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.5ms)
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9709a034202529e8d2ba306cdd929adecf0cf7447b1e771b46b8aebd14330429534f049c9c23d91b29f6f6c9bd2ff9d8dc36cc5ea0e9558d925a87ad91c285fc' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'L31DQSlGeHECr1IyqzrG' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:43:43', '459339af79fc3de2255386627cfd7572eadd9db9b3bc02f5200be74744cd9060cb21a1bb587df6b767cc53b8920418885db8296239e9b03f49abf0cbc4e8ce96', '2012-11-27 19:43:43', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:43:43', 'testuser', 1, 'b1W7hbhTrSu3xKyhKONv', '10CKnGmxQc1zMVjWOe7a', '9709a034202529e8d2ba306cdd929adecf0cf7447b1e771b46b8aebd14330429534f049c9c23d91b29f6f6c9bd2ff9d8dc36cc5ea0e9558d925a87ad91c285fc', 'L31DQSlGeHECr1IyqzrG', 1, NULL, '2012-11-27 19:43:43')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:43:43', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vlqGZlhA1XTMhVuTUwmA', `updated_at` = '2012-11-27 19:43:43' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:43', 1, 200, 'Banner Set 7', '2012-11-27 19:43:43', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ca28f2d8328340f5018701f72ae273cdc9031e64c4e1a43eb9a59f5c82526820249f5b5f485e601974d873c71b2f34b54411c72b91c4cd6d459f6ba3c87927d3' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1wgWAYAIAenUSWz1Qec' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 19:43:44', 'e022f912d53bdabb4f069b9501a8e74008812a5fc8f8699545542a712b0a94c4a95ba0ba2b1cb67c80ec8c89bf2bf53f785d5d18daf59ac0eba3fa965db0cc9f', '2012-11-27 19:43:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:43:44', 'testuser', 1, 'rq2y1LtDomPMbYFkKZqs', 'Z4fRSodvL9DhRyNIzOL', 'ca28f2d8328340f5018701f72ae273cdc9031e64c4e1a43eb9a59f5c82526820249f5b5f485e601974d873c71b2f34b54411c72b91c4cd6d459f6ba3c87927d3', '1wgWAYAIAenUSWz1Qec', 1, NULL, '2012-11-27 19:43:44')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:43:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Uye0TDskI9EPh4Sy0Kah', `updated_at` = '2012-11-27 19:43:44' WHERE `spud_users`.`id` = 4
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 8", "width"=>"600", "height"=>"200", "cropped"=>true}}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:44', 1, 200, 'Banner Set 8', '2012-11-27 19:43:44', 600)
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 13ms (Views: 1.8ms | ActiveRecord: 1.1ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.7ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.3ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.8ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c5747f02256e97d03d84f71e5d6876f62b7a04d776f130d8add24c9cf16dab89fd526de20fd2fddc1dad30f3a7c0f57c805461ebd4835649284a97a9c6c712a3' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6RAVSseyBqwLlTTd067' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:43:50', '8795455f87dcc195d3ed8ee5d9e200864111c27f125153bd0ed05b0a96944703ccc3b24a0c02b69b1bf8c134d20cc70a29b63bfe46a9259b260e716c672ed122', '2012-11-27 19:43:50', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:43:50', 'testuser', 1, 'u9D7LTZV61eUMJNaxxs', 'RtHzY7cKRKyWhcJQai', 'c5747f02256e97d03d84f71e5d6876f62b7a04d776f130d8add24c9cf16dab89fd526de20fd2fddc1dad30f3a7c0f57c805461ebd4835649284a97a9c6c712a3', '6RAVSseyBqwLlTTd067', 1, NULL, '2012-11-27 19:43:50')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:43:50', `last_login_ip` = '0.0.0.0', `perishable_token` = 'nGGvUfAqmUWh0tXMIZn5', `updated_at` = '2012-11-27 19:43:50' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:50', 1, 200, 'Banner Set 1', '2012-11-27 19:43:50', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:50', 1, 200, 'Banner Set 2', '2012-11-27 19:43:50', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:50', 1, 200, 'Banner Set 3', '2012-11-27 19:43:50', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:50', 1, 200, 'Banner Set 4', '2012-11-27 19:43:50', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:50', 1, 200, 'Banner Set 5', '2012-11-27 19:43:50', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (3.0ms)
-Completed 200 OK in 61ms (Views: 51.7ms | ActiveRecord: 0.6ms)
- [1m[36m (2.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7f0f75fc268891d62cb0458f807c263f254da46110e17fefadc8436c95dc1e2a08919269df4ae1990f763efff1f59c4b850e9134e020a0fb52d4c8bca21dc19c' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YLyohrNg2rozEZHFIa1' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:43:50', 'b726c3bdf66e330bd1064f2bdce989a4623a7fb486ae2e74191084375f430f6d098fa032cfa521fd7a3f4c280dea7e0ace27eb7003007926b294fea0459ec97e', '2012-11-27 19:43:50', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:43:50', 'testuser', 1, 'NfVNn4biwXPU2RMvhbGL', 'TeFII9HWXPZX0V4Wib5I', '7f0f75fc268891d62cb0458f807c263f254da46110e17fefadc8436c95dc1e2a08919269df4ae1990f763efff1f59c4b850e9134e020a0fb52d4c8bca21dc19c', 'YLyohrNg2rozEZHFIa1', 1, NULL, '2012-11-27 19:43:50')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:43:50', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VywA5axzlIPlnolqCqI', `updated_at` = '2012-11-27 19:43:50' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:50', 1, 200, 'Banner Set 6', '2012-11-27 19:43:50', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.5ms)
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9df11c3ef4a5e5481c0fb61b02765bb7f8ba19f81482c4c36353d62ebc84d367b2838731b2c55fae2b923bd48c12230ddab426032e10ee11b8a1b061de890ba7' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KuwxNB6OKUjTozg0tWA' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:43:50', 'c651e5b68960f933984a64ca37a6d3686cd87a26fa990ba5dbe1e4d5a614de841a6530b9d75de9e8ba337dc9f732230acb35ecffadfd33baec64a422de67c7ed', '2012-11-27 19:43:50', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:43:50', 'testuser', 1, 'wplh6PEbCf7V5xZgKYPJ', 'p5SskD83W3RnwX1NbgT', '9df11c3ef4a5e5481c0fb61b02765bb7f8ba19f81482c4c36353d62ebc84d367b2838731b2c55fae2b923bd48c12230ddab426032e10ee11b8a1b061de890ba7', 'KuwxNB6OKUjTozg0tWA', 1, NULL, '2012-11-27 19:43:50')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:43:50', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wZc3IX89pyvz47jC0GE', `updated_at` = '2012-11-27 19:43:50' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:50', 1, 200, 'Banner Set 7', '2012-11-27 19:43:50', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.4ms)[0m ROLLBACK
+Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
+ [1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1e78128ccf81c4db6c0cc76038ba97daa76d70d83980ac68e0968a0363711d329d7b418985fec05ac45a0298f1af344a304bc99dd0e022d316af08c663d6a4c3' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'p2aV22gvpGGpwk05IcL' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT 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-11-27 19:43:50', 'feaa9fd2eb14a0f94e8f92f15b8e1205c4e54d1b91261f29c457b5c2778a1f1a9bd5ea295dea6ef77d2899201f63df1a63246d148cced31254e9b77f6e5da6f2', '2012-11-27 19:43:50', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:43:50', 'testuser', 1, 'zgpfpUAii6hvR6YRVNe', 'X6RPdkEihQTLMJJUMYh', '1e78128ccf81c4db6c0cc76038ba97daa76d70d83980ac68e0968a0363711d329d7b418985fec05ac45a0298f1af344a304bc99dd0e022d316af08c663d6a4c3', 'p2aV22gvpGGpwk05IcL', 1, NULL, '2012-11-27 19:43:50')[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:43:50', `last_login_ip` = '0.0.0.0', `perishable_token` = 'jt1ZPBZpJDrB5krLYBFt', `updated_at` = '2012-11-27 19:43:50' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 8", "width"=>"600", "height"=>"200", "cropped"=>true}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:43:50', 1, 200, 'Banner Set 8', '2012-11-27 19:43:50', 600)
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.9ms | ActiveRecord: 1.2ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+Mysql2::Error: Table 'spud_banners_test.spud_users' doesn't exist: SHOW FULL FIELDS FROM `spud_users`
[1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
[1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.2ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.4ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.3ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
+ [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
+ [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.1ms)[0m TRUNCATE TABLE `spud_banner_sets`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
[1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
[1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e788cb92298ce7073dca744ee78c32645b1fde94418113f318056853aced6700bc37175444c933c9042e3180786ba15d4ac7761c7dc57a9fc6789e5b556e7382' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'piirPQc7WPQTqjbGahmP' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:45:09', '5994fbf051c0a757619d2b543fb40c9b87d023005f95caa5c8b12007c27a7f62b147d80581ce123e4cea59730b566ec202a3986046018d19cd470047858920ae', '2012-11-27 19:45:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:45:09', 'testuser', 1, 'joQvmWgtW2bNoulNoih', 'PIxbhFDKAG7mxA00E9ZV', 'e788cb92298ce7073dca744ee78c32645b1fde94418113f318056853aced6700bc37175444c933c9042e3180786ba15d4ac7761c7dc57a9fc6789e5b556e7382', 'piirPQc7WPQTqjbGahmP', 1, NULL, '2012-11-27 19:45:09')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:45:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iWzi4tkIOMBXkxu45m9j', `updated_at` = '2012-11-27 19:45:09' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:45:09', 1, 200, 'Banner Set 1', '2012-11-27 19:45:09', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:45:09', 1, 200, 'Banner Set 2', '2012-11-27 19:45:09', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:45:09', 1, 200, 'Banner Set 3', '2012-11-27 19:45:09', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:45:09', 1, 200, 'Banner Set 4', '2012-11-27 19:45:09', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:45:09', 1, 200, 'Banner Set 5', '2012-11-27 19:45:09', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.7ms)
-Completed 200 OK in 60ms (Views: 50.7ms | ActiveRecord: 0.6ms)
- [1m[36m (2.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '016f3d427caa3865c758e369241a1f64ecfee24f7f155db4481b6c6585153d28054d570e350c0508c04e65c66cd550a24b3878761858326520338fbcf087b4f1' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5hqDkceeYHA24EYkmxyP' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 19:45:09', '85dacaa2c3d65ff6ee64436a11199540a888285fff56928f9cf29a3a3e5fabe5f0b963c77c1617864c62df1991a015cbfd6bd2fe91929b410d2fd4204508cb29', '2012-11-27 19:45:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:45:09', 'testuser', 1, '8MfrDMbhaG5PcD7JPY', 'fXGjPshaalbQ7getV7I', '016f3d427caa3865c758e369241a1f64ecfee24f7f155db4481b6c6585153d28054d570e350c0508c04e65c66cd550a24b3878761858326520338fbcf087b4f1', '5hqDkceeYHA24EYkmxyP', 1, NULL, '2012-11-27 19:45:09')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:45:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'f6rnAO3n3K0KZm5n4A1O', `updated_at` = '2012-11-27 19:45:09' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:45:09', 1, 200, 'Banner Set 6', '2012-11-27 19:45:09', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 0.5ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[35m (0.0ms)[0m SET FOREIGN_KEY_CHECKS = 1
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd8fcb24cd2a4b13548111556e6ccfcdd954550a41253961cab30fcf049facc708813abcd928a07917a3e9568e9dc5af8616ef69cd71c7f7a40be325463bec200' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eOyjsGdgA8Bg8k93jHEM' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:45:09', '42fb5a8d8252e6d6a6a2fd04a9db18258e1444bafd8342744734af52485cd84e6dbfada8ea4e20965af7c9dde67b0bebb22b95d5f789836c6ae3869fc61879cb', '2012-11-27 19:45:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:45:09', 'testuser', 1, 'bQg1UG0a0UcpdY3ZnQTh', 'iamBmxTmLjtb7zHhCcHR', 'd8fcb24cd2a4b13548111556e6ccfcdd954550a41253961cab30fcf049facc708813abcd928a07917a3e9568e9dc5af8616ef69cd71c7f7a40be325463bec200', 'eOyjsGdgA8Bg8k93jHEM', 1, NULL, '2012-11-27 19:45:09')
+ [1m[35mSpudUser Exists (1.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fd90c37a9762f232afdaa4fabd5c595c1830175d71153c12b2b2363d7d9940be1f91e233b86bf0043d05e42894ca8e7925c746fedd4280ec4460606d467e829a' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qxlsaCXjbh58NrKAJNB' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:45:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GXoaH8vNgXpXHMb4A0Rs', `updated_at` = '2012-11-27 19:45:09' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (2.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '995e639d04cfec41fa7d5641892009bd99ce8259d9c144b50c5ffab307566261027fafb0a5ceb21d2eef31ff7b1d13f697e71f5a1262b19b57f1f5accbc8fe52' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8XCYeCeR4BR5V3PQqMo6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 19:45:09', 'de689b72d80506f70dbc6c59d40aeaf57df642e60a4f425588c7ee59dbe84e227da8c0aa5dccdd018588d0b08990f6670a2c3c933811cbc7f34fbebb6efa1c1a', '2012-11-27 19:45:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:45:09', 'testuser', 1, 'K5CgMChu91jm78nHK9u8', 'T84iXw6cC0TrZR4iak', '995e639d04cfec41fa7d5641892009bd99ce8259d9c144b50c5ffab307566261027fafb0a5ceb21d2eef31ff7b1d13f697e71f5a1262b19b57f1f5accbc8fe52', '8XCYeCeR4BR5V3PQqMo6', 1, NULL, '2012-11-27 19:45:09')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `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[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:45:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'N3nfvJg7jBglXsbjFLiR', `updated_at` = '2012-11-27 19:45:09' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:45:09', 1, 200, 'Banner Set 7', '2012-11-27 19:45:09', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.7ms | ActiveRecord: 1.2ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c4c1dd1965e988eb7d6cde3b0c9e46ddd2527da2f6d7499b34c529627fa23dfcf995b30530655fcf6f71ae0f56f56c73ab9e93c6b52c65dfeb9b80a3ca360cc9' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fzUAV4yVd4laGbZdCstr' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:45:09', 'e17932a9146bba32385a195f0075177d2ddbb0e80296323fce8c2b40f6e066407a9219ffe19b26c98c95724d20e8c3df900e00e84b19c8eae172e5bec190a843', '2012-11-27 19:45:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:45:09', 'testuser', 1, '5ezzUc8diJ6F6bts9gV', 'JT2pqKJDOEot6cqDP99N', 'c4c1dd1965e988eb7d6cde3b0c9e46ddd2527da2f6d7499b34c529627fa23dfcf995b30530655fcf6f71ae0f56f56c73ab9e93c6b52c65dfeb9b80a3ca360cc9', 'fzUAV4yVd4laGbZdCstr', 1, NULL, '2012-11-27 19:45:09')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:45:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'w47dMZKNUlYCBDM71cq', `updated_at` = '2012-11-27 19:45:09' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:45:09', 1, 200, 'Banner Set 8', '2012-11-27 19:45:09', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.7ms)
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '17048884f3ad71e4761a00d3728bf39c8be308f55ff4604c12f7587f6fb6e64f912218b0af72c820f110b3770936d9cc5eebd5a6c95dbfe098b72c3cddfcdb0f' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'AO03ylgqCuxs6QY318Q' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:46:18', '7821dbf21be1cca0ce7f59dcb8108d45db74f78a9de241397f6d8f6ee7fad17c7de1656709d53938e644404a8d9aa142c94f88043cf3981e86d363f37935f5c6', '2012-11-27 19:46:18', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:46:18', 'testuser', 1, '8yLFrxqvUC0WvaSFgHJR', 'A7KwK23n7pALv1Eilx8I', '17048884f3ad71e4761a00d3728bf39c8be308f55ff4604c12f7587f6fb6e64f912218b0af72c820f110b3770936d9cc5eebd5a6c95dbfe098b72c3cddfcdb0f', 'AO03ylgqCuxs6QY318Q', 1, NULL, '2012-11-27 19:46:18')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:46:18', `last_login_ip` = '0.0.0.0', `perishable_token` = 'fKzwwA3ftkBv43hdfNH2', `updated_at` = '2012-11-27 19:46:18' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:18', 1, 200, 'Banner Set 1', '2012-11-27 19:46:18', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:18', 1, 200, 'Banner Set 2', '2012-11-27 19:46:18', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:18', 1, 200, 'Banner Set 3', '2012-11-27 19:46:18', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:18', 1, 200, 'Banner Set 4', '2012-11-27 19:46:18', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:18', 1, 200, 'Banner Set 5', '2012-11-27 19:46:18', 600)[0m
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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)[0m
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 59ms (Views: 49.6ms | ActiveRecord: 0.6ms)
- [1m[36m (2.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '854db705ffa8b5b6023323dcf8d040d391d8ec864d6620fca88dbdea08ff70c92856f86baa530ff0cdb6cbed0c557e08de483fac8fcdd2f39f09f6d16d5aa1d5' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'odjCtxm1T0JohQyXci1z' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:46:18', 'f217fd0d2134d60e44e397faa70b4a423752069573becd2397970dee83ba87339abd8305a9a107ef697bf5512e702c0113e35dc8e711d430813683fafe7095d4', '2012-11-27 19:46:18', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:46:18', 'testuser', 1, 'KXGkIirp1Lvlj43ED6XI', 'brX0aVrizwQIc176Xh', '854db705ffa8b5b6023323dcf8d040d391d8ec864d6620fca88dbdea08ff70c92856f86baa530ff0cdb6cbed0c557e08de483fac8fcdd2f39f09f6d16d5aa1d5', 'odjCtxm1T0JohQyXci1z', 1, NULL, '2012-11-27 19:46:18')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:46:18', `last_login_ip` = '0.0.0.0', `perishable_token` = 'eLppZ6nrKAnZBGN82OKY', `updated_at` = '2012-11-27 19:46:18' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:18', 1, 200, 'Banner Set 6', '2012-11-27 19:46:18', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 0.6ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '230c611f1f794447aa2fe1ec95dc6aa26db7af87d96077dfb2a75cd552c8243528e2718cb50819fb449bc4a5e0d246c359bb728db545b0f081ce17aeff13122f' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Q18dDoHvljJsqyrfv1Kq' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:46:18', 'fd02752072b6f4b6d5951a9624dc99246b0bc0de980e98eb14bbe8185d499f30847719cf526824db2dc989fca0a8ed0c41a156c17740c81905bd52d48b5ddeda', '2012-11-27 19:46:18', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:46:18', 'testuser', 1, 'ZiylimgHeq3lQEnkcqEh', 'KbrVhu4M73FnaQoWoAaq', '230c611f1f794447aa2fe1ec95dc6aa26db7af87d96077dfb2a75cd552c8243528e2718cb50819fb449bc4a5e0d246c359bb728db545b0f081ce17aeff13122f', 'Q18dDoHvljJsqyrfv1Kq', 1, NULL, '2012-11-27 19:46:18')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:46:18', `last_login_ip` = '0.0.0.0', `perishable_token` = '9laq4uR1lbD7BbdYyGz6', `updated_at` = '2012-11-27 19:46:18' WHERE `spud_users`.`id` = 3[0m
+ [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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)[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.7ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0ebfbd46e15e980d574fb301784a7cb8021f0c9c3c81c3ec69e0484e387782547fd97ef6bf780a753de1a9b0e6ddd8934c3f63c8b3c5a5f6af2c2b4f05f4c80e' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4L1Bo7MdLWRPAg3BDjlb' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 19:46:18', 'bddc3c23194ae1cb3640fae654019cf329a3f86f466e6360374ce00c48d6549f2ebe17e0a6858daa9274faf99f834aeba23cba9cb0e3c6ef0abf7805f152a32b', '2012-11-27 19:46:18', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:46:18', 'testuser', 1, 'uxcqefTDGhoS1ToGTNhC', 'RX4U7PfbCxZTZojUPFi', '0ebfbd46e15e980d574fb301784a7cb8021f0c9c3c81c3ec69e0484e387782547fd97ef6bf780a753de1a9b0e6ddd8934c3f63c8b3c5a5f6af2c2b4f05f4c80e', '4L1Bo7MdLWRPAg3BDjlb', 1, NULL, '2012-11-27 19:46:18')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:46:18', `last_login_ip` = '0.0.0.0', `perishable_token` = 'aqtmoutMEiZmJuPb4I', `updated_at` = '2012-11-27 19:46:18' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:18', 1, 200, 'Banner Set 7', '2012-11-27 19:46:18', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.2ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'af5d09452ef45cbcaeb74941fec045d75549c1c854205b00e4f39ef69a22a1ab0625a1db7cd525c65ae378018845f23366a16180c18a109b61de32824dc9af68' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cFQ7D45WPuzHTehrti' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:46:18', '429cf1065c5db7f7ac649f5c4578205ed1b075eb4c276faa428dc860a72c8e2129ca03e85325161437c2f119df5f7fc9ce01423535d7beeb78e600ac766cf4b6', '2012-11-27 19:46:18', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:46:18', 'testuser', 1, 'B3YdjbLblHQS0dENVs', 'mnGkB1tIu2dSgEMZD6x0', 'af5d09452ef45cbcaeb74941fec045d75549c1c854205b00e4f39ef69a22a1ab0625a1db7cd525c65ae378018845f23366a16180c18a109b61de32824dc9af68', 'cFQ7D45WPuzHTehrti', 1, NULL, '2012-11-27 19:46:18')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:46:18', `last_login_ip` = '0.0.0.0', `perishable_token` = '8zr5lj4B4tVlzui4CqID', `updated_at` = '2012-11-27 19:46:18' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:18', 1, 200, 'Banner Set 8', '2012-11-27 19:46:18', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.6ms)
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.4ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.2ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '51940d2029a6ea5741bf7beb34f5eb56a8586385f7f7699fcf789440581ebb05b45cc917318fc41e7e9ff98e3a697b38d5f1152b8c5c81a8dedb4d755933b5a3' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ozGmrWzZvLhr8t8EMVz' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:46:31', '5acd2dfef1d4ef854d09cd4c678002378cb374fb1bee8b5fc8f6cfccbcc603ff603cb88877ad8c6ab3b6dde0760d62cc5ef7bbc194591c35ff469fd565693c62', '2012-11-27 19:46:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:46:31', 'testuser', 1, 'geojrNwCEomdF7o92Om4', 'L3QIg22Tyu13Fzp9DAqn', '51940d2029a6ea5741bf7beb34f5eb56a8586385f7f7699fcf789440581ebb05b45cc917318fc41e7e9ff98e3a697b38d5f1152b8c5c81a8dedb4d755933b5a3', 'ozGmrWzZvLhr8t8EMVz', 1, NULL, '2012-11-27 19:46:31')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:46:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GtxRxgHYMJQM89rdgyf', `updated_at` = '2012-11-27 19:46:31' WHERE `spud_users`.`id` = 1[0m
+ [1m[35mSpudBannerSet Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT 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)[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:31', 1, 200, 'Banner Set 1', '2012-11-27 19:46:31', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:31', 1, 200, 'Banner Set 2', '2012-11-27 19:46:31', 600)[0m
+ [1m[35mSpudBannerSet Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT 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)[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:31', 1, 200, 'Banner Set 3', '2012-11-27 19:46:31', 600)[0m
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudBannerSet Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT 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)[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:31', 1, 200, 'Banner Set 4', '2012-11-27 19:46:31', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:31', 1, 200, 'Banner Set 5', '2012-11-27 19:46:31', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::BannerSetsController#index as HTML
[1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
[1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 58ms (Views: 49.1ms | ActiveRecord: 0.6ms)
- [1m[36m (2.0ms)[0m [1mROLLBACK[0m
+ 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)
+ [1m[36m (1.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '325e2eef38a11b50cc71b4ad15c4ef8e07985602587c73c8d44e1dccb5e26d07473c29b7555caa9d1a836ef84920cce3d62df27589207e2a496d7448dcc38783' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fTcYINX4XU9YzQbfkw' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:46:31', '71d92a5df7df3ff4f659ae64f8646ed42b965471b4061bba69f384091611fdc9bff850d5b40f6b4f076a3d107d01b580b62b80cabbe3c8d2f5170ebd637a7806', '2012-11-27 19:46:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:46:31', 'testuser', 1, '1pZV2MhwptFJw7oUjvsj', '1VOBGg6kRJvmOs5BuRJg', '325e2eef38a11b50cc71b4ad15c4ef8e07985602587c73c8d44e1dccb5e26d07473c29b7555caa9d1a836ef84920cce3d62df27589207e2a496d7448dcc38783', 'fTcYINX4XU9YzQbfkw', 1, NULL, '2012-11-27 19:46:31')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:46:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'jpk1K6CphOdM6zLdvrdz', `updated_at` = '2012-11-27 19:46:31' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:31', 1, 200, 'Banner Set 6', '2012-11-27 19:46:31', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.0ms | ActiveRecord: 0.6ms)
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0276ec35dacefb712dc4ba5435babe0aaba86824caa4c67c2463226b333bef7aebc5e33dc6bfacee20a3168cdcd328c36fd097021a44ad85dfd0dfbdd35b2ccd' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MVPAs84r3oxtOozgHT' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:46:31', 'ccb4ad2c9a44fa5b35308951062fddb506f9f68d3fc26498e5281c77b837a8987c97ed4b2449e972a82255177f4d5ff0cb1214e683bb45dfe5470c96a75adc06', '2012-11-27 19:46:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:46:31', 'testuser', 1, 'q3sTnS0e7Asiag4vf4u8', 'MiGpYOijlvo1Guk3S', '0276ec35dacefb712dc4ba5435babe0aaba86824caa4c67c2463226b333bef7aebc5e33dc6bfacee20a3168cdcd328c36fd097021a44ad85dfd0dfbdd35b2ccd', 'MVPAs84r3oxtOozgHT', 1, NULL, '2012-11-27 19:46:31')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:46:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'WN0qxo4FSJTfoZg9zYqT', `updated_at` = '2012-11-27 19:46:31' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '183c566107fe19e8274155da2ac920990742fdf837720c9ac811bb37d36917970ea0c7c5446690d3762370b23bf932cc021d6f086e903567c9b09399176bc262' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'P4zoD0oqjn9MBpk3R3lH' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT 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-11-27 19:46:31', '68e576d6b23d366f7877f07d58ca0dea442830ed5704494667a46fd843a858a2896ec4210663834bf53d6c229384671427ee98d4e7292f6a5904db740d5f310a', '2012-11-27 19:46:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:46:31', 'testuser', 1, 'zqeWdbkJnuOQebN4OYl', 'tLQJdak82FdOP9yyoUr3', '183c566107fe19e8274155da2ac920990742fdf837720c9ac811bb37d36917970ea0c7c5446690d3762370b23bf932cc021d6f086e903567c9b09399176bc262', 'P4zoD0oqjn9MBpk3R3lH', 1, NULL, '2012-11-27 19:46:31')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:46:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'LG51J3jjUeqwLKOEjp', `updated_at` = '2012-11-27 19:46:31' WHERE `spud_users`.`id` = 4
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:31', 1, 200, 'Banner Set 7', '2012-11-27 19:46:31', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.1ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b829b190fe728d0d7c6bb5151be62e89d4d7787243ed4b59791c175d3c87b67265258b75a5512698237ffe746f167bfda702d06452269fad359d04f4380fff5f' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iGJUliPLhn2k8LiGOCqq' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:46:31', 'a377b5ae454304e921faeaf8b01efe3d3fdcd29f8366f5737bbd8f7f4cdd3271a01bb720dd4955bbd241408cb4df5a716c5956da77f4b28f4865eabe85c35e6d', '2012-11-27 19:46:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:46:31', 'testuser', 1, 'CshWxfeibR2gbm7bZ0PW', 'PO5fSey5rFYYBCuboz6e', 'b829b190fe728d0d7c6bb5151be62e89d4d7787243ed4b59791c175d3c87b67265258b75a5512698237ffe746f167bfda702d06452269fad359d04f4380fff5f', 'iGJUliPLhn2k8LiGOCqq', 1, NULL, '2012-11-27 19:46:31')
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9a876a83b7254ee1f54269cf9ea649b4647dcab0ecce4399f8324a59bdbf36603ebb560ddbded215ac912e587b98d1c3fb413739bf136069441ae0684d21ac20' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MpYAc5zAF3d84MLg3l8I' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:46:31', `last_login_ip` = '0.0.0.0', `perishable_token` = '2M4b0iDtrfJIDuCgSZU', `updated_at` = '2012-11-27 19:46:31' WHERE `spud_users`.`id` = 5[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:46:31', 1, 200, 'Banner Set 8', '2012-11-27 19:46:31', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.5ms)
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.0ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '81f39d3d02800915fa79442ff95853f38fbda3486ff554df4e543611a66fa14351ee3705eba75369255c77516065dd390c231d054116e8ea94e0013629eb1ca1' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'IzNp690lO9YwH1EgT' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:48:32', '128ec7ae2598f2324171f59f48082a8da60f81d1964f57165c92c300e0b325a8412a0ade74793a3892d5bf7d68a2e049a575a8c287a9913c02e8f2c2343a81e5', '2012-11-27 19:48:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:48:32', 'testuser', 1, '0iuNTWY0ngnnwj1KP9', 'LP8qW3mgyexe95OaicJ', '81f39d3d02800915fa79442ff95853f38fbda3486ff554df4e543611a66fa14351ee3705eba75369255c77516065dd390c231d054116e8ea94e0013629eb1ca1', 'IzNp690lO9YwH1EgT', 1, NULL, '2012-11-27 19:48:32')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:48:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'enaxdxlltZf8Pk4nRv', `updated_at` = '2012-11-27 19:48:32' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:48:32', 1, 200, 'Banner Set 1', '2012-11-27 19:48:32', 600)[0m
- [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:48:32', 1, 200, 'Banner Set 2', '2012-11-27 19:48:32', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:48:32', 1, 200, 'Banner Set 3', '2012-11-27 19:48:32', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:48:32', 1, 200, 'Banner Set 4', '2012-11-27 19:48:32', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:48:32', 1, 200, 'Banner Set 5', '2012-11-27 19:48:32', 600)[0m
+ [1m[35mSpudBannerSet Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT 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)[0m
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.8ms)
-Completed 200 OK in 63ms (Views: 53.3ms | ActiveRecord: 0.8ms)
- [1m[36m (2.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e53a10f81e84f03754ef897928ee5a604b65068d992004a43b036f878ff11ad160a33b1bcfbcf428bb75a9499f2a66fa67c07a5a8fafa38e1549e7642395e9a8' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'G4Z0r7CZ6y1tCOecCg' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:48:32', 'b319ac729d796249102ea034cfdbf7b123d9e1345592004b3d429ae64ab1357df8acf8dacc8a056bc28ff734cab9bd4fa68a95b474b68b454c15d6646c107bfa', '2012-11-27 19:48:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:48:32', 'testuser', 1, 'zVSJakoXrmJDaGCBieRi', 'ZMCToSXs0hp47Bn61LE7', 'e53a10f81e84f03754ef897928ee5a604b65068d992004a43b036f878ff11ad160a33b1bcfbcf428bb75a9499f2a66fa67c07a5a8fafa38e1549e7642395e9a8', 'G4Z0r7CZ6y1tCOecCg', 1, NULL, '2012-11-27 19:48:32')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:48:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ztpyxL67Hr6EKFZECMT', `updated_at` = '2012-11-27 19:48:32' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:48:32', 1, 200, 'Banner Set 6', '2012-11-27 19:48:32', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::BannerSetsController#show as HTML
Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 0.8ms)
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a5d43b0f1d2f8b1946b414c32a542cd61da63269335c48bc1eaba94104a2ec990e5540485d03ebf6814f82330dff5cff77cf7e713a06b8f14094ade5b238a09b' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'o5DlrOZamDwchkMUkFf' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:48:32', '673b0e3e24ce01f77ee99e35314b1465c9aacd97e4fe22f08835fa5fa7b2207e30613f87884cd857ba77a16547f59cbbb74a7099f99d7680fba758355b8fbad6', '2012-11-27 19:48:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:48:32', 'testuser', 1, 'Oe1IYb2EOSVLdy6csh4', 'ZN5wY6SfxBeb3BrVp5Qf', 'a5d43b0f1d2f8b1946b414c32a542cd61da63269335c48bc1eaba94104a2ec990e5540485d03ebf6814f82330dff5cff77cf7e713a06b8f14094ade5b238a09b', 'o5DlrOZamDwchkMUkFf', 1, NULL, '2012-11-27 19:48:32')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:48:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'H6xhcEMi8Pl0v5fXPD', `updated_at` = '2012-11-27 19:48:32' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (1.0ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ffefe5e5482a129c432c87d37b49c49c29bda1cca591b5f43581b06b02574a6c5eb4e9429120a2155279099674f920bac11040d7ead56ec1da949024c9005036' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xqSPlSpxaNtNlmnleWJ' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 19:48:32', '6f7a4cfceb9b8d9d794e42ae2777b78a01c965a9a7384f2fbdfae1467d700171c259c8bea7a13a90a87d7a85c103d88ac4f7a1dbfc562231cb19d62aa7283b10', '2012-11-27 19:48:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:48:32', 'testuser', 1, 'WC4JfkXF6qG0dcROtOMi', 'heVsoUY0NArzTzelDErs', 'ffefe5e5482a129c432c87d37b49c49c29bda1cca591b5f43581b06b02574a6c5eb4e9429120a2155279099674f920bac11040d7ead56ec1da949024c9005036', 'xqSPlSpxaNtNlmnleWJ', 1, NULL, '2012-11-27 19:48:32')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:48:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'aOJc2bxzRUWYJzfThFu', `updated_at` = '2012-11-27 19:48:32' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:48:32', 1, 200, 'Banner Set 7', '2012-11-27 19:48:32', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.1ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35mSpudBannerSet Load (0.2ms)[0m 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)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '41861c1ceb534c1b13ac3decf7eae9ada7e7649fc54875864687cd92b4728f26bd62a9e9bf4088b0217e6c4d0a04c1f14dc2961dc8e1b10c42a0a40f5716a40e' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ycytIypNwUgIgiTnXDI' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 19:48:32', 'c57aa1fee7c801e9a125a471d204e065c43a12ccf864d8b7bee4709e35bcc6c2b2fb3203cbdfcc428b62bef075fcd841e0b44c3576d32750bff9a3e633ed36c3', '2012-11-27 19:48:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:48:32', 'testuser', 1, '8azh7W3fdN4LArGDbG', 'YykwRuJRyt1PVsKTWYZ', '41861c1ceb534c1b13ac3decf7eae9ada7e7649fc54875864687cd92b4728f26bd62a9e9bf4088b0217e6c4d0a04c1f14dc2961dc8e1b10c42a0a40f5716a40e', 'ycytIypNwUgIgiTnXDI', 1, NULL, '2012-11-27 19:48:32')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:48:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wHVLskItAJK6CFrJjxAP', `updated_at` = '2012-11-27 19:48:32' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:48:32', 1, 200, 'Banner Set 8', '2012-11-27 19:48:32', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.6ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '31431d06d507d7e7ee2a552db3a79e48647f6fe408fd10a984b0127001316a49d4344b13450eb2e68dc08f204249fe3df284fd3ded8cfa6b4f2c0f447cd68b1b' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 't4Dpg93LIUAggLGiRvkw' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:48:32', '055537228bbba75c8e257224e0a8b9252866d403edf4897fe98f21b0e03c5fe59751009e71e66fb6953df6765ac34d859429e50cb56f0a3e81de5b972fe81ff9', '2012-11-27 19:48:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:48:32', 'testuser', 1, 'zmfkjtpIHlEqrber1v', 'TtmIrCRMPfEqREF1DHQD', '31431d06d507d7e7ee2a552db3a79e48647f6fe408fd10a984b0127001316a49d4344b13450eb2e68dc08f204249fe3df284fd3ded8cfa6b4f2c0f447cd68b1b', 't4Dpg93LIUAggLGiRvkw', 1, NULL, '2012-11-27 19:48:32')
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '837d592688a9c6a32e1c0073317a8cbdcf2f38eca3bf76c6e1de37b35d99b6e2b7e695dd69934becf5b860bd016ff008c93dfb7b7c3e8561c10380a354b3aa3d' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vUXk46bOLmk1TgvxOYY' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:48:32', `last_login_ip` = '0.0.0.0', `perishable_token` = '82IzeNKXB0mqplUKX62', `updated_at` = '2012-11-27 19:48:32' WHERE `spud_users`.`id` = 6[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:48:32', 1, 200, 'Banner Set 9', '2012-11-27 19:48:32', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 19:48:32' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 78ms (Views: 1.2ms | ActiveRecord: 3.6ms)
- [1m[35m (1.0ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '994142f976b41f97fcfa140e0d5a56b6026ceeb57f289a38e98077662b8b1c9c2fa1a1d4fae4eee7d6c95578145a05e2b411af4a4369568b32703b09cf5dce55' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'JnzjTIEJKZVO60R8hKv' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 19:51:06', '6559ad5e5ced678295a075002dcccd37aeda37901c9f59e9d8f1af32cdbc9fd8f112e38c0a23a66bf66107bfde7886eaa017d71e6379cea5a57e6c73ac13a192', '2012-11-27 19:51:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:51:06', 'testuser', 1, 'WoDPtk5300W4Cv1Tlnd', 'CCe4gTCFd7HHq16ZxJa', '994142f976b41f97fcfa140e0d5a56b6026ceeb57f289a38e98077662b8b1c9c2fa1a1d4fae4eee7d6c95578145a05e2b411af4a4369568b32703b09cf5dce55', 'JnzjTIEJKZVO60R8hKv', 1, NULL, '2012-11-27 19:51:06')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:51:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'SeeeeZqoD79DjCYHhfYh', `updated_at` = '2012-11-27 19:51:06' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:51:06', 1, 200, 'Banner Set 1', '2012-11-27 19:51:06', 600)[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:51:06', 1, 200, 'Banner Set 2', '2012-11-27 19:51:06', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:51:06', 1, 200, 'Banner Set 3', '2012-11-27 19:51:06', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:51:06', 1, 200, 'Banner Set 4', '2012-11-27 19:51:06', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:51:06', 1, 200, 'Banner Set 5', '2012-11-27 19:51:06', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.8ms)
-Completed 200 OK in 59ms (Views: 50.1ms | ActiveRecord: 0.6ms)
- [1m[36m (2.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '935ed36a4ead1f68c0ec68215f51e98bf566662d7ceebf2b0c276bf32bd351529c9633bd8909af5da5826354326e41cd4050e337b2eb1a1622c4d6e8cff2bf72' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bui8PaWpFFKdo73SYGit' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:51:06', '4e35e032fca9e5e0b346d051faf66545af4416c0e56cf789b713fce48132ed464879282ecce5b62d4afc71f462e8cf0258eb67d2271de54bba5bd1a5fac3cd12', '2012-11-27 19:51:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:51:06', 'testuser', 1, 'FVODnF51eJgZtervSzXg', 'ZK5EmJeG36F7iKZtXgd', '935ed36a4ead1f68c0ec68215f51e98bf566662d7ceebf2b0c276bf32bd351529c9633bd8909af5da5826354326e41cd4050e337b2eb1a1622c4d6e8cff2bf72', 'bui8PaWpFFKdo73SYGit', 1, NULL, '2012-11-27 19:51:06')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:51:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ZkMRNTYS1xO4X6b43qId', `updated_at` = '2012-11-27 19:51:06' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:51:06', 1, 200, 'Banner Set 6', '2012-11-27 19:51:06', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.4ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 0.8ms)
+ Parameters: {"id"=>"-1"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
+Looking for banner set with id: -1
+ [1m[35mSpudBannerSet Load (2.0ms)[0m 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)
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8fdf827309bc6ce750fd977ee3a94c1af2685e5ed24aa9704074f6c7d81f8741f4771328a99d67b6606bed40cd93068c81759e738b0b009baac4b7bb41a38f9a' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QMKwVLm3R1DUHzco9IxL' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:51:06', '5a5c5dc10d5ebbbc958f532f8fa2e1c2f7ec6afe724f633976ded58a84a3fc7b727389ef33d0bf73c4b42e0f62f3c0da524692fa2585015b7e28eaca4c54467c', '2012-11-27 19:51:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:51:06', 'testuser', 1, 'XbYN0oeNiMqc4vgyZs2p', 'U4HxA4HElpkiS0Ybf17', '8fdf827309bc6ce750fd977ee3a94c1af2685e5ed24aa9704074f6c7d81f8741f4771328a99d67b6606bed40cd93068c81759e738b0b009baac4b7bb41a38f9a', 'QMKwVLm3R1DUHzco9IxL', 1, NULL, '2012-11-27 19:51:06')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:51:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EgsdVWCtFPqQyn2jAKz', `updated_at` = '2012-11-27 19:51:06' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.4ms)
- [1m[35m (1.0ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '995d5e0241241f5ae8f2fac7ea3ff287af9735c2d4e76e3e94500dd1cdd0bb7b9dbcc56bd43ebe292279991da89fa93a46de640dd1d6fb33369f87b0b53ece4c' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'r4VrxfanJwj6maDm2HK' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 19:51:06', 'aa84209dd0339b84c08973925ce73c88833c2514f1925fa1d5a4cdbbc682978c96bb205e17c48818a7d55e5efa45145ff298392eb8e0cdcb0627dd5b9e8f80b3', '2012-11-27 19:51:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:51:06', 'testuser', 1, 'DCGcIM8I8ejQf0sT', 'A4s0BIrlv56TCnLEAntX', '995d5e0241241f5ae8f2fac7ea3ff287af9735c2d4e76e3e94500dd1cdd0bb7b9dbcc56bd43ebe292279991da89fa93a46de640dd1d6fb33369f87b0b53ece4c', 'r4VrxfanJwj6maDm2HK', 1, NULL, '2012-11-27 19:51:06')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:51:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'fR3bjZFnFJW6nScjvWAh', `updated_at` = '2012-11-27 19:51:06' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:51:06', 1, 200, 'Banner Set 7', '2012-11-27 19:51:06', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.7ms | ActiveRecord: 1.2ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c4239a3ed49b77a30ec5d9fff7466f6b2d59bbd73f1b25f6d8fc57fa1810e3d1c2dbc14ccfa9a2ac6b17ddf5b23dc1fa16e36135dd164992123b4d905ec55370' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mV5aBNDYQDOuuLJFqk' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:51:06', '62da13b4d63ae37c2509fa451accff265803856db402b2ad466af77ec6d05a5882eaabea6c66cca1ddfa56d85da76efb03ad1214fc3fe6c137d9c9f6f734daf9', '2012-11-27 19:51:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:51:06', 'testuser', 1, '6b1xX0kXXvC99es8jJH', 'eissLgDydnZBSSGonA6K', 'c4239a3ed49b77a30ec5d9fff7466f6b2d59bbd73f1b25f6d8fc57fa1810e3d1c2dbc14ccfa9a2ac6b17ddf5b23dc1fa16e36135dd164992123b4d905ec55370', 'mV5aBNDYQDOuuLJFqk', 1, NULL, '2012-11-27 19:51:06')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:51:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'fHZGGG7QZBziyH1gsW', `updated_at` = '2012-11-27 19:51:06' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:51:06', 1, 200, 'Banner Set 8', '2012-11-27 19:51:06', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.8ms)
- [1m[36m (1.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f32e8cca9afd28bb305154cb0e720ea8698cd22ffee45e737ba9f422af3f3c58410f993db24b93fc615cb9d71eae68d7bd5c32063d5dc296aff976155ebf27fc' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ciShyJaMrymbal4sHHto' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:51:06', 'f1bbcb23792a458b32bd54f50ea69a25c1c6d61086dff442b47595483596d2a53c8155e3c76fb3c979e1d85e3e158d722e2c4bc4efd23559b7d789d920c492b4', '2012-11-27 19:51:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:51:06', 'testuser', 1, '6b4aEOJ6ZpYaw2dK0q1a', 'BFWPNgN14YCAQP4buIj', 'f32e8cca9afd28bb305154cb0e720ea8698cd22ffee45e737ba9f422af3f3c58410f993db24b93fc615cb9d71eae68d7bd5c32063d5dc296aff976155ebf27fc', 'ciShyJaMrymbal4sHHto', 1, NULL, '2012-11-27 19:51:06')
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fb944b630fa611cd2711598117a3a90047f8f8bdfebd37b078ea79d8ab5701db82e0e8317385d9d2f37c163c4f2ac0e646522e304b5a8944bdf2c4eaa1703d97' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XmBwqSAopycJ27ZD9auS' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:51:06', `last_login_ip` = '0.0.0.0', `perishable_token` = '59ilFzOIZFl0xVFDlU', `updated_at` = '2012-11-27 19:51:06' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:51:06', 1, 200, 'Banner Set 9', '2012-11-27 19:51:06', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"id"=>"9", "name"=>"Updated Set Name", "width"=>"600", "height"=>"200", "cropped"=>true, "created_at"=>"2012-11-27 19:51:06 UTC", "updated_at"=>"2012-11-27 19:51:06 UTC"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 500 Internal Server Error in 8ms
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '443302d63629941e37a8e2f1aacb22b85a7518ca80a7def337106e75fa80d0d8c32fcca7d6667574e8301c079e3a32f033c21cfa8179c82bc0f99796c0b5f7c3' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '2kgtaiET5EbsaJ92mhn' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:52:04', '6e43f02b3c0d66198ccb6eb33483b413130d7c55b1489d701d94fce39abc18e454a4262015ebb86b5958e962a71967828fac99207b85c6aa3fe29510ad89d5d5', '2012-11-27 19:52:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:04', 'testuser', 1, 'Uc0bYC5I8UNvIZvpQsqS', 'BfPQFJp27tnc06NZjl', '443302d63629941e37a8e2f1aacb22b85a7518ca80a7def337106e75fa80d0d8c32fcca7d6667574e8301c079e3a32f033c21cfa8179c82bc0f99796c0b5f7c3', '2kgtaiET5EbsaJ92mhn', 1, NULL, '2012-11-27 19:52:04')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:04', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mUtoeNw3OhsbjTWp1vJp', `updated_at` = '2012-11-27 19:52:04' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:04', 1, 200, 'Banner Set 1', '2012-11-27 19:52:04', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:04', 1, 200, 'Banner Set 2', '2012-11-27 19:52:04', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:04', 1, 200, 'Banner Set 3', '2012-11-27 19:52:04', 600)[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:04', 1, 200, 'Banner Set 4', '2012-11-27 19:52:04', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:04', 1, 200, 'Banner Set 5', '2012-11-27 19:52:04', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 59ms (Views: 49.7ms | ActiveRecord: 0.7ms)
- [1m[36m (2.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4c4bff71f84cc792dd4b4fc47fa63d9a08c6ef505d47c516e84913f7461cbb248a983aae98c0963d5ac01d989d3d601183c8c323b52c907bdb8b0251e4fde095' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vMKkAILGdeNAPHqAPNdu' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:52:04', 'b568afa21ed4960fa7e90727629e3f6442226a092535e8cb4d1cc6ed2f5c8294b31614e869d8222f573eb00560c7b52d563cc4fd1b5c6d46ae15fd8c263c9070', '2012-11-27 19:52:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:04', 'testuser', 1, 'wRV2gfzKZZPvAzdH6JDm', 'Oua2PTfnvTrZ33FuJkBm', '4c4bff71f84cc792dd4b4fc47fa63d9a08c6ef505d47c516e84913f7461cbb248a983aae98c0963d5ac01d989d3d601183c8c323b52c907bdb8b0251e4fde095', 'vMKkAILGdeNAPHqAPNdu', 1, NULL, '2012-11-27 19:52:04')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:04', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EgCj8hlAweY5b3pDc3S', `updated_at` = '2012-11-27 19:52:04' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:04', 1, 200, 'Banner Set 6', '2012-11-27 19:52:04', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 0.6ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '09acd30e2b6e17251659d03a54e762906901165f4f8826a03c0fc5b2049d9799b740e653ca3ece01810a5e38f19fea2807b5deb85d17c4fba7ec1bdf6f28ca01' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bnejTvsdw1yVC4tIzQN' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:52:04', 'f83d7ea212268a2f7117b186ff72b233811030097b9ef075947978883ea73cb00ea803b02a514f629ab2ff86d1fb15b9099bb2cb242cbd75cf13e4b5dab6d7f8', '2012-11-27 19:52:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:04', 'testuser', 1, 't87mpGHcxq7W7BDcnQ', 'CwqM65C5JcaKDT5uuete', '09acd30e2b6e17251659d03a54e762906901165f4f8826a03c0fc5b2049d9799b740e653ca3ece01810a5e38f19fea2807b5deb85d17c4fba7ec1bdf6f28ca01', 'bnejTvsdw1yVC4tIzQN', 1, NULL, '2012-11-27 19:52:04')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:04', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vLkSeBCFLnIFDDiaGb8', `updated_at` = '2012-11-27 19:52:04' WHERE `spud_users`.`id` = 3[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.9ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '34162462c977e191a8925322891a425c4120fa448d00607c1a1d492488211f23bb17de08019907cd001bdaad8e2b053196b9dd286c9b891eb14a0eb19bd192f0' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'k05P9HAMvhNRzlIkvZF' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 19:52:04', '8b500ebe234946d9e2b7ad8f3d4915342d2943ace878ec84f337ad5f8ef69309c69a7496e8be6d0562f22837d493543685202033e7c0fd7d05ed62ddc651223a', '2012-11-27 19:52:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:04', 'testuser', 1, 'bq7mSZh5IY3FQjOWf3Rj', 'yJG4sj9fmAm2qCFZbDH', '34162462c977e191a8925322891a425c4120fa448d00607c1a1d492488211f23bb17de08019907cd001bdaad8e2b053196b9dd286c9b891eb14a0eb19bd192f0', 'k05P9HAMvhNRzlIkvZF', 1, NULL, '2012-11-27 19:52:04')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:04', `last_login_ip` = '0.0.0.0', `perishable_token` = 'O2uDY0dwsdGq46HgMbC', `updated_at` = '2012-11-27 19:52:04' WHERE `spud_users`.`id` = 4
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
[1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:04', 1, 200, 'Banner Set 7', '2012-11-27 19:52:04', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 1.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '59d613042774fe9af6c2d10f7358820cbecbb3b7107cbebc4a9c9685a0d0dcdef9928f0d697875bcbfa5ddffbc5e8a0b00f4425ba2f50757da9775c1d53fb980' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'b23vGG1dgUiOGQ9btWtV' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:52:04', '20030a01e56a65d3f3f51b734961eace19f06748eb815bc55741ead527d8bf40f2fcead7d3805b0b1a83f055ef9586a1231162786cfa54e2f73105998ab60560', '2012-11-27 19:52:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:04', 'testuser', 1, 'iIH5VXoau5qUc6oOBGat', 'zh8n5Ot8Q1bGYDBuR29', '59d613042774fe9af6c2d10f7358820cbecbb3b7107cbebc4a9c9685a0d0dcdef9928f0d697875bcbfa5ddffbc5e8a0b00f4425ba2f50757da9775c1d53fb980', 'b23vGG1dgUiOGQ9btWtV', 1, NULL, '2012-11-27 19:52:04')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:04', `last_login_ip` = '0.0.0.0', `perishable_token` = 'L41S6KGSr9h9bjmgNwy', `updated_at` = '2012-11-27 19:52:04' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:04', 1, 200, 'Banner Set 8', '2012-11-27 19:52:04', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.7ms)
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '91a8acf4c25c840f4b852d18d49d34e3acf31bf2a30d3f97577f295e61ddd262b9c5c3970f61fbd7cb1de8e2d2bca0d5ee64c0cc9f947630eb3bcc33987ed56b' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Jl3iBHUHzQI0dKNbXs' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:52:04', '31387032baf7ba4390ba86a4e460cd4aa162ce098300c1b2ff5963b9198262d0d969c8bef95e3f834dcb269b5b60c79cd73924e6d23270fd9cf426c2a7c6beb6', '2012-11-27 19:52:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:04', 'testuser', 1, 'RnMsDNuV0RkHjvV5RBCX', 'yZeDnMGLubpyTakaLnb', '91a8acf4c25c840f4b852d18d49d34e3acf31bf2a30d3f97577f295e61ddd262b9c5c3970f61fbd7cb1de8e2d2bca0d5ee64c0cc9f947630eb3bcc33987ed56b', 'Jl3iBHUHzQI0dKNbXs', 1, NULL, '2012-11-27 19:52:04')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:04', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EZuKfAuZvVSNfDTOQAx', `updated_at` = '2012-11-27 19:52:04' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:04', 1, 200, 'Banner Set 9', '2012-11-27 19:52:04', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name", "width"=>"600", "height"=>"200", "cropped"=>true, "created_at"=>"2012-11-27 19:52:04 UTC", "updated_at"=>"2012-11-27 19:52:04 UTC"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 500 Internal Server Error in 7ms
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.2ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '564d3395428667b9561e1d11344fdcc14c08eb2449aaec96c6e03ca32ca7e9f7ada19d812c4007cd5fda197d8aac28d81329880b2bec9ac06e00a739057c0211' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'epfqzPplhCugAtslHM3' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:52:32', '7cb01786d65a8663b8ec0f351a2ef48228c151de47a73bb6f22882d00c07236474eb5f84f388d5804bc9e29cb1236e9adead9c52181ce3089f1b3187d17cb12e', '2012-11-27 19:52:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:32', 'testuser', 1, 'zmE0uvxGVo7PZXey4ZbA', 'rIWo9suj3zi9NUoDWu6', '564d3395428667b9561e1d11344fdcc14c08eb2449aaec96c6e03ca32ca7e9f7ada19d812c4007cd5fda197d8aac28d81329880b2bec9ac06e00a739057c0211', 'epfqzPplhCugAtslHM3', 1, NULL, '2012-11-27 19:52:32')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vyWkW1sopStX95rlE3pb', `updated_at` = '2012-11-27 19:52:32' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:32', 1, 200, 'Banner Set 1', '2012-11-27 19:52:32', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:32', 1, 200, 'Banner Set 2', '2012-11-27 19:52:32', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:32', 1, 200, 'Banner Set 3', '2012-11-27 19:52:32', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:32', 1, 200, 'Banner Set 4', '2012-11-27 19:52:32', 600)[0m
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '66117064ac91d19b4b426d6cc4b7782c8d3f11dd4e303d11556e7db9f84b9d1a4cc092f39fa274da7df9525ddc19074de50ad64a970b6726d70e47aee441abb5' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ydRuIwjURCY2AuspgEbR' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:32', 1, 200, 'Banner Set 5', '2012-11-27 19:52:32', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.9ms)
-Completed 200 OK in 59ms (Views: 50.1ms | ActiveRecord: 0.6ms)
- [1m[36m (2.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '45942d3539f36d20e4ca06f4420417b89a823cb61634752ba05e7679f82c7d510721015dccdbe8932e817bf02bd602120f34610be91fb6f1776f6e450dab417e' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5kYtGlY283aVVqTAvSW' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:52:33', 'cc3c92569d7d9f381067b236cf445b0b8a95d019365352461a1fd847918a9a0e95494fce3f61c1dc5c7af0136d48970cbdb0cb4b2312379c06a2ff18f02b8f30', '2012-11-27 19:52:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:33', 'testuser', 1, '3E7szu9PsWvLNG7cbQsd', 'YzxMdTbqFMqjOD4dTOv', '45942d3539f36d20e4ca06f4420417b89a823cb61634752ba05e7679f82c7d510721015dccdbe8932e817bf02bd602120f34610be91fb6f1776f6e450dab417e', '5kYtGlY283aVVqTAvSW', 1, NULL, '2012-11-27 19:52:33')
+ [1m[35m (0.2ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'a9reuWgr2dnLetOgryo', `updated_at` = '2012-11-27 19:52:33' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:33', 1, 200, 'Banner Set 6', '2012-11-27 19:52:33', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.0ms | ActiveRecord: 0.7ms)
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8077174aad428c06d12ff367aadbb3f644f3a8fd97401a069450d10854884ccb3cb02426ceef1bfe83599c3790aa9aad78647b029ca5a93a22f34c73ee623cb9' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Pc7SNc62tvMGD9RcwBD3' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:52:33', 'ba760eb669aa080ba5caad92c3aede0874cdf48e4ce93ed5a5827ea1c7a9265f82ae51ee330535f2e287a5bb82a3b747243f0bc0894078c36d31da6188fdff06', '2012-11-27 19:52:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:33', 'testuser', 1, 'lQjayK7vxgdflPOTeNp8', 'VlvCb1c0dRYEbhwf4WR', '8077174aad428c06d12ff367aadbb3f644f3a8fd97401a069450d10854884ccb3cb02426ceef1bfe83599c3790aa9aad78647b029ca5a93a22f34c73ee623cb9', 'Pc7SNc62tvMGD9RcwBD3', 1, NULL, '2012-11-27 19:52:33')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'RhUW3J6N3MSog3vkiS7', `updated_at` = '2012-11-27 19:52:33' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.9ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c8fc09db2f264dc32024180b9c4db47b7aa2d2679b22ce9e236d304945278025e7c504bebc3a435839af3422e37061023535f5027e2e6d93357f3595b36d3eef' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9ZHrZMWFXiNcEhBwuQ7l' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 19:52:33', 'fd60d54b9d9d3937dd203a622b5bbb7af355853e345942ed9fb18520d6237bec64e807accbb35a3434312e859e554ac2f483fea1d64c31520864c8759d7bb32d', '2012-11-27 19:52:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:33', 'testuser', 1, 'NxNA5GOMUZKCtYTyvXP4', 'cWGH3pgPoW96iY4Qei', 'c8fc09db2f264dc32024180b9c4db47b7aa2d2679b22ce9e236d304945278025e7c504bebc3a435839af3422e37061023535f5027e2e6d93357f3595b36d3eef', '9ZHrZMWFXiNcEhBwuQ7l', 1, NULL, '2012-11-27 19:52:33')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:33', `last_login_ip` = '0.0.0.0', `perishable_token` = '7k9Lpgz4KbogitjM5tF', `updated_at` = '2012-11-27 19:52:33' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
[1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:33', 1, 200, 'Banner Set 7', '2012-11-27 19:52:33', 600)
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.7ms | ActiveRecord: 1.0ms)
+ [1m[35mSQL (0.3ms)[0m 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)
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Completed 200 OK in 9ms (Views: 1.2ms | ActiveRecord: 1.2ms)
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e6c1ea84feb628726aa1ebcaf2f1f5a363f3d9fc95532bf86eb171510972ca1a1467b4d6394415c97121ed8508ffe8dde5e634f16c930558e0e1c069e8e1adb0' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'DHkcPzaSHE2vTilijLBL' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:52:33', '5e2f0129575fc426051917a0b729a7c37559f018edd8e56f6f854bf3a86ffe076de82cdfa1d7bc09ca67416669cf290c33738403b104d33e975046cd4ff06ef4', '2012-11-27 19:52:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:33', 'testuser', 1, 'toHhnwcHpIXOD82wkOJ3', '0czw5mWaPQ3KNz50dCMw', 'e6c1ea84feb628726aa1ebcaf2f1f5a363f3d9fc95532bf86eb171510972ca1a1467b4d6394415c97121ed8508ffe8dde5e634f16c930558e0e1c069e8e1adb0', 'DHkcPzaSHE2vTilijLBL', 1, NULL, '2012-11-27 19:52:33')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'UnK1O7IcItUXOSDfdbW4', `updated_at` = '2012-11-27 19:52:33' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:33', 1, 200, 'Banner Set 8', '2012-11-27 19:52:33', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.5ms)
- [1m[36m (0.8ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0045ae706a92049ea745799061b38c2a4e9e288b484c9dbdda1a3d1f7cfc495de9e4423d5fe7bf73db5acfbe8c4aa4241ddae79436c9fe73ca4e7527f18ef548' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PgQEphNeQm2SBAzdiURw' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:52:33', 'ee2bf8f0bfb5f45a0525047ff89c0172b751f995ab3d1b3538c10b0e07541c3b22a6559c27b6efc66e10b306435d50c7165e6cf4dbbeb79c89d633ff7686326d', '2012-11-27 19:52:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:33', 'testuser', 1, '2DTYPR0ZAPwpiFc2AZJU', 'TyvrHU8M2hkY2lr0Mcfa', '0045ae706a92049ea745799061b38c2a4e9e288b484c9dbdda1a3d1f7cfc495de9e4423d5fe7bf73db5acfbe8c4aa4241ddae79436c9fe73ca4e7527f18ef548', 'PgQEphNeQm2SBAzdiURw', 1, NULL, '2012-11-27 19:52:33')
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd3cc810ab153896b535d8ea5cbdcf5da374075d9cc0ad04093eab65a60bbf366b7ca69961935ac995e1430e515e2811a9c67c70f5a75113bf235e03126ef4377' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZnlFIjwbqc9nt5nuVDlc' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Oipn79xKtFepDbzLNF9', `updated_at` = '2012-11-27 19:52:33' WHERE `spud_users`.`id` = 6[0m
+ [1m[36m (0.3ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
+Processing by Spud::Admin::BannerSetsController#create as HTML
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:33', 1, 200, 'Banner Set 9', '2012-11-27 19:52:33', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 19:52:33' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 80ms (Views: 1.2ms | ActiveRecord: 5.4ms)
- [1m[35m (1.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.1ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 422 Unprocessable Entity in 8ms (Views: 0.7ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a7e453bef5c51d069e09a3a4e731b311a7cab69a63af92199e857e1c1e89f98f83ac171cc20f2d7797f444c10906daf4799974c61da75fca2b56c6efbfd42fb4' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'o7ZMgUANCVIl2BzwRWQ' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 19:52:53', '0dfc22013494f683ffe00dc2be92ddb441cc0a7a8d31b4f4889238377cd978e02030f7665bf9844ec05ca1ce59b969e34add10f83493f71167514f3ac027986d', '2012-11-27 19:52:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:53', 'testuser', 1, 'LKvyrLWZN43xRsCAkbR', 'aiaoxmVeYuhMxzRkEmO', 'a7e453bef5c51d069e09a3a4e731b311a7cab69a63af92199e857e1c1e89f98f83ac171cc20f2d7797f444c10906daf4799974c61da75fca2b56c6efbfd42fb4', 'o7ZMgUANCVIl2BzwRWQ', 1, NULL, '2012-11-27 19:52:53')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QDOCBhbhDDtSCBUjsmS', `updated_at` = '2012-11-27 19:52:53' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:53', 1, 200, 'Banner Set 1', '2012-11-27 19:52:53', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:53', 1, 200, 'Banner Set 2', '2012-11-27 19:52:53', 600)[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:53', 1, 200, 'Banner Set 3', '2012-11-27 19:52:53', 600)[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:53', 1, 200, 'Banner Set 4', '2012-11-27 19:52:53', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:53', 1, 200, 'Banner Set 5', '2012-11-27 19:52:53', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.8ms)
-Completed 200 OK in 59ms (Views: 49.3ms | ActiveRecord: 0.6ms)
- [1m[36m (2.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '035046f63ce3302a5f55a910c1b13493c0d9d8736fbe5cca0e3917141099e47d330518bf72eee326ff24043b55af018b3af79f594ac1dcfabc5107c02f920c5f' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'a3W9OhoUiUm2gdOFSVP' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:52:53', '034e06889b2a77738bb850fe19f86dd2ae0d3e945d50f98d63bac0417c0275e117063d755b6b07fcd8e85854eccc41ab84e763a2ea81ca4fc3ddd3829cdd8277', '2012-11-27 19:52:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:53', 'testuser', 1, 'NpGgjt5NIqhTsxYtgkNA', 'JRDlifxtUScnqCOGLaqV', '035046f63ce3302a5f55a910c1b13493c0d9d8736fbe5cca0e3917141099e47d330518bf72eee326ff24043b55af018b3af79f594ac1dcfabc5107c02f920c5f', 'a3W9OhoUiUm2gdOFSVP', 1, NULL, '2012-11-27 19:52:53')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'fEeYgqZjZoNp7BquyflH', `updated_at` = '2012-11-27 19:52:53' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:53', 1, 200, 'Banner Set 6', '2012-11-27 19:52:53', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 0.6ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ac42f775a6dada278830ad83fb3b667927d822aae85d99d41261842b88f11d1c89cdf342bc1c733a5f404d1ee48c4b50b35a95da7ecd8b1dc0518828fe6bb6b6' LIMIT 1
- [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UHAvdMetUgBCiUcMsa' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:52:53', 'bfc327713d992dfce74333dab87f81a2d96e285bb9b97df418aeb6e3931eb50442fca9ed8ad9632ab985416b3ca6e240b86689c562ff821ec1b8d25d4bbaca98', '2012-11-27 19:52:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:53', 'testuser', 1, 'FymI5z9csawDaVd2M2', '3EUi4imE4APgV2QKwr', 'ac42f775a6dada278830ad83fb3b667927d822aae85d99d41261842b88f11d1c89cdf342bc1c733a5f404d1ee48c4b50b35a95da7ecd8b1dc0518828fe6bb6b6', 'UHAvdMetUgBCiUcMsa', 1, NULL, '2012-11-27 19:52:53')
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8c373a0c5ecd745fc9dae3ddcfdf58d95a9ac5da825da81366a04ecb2b70356a1344017aa112c1fe614178d576ed07aa6a8bd95308ce90c351a818c820b353d4' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kleok62VXHaRxENBt3nr' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Sbsu6CCxLERIWxHLLGqo', `updated_at` = '2012-11-27 19:52:53' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.3ms)
- [1m[35m (1.0ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3fa2764997d364197c5ccf7223f9c3ad30fc4a01300df681863400b069c59eeea3893f56ce1956de18d6013e689d0cdf5f014e4f5c96213f09a441bc7aed05e6' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uVu0yCkEfDEr4oVj9w' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 19:52:53', '6873e374d3154703b9f0caf680b1c45fde2ec40b2d56a864fa7ce499e68ec520f969ad227b3fb00d833e4aee743285400eb39c128df7b28b2a4a8405201ce6de', '2012-11-27 19:52:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:53', 'testuser', 1, 'KgoPauueH7vNOeH5oZf', 'OzNzpIdA79SxZeMDg1G', '3fa2764997d364197c5ccf7223f9c3ad30fc4a01300df681863400b069c59eeea3893f56ce1956de18d6013e689d0cdf5f014e4f5c96213f09a441bc7aed05e6', 'uVu0yCkEfDEr4oVj9w', 1, NULL, '2012-11-27 19:52:53')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'B8I7Qi7xfhEcIZFbiG', `updated_at` = '2012-11-27 19:52:53' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:53', 1, 200, 'Banner Set 7', '2012-11-27 19:52:53', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.1ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fcc7b9448c646cddfed33d0156e583ce0f339411e0df021ac943c131291f5622f2ec99f26111b5f2bb95039be74533693a32af805225a5dd26531ab3b5b74459' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4AhCrR9wTq4IJDnItPg' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:52:54', '5099a0a216c6629c96801e14d6b40e278810cc22a9d12b0cf364fed91f0083dc6fe41a9b703236e6e1fc0e1c5404558e9cb8adfe79d1ef6549fa2daa60958b51', '2012-11-27 19:52:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:54', 'testuser', 1, 'jCCgoLcLyPc3dRSbqzCy', 'tMALtoaxZeZnYX4mYfgL', 'fcc7b9448c646cddfed33d0156e583ce0f339411e0df021ac943c131291f5622f2ec99f26111b5f2bb95039be74533693a32af805225a5dd26531ab3b5b74459', '4AhCrR9wTq4IJDnItPg', 1, NULL, '2012-11-27 19:52:54')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'BlCY8MeUUzFoMXE44J3Y', `updated_at` = '2012-11-27 19:52:54' WHERE `spud_users`.`id` = 5[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `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[0m
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:54', 1, 200, 'Banner Set 8', '2012-11-27 19:52:54', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT 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)[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::BannerSetsController#edit as HTML
Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.5ms)
+ [1m[35mSpudBannerSet Load (0.4ms)[0m 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)
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f98d94e69e71b341c803fa121c87c65e26165df804e2db111cdf49f4dda98df648ed1f902869d492715e118303d2888cd684705dadefd52e8e1668487e4544ab' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'R3yubxy61XBM7HGMmG' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:52:54', 'bf89eaaabb48aeeecb74b5244f15b6314193a81a0a1b909806074d0f81af30e291d84521150284cfbe5562f589aa175acb2014c69fdf42cc323b57a4c4d27c84', '2012-11-27 19:52:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:52:54', 'testuser', 1, 'F0aXzDZRv3kC2JYVtJCc', '3dqwX8Doa8M4AvOoLvR', 'f98d94e69e71b341c803fa121c87c65e26165df804e2db111cdf49f4dda98df648ed1f902869d492715e118303d2888cd684705dadefd52e8e1668487e4544ab', 'R3yubxy61XBM7HGMmG', 1, NULL, '2012-11-27 19:52:54')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:52:54', `last_login_ip` = '0.0.0.0', `perishable_token` = '9EcMI3UPXS3etjD7xG', `updated_at` = '2012-11-27 19:52:54' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:52:54', 1, 200, 'Banner Set 9', '2012-11-27 19:52:54', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 19:52:54' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 78ms (Views: 1.2ms | ActiveRecord: 4.8ms)
- [1m[35m (0.9ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.3ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.5ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'dbc91b937ee506aa24d12cb560de03757365f8c97be7a73289d6ff2a999b18caf60d4116ff13c250bbef7942de139d0655af2d80ca6f32000dad07d4710b98e1' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'AcT5KBsMrA4KyeJmSNW4' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:54:59', 'cb90b507cc4af9e787a31836d512c5564ff1b7c7df00b14828d4c57c85f22604a969689b1174ebb864172ca4bbe51d6255c748c760fad2e07860cdc53f16769e', '2012-11-27 19:54:59', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:54:59', 'testuser', 1, '9hSYJQCmB5dTb3gergx', 'IFIqRcxbTpTT22TgYVIt', 'dbc91b937ee506aa24d12cb560de03757365f8c97be7a73289d6ff2a999b18caf60d4116ff13c250bbef7942de139d0655af2d80ca6f32000dad07d4710b98e1', 'AcT5KBsMrA4KyeJmSNW4', 1, NULL, '2012-11-27 19:54:59')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:54:59', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ORVtIsJaAM0KqcVtoRZ', `updated_at` = '2012-11-27 19:54:59' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:54:59', 1, 200, 'Banner Set 1', '2012-11-27 19:54:59', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:54:59', 1, 200, 'Banner Set 2', '2012-11-27 19:54:59', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:54:59', 1, 200, 'Banner Set 3', '2012-11-27 19:54:59', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:54:59', 1, 200, 'Banner Set 4', '2012-11-27 19:54:59', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:54:59', 1, 200, 'Banner Set 5', '2012-11-27 19:54:59', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.6ms)
-Completed 200 OK in 60ms (Views: 50.6ms | ActiveRecord: 0.7ms)
- [1m[36m (2.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6cf1960b6cf609143e56169fc8ab7c9582bfd4935e3a44980c8668b48a3b6a52799c1ee8c2066b8ec76ae7210d905e18de6945fe31e6364b93aafc82666d80f7' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8V5xKahNHksrkbOXHZh' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:54:59', '9f462837ea46718ba59f851a63fa7f0036c3b416ed1e8b3b2c58e7ddd63d35b85697515c14f53de9f5c94643f47f11f06a92d5c07daf8223c84800e14f3771be', '2012-11-27 19:54:59', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:54:59', 'testuser', 1, '2UKPYf4ccVX1fi9ADo7v', 'Tw2XU1wFhbTyhvvVRh85', '6cf1960b6cf609143e56169fc8ab7c9582bfd4935e3a44980c8668b48a3b6a52799c1ee8c2066b8ec76ae7210d905e18de6945fe31e6364b93aafc82666d80f7', '8V5xKahNHksrkbOXHZh', 1, NULL, '2012-11-27 19:54:59')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:54:59', `last_login_ip` = '0.0.0.0', `perishable_token` = 'cTlGqmAxTqT0f2lOv0Ce', `updated_at` = '2012-11-27 19:54:59' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:54:59', 1, 200, 'Banner Set 6', '2012-11-27 19:54:59', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 0.5ms)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '58d13eef5966ef1626d79823d8cb30293fd57c159646be7701f174f7827671f762a2799d2a9c287caea11c889b7934317f246262818176854b82c2f34c248844' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WaboEGroeHvbLgaCzH' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:54:59', '8463d5d1b76e8fdeb789d5cd056320d8d7c6e882b0db6cca837b64205ab943019208d2d7f8c7b0f56308372808075d08472f0c0f62359e13f783330995b11c86', '2012-11-27 19:54:59', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:54:59', 'testuser', 1, 'CqFJr0WmKJluV8yVgV7D', 'o1orFECmQhOVOu4BocEz', '58d13eef5966ef1626d79823d8cb30293fd57c159646be7701f174f7827671f762a2799d2a9c287caea11c889b7934317f246262818176854b82c2f34c248844', 'WaboEGroeHvbLgaCzH', 1, NULL, '2012-11-27 19:54:59')
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9f8d5b269afd839d73452cf630986b5f6789addb5ffb3b69723ba2659db49f52490bd695cb671b6ab187eabe4833a6c241822431f38b093321debcad0545920a' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7Drlen94qCo1DihqK' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:54:59', `last_login_ip` = '0.0.0.0', `perishable_token` = 'nLTH0E5joZke31V5WS', `updated_at` = '2012-11-27 19:54:59' WHERE `spud_users`.`id` = 3[0m
+ [1m[36m (0.3ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.4ms)
- [1m[35m (0.9ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'aeb637842d9bd9c3529edc27c3d270e68fc1b9758a422fd54b5d23f30a153461f5c694b4c3c7c8b1bb41cfa85999c5e9e48613c0fdee9ce7c845ff8f5b46a381' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UFEmbScvFzX0y9wnGoWK' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 19:54:59', '84949afb7ccc99c6945c19cb4f087011378f0edf3abf6115c522d88093a93f0766970dbd5fcd8d66c94948befa695d6410e1ea2ea188c2fe535e2beda102229f', '2012-11-27 19:54:59', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:54:59', 'testuser', 1, 'aOOqMYV4iI7wbhCpiSJW', 'RVKQsCNdnNzPvcXcvep', 'aeb637842d9bd9c3529edc27c3d270e68fc1b9758a422fd54b5d23f30a153461f5c694b4c3c7c8b1bb41cfa85999c5e9e48613c0fdee9ce7c845ff8f5b46a381', 'UFEmbScvFzX0y9wnGoWK', 1, NULL, '2012-11-27 19:54:59')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:54:59', `last_login_ip` = '0.0.0.0', `perishable_token` = '8K1F2NPdbTIuo7DhL6DW', `updated_at` = '2012-11-27 19:54:59' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:54:59', 1, 200, 'Banner Set 7', '2012-11-27 19:54:59', 600)
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.3ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '323f712b2f813c559ba222580813b88b950021c6e7fb70391f7b09e95dae728145cabda92339d220e840f0784be4e1dcaf7b7190c6a28d73c3b8f7e99e38e798' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FN38I9vC21h6DLjAylIq' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:54:59', '7ee7dd74ab615991747bc3fe28b138f4a1d4b6a7cd80ef95b4674203ebc65cad3a4b040e6f8ca51711f1a09194d17e509ed47f80790c64d82894e0b6656bd028', '2012-11-27 19:54:59', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:54:59', 'testuser', 1, 'gy4bxPWxxNUkazQAW5xT', 'm9jDJwM0inRQDOawNgk', '323f712b2f813c559ba222580813b88b950021c6e7fb70391f7b09e95dae728145cabda92339d220e840f0784be4e1dcaf7b7190c6a28d73c3b8f7e99e38e798', 'FN38I9vC21h6DLjAylIq', 1, NULL, '2012-11-27 19:54:59')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:54:59', `last_login_ip` = '0.0.0.0', `perishable_token` = 's7n6AdrLKHLoODlsO2d', `updated_at` = '2012-11-27 19:54:59' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:54:59', 1, 200, 'Banner Set 8', '2012-11-27 19:54:59', 600)[0m
+ [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT 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)[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.6ms)
- [1m[36m (1.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c446fb71192788379de498a9c5e53cad44aad79df2c19e0e409de24890ca4621f404a456f5410cf60fe1d2b21ddcaa3f5aaf1f9b38f427e2e840a4809191fb2e' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yGL3AlXCzpAvrP8Xv1ii' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:54:59', '48ea43b1802b455e23bb518fc9cd8738db798805292ab6a8a95a65c5b5b21ed6df90797a437cb46a090c9e9a7e07c7319d604d27ef221901bd170876202d6798', '2012-11-27 19:54:59', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:54:59', 'testuser', 1, 'um33clqQMTUsxL9LcDcn', '7Vgi41iYEcWw6R6FNp83', 'c446fb71192788379de498a9c5e53cad44aad79df2c19e0e409de24890ca4621f404a456f5410cf60fe1d2b21ddcaa3f5aaf1f9b38f427e2e840a4809191fb2e', 'yGL3AlXCzpAvrP8Xv1ii', 1, NULL, '2012-11-27 19:54:59')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:54:59', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YPc5ujYOnMcoFhNi2OgW', `updated_at` = '2012-11-27 19:54:59' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:54:59', 1, 200, 'Banner Set 9', '2012-11-27 19:54:59', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::BannerSetsController#update as HTML
Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
Looking for banner set with id: 9
[1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 19:54:59' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 78ms (Views: 1.2ms | ActiveRecord: 5.7ms)
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-12-20 22:58:07' WHERE `spud_banner_sets`.`id` = 9[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudBanner Load (0.2ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
+Completed 200 OK in 59ms (Views: 0.8ms | ActiveRecord: 3.5ms)
[1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.3ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f257872b77bcb907e6df2e02f1906ab43fcd636c898d2ea72e29aa23bcdfd4cf3d5ba872c27c6167870498791e3ffb76c7714ba2f5f32527d8c3109e59b0081f' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vuLMaV1ao9SHiuGcgGhT' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:55:14', '708478c34545000f88783d384c75d1d0b41ab90d55fc0472f348dda6d32746638ad5fb5aa70c9029d7690efd7bdf6ccc02eb7bd8406d2ca9e89593bd6cbad219', '2012-11-27 19:55:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:55:14', 'testuser', 1, '4xZ0gHeaEkQyZ5TXMp6w', 'CCTyKdyUfqdx9EtXLRzR', 'f257872b77bcb907e6df2e02f1906ab43fcd636c898d2ea72e29aa23bcdfd4cf3d5ba872c27c6167870498791e3ffb76c7714ba2f5f32527d8c3109e59b0081f', 'vuLMaV1ao9SHiuGcgGhT', 1, NULL, '2012-11-27 19:55:14')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:55:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Jqx3QHIDrbaTBsMJABk', `updated_at` = '2012-11-27 19:55:14' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:55:14', 1, 200, 'Banner Set 1', '2012-11-27 19:55:14', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:55:14', 1, 200, 'Banner Set 2', '2012-11-27 19:55:14', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:55:14', 1, 200, 'Banner Set 3', '2012-11-27 19:55:14', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:55:14', 1, 200, 'Banner Set 4', '2012-11-27 19:55:14', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:55:14', 1, 200, 'Banner Set 5', '2012-11-27 19:55:14', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 58ms (Views: 49.1ms | ActiveRecord: 0.6ms)
- [1m[36m (2.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9b66702edae831fb680c56fe9b6a334f77030308fe23c16b758ccf2962f508676165e93dc29301ea357ed09402e13f5a7b841b4600e117622466594ce34aad3c' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7Tuv1MI6a5uLgeA7xcKA' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:55:14', 'c30120ebce53ed769a50d16b35689f223745a4b47d4d88280dd196dd94c90f76c37b8e7ba08b170f3e60169fb44026e71375299b73f005b1b079e0215feb0a87', '2012-11-27 19:55:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:55:14', 'testuser', 1, 'FhGb8ipGJREFB8WDAeRj', 'OYXIpUXGcHWYhWfTXC6', '9b66702edae831fb680c56fe9b6a334f77030308fe23c16b758ccf2962f508676165e93dc29301ea357ed09402e13f5a7b841b4600e117622466594ce34aad3c', '7Tuv1MI6a5uLgeA7xcKA', 1, NULL, '2012-11-27 19:55:14')
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:55:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'bECbPRhk1Onl6J5ccs', `updated_at` = '2012-11-27 19:55:14' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:55:14', 1, 200, 'Banner Set 6', '2012-11-27 19:55:14', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 0.5ms)
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '831d1304581095aca41582994c3e7ae6ebbab1fb2ef0a9e7cde56f5fb2a7cf31b24faa2f2dfe416c46b2415eb2daf30196ce92c83fb506328e577f3ab986c223' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gCZLexsCpZV8N7Lv1Wo' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:55:14', '02b683003e0e35a53f7ab448c3fc0ccb901f35a06e9a4556a236907cc23ead9b91cff30b150e99b4fd85b7297cc32590425e76231c84a48dfb1a14cc677fcde2', '2012-11-27 19:55:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:55:14', 'testuser', 1, 'gmMZ8n6TXOaoFnmKNAj', '2P518dhIPMGQfX9DcBho', '831d1304581095aca41582994c3e7ae6ebbab1fb2ef0a9e7cde56f5fb2a7cf31b24faa2f2dfe416c46b2415eb2daf30196ce92c83fb506328e577f3ab986c223', 'gCZLexsCpZV8N7Lv1Wo', 1, NULL, '2012-11-27 19:55:14')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:55:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dvsmb4ErzDrLKs2ZAN5Z', `updated_at` = '2012-11-27 19:55:14' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.3ms)
- [1m[35m (1.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '337953d2dc03518bc2425d4eb7c952f8c89780b8d455fdb314bea4f4dd83e33bd7a2691900e3a12316aa724e16042ac972b37dbfafef97e0c4d8de0be29d964d' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nBiXGT3CvnAZ02Hle' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 19:55:14', '385bb1adf77a5ca503779e436bded01a91f153e0ba279eaa5701916f60ed9151b45c998efb1f34d2e5f4a1df7fce0f3a18e0af2899c50075bfd1b274a694da01', '2012-11-27 19:55:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:55:14', 'testuser', 1, 'IUCizx5zrw81CWbObQ', 'q9uV2et7jXvYtvDpeogP', '337953d2dc03518bc2425d4eb7c952f8c89780b8d455fdb314bea4f4dd83e33bd7a2691900e3a12316aa724e16042ac972b37dbfafef97e0c4d8de0be29d964d', 'nBiXGT3CvnAZ02Hle', 1, NULL, '2012-11-27 19:55:14')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:55:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'jE7yVJeE7yYYxjnULc', `updated_at` = '2012-11-27 19:55:14' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:55:14', 1, 200, 'Banner Set 7', '2012-11-27 19:55:14', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 0.9ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4ba961d1e71641cb00381dddf89c6f8449c9e45147a415dd604eee8f1c3924fc9583177cc72f5927e0eb3dea0f636a194bfaea0ddedb5bef89395fcc528fd03e' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hloDyWmncYhtnJEjrrS' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:55:14', '40480eb3131223cbebb4940d49a6346bb8fdaf5408a2555b13553b6d1fc2faa125a3e7961bd4802c6b95430e9609b828877a77c0b88faa499861a990cdb9c7bf', '2012-11-27 19:55:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:55:14', 'testuser', 1, 'Y0oC9QL4VIVN7Nqtvu1F', 'HMJyAkBTuxHXW9VkSYjF', '4ba961d1e71641cb00381dddf89c6f8449c9e45147a415dd604eee8f1c3924fc9583177cc72f5927e0eb3dea0f636a194bfaea0ddedb5bef89395fcc528fd03e', 'hloDyWmncYhtnJEjrrS', 1, NULL, '2012-11-27 19:55:14')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:55:14', `last_login_ip` = '0.0.0.0', `perishable_token` = '4sEmLme27dDKpg0RobZv', `updated_at` = '2012-11-27 19:55:14' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:55:14', 1, 200, 'Banner Set 8', '2012-11-27 19:55:14', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.6ms)
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c2c6d5db46a01415602e55ae2eedf932df5c6ee898a18ee6560927f4535766b19d9a25819e0c33a2379a49e55ec693c48efbaf065fcae2a7160052c06ffee8a1' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'aXi17vgUUI6uYiu2Ey7C' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:55:14', '2215753ad37bf4e4210b6dc9ae57139d65ae6ab537ae1e3dbecd757fd6e4630580653a15ae92176a5b5d98fafe0dcc87b756561cc010d440ce42d7231188f25f', '2012-11-27 19:55:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:55:14', 'testuser', 1, 'axWOWzVrbLLLjYGqXdkp', 'Km244YTs7dC9EQb0HgY', 'c2c6d5db46a01415602e55ae2eedf932df5c6ee898a18ee6560927f4535766b19d9a25819e0c33a2379a49e55ec693c48efbaf065fcae2a7160052c06ffee8a1', 'aXi17vgUUI6uYiu2Ey7C', 1, NULL, '2012-11-27 19:55:14')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:55:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'BIJ7cPv5oVqZyrGejnY4', `updated_at` = '2012-11-27 19:55:14' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:55:14', 1, 200, 'Banner Set 9', '2012-11-27 19:55:14', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 19:55:14' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 80ms (Views: 1.2ms | ActiveRecord: 5.5ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.2ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1db270f59891971e86f7048085fc6c75c61c95056e2abcceb0616c8ab0acfb4b1e691d40694469c6696813472ce3f42ff0333ea0c0d083ec8e1e7b1965f64094' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'doHSnLgWpY2YTaUPlee5' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:56:00', '45ccaf693b0b184cfab26ca579976ea0db4ee429ec9e3c100360881559061e1c549ef69e5e87521d84d90ec6b261e0ee47f35ce0978f2ef0937b3e8c89598508', '2012-11-27 19:56:00', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:56:00', 'testuser', 1, 'aBY3df3IAHZSaycC7riU', 'FMp89fLeaPNOMaQd2HVT', '1db270f59891971e86f7048085fc6c75c61c95056e2abcceb0616c8ab0acfb4b1e691d40694469c6696813472ce3f42ff0333ea0c0d083ec8e1e7b1965f64094', 'doHSnLgWpY2YTaUPlee5', 1, NULL, '2012-11-27 19:56:00')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '055ec63dfcf3011bf323a71d0f6007e934639ec84003bb5126cd30d7b8a38d1805fc018322b004772b9cde88b4a00d4ef9615957919158ed83975036c90c7e2c' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XmHn4Cr6EOJ2c4xHPMc' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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')
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:56:00', `last_login_ip` = '0.0.0.0', `perishable_token` = 'e1gFOmhCII06We99Tq6', `updated_at` = '2012-11-27 19:56:00' WHERE `spud_users`.`id` = 1[0m
+ [1m[36m (0.4ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:00', 1, 200, 'Banner Set 1', '2012-11-27 19:56:00', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:01', 1, 200, 'Banner Set 2', '2012-11-27 19:56:01', 600)[0m
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT 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)[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:01', 1, 200, 'Banner Set 3', '2012-11-27 19:56:01', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:01', 1, 200, 'Banner Set 4', '2012-11-27 19:56:01', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:01', 1, 200, 'Banner Set 5', '2012-11-27 19:56:01', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2012-11-27 19:56:01', `perishable_token` = 'WtTsq0KiWpivkUMuWIT', `updated_at` = '2012-11-27 19:56:01' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` [0m
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.6ms)
-Completed 200 OK in 62ms (Views: 50.2ms | ActiveRecord: 1.3ms)
- [1m[35m (1.9ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0d0e5e20677b3b68a460762c186156386285320c4f20950dff0622b9e88d0795ba4755022c791a6d958daa62766e6a88871cdfab1dc249ff938883c5407e6cc1' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wnQgwToAXlSeot3NbF0' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 19:56:01', '9b8348e67e8d94e12909e87aa4986acc14f1ee40b924f9a601720281747b9382ebb2afed7d73399ef59ca1e6decd7a7b48e7c41608dd2e992e5f4b95f16a9414', '2012-11-27 19:56:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:56:01', 'testuser', 1, 'PKCH4fRx7aYDcTvIsleW', '988PJqE86oNkHe2PBQU', '0d0e5e20677b3b68a460762c186156386285320c4f20950dff0622b9e88d0795ba4755022c791a6d958daa62766e6a88871cdfab1dc249ff938883c5407e6cc1', 'wnQgwToAXlSeot3NbF0', 1, NULL, '2012-11-27 19:56:01')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:56:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'NBZOdg8IKYOA2IGFxRM', `updated_at` = '2012-11-27 19:56:01' WHERE `spud_users`.`id` = 2
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
+Processing by Spud::Admin::BannerSetsController#update as HTML
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
+Looking for banner set with id: 10
+ [1m[36mSpudBannerSet Load (0.3ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:01', 1, 200, 'Banner Set 6', '2012-11-27 19:56:01', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
-Looking for banner set with id: 6
- [1m[36mSpudBannerSet Load (0.3ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1[0m
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.6ms)
- [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
+Completed 422 Unprocessable Entity in 8ms (Views: 0.7ms | ActiveRecord: 1.1ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
+ [1m[35m (3.3ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3ba6b3a9b7dfb8193bde7ad4221d5e60d74b10567c27fc37012e11334a33cc98774fcb417119efac59be4f83aa69ff4e232f0e6cd1ff85223d8a67fe055772fb' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '16Kx0MaHQOEgXwHxbHB' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 19:56:01', 'bdf490bba00b35b51d6714e52201d31e95c3fba43958f15d5bd22431b93df785ce3e516b3370de52a48f01d9ab4386ba40168e79d4d2963991d361516bcd518f', '2012-11-27 19:56:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:56:01', 'testuser', 1, 'KBE8vrbvrQAyPyHBnkJT', 'JpE53hie1F6YUpTRzVsU', '3ba6b3a9b7dfb8193bde7ad4221d5e60d74b10567c27fc37012e11334a33cc98774fcb417119efac59be4f83aa69ff4e232f0e6cd1ff85223d8a67fe055772fb', '16Kx0MaHQOEgXwHxbHB', 1, NULL, '2012-11-27 19:56:01')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:56:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YTDsF7E3y2XPuG4UUsra', `updated_at` = '2012-11-27 19:56:01' WHERE `spud_users`.`id` = 3
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '63bf2163bac87dd8d8d9c3a3067811eb6b328a494eb790fafd940c6df204ab8c54cf7c1195984b663900e216a2739d756f769438d223fbd66d48a99bce67b37a' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lLzeN7VS2afoUUtbksp6' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:56:01', 'd4d265d13ea49ec456b592a6864f91ceb3ebfac7ed9863fddc2662a1237544109afd4d42ee4374db25d407a7f34fe90df0f763c14827c243ef1b5d36c6ae7049', '2012-11-27 19:56:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:56:01', 'testuser', 1, 'y7HwaHEwhM0bs7WqFZvO', 'C2kzHAZN4FdHj9ePyh1', '63bf2163bac87dd8d8d9c3a3067811eb6b328a494eb790fafd940c6df204ab8c54cf7c1195984b663900e216a2739d756f769438d223fbd66d48a99bce67b37a', 'lLzeN7VS2afoUUtbksp6', 1, NULL, '2012-11-27 19:56:01')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:56:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MaRTXkOfrxNk8qWZLG1K', `updated_at` = '2012-11-27 19:56:01' WHERE `spud_users`.`id` = 4[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 7", "width"=>"600", "height"=>"200", "cropped"=>true}}
- [1m[35mSpudUser Load (0.5ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:01', 1, 200, 'Banner Set 7', '2012-11-27 19:56:01', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Completed 200 OK in 12ms (Views: 1.7ms | ActiveRecord: 1.4ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.7ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1f2677dc6c2792cda906e80119a1ffbdfaaa4cd433f0a8efe78779605b8fef49142e4606b62ce38e1185aa7f4fe3a6de2f5e8224612868b649673ab1f0440cb5' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oNGDlPQYvbc69y4fu6' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 19:56:01', 'f753f56bd10667d5022f3d0903f965224d7910edeb1782b561633a03ba0b9343d34ab5e3ad0bc37e682e06e88ef3a6efc479cc5f3139a8688a88775c17d4961d', '2012-11-27 19:56:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:56:01', 'testuser', 1, 'h5sOCNR1AfIe0Zq710Y', 'jSx5KnjhlgztaaUhkB0R', '1f2677dc6c2792cda906e80119a1ffbdfaaa4cd433f0a8efe78779605b8fef49142e4606b62ce38e1185aa7f4fe3a6de2f5e8224612868b649673ab1f0440cb5', 'oNGDlPQYvbc69y4fu6', 1, NULL, '2012-11-27 19:56:01')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:56:01', `last_login_ip` = '0.0.0.0', `perishable_token` = '8GuTgq7tiAPWjBc2sxLt', `updated_at` = '2012-11-27 19:56:01' WHERE `spud_users`.`id` = 5
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:01', 1, 200, 'Banner Set 8', '2012-11-27 19:56:01', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
-Looking for banner set with id: 8
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1[0m
-Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.5ms)
- [1m[35m (0.8ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '47177e72b8203d32fef37a68a2fe14aef6b54f8487df1efdc8ba28a2e6a37a2ce1d605dc715c8d173112c1c1429237dc31cac9ebf62d999e75822c19f181d65b' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4uEnLVzaQkXaYcINesK8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 19:56:01', '2a3901e9b7324f836c1a517d13174c423d9a33355e921ff484acaf367bee6529d8f6de7772f5cfe40c6598d3e087108407ac8efa11d6ba147c7d56bb93531ce5', '2012-11-27 19:56:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:56:01', 'testuser', 1, 'bWY7AJEd0hujIftkEsTI', 'JOYTvNCYbJitsRnVDD', '47177e72b8203d32fef37a68a2fe14aef6b54f8487df1efdc8ba28a2e6a37a2ce1d605dc715c8d173112c1c1429237dc31cac9ebf62d999e75822c19f181d65b', '4uEnLVzaQkXaYcINesK8', 1, NULL, '2012-11-27 19:56:01')[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9784a61e2cdd80e4892ba418847ec30fc1aef7e3931b437dcf3c7d847fd996e1697d20c10773af8e745bb7f67b02f5d78a72ca2815a87ad30dcfca2343f457dc' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'r5KNEJfHAoxo8bTanzl' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:56:01', `last_login_ip` = '0.0.0.0', `perishable_token` = '0JbDNJHX4lkYMjwVzsvB', `updated_at` = '2012-11-27 19:56:01' WHERE `spud_users`.`id` = 6
+ [1m[35m (0.2ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:01', 1, 200, 'Banner Set 9', '2012-11-27 19:56:01', 600)
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
-Looking for banner set with id: 9
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 9) LIMIT 1[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 19:56:01' WHERE `spud_banner_sets`.`id` = 9
+ [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35mSpudBanner Load (0.3ms)[0m SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc
-Completed 200 OK in 77ms (Views: 1.2ms | ActiveRecord: 5.6ms)
- [1m[36mSpudBannerSet Load (0.3ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
+Processing by Spud::Admin::BannerSetsController#destroy as HTML
+ Parameters: {"id"=>"11"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+Looking for banner set with id: 11
+ [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudBanner Load (0.2ms)[0m SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 11 ORDER BY sort_order asc
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 1.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
[1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.6ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.6ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
+ [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.4ms)[0m TRUNCATE TABLE `spud_banner_sets`;
+ [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
+ [1m[35m (1.3ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.8ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '58e5e3d4d6025fe10f174c8fdcd06ef44021087c407775bb0fc77877410ae87897d66e76da5574486cfef76525ad4c5900352d0ac794f6514ac4c331f9ec81fe' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XadnEClQncwG0byEzxa' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:56:07', '1088f63102e94e74d7f67faa07c32b4ec8365944989623250948897217fa6f8d1887bbaec536abc5669708344208fa7724c3847745becbffba64ff723e8f888a', '2012-11-27 19:56:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:56:07', 'testuser', 1, 'WNeJFsWwJtr5nvvqnN', '3Sms4VQQX0GAXC0darLu', '58e5e3d4d6025fe10f174c8fdcd06ef44021087c407775bb0fc77877410ae87897d66e76da5574486cfef76525ad4c5900352d0ac794f6514ac4c331f9ec81fe', 'XadnEClQncwG0byEzxa', 1, NULL, '2012-11-27 19:56:07')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:56:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'M6ALpbgM6oEBBhG05Xr', `updated_at` = '2012-11-27 19:56:07' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:07', 1, 200, 'Banner Set 1', '2012-11-27 19:56:07', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:07', 1, 200, 'Banner Set 2', '2012-11-27 19:56:07', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:07', 1, 200, 'Banner Set 3', '2012-11-27 19:56:07', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:07', 1, 200, 'Banner Set 4', '2012-11-27 19:56:07', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:07', 1, 200, 'Banner Set 5', '2012-11-27 19:56:07', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 60ms (Views: 51.1ms | ActiveRecord: 0.6ms)
- [1m[36m (2.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '09ffba616b239d464e8519e46bd954c343e335b29434f8b49d7efd05e8a5268d36f6595ba25db8e2dda80dcaa3ea1e10abb75a43bc95f50c93a467369241a56d' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'z0YaUmyi7GoB5IAmTjjl' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:56:07', '652573c5b6ee69b63c88b040354346bb692e5d35853619e8fd103360fb0a58574a21e2718750e0d48eddb6b3c50390fae95d81e783543a281bee082165fc2535', '2012-11-27 19:56:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:56:07', 'testuser', 1, 'OiDxkNWt9JE7vBlC56ES', 'ZRx3tOmyHBmMgOMDE4r', '09ffba616b239d464e8519e46bd954c343e335b29434f8b49d7efd05e8a5268d36f6595ba25db8e2dda80dcaa3ea1e10abb75a43bc95f50c93a467369241a56d', 'z0YaUmyi7GoB5IAmTjjl', 1, NULL, '2012-11-27 19:56:07')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:56:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'B2aAFg6X2xaYA652hfol', `updated_at` = '2012-11-27 19:56:07' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:07', 1, 200, 'Banner Set 6', '2012-11-27 19:56:07', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.0ms | ActiveRecord: 0.7ms)
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '92527daaf9ead9de7903ca3c6bd20fe3f2c7ca767acf077a417fb8eae15515826d3f1d58f10ede8e5600e403fd9c2ed976ad719907b96cfdfd5611eed4e11d2b' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TxcQh6R1mVxJ6xgLcV' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:56:07', '21e5f7b6334cd0a9dad32130517cb69d9dae4a390928aa99b15cefb1c5e67f407e4611d88d530d752e2bd9b1ebb0c92e539d2d41614d281a170ffaf19f9cdb8a', '2012-11-27 19:56:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:56:07', 'testuser', 1, 'IAa9cHaRPlGe4kS1hAO2', 'YoN5C2e4OtZhKmIQ6rNA', '92527daaf9ead9de7903ca3c6bd20fe3f2c7ca767acf077a417fb8eae15515826d3f1d58f10ede8e5600e403fd9c2ed976ad719907b96cfdfd5611eed4e11d2b', 'TxcQh6R1mVxJ6xgLcV', 1, NULL, '2012-11-27 19:56:07')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:56:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'BMxZmPMoYBsZ7skfErzD', `updated_at` = '2012-11-27 19:56:07' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (1.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cc4a35f7bbc396325238971233483913d7c859374db7c856b5cc5f04db2864be8315d4302a882f143d2b75b073f48b389611fe05432607fcd7258ed135a21209' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fQKFBfEVMTLK8xPBKsE8' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 19:56:07', '4117859e52224ce0b0f47f5713b04b504079e721ff8c61837b0063c1eb3e4a93487ed84d58dead2e92ad8a75fab3e9f738b1fb1cca4ad3ab57b26cb4155b3cc5', '2012-11-27 19:56:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:56:07', 'testuser', 1, 'wA16PHRXk0vAZGsWsE5K', '2qMC3srMwB0ffbZZQ1P6', 'cc4a35f7bbc396325238971233483913d7c859374db7c856b5cc5f04db2864be8315d4302a882f143d2b75b073f48b389611fe05432607fcd7258ed135a21209', 'fQKFBfEVMTLK8xPBKsE8', 1, NULL, '2012-11-27 19:56:07')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:56:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'UWJtn6ZhP3lHMoRUvS2', `updated_at` = '2012-11-27 19:56:07' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:07', 1, 200, 'Banner Set 7', '2012-11-27 19:56:07', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 0.8ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (1.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9446c92768abf21324bec53e3321eae1d6a68c69bfa3527583ec1c862d294154047ada96c52fc09948042bc2bb8ad01250bb2dfd9fd3a261c99b709edc606c26' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '13ShJ8MM4dUA12x4jCT' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:56:07', '46882ef75a7ea9cba1734da1cd0a751776818fcc99d5ffdd1ab2ffabc9a96a50dbca6db1c2b0e92a070d70f54d615aa298cbc1cf731b5291759312addaf2e37b', '2012-11-27 19:56:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:56:07', 'testuser', 1, 'iDhI7zoUimKbXkWES55', 'urcQIwzRmj1lyAJEf', '9446c92768abf21324bec53e3321eae1d6a68c69bfa3527583ec1c862d294154047ada96c52fc09948042bc2bb8ad01250bb2dfd9fd3a261c99b709edc606c26', '13ShJ8MM4dUA12x4jCT', 1, NULL, '2012-11-27 19:56:07')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:56:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Q41ZvQjuwLfJ68Xn8OTP', `updated_at` = '2012-11-27 19:56:07' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2dff87518ca65c5b0b1bb94c38cafcc478fc3299fc23ad8e7061342f1fffac0a8abba28bc0ce2660ad51383512ec7fd4ccc134b136beb0d24f4dad9132f84974' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6RVoehsFHFhBgUnnGvNS' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:56:07', '0d9ad47b62141c95be104f48f96b76f872a08d69a714a47441e9d80446a23f72b549759750481c23732c8b71ad79ed74598cdab9f0a0246c52e00bc0c23f3c3d', '2012-11-27 19:56:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:56:07', 'testuser', 1, '09CRoMWg6WxLdMYYUWY2', 'OKtm2b4CrlMAVM06WSW', '2dff87518ca65c5b0b1bb94c38cafcc478fc3299fc23ad8e7061342f1fffac0a8abba28bc0ce2660ad51383512ec7fd4ccc134b136beb0d24f4dad9132f84974', '6RVoehsFHFhBgUnnGvNS', 1, NULL, '2012-11-27 19:56:07')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5a96648387bcf221cbce46f5ea0b9c393b3cc11ad3421bede06ad77c38dc7590980a83cfd5148b9923ee90aecb26e1da05134880c1a12951c38329e0dc9e4ebf' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LZahI8BsLmavKgcor0u' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m 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')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:56:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Zb18ZewNu0qXnhZYqz4o', `updated_at` = '2012-11-27 19:56:07' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:07', 1, 200, 'Banner Set 8', '2012-11-27 19:56:07', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 9ms (Views: 1.7ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.3ms)[0m [1mUPDATE `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[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.6ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '290a515ddbdf18c298c5c69d79ad5e952caffe16fe51cffda1db183c14ad0668291973f4ee47ebcd10d1f296ef6770b82241ea20f7f197b569884d2587e724fe' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yzCV6ETljSHdBJ6qWxJJ' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:56:07', 'c6d938e9f503e3ca905dbb19c2a27959dc14f9264b26915333a7fcc7cf92de9465ae71edc8effd1e98d3627d750871c9ba8e756959c869a43aeada8acae28455', '2012-11-27 19:56:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:56:07', 'testuser', 1, 'UTLnbXjE8cOb3ODn7vIF', 'SohCzQK9W9sU9vSfLIZ', '290a515ddbdf18c298c5c69d79ad5e952caffe16fe51cffda1db183c14ad0668291973f4ee47ebcd10d1f296ef6770b82241ea20f7f197b569884d2587e724fe', 'yzCV6ETljSHdBJ6qWxJJ', 1, NULL, '2012-11-27 19:56:07')
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9417028c0b18dca57ea0756f2e8411082ac888239ef4e7708e64f4c3cbe1d59839ae03abec88e36d00ab981221e2a3c0fb430b967d941875f41eccdfb624a57e' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TKjRBFyQ1f0HDsr1q7S' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:56:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'pT1h7ARaufcRa9JXbqGL', `updated_at` = '2012-11-27 19:56:07' WHERE `spud_users`.`id` = 7[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:56:07', 1, 200, 'Banner Set 9', '2012-11-27 19:56:07', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 19:56:07' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.4ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 78ms (Views: 1.2ms | ActiveRecord: 5.5ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (1.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.1ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.3ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.4ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.9ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '690f45db201786715616caf7c0435a3fe584c5eabf6f141ea100c5907b04c9a4121f17c8a82fcd44b60f8f5f1b889d5bd1830c437a1fae0935013e41a6c1a0a0' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'w2meOrZjVCE3XV33cEC' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:57:24', '18c3c2b27178a1591bb6d033a6e5b4498f9d7715dc34f3aac821db1a6da3ba2bc4110a804f72bae0c171ee8f7d7eab327b8708ce0eff5cc21015b73fc4e3c8df', '2012-11-27 19:57:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:57:24', 'testuser', 1, 'gihqUqprfWJOwAFyImx', 'UEgvmRbDIaD2dizCOYMw', '690f45db201786715616caf7c0435a3fe584c5eabf6f141ea100c5907b04c9a4121f17c8a82fcd44b60f8f5f1b889d5bd1830c437a1fae0935013e41a6c1a0a0', 'w2meOrZjVCE3XV33cEC', 1, NULL, '2012-11-27 19:57:24')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:57:24', `last_login_ip` = '0.0.0.0', `perishable_token` = '1yZ47cqwBKX6RIJSlb', `updated_at` = '2012-11-27 19:57:24' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:24', 1, 200, 'Banner Set 1', '2012-11-27 19:57:24', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:24', 1, 200, 'Banner Set 2', '2012-11-27 19:57:24', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:24', 1, 200, 'Banner Set 3', '2012-11-27 19:57:24', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:24', 1, 200, 'Banner Set 4', '2012-11-27 19:57:24', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:24', 1, 200, 'Banner Set 5', '2012-11-27 19:57:24', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.9ms)
-Completed 200 OK in 59ms (Views: 49.6ms | ActiveRecord: 0.6ms)
- [1m[36m (2.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a6920d8fd47e9927604c006823e25628c3e19361045acd42ce1cd6aea40ed58af2b95d1cc139776c9b8fd302627ee8b53a8061c6508d9bbdb23f4e0c1e049f80' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5n9UhLXRX8msCPc4s0zQ' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:57:24', 'e2542e5500e7e892818681fe3c4cc87ce73935567b7fc3c40159fa0ef3ae1ba86cc603f487ff0191c8c8487947b9139f6812d90e6e1d5788d4b4085d74680a0c', '2012-11-27 19:57:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:57:24', 'testuser', 1, 'IIOZe0ucqYtAchj4hW9z', '1zdSRMMgfCdMyteJYBd', 'a6920d8fd47e9927604c006823e25628c3e19361045acd42ce1cd6aea40ed58af2b95d1cc139776c9b8fd302627ee8b53a8061c6508d9bbdb23f4e0c1e049f80', '5n9UhLXRX8msCPc4s0zQ', 1, NULL, '2012-11-27 19:57:24')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:57:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'F2qYTdS7ZOSTrWFZ5y2O', `updated_at` = '2012-11-27 19:57:24' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:24', 1, 200, 'Banner Set 6', '2012-11-27 19:57:24', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 0.6ms)
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '243fb6806e2e956e90147e8bd4f66dff889402c131e39de6db0f83fd88034f3549aeee59038955badfa826d54b4067ae509a9d0b0f87cbca1cdf30c85dd29790' LIMIT 1
- [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zUdsqn0V4lwHhl3RS2F3' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:57:24', 'c05df811bd8fb0d104d518622e23f1f8c702ea5215394fff3ab974f46afa3ba485c5639350bb8519b355ced516d6c0405b1e4cab50575dcbe024c573b6806721', '2012-11-27 19:57:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:57:24', 'testuser', 1, 'dGxmJtzZQIwPyvfav0lO', 'xFncNB72hI9R4aunDRH0', '243fb6806e2e956e90147e8bd4f66dff889402c131e39de6db0f83fd88034f3549aeee59038955badfa826d54b4067ae509a9d0b0f87cbca1cdf30c85dd29790', 'zUdsqn0V4lwHhl3RS2F3', 1, NULL, '2012-11-27 19:57:24')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:57:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'lGAIDfYCdsYIIPaQqJVp', `updated_at` = '2012-11-27 19:57:24' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.9ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '917e33fe3733b7d06f828f91185c7b138f6e183ade9a29c93e85b53ae90377c6855f6db60dc9a3154a0765a359cad008ea38522895087954d24425c2b9fc85fd' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WXeC1RrJDPkMZe3YmFl5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 19:57:24', 'f5272ad2f13ad520489149bc5973201464a1205523e927a25e90e80ce9ebb2ddd3dabbfc8c0a067739e42a0c04f54fdbef5fcf1de8bb15391e9cd4825a4d7156', '2012-11-27 19:57:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:57:24', 'testuser', 1, 'wp4H2vVTFi3N1UcX3Qa7', 'TUtMkXxqHeWLSO9Bcu', '917e33fe3733b7d06f828f91185c7b138f6e183ade9a29c93e85b53ae90377c6855f6db60dc9a3154a0765a359cad008ea38522895087954d24425c2b9fc85fd', 'WXeC1RrJDPkMZe3YmFl5', 1, NULL, '2012-11-27 19:57:24')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:57:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qh9A2AKxEHrSjcQRrAdC', `updated_at` = '2012-11-27 19:57:24' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m 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}}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:24', 1, 200, 'Banner Set 7', '2012-11-27 19:57:24', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 1.2ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.8ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '19092a32640d6f774a35bd8e749d855ee9a3a5b827418c174ab892bc94af363c7b0b4b1f54cee45b9237dd1c440065edc75aea02ea68cbc2a87289e11bf7151c' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qDvOFr4lemjLH5S75xB' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:57:24', '51cbbfb45d9e36b088a580db6d8e43ba681293b35a0365552be1e1e07d56c1f37965dcf8aa9341103c4795d0e3e3c0ddb3409a7439f069845613f37d147df3ca', '2012-11-27 19:57:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:57:24', 'testuser', 1, '1xizgxdWC51iZ6yNx4xX', 'SjSnQ05uloyj1UbJK75', '19092a32640d6f774a35bd8e749d855ee9a3a5b827418c174ab892bc94af363c7b0b4b1f54cee45b9237dd1c440065edc75aea02ea68cbc2a87289e11bf7151c', 'qDvOFr4lemjLH5S75xB', 1, NULL, '2012-11-27 19:57:24')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:57:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hVKq3xKEdCLrLc8susjn', `updated_at` = '2012-11-27 19:57:24' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f99501b667b203aaf0b0f3aa1d736be4626be2954eadee7143511d72b630f7e7725d2ce4d56780ab3f915877c72196dd95568d6010d28c82b7aa854f5045ccfc' LIMIT 1
- [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zDYMmUXSp2gJecpAJHg4' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:57:24', '8e0503b2060cf51257e79e08fd8c6b7793b84ee351f3f934a6d344175ec9784701ddc5db147e8cc36d629ee6115b223def2b490caf74fecef4b127a91835c6ab', '2012-11-27 19:57:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:57:24', 'testuser', 1, 'F9ah1NKJAkwS8K7fEia', 'G8JBm0etsOD8xx2Fd1Z', 'f99501b667b203aaf0b0f3aa1d736be4626be2954eadee7143511d72b630f7e7725d2ce4d56780ab3f915877c72196dd95568d6010d28c82b7aa854f5045ccfc', 'zDYMmUXSp2gJecpAJHg4', 1, NULL, '2012-11-27 19:57:24')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:57:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'eQiSBUDPgyfxKC2ZX9jV', `updated_at` = '2012-11-27 19:57:24' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:24', 1, 200, 'Banner Set 8', '2012-11-27 19:57:24', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.6ms)
- [1m[36m (1.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2f1959f5f72eb4644fe9b183e5c5aa5eb01790c0e057a3502c613934917c4ec7f32e3f3953a7a4363909e91d4bdf014610c1c6cb0fc14a0c80d60627e0ccef02' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8BjuP5ENm6Ajufy0Mri3' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:57:24', '2bfced434c0e5c17ffe207d24ab47d7bba684fb6c260ad83448e40a007a6c70b9378a7215edc8256ad3a296e25c4ff748bd1455e528b1e9a01dd11e5e659c5b6', '2012-11-27 19:57:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:57:24', 'testuser', 1, 'xDkZiQz7KNpdMoZ946M', 'nWF462e7JLSIBCVoQlX', '2f1959f5f72eb4644fe9b183e5c5aa5eb01790c0e057a3502c613934917c4ec7f32e3f3953a7a4363909e91d4bdf014610c1c6cb0fc14a0c80d60627e0ccef02', '8BjuP5ENm6Ajufy0Mri3', 1, NULL, '2012-11-27 19:57:24')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:57:24', `last_login_ip` = '0.0.0.0', `perishable_token` = '3LIxNRHR7oiZ09hkqoK', `updated_at` = '2012-11-27 19:57:24' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:24', 1, 200, 'Banner Set 9', '2012-11-27 19:57:24', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 19:57:24' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 80ms (Views: 1.3ms | ActiveRecord: 5.5ms)
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.4ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'bf4791b8ed586b44b046e0993c886cbbdef56b4c8ee11df029eba71da64cd311b70df894d1bea5d11a02855f0df62527ec96ecb0655cb12fa9e36e0c0fa9b1aa' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jnSNxLsXQPwo65juDdUg' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 19:57:48', '7c8c2bd0df4fbd0938b0ca46df5d9dde637bff498d9ab0527e441a5933319e91a2a8abcece1b90d23aa023f8a4c65d75dd9b378e89ec0b893c95248c61ebb5eb', '2012-11-27 19:57:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:57:48', 'testuser', 1, 'TGyMNdwxLEARRhqR3DNN', 'yuEtc5wJYnpO1aY2nGL', 'bf4791b8ed586b44b046e0993c886cbbdef56b4c8ee11df029eba71da64cd311b70df894d1bea5d11a02855f0df62527ec96ecb0655cb12fa9e36e0c0fa9b1aa', 'jnSNxLsXQPwo65juDdUg', 1, NULL, '2012-11-27 19:57:48')
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '055487780e759a385c7549e78af62852fd76a84fd4c17b16e57e08d574e0a1338bc1efbe356bbb1add3b42e3ad4d245ac838963f6f7cb744364498606a4cb73e' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uFsDtP0wjMAvRFqSRuH3' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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')
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:57:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iuIQjHnWDzkUiK1F7eZB', `updated_at` = '2012-11-27 19:57:48' WHERE `spud_users`.`id` = 1[0m
+ [1m[36m (0.3ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:48', 1, 200, 'Banner Set 1', '2012-11-27 19:57:48', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:48', 1, 200, 'Banner Set 2', '2012-11-27 19:57:48', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:48', 1, 200, 'Banner Set 3', '2012-11-27 19:57:48', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:48', 1, 200, 'Banner Set 4', '2012-11-27 19:57:48', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:48', 1, 200, 'Banner Set 5', '2012-11-27 19:57:48', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 59ms (Views: 50.0ms | ActiveRecord: 0.6ms)
- [1m[36m (1.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0fd92c4a12e1b2501ed741567b7c0c797b132029edab05710f4c5b9967e835f1d1b174537d12a44b8790cf798b830997219d7f5b765dd5b3e82a6664a52de7ae' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'M5hiM7zPa3Msf7iAhbj' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 19:57:48', '7a14167e8958633648414fa3b319ef438e603dc19f592bd615618a3929877024d5227c138e87d85b6c7006d0388d62d4353c592b71cd40f8a3f3866b0835dc68', '2012-11-27 19:57:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:57:48', 'testuser', 1, '5rl7Ec1R2PnD6cb53LbO', 'fOCso1WrZfI0kHQCb127', '0fd92c4a12e1b2501ed741567b7c0c797b132029edab05710f4c5b9967e835f1d1b174537d12a44b8790cf798b830997219d7f5b765dd5b3e82a6664a52de7ae', 'M5hiM7zPa3Msf7iAhbj', 1, NULL, '2012-11-27 19:57:48')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:57:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'aLPLfETW6qFoXQFReZ', `updated_at` = '2012-11-27 19:57:48' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:48', 1, 200, 'Banner Set 6', '2012-11-27 19:57:48', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.0ms | ActiveRecord: 0.5ms)
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1e31a46cef9d24e6bf182eb2bc88e6f48df01a3ea2b291d3c9ba8e2e82194cd9708dfcf5d1acd0a75a4b5619a216ff563fe3768a54ecdddff8481a5d8b4fa639' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LjYMHZXTg6dgg0xLHj2' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:57:48', '99362591b0264fcabd34cb00c1d0716c07b910b7b270ac18a87af43d9f6e02d8289e53695d0f9eb51ff49178675cad3ee1767b18b031e6ecbb0d52fe360673eb', '2012-11-27 19:57:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:57:48', 'testuser', 1, '6PDZhIPkdzYqU9y3SDZ', 'wxpsiSTFxtx6DIQRB6V', '1e31a46cef9d24e6bf182eb2bc88e6f48df01a3ea2b291d3c9ba8e2e82194cd9708dfcf5d1acd0a75a4b5619a216ff563fe3768a54ecdddff8481a5d8b4fa639', 'LjYMHZXTg6dgg0xLHj2', 1, NULL, '2012-11-27 19:57:48')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:57:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'zCRVKWHlHhz8vjQe3Z88', `updated_at` = '2012-11-27 19:57:48' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
+ Parameters: {"id"=>"-1"}
[1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '042fbd4926812168f96c04570bf99a1b371d79a587601b555e714345bfc3b8a15a10c27a98d44dd1a6b6080f701a39906178e84e548c4cd7e26e34f0a27eaf52' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bSODiPv5OPc0dwxsmUsl' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 19:57:49', '6272839aee7c49736b3dcb82f776a451c2c603e3a50ba720030961d8b09a3a03a312d9de9eedf649b8d210c3c29501aa4145c671d0a4394169a38314d5d782d3', '2012-11-27 19:57:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:57:49', 'testuser', 1, 'xb0jvcHXfhUPwiY8NNSq', 'xXdltnqv2dEojK9NLkXG', '042fbd4926812168f96c04570bf99a1b371d79a587601b555e714345bfc3b8a15a10c27a98d44dd1a6b6080f701a39906178e84e548c4cd7e26e34f0a27eaf52', 'bSODiPv5OPc0dwxsmUsl', 1, NULL, '2012-11-27 19:57:49')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:57:49', `last_login_ip` = '0.0.0.0', `perishable_token` = '82zaS57JMfvEPXSDK6z', `updated_at` = '2012-11-27 19:57:49' WHERE `spud_users`.`id` = 4
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:49', 1, 200, 'Banner Set 7', '2012-11-27 19:57:49', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 1.1ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '04403534596b0bfc5d5f0f91e58558fe14dfd3f61ac143b336b2eb764faf93a2ef9feabf36e17ab03ea087cfc21b6ff10f6244167ef7ef1c0ebba2b8985de4dd' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cUeRcWByL2yEH4c5Usc7' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:57:49', 'fd037ed8f61ab3b17072215bcf41d3b593d4957d181d0c44301396675d39aa4159585481815c61014f852771347a585887ce00a11e18518e60022b4ef48b1228', '2012-11-27 19:57:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:57:49', 'testuser', 1, 'TRMcZQhwM9kE6wFr0DD', 'MBbA3t8fNbuYTvBwUO', '04403534596b0bfc5d5f0f91e58558fe14dfd3f61ac143b336b2eb764faf93a2ef9feabf36e17ab03ea087cfc21b6ff10f6244167ef7ef1c0ebba2b8985de4dd', 'cUeRcWByL2yEH4c5Usc7', 1, NULL, '2012-11-27 19:57:49')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:57:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'yAIbrIXljSmAgsVgxxbH', `updated_at` = '2012-11-27 19:57:49' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6d43560b1f7f0c3418f3719f08b40abe908478e7514bb1c8e01659af661e127aedc20b7dab7022f0df2c765eaf0560f8a8f9adec58d875662844312b55f87d61' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wxNaPhjxwStqHyjfUbXF' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:57:49', '4253f5201880c40c23ab207721655e5a1ad51a943f419e67d4682755629eb025836bb56ea6fd369645de563f82934173724de5628a090cd6066ece8e80cdd0e3', '2012-11-27 19:57:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:57:49', 'testuser', 1, 'dafin7LMKKi1NDX2DeP', 'pGnYcJ7lcYkTK6OiZJ54', '6d43560b1f7f0c3418f3719f08b40abe908478e7514bb1c8e01659af661e127aedc20b7dab7022f0df2c765eaf0560f8a8f9adec58d875662844312b55f87d61', 'wxNaPhjxwStqHyjfUbXF', 1, NULL, '2012-11-27 19:57:49')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:57:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ddrYOD7ZNMxHUvuvcfR', `updated_at` = '2012-11-27 19:57:49' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:49', 1, 200, 'Banner Set 8', '2012-11-27 19:57:49', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.7ms)
+Looking for banner set with id: -1
+ [1m[35mSpudBannerSet Load (0.3ms)[0m 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)
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '14f7151b7b0a754524e96ab2dafdab2f751e876c8bdfad6b71b96ded7dbc79adeb050253e1d589920e294dab7464f9f8677423be8e593edb71fca7f50c70f11e' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dyG1M5CTaMajusCjqki6' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m 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-11-27 19:57:49', '8f61dfaac14b078497b13ba9900aa5a62e2c36684a3a68284fbd1cdad7715e761dba367d40ee44ecd7705a0faa1016d311d36bb919e31aeb59a911717c0ae945', '2012-11-27 19:57:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:57:49', 'testuser', 1, '8WKX0ozopNf10CY2z36', 'Rwf5d4iYQIgpL8BAM9n', '14f7151b7b0a754524e96ab2dafdab2f751e876c8bdfad6b71b96ded7dbc79adeb050253e1d589920e294dab7464f9f8677423be8e593edb71fca7f50c70f11e', 'dyG1M5CTaMajusCjqki6', 1, NULL, '2012-11-27 19:57:49')
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:57:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ZVRgLjtwggZYgHFGBVR', `updated_at` = '2012-11-27 19:57:49' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:57:49', 1, 200, 'Banner Set 9', '2012-11-27 19:57:49', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 19:57:49' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 79ms (Views: 1.2ms | ActiveRecord: 5.6ms)
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (1.1ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '516787c66c3c779cb9cb52952b7b0929ecf4fdff0b5c9539f7c819b92c2f413c95e0881ef82030878d2b9e668f298133c6706c423191865a17a15969cf5f3775' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HhdbHzNbSMbpnXfVAeN' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:59:54', 'c0867827d3f30bced41461e80814476a51a2ef0ab4a8ebb286f7e937dd2dc3f60503c207d022978ba516fb74b697e134940956addcf13709ce4a7b41e5daa818', '2012-11-27 19:59:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:59:54', 'testuser', 1, 'NPQEEuQ9w1y0ryve9ajb', 'S8uh2telKm7kDeIlIGa', '516787c66c3c779cb9cb52952b7b0929ecf4fdff0b5c9539f7c819b92c2f413c95e0881ef82030878d2b9e668f298133c6706c423191865a17a15969cf5f3775', 'HhdbHzNbSMbpnXfVAeN', 1, NULL, '2012-11-27 19:59:54')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:59:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'W2E533RdoJ9vOve0IlGq', `updated_at` = '2012-11-27 19:59:54' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:59:54', 1, 200, 'Banner Set 1', '2012-11-27 19:59:54', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:59:54', 1, 200, 'Banner Set 2', '2012-11-27 19:59:54', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:59:54', 1, 200, 'Banner Set 3', '2012-11-27 19:59:54', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:59:54', 1, 200, 'Banner Set 4', '2012-11-27 19:59:54', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:59:54', 1, 200, 'Banner Set 5', '2012-11-27 19:59:54', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.6ms)
-Completed 200 OK in 59ms (Views: 50.1ms | ActiveRecord: 0.6ms)
- [1m[36m (2.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '465a09b7ee110615defabe2dd4f656d40e0ef00d3b91234a4be7a3b4e9fbdc96336c308253f314a6c83843616d430a7e0c89d65d64cd914cf82a36155558d507' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bOJv8IPON3QJCv75x6BO' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:59:54', 'd7333935a0472aff3b460fe187fc7cbfbe28cfe0af0cfa12dd7808eed4cc6e5864e54cdd3491dd0ca0062e769919b36954d56fca0dbd0f4dd26af020fea73145', '2012-11-27 19:59:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:59:54', 'testuser', 1, '3J0KUhd97tL8k4YbkevS', 'zfAQNo1S3oJzIhZGJj', '465a09b7ee110615defabe2dd4f656d40e0ef00d3b91234a4be7a3b4e9fbdc96336c308253f314a6c83843616d430a7e0c89d65d64cd914cf82a36155558d507', 'bOJv8IPON3QJCv75x6BO', 1, NULL, '2012-11-27 19:59:54')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:59:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'FN2CmR100BFmK9LavzmM', `updated_at` = '2012-11-27 19:59:54' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:59:54', 1, 200, 'Banner Set 6', '2012-11-27 19:59:54', 600)[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.0ms | ActiveRecord: 0.5ms)
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '42a8f005a03352158d8effc7f8e080853cb01c92361004ef4ed402aa287b5fe9ddd0c8113f51204ac060fba080ecff1846357056bb5df5250f543dbffe628e63' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eXLt4mnbijvvHGd6tUr8' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:59:54', '931edb44038dc9f6b81463060efc8496ea122d200427c74ae3771568a9c359a228d76a42afcb1ad77d303e8267fe9932ffeee9a01039aad57e0866870e16d129', '2012-11-27 19:59:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:59:54', 'testuser', 1, 'cGNCHQ6RGTqqsi7YZjXK', '3UAJtyOcNCOPSY3RZrq', '42a8f005a03352158d8effc7f8e080853cb01c92361004ef4ed402aa287b5fe9ddd0c8113f51204ac060fba080ecff1846357056bb5df5250f543dbffe628e63', 'eXLt4mnbijvvHGd6tUr8', 1, NULL, '2012-11-27 19:59:54')
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b3f12517a53a0437b8ff55994c000776121589495f633f3d2df970b284eb17b091e8f97ff8b83cae5727e18007710abd0d37abaac1a65cc96cb06bced97adad1' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Ti8dDw9AklKzqJU8FZT4' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:59:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GX9ZrsYOLbMFyaN8kuf', `updated_at` = '2012-11-27 19:59:54' WHERE `spud_users`.`id` = 3[0m
+ [1m[36m (0.3ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (2.3ms)[0m ROLLBACK
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+Completed 200 OK in 14ms (Views: 9.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (6.7ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3612e928a685f29d4ae463ab01cbb66e51b55e0426703eba83b6a7b56b5e2e52c975fb83d0d115cce392b6d8ba7a9fe21c0dfb03eb0107400b3d823522062232' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6gdFU3ZOvFV6CGyLhj' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 19:59:54', '294f8fffdbe028fe258ec2fe343bf963e00f74b00bd37e64b0835087305cc5e9bc053e20919d5273b6f747fe57e611325e915b646f643522f100e44cfd311b1c', '2012-11-27 19:59:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:59:54', 'testuser', 1, 'v2RUXa325yOABM0P5JP', 'wqDHKaE7BcdxnaFprkT', '3612e928a685f29d4ae463ab01cbb66e51b55e0426703eba83b6a7b56b5e2e52c975fb83d0d115cce392b6d8ba7a9fe21c0dfb03eb0107400b3d823522062232', '6gdFU3ZOvFV6CGyLhj', 1, NULL, '2012-11-27 19:59:54')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:59:54', `last_login_ip` = '0.0.0.0', `perishable_token` = 'XwLNuMQagTCIbuEIV', `updated_at` = '2012-11-27 19:59:54' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:59:54', 1, 200, 'Banner Set 7', '2012-11-27 19:59:54', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.9ms | ActiveRecord: 0.9ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a98dc1620379790a0e78407e9419d78daa92fa4d8228e2f8924d13062c7552a2902573f5777e82a4b8fc09382fe82e662e68e07d86bbaae9cb1ded0dc82de620' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VDAk1vkhgHHskKvSG9' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:59:55', '9b4e8d08ddec0cbc180c3018fb8ac4190af9226f79ea04b00366ac0ea31327f9a2fb9965a928f63e6c887e9d33e2bff8c7a8177716e3d79712086cfbff85b7f0', '2012-11-27 19:59:55', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:59:55', 'testuser', 1, 'ZjtfK0J5QwT4R823QmUC', '55UgV1cEa5bcM1lAAewd', 'a98dc1620379790a0e78407e9419d78daa92fa4d8228e2f8924d13062c7552a2902573f5777e82a4b8fc09382fe82e662e68e07d86bbaae9cb1ded0dc82de620', 'VDAk1vkhgHHskKvSG9', 1, NULL, '2012-11-27 19:59:55')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:59:55', `last_login_ip` = '0.0.0.0', `perishable_token` = 'yk2ZWV8zJqkuEmTWrBJ', `updated_at` = '2012-11-27 19:59:55' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '507721bae97811d190a4d04b4aae1ea0639f5abe3c2387609693b3741947a7d6bc72fed000338a6b063fe0fb131848a6aca4eb3785136525bc448cf4aa8974a4' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kZXaNGMJcwXK7Ym7PFi' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 19:59:55', '1c55525fee5231fb8abe608ea678f0d2c16c287a4ac3e7129a244ee7242aed5aff56a4fca5611d4f347a871edb03eeadaa31ef6b0892f3d76941b3979e425bfb', '2012-11-27 19:59:55', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:59:55', 'testuser', 1, 'ZOBd7JjIj08e7g1Gnlc5', 'Axij7DTMgaz58rPUvv', '507721bae97811d190a4d04b4aae1ea0639f5abe3c2387609693b3741947a7d6bc72fed000338a6b063fe0fb131848a6aca4eb3785136525bc448cf4aa8974a4', 'kZXaNGMJcwXK7Ym7PFi', 1, NULL, '2012-11-27 19:59:55')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:59:55', `last_login_ip` = '0.0.0.0', `perishable_token` = 'C6Abvs770RtNB0yQs', `updated_at` = '2012-11-27 19:59:55' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:59:55', 1, 200, 'Banner Set 8', '2012-11-27 19:59:55', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 9ms (Views: 1.7ms | ActiveRecord: 0.6ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'af84454764b22df1242812796962cf4b26e4ca357294d49d3ae2a60314d78d3434b5f79c328b2e7fba89b47dfea2975bbf036bdc6567314dd5a1a8570b5da86c' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4bpIz2OU8j990Bm5sLV' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 19:59:55', 'a5e9fee5988220e691668195e3931aae6528eb252ae437cb88aa92a1e94d26cfe5799e376161c8a8f95ddc4c233e069ad6ea07ab271d220451cffe9deb675acd', '2012-11-27 19:59:55', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 19:59:55', 'testuser', 1, 'H7kZnz8e6DLYA60bmUU4', 'bXZEQFotxnBi8z9KjxlT', 'af84454764b22df1242812796962cf4b26e4ca357294d49d3ae2a60314d78d3434b5f79c328b2e7fba89b47dfea2975bbf036bdc6567314dd5a1a8570b5da86c', '4bpIz2OU8j990Bm5sLV', 1, NULL, '2012-11-27 19:59:55')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 19:59:55', `last_login_ip` = '0.0.0.0', `perishable_token` = 'UEndRkBQolEvpY1DMXc', `updated_at` = '2012-11-27 19:59:55' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 19:59:55', 1, 200, 'Banner Set 9', '2012-11-27 19:59:55', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m 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
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 19:59:55' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.2ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 77ms (Views: 1.2ms | ActiveRecord: 3.4ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.3ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.2ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.3ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c45d68b5af568df4ab0862bb589fbe7d8c3340a5454b4b4ab7cf66112dc7b8cd3b85c02c33c5af48b9231dd21db2fdfb105ea0422efbb2db029b4b4c2092a9d7' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Lhup5gsE3pCFe3eB6N5' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 20:00:40', 'ea67db685399c3a7ead67d79f7d7dea0172392a95da6326b5646f24b1cd94e7a94f7c0550a5d5434a6ce171424a9244488dff35be983d0fbbe450ee3ab8cbe1c', '2012-11-27 20:00:40', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:00:40', 'testuser', 1, 'jIYfzfHeaOf1bhABglW', '8HasuDkeg50wRHFBvDG', 'c45d68b5af568df4ab0862bb589fbe7d8c3340a5454b4b4ab7cf66112dc7b8cd3b85c02c33c5af48b9231dd21db2fdfb105ea0422efbb2db029b4b4c2092a9d7', 'Lhup5gsE3pCFe3eB6N5', 1, NULL, '2012-11-27 20:00:40')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:00:40', `last_login_ip` = '0.0.0.0', `perishable_token` = 'uOWcArAmXKdMkH8S1qf', `updated_at` = '2012-11-27 20:00:40' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:00:40', 1, 200, 'Banner Set 1', '2012-11-27 20:00:40', 600)[0m
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd3811832b0fffc504b82afc52c0c9dfde86280596d3c8a1d586815fb908520c2a96773a5ed1cb5ff2fc43fa96d92d16e799f957f0dd4c0fd2f87d892f78bd2a7' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HrKRg434jhplXt3ZZ4F' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:00:40', 1, 200, 'Banner Set 2', '2012-11-27 20:00:40', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:00:40', 1, 200, 'Banner Set 3', '2012-11-27 20:00:40', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:00:40', 1, 200, 'Banner Set 4', '2012-11-27 20:00:40', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:00:40', 1, 200, 'Banner Set 5', '2012-11-27 20:00:40', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.6ms)
-Completed 200 OK in 60ms (Views: 49.9ms | ActiveRecord: 0.6ms)
- [1m[36m (2.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '17504078b94436c52faec16956d715e033abaefad6a56832da8379557f7a1b5f9650359f64f04d8055685cfebc5fb71930beb62e38807e1606c6b80e3536a45b' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Tj3ggGffOXMv2TtFx3g2' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:00:40', '117d008cb5487f2beaa759137bfaa3cf71430c7c311942c736fbfb6ad44b4958a2e43570ff9152cb42b70c542583dc046d016c44b7a46ccc085a8f5ba5702991', '2012-11-27 20:00:40', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:00:40', 'testuser', 1, 'gny2w4nLHvkeV1ycCHk', 'zQcQZEZJDNMUGqewb70b', '17504078b94436c52faec16956d715e033abaefad6a56832da8379557f7a1b5f9650359f64f04d8055685cfebc5fb71930beb62e38807e1606c6b80e3536a45b', 'Tj3ggGffOXMv2TtFx3g2', 1, NULL, '2012-11-27 20:00:40')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:00:40', `last_login_ip` = '0.0.0.0', `perishable_token` = 'IPnB90W5rk1a4OUONQM7', `updated_at` = '2012-11-27 20:00:40' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:00:40', 1, 200, 'Banner Set 6', '2012-11-27 20:00:40', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 0.6ms)
- [1m[36m (1.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cb27ff681e81a618ff2462aad6aecd8815c34d70532f97a60c26925bde39b9905ae76655917b95f3297e1dc592df69ef742b73740744a000d42099fd3ec1ff94' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fDhJkDbjJwnTBdkM9cSR' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:00:40', '481b53e69c216c1a6604bdc0129d466c51967376de3f2a0d71d6891c3b22c886ec6bfb1b9ffe9d2ce1c28ffaac7d168de429fd710d994803f3ef56d49ba74f6a', '2012-11-27 20:00:40', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:00:40', 'testuser', 1, '5hXXMu8WZXlxuoNZ9WlB', 'ktVVUd0bYogxnI6tWDW', 'cb27ff681e81a618ff2462aad6aecd8815c34d70532f97a60c26925bde39b9905ae76655917b95f3297e1dc592df69ef742b73740744a000d42099fd3ec1ff94', 'fDhJkDbjJwnTBdkM9cSR', 1, NULL, '2012-11-27 20:00:40')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:00:40', `last_login_ip` = '0.0.0.0', `perishable_token` = 'f0jnBewAL68nEv1qJzW', `updated_at` = '2012-11-27 20:00:40' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.3ms)
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '93274e497f8efe0db988c3ed8a51a50e8f80c6865d54104c6ba3bcae738b9113018fc7d512484296449e1ea214a9561923c508ad31e924c52c484a5f4fd40711' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EPOY7qKqpbgm2RsjWkI' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:00:40', '0a6fa175fb5262885ceffd06b9c5062338dae92a2e8eb896ed7ce0fd27a47a8c8d200773acdb799525d93153d455b126698be09329a9e75da1b4f35f77dd7432', '2012-11-27 20:00:40', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:00:40', 'testuser', 1, '5XPglU3cSRSVjVEhOqt', 'bxea2CLcS6br2LGzyP', '93274e497f8efe0db988c3ed8a51a50e8f80c6865d54104c6ba3bcae738b9113018fc7d512484296449e1ea214a9561923c508ad31e924c52c484a5f4fd40711', 'EPOY7qKqpbgm2RsjWkI', 1, NULL, '2012-11-27 20:00:40')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:00:40', `last_login_ip` = '0.0.0.0', `perishable_token` = '5wl8XDPKr52j1BP5eTgS', `updated_at` = '2012-11-27 20:00:40' WHERE `spud_users`.`id` = 4
+ [1m[35m (0.3ms)[0m 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
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:00:40', 1, 200, 'Banner Set 7', '2012-11-27 20:00:40', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.7ms | ActiveRecord: 1.0ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[36m (8.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a05a58abe057146c54cb023c0079494d044b152c74297e737647b0757eac5785a727ba2aa89febf62bf80ea84885128dd751d73b9bd98f7f40bf423e6aef5113' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'axFbgHIkA7cxhwxytxN' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:00:40', 'a3d67fb4889f0b906bcfe48f16d4cd3a83fa424a6fdca05b6ecea8f4dbf8275fbeb12cb5bc2554fd6a652e9eac2ccadf5ccdbbae59e81093d24b3e8219fc17c2', '2012-11-27 20:00:40', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:00:40', 'testuser', 1, 'gSoeMuzZuvp9h0W1wpl', 'TGu0Oel1wMfqOLAqVNH', 'a05a58abe057146c54cb023c0079494d044b152c74297e737647b0757eac5785a727ba2aa89febf62bf80ea84885128dd751d73b9bd98f7f40bf423e6aef5113', 'axFbgHIkA7cxhwxytxN', 1, NULL, '2012-11-27 20:00:40')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:00:40', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hrXUPZ4hvtwvqbcz6Oe', `updated_at` = '2012-11-27 20:00:40' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '802b2a0fac2a6296d768ffef43b43cbf011bdd7c68ad87c6b63b4f3b619e871e0b1d56a70e17d9cac84c09fa9c171098889bfd1f895380c6184216cf4b8a4594' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wAtLAzuA8d1W0cVuafM' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m 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-11-27 20:00:40', 'fae5c24d79e1290c2517a3e7f59b3ee2aa1e396ea2b64df6bce848b8bad44b82a29048e0012d8769d6500f961e012dbdc49d2db09fbe96960d749a204caa88ab', '2012-11-27 20:00:40', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:00:40', 'testuser', 1, '5EjPdeZdvDa9XhgIO', 'AgBRvLXZYXiJ4bWEPS3z', '802b2a0fac2a6296d768ffef43b43cbf011bdd7c68ad87c6b63b4f3b619e871e0b1d56a70e17d9cac84c09fa9c171098889bfd1f895380c6184216cf4b8a4594', 'wAtLAzuA8d1W0cVuafM', 1, NULL, '2012-11-27 20:00:40')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:00:40', `last_login_ip` = '0.0.0.0', `perishable_token` = 'LMGcQlDRFRCLCbyYMpUX', `updated_at` = '2012-11-27 20:00:40' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:00:40', 1, 200, 'Banner Set 8', '2012-11-27 20:00:40', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.5ms)
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b8e9faa67a490c9fd2a090008b335bdd3febb11a43da288c85eab486e6df9a601459aeff514870dced73c87c0b9263701ea6a76e9cabe9c85b04ec15c5c758b8' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'S8aD31DzY5nGhmZd5E4f' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:00:40', '0d685dcd5892146f0790f8996d44ce525980802d9bcd991ac3f2e8d295f5c23e7a2cf0154b24814e82b5a8723cc4f6565834d48d74bc93e0c21e92d7712d05fa', '2012-11-27 20:00:40', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:00:40', 'testuser', 1, '0gwWVbdguoQgJGgJM1mW', 'WukM9DOp3zskKeOfmi75', 'b8e9faa67a490c9fd2a090008b335bdd3febb11a43da288c85eab486e6df9a601459aeff514870dced73c87c0b9263701ea6a76e9cabe9c85b04ec15c5c758b8', 'S8aD31DzY5nGhmZd5E4f', 1, NULL, '2012-11-27 20:00:40')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:00:40', `current_login_at` = '2012-11-27 20:00:41', `last_login_ip` = '0.0.0.0', `last_request_at` = '2012-11-27 20:00:41', `perishable_token` = 't7eKfaEnOp3d3oSaW5r', `updated_at` = '2012-11-27 20:00:41' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:00:41', 1, 200, 'Banner Set 9', '2012-11-27 20:00:41', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:00:41' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.2ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 80ms (Views: 1.2ms | ActiveRecord: 6.1ms)
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.4ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cd1a5ec7d8c4b7b3aedd6175ceebf41e785634ca3239ce0793d1d32eb0311b5e4b267e28c758198e483ad7dc9239e57b6314b95fe5170cf569f424b35422caee' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LM02KaS9a3uGXrcTe5SP' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:01:33', '4de209540086423224e3267633ed9ee5c7b3b618e83c2a67b72453b47f2a36aa030309f751f22253c60d52df803a3660004c82ae51f8b18f2c4b9a830d0e0e76', '2012-11-27 20:01:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:01:33', 'testuser', 1, 'LVs3GlqJoa7yrCHerOmZ', 'vUICtRhxMLMsnGbZGZb1', 'cd1a5ec7d8c4b7b3aedd6175ceebf41e785634ca3239ce0793d1d32eb0311b5e4b267e28c758198e483ad7dc9239e57b6314b95fe5170cf569f424b35422caee', 'LM02KaS9a3uGXrcTe5SP', 1, NULL, '2012-11-27 20:01:33')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:01:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MpZsBC8yNbIk08CseWV', `updated_at` = '2012-11-27 20:01:33' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:01:33', 1, 200, 'Banner Set 1', '2012-11-27 20:01:33', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:01:33', 1, 200, 'Banner Set 2', '2012-11-27 20:01:33', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:01:33', 1, 200, 'Banner Set 3', '2012-11-27 20:01:33', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:01:33', 1, 200, 'Banner Set 4', '2012-11-27 20:01:33', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:01:33', 1, 200, 'Banner Set 5', '2012-11-27 20:01:33', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 60ms (Views: 50.2ms | ActiveRecord: 0.7ms)
- [1m[36m (2.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '25ef0b35785313230fe602acceea027acf99b70766ea37e42c553e0c01f4e32e53a01e75a459ddcb77baaf2b93c612d072df0bd125d4f2ef46d101b490e8f155' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LCzFPO169nUNXJm25pHC' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:01:33', 'b0ad9c6276c6ea765dd73793a9dc4e12f3502e935a73ecf5c0f788aefb1bf816219d1f6b2af75971cfe613c1cdfa2a42e052f908db3f06cac5235ec8a31e3c2f', '2012-11-27 20:01:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:01:33', 'testuser', 1, 'n19cKmWHEFcwkqKwKTUC', 'rlipfUQSjWu4RlZCopxv', '25ef0b35785313230fe602acceea027acf99b70766ea37e42c553e0c01f4e32e53a01e75a459ddcb77baaf2b93c612d072df0bd125d4f2ef46d101b490e8f155', 'LCzFPO169nUNXJm25pHC', 1, NULL, '2012-11-27 20:01:33')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:01:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'udtKpnRzmW798DJkEPG', `updated_at` = '2012-11-27 20:01:33' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:01:33', 1, 200, 'Banner Set 6', '2012-11-27 20:01:33', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.5ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f1274b09108de2af6cdedff6c560d5dfae8cb17a6bb1d2688eb5857ba171ef26222d821f509b4646c6f1e4babacf8b7539160dba907af3825c7cbaf97df01a99' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'V9entsd5ZMagFBRMxZzN' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:01:33', 'c97e255ccea45b40ee257e986ad82dac6e2ba426687992658e191909251a5c26b28f937dfdd1394762de91088395c6f0cfab57e1afc3cdad5e649582ed463e47', '2012-11-27 20:01:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:01:33', 'testuser', 1, 'A7LxXWJSC6hqDEugZek', 'bvDdx0tkseMGyJJkuaG', 'f1274b09108de2af6cdedff6c560d5dfae8cb17a6bb1d2688eb5857ba171ef26222d821f509b4646c6f1e4babacf8b7539160dba907af3825c7cbaf97df01a99', 'V9entsd5ZMagFBRMxZzN', 1, NULL, '2012-11-27 20:01:33')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:01:33', `last_login_ip` = '0.0.0.0', `perishable_token` = '0YYfuuGosU4Men9AOWi7', `updated_at` = '2012-11-27 20:01:33' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.3ms)
- [1m[35m (1.0ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8defcc9618713654b512833339345270b86304fe40839c7c31eb0b98c50bfb98a3882694e2d9dd322639d0bfe9557dafb36b2e9a6d025bcabac26463f33d910d' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4Vf3a3vA51mHTntSJec' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '144c3dd56572c6f67769e20fba20f7a8bd4fde707aa455a331477e0f2c31d0ebffea2b6ff43e4fbd47216c6a74845a66d9b4a42339269594039c699baddc82e2' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '3cVqMv5VlgLAuNXDSPT' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 20:01:33', '831dd3ff98dc1ef250d28bbf84442855d069929a303fb56c904e92daf23cc40b66f53c1579a630028f71e5b4d6172cdc6edb04eb75d0ec19b1f69ed63c5b8353', '2012-11-27 20:01:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:01:33', 'testuser', 1, 'yEpXHW44xFGeXF52ag1', 'EQwpmwAaJn5vCJwuhwp', '144c3dd56572c6f67769e20fba20f7a8bd4fde707aa455a331477e0f2c31d0ebffea2b6ff43e4fbd47216c6a74845a66d9b4a42339269594039c699baddc82e2', '3cVqMv5VlgLAuNXDSPT', 1, NULL, '2012-11-27 20:01:33')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:01:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ba4sf4y2WhL5FzH7VV6w', `updated_at` = '2012-11-27 20:01:33' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:01:33', 1, 200, 'Banner Set 7', '2012-11-27 20:01:33', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.2ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '98e9ba66366acfce0a8a6325899869f329e7956082fc6e9affe6bd0dd4ca699ee3bfb27e22bc24cb70cdd16cdc4a71e82a87a39ea39415ce324269ed527fe985' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LD9n7mpGWYwmcDLnCGF' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:01:33', 'e0d271b0f83246369036198d8a008f8aff5bf1a52ee28693db9c02a813a1e32dffaf5fc8e74219dbe71c95b10162158a8b3babaecd7cf933a05c97b03bf6bc9a', '2012-11-27 20:01:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:01:33', 'testuser', 1, 'bvmn6ptCYB1G0lmp8fzq', '4TilyOJlTCwpwLvLpWQ', '98e9ba66366acfce0a8a6325899869f329e7956082fc6e9affe6bd0dd4ca699ee3bfb27e22bc24cb70cdd16cdc4a71e82a87a39ea39415ce324269ed527fe985', 'LD9n7mpGWYwmcDLnCGF', 1, NULL, '2012-11-27 20:01:33')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:01:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wMpylNtU0OawD4GXLaMT', `updated_at` = '2012-11-27 20:01:33' WHERE `spud_users`.`id` = 5[0m
+ [1m[36m (0.3ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
+Processing by Spud::Admin::BannerSetsController#create as HTML
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
+ [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 422 Unprocessable Entity in 10ms (Views: 0.8ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e5b2f3d4ab50a36963e520a0b4486a44f2c83541e9ef2debb683f8b523286d46c1fdb0d1b8a630bea88e88bc84a056756e62b1aa260ac135753e58ba6fbf6b3c' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'weSwECuzjufj4JbiuZTN' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:01:33', '9e8b887520d5a9a265d360221816850a1096bea7df8b58be6bd1aa4d6c8dd05d2dbe86132ed3b9bc36b4fa5bf2a5dd10dcc0201991a3ececa55120f89aae078a', '2012-11-27 20:01:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:01:33', 'testuser', 1, '5AzT6B64Ubi2VCfbN8C', 'NpwLBpYbAMNHMcxthCM8', 'e5b2f3d4ab50a36963e520a0b4486a44f2c83541e9ef2debb683f8b523286d46c1fdb0d1b8a630bea88e88bc84a056756e62b1aa260ac135753e58ba6fbf6b3c', 'weSwECuzjufj4JbiuZTN', 1, NULL, '2012-11-27 20:01:33')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:01:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'cp5tzFubvj7IxR3KWnFl', `updated_at` = '2012-11-27 20:01:33' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:01:33', 1, 200, 'Banner Set 8', '2012-11-27 20:01:33', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.5ms)
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '11e7bc3a82d269ff17a5f11f402a7988bab70198f9d3e914e3bec3ab3a66f7141627a5b0c79a04050c21ef54635982840fd902ae26c11e9e4c05d4daf829dac5' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'u3hV9B44zX0drMV3Y6Qv' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:01:33', '05f68c7f977df8878627da74990e1ac595486e581cb93f66825fbf18ab5eaa63062e2627099d8c4df00e6d86f678074b5385b70ffe7a7fc1c7f5a14a061815e8', '2012-11-27 20:01:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:01:33', 'testuser', 1, 'OOA8syhzVuWNgnRIAx13', 'oZwF5xTbcTjRKE6qyitq', '11e7bc3a82d269ff17a5f11f402a7988bab70198f9d3e914e3bec3ab3a66f7141627a5b0c79a04050c21ef54635982840fd902ae26c11e9e4c05d4daf829dac5', 'u3hV9B44zX0drMV3Y6Qv', 1, NULL, '2012-11-27 20:01:33')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:01:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'HN6ETruJznAJwENkHREH', `updated_at` = '2012-11-27 20:01:33' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:01:33', 1, 200, 'Banner Set 9', '2012-11-27 20:01:33', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:01:33' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 81ms (Views: 1.2ms | ActiveRecord: 5.4ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.2ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (41.6ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a1ef7b6986ad2f0985254060c3bdf2b1370c385ce7219165f37932f2269e822bac9fa625dd5007b2913c55ab80d14b3461054c2d096d0fe0a27c329144aec55b' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '26nYz3256V70DL4Z1rpN' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:02:18', 'b1f87ae8b292b09bdf8b990dc580260358cd92073712c31816a9c7c4ea8bc00746dc7bbe6e2b5f5b2b4e1ddb47883622d406bbe6364585b9959982db18473a11', '2012-11-27 20:02:18', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:02:18', 'testuser', 1, 'IYShuurqtMMPdCPUH293', 'uMREwbNKo5gq9lG5DgB3', 'a1ef7b6986ad2f0985254060c3bdf2b1370c385ce7219165f37932f2269e822bac9fa625dd5007b2913c55ab80d14b3461054c2d096d0fe0a27c329144aec55b', '26nYz3256V70DL4Z1rpN', 1, NULL, '2012-11-27 20:02:18')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:02:18', `last_login_ip` = '0.0.0.0', `perishable_token` = '4Te4QK2gbpXBytmPd9u', `updated_at` = '2012-11-27 20:02:18' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:02:18', 1, 200, 'Banner Set 1', '2012-11-27 20:02:18', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:02:18', 1, 200, 'Banner Set 2', '2012-11-27 20:02:18', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:02:18', 1, 200, 'Banner Set 3', '2012-11-27 20:02:18', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:02:18', 1, 200, 'Banner Set 4', '2012-11-27 20:02:18', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:02:18', 1, 200, 'Banner Set 5', '2012-11-27 20:02:18', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.7ms)
-Completed 200 OK in 60ms (Views: 50.1ms | ActiveRecord: 0.7ms)
- [1m[36m (1.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '05e980bdb41e582e19215bfbadb12972d8bb228d4697f982c60b7574dc147b69cbd253c2b4adc49a51f24e27d8558efa99874dc04b42d75ded0ad2e22dc27eec' LIMIT 1
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nzdA8vZP9rQpgj646Vl' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:02:18', 'b0c7375306132a22371203a82c8d469d7d405504a84615f67c7297fc10bb0e42f5c93ff91b0e4a42bb1454b149f7fced4188129d3895c5324d35bfe7e2a9def3', '2012-11-27 20:02:18', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:02:18', 'testuser', 1, 'jdjQNy6YAuxVmOAUPeww', 'FyF7t8c3ZkLXWCMxraDa', '05e980bdb41e582e19215bfbadb12972d8bb228d4697f982c60b7574dc147b69cbd253c2b4adc49a51f24e27d8558efa99874dc04b42d75ded0ad2e22dc27eec', 'nzdA8vZP9rQpgj646Vl', 1, NULL, '2012-11-27 20:02:18')
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '18728ae710f2d566f8e9d659550c34cc78d49e3a8aed30b31d8ef4d63d31f52255ae20c78172c0c09e7d1985a68fc77052176a12faf4a82985a4a47a307585ff' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZSjX22qNmgRMHaktVMP9' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:02:18', `last_login_ip` = '0.0.0.0', `perishable_token` = 'duQn0vAsnLYVbkfzUnmP', `updated_at` = '2012-11-27 20:02:18' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:02:18', 1, 200, 'Banner Set 6', '2012-11-27 20:02:18', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 0.6ms)
- [1m[36m (0.8ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '744bda93ca346b21492192ae66a94877503fb2aad55ed6726b8c00846bbf8ab65f48b3d6b1695eb27789d84bee3d49e86a5226fcddae00bff5a377e014766d46' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wn6K9vkyAYSjfGdY4HR4' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:02:18', 'cf03b588683c339c4bb9ff90dff224d77aac3ede307865b49c9df2733ec36acc455da465e2e81efdeede222a0b82263c9c6aeb721541a3185943b0a3fda68aa9', '2012-11-27 20:02:18', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:02:18', 'testuser', 1, '7gmHx1SDDYYCC1gPgF', 'AHTFBPfdkqWMJ6nd76s', '744bda93ca346b21492192ae66a94877503fb2aad55ed6726b8c00846bbf8ab65f48b3d6b1695eb27789d84bee3d49e86a5226fcddae00bff5a377e014766d46', 'wn6K9vkyAYSjfGdY4HR4', 1, NULL, '2012-11-27 20:02:18')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:02:18', `last_login_ip` = '0.0.0.0', `perishable_token` = 'N2EELtZAmQ6FmJBTjBl', `updated_at` = '2012-11-27 20:02:18' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1d01da9b39419308736d2fb266a1655ee8e2d1d2c3a0f681e6ad058f0ca724bba4563ed6c91a8294415f767212a2cb482920bd1d858377454b1ed98c7850e09e' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tGmhHXvUd2WkNOZDeWRQ' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 20:02:18', '46a4114f2b41a522729ec88e139b94040d158f478053b4940a5831ebf2ffe48f3ad8daf6d29886ad86ab8f6b0e9d7a7372f276ac0fc6487fd07f28bd7390a9b4', '2012-11-27 20:02:18', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:02:18', 'testuser', 1, 'WjsCDze39oDdSmrEm4', '0p6Z0NNKVP2di1LIB0A3', '1d01da9b39419308736d2fb266a1655ee8e2d1d2c3a0f681e6ad058f0ca724bba4563ed6c91a8294415f767212a2cb482920bd1d858377454b1ed98c7850e09e', 'tGmhHXvUd2WkNOZDeWRQ', 1, NULL, '2012-11-27 20:02:18')[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:02:18', `last_login_ip` = '0.0.0.0', `perishable_token` = '9wL1rWVKjWSYzzecOa', `updated_at` = '2012-11-27 20:02:18' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:02:18', 1, 200, 'Banner Set 7', '2012-11-27 20:02:18', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 1.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.8ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1ef8e5275a679604d55aba3f21bff141777fffbabc10d9592bdbb8375bec7197614d2e4b2a85bba012d8cc706f1e80394603853014c85ff00b27547f8a61dec0' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Uv4Yb7wfPsd02ygdrMBj' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:02:18', 'bff29e6eb002ef9dab9b978bdb3230a80ae51b127a80455aa601e5667ff62c46b1ca3599eb1d274e84ebfc95e9429039193ca80ebf7d7c7cd8a0e3cd47442056', '2012-11-27 20:02:18', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:02:18', 'testuser', 1, '124vogCbaZ0HJCvuPLM', 'T9tumBClMiCf95jzI4m', '1ef8e5275a679604d55aba3f21bff141777fffbabc10d9592bdbb8375bec7197614d2e4b2a85bba012d8cc706f1e80394603853014c85ff00b27547f8a61dec0', 'Uv4Yb7wfPsd02ygdrMBj', 1, NULL, '2012-11-27 20:02:18')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:02:18', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Ls4SrgTdcynorQzN81G', `updated_at` = '2012-11-27 20:02:18' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5efa66ab21915e36a4d1e51385af7f1bf5438f2810bd8ad699cf544ecd9cff27ee5f41d43a094666a049337b0ea55f23a239fb5b513ff544f854a2133804b1bf' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oJSrJif9G6RBkpPKFtDl' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:02:18', '9bf43d2eb87f1f0d8529278589616156a429b7b4ecaac09c9d3795c68207289ec1e96247525268dd918e5755ee1c86c7464c471d64e0641bdb84e76735ea9c69', '2012-11-27 20:02:18', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:02:18', 'testuser', 1, 'eQP4XUNnd7Ix4oACe2h', 'oFvoN9ogmvOYrHCxqg', '5efa66ab21915e36a4d1e51385af7f1bf5438f2810bd8ad699cf544ecd9cff27ee5f41d43a094666a049337b0ea55f23a239fb5b513ff544f854a2133804b1bf', 'oJSrJif9G6RBkpPKFtDl', 1, NULL, '2012-11-27 20:02:18')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:02:18', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ZbEHgzpiPHsLyRPk8l', `updated_at` = '2012-11-27 20:02:18' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:02:18', 1, 200, 'Banner Set 8', '2012-11-27 20:02:18', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.6ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '20166dffadb968e96fc5ad9ca0b17c03acc0759aa3c9735613d48f7fa530d3671d6592fcebde1f671c097908e194cd6b9028f9c8cebe62619da8ff340e84f7a7' LIMIT 1
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dI257xK1kZG9gnWAnB1' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:02:18', 'e7b599a364bfc696ba1c4fa4c1aa4933b385dfd557c54068354c58800cc9509648dc36009e4efebf81a04fd2c040a3104fe598e3170db68c6944695338cde8f7', '2012-11-27 20:02:18', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:02:18', 'testuser', 1, 'n5N9lydWQVpJEa3t2Nt', 'I11SLfFUqY9L3VI7', '20166dffadb968e96fc5ad9ca0b17c03acc0759aa3c9735613d48f7fa530d3671d6592fcebde1f671c097908e194cd6b9028f9c8cebe62619da8ff340e84f7a7', 'dI257xK1kZG9gnWAnB1', 1, NULL, '2012-11-27 20:02:18')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:02:18', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MScklrTFqlwE3dwQ1TB', `updated_at` = '2012-11-27 20:02:18' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:02:18', 1, 200, 'Banner Set 9', '2012-11-27 20:02:18', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:02:18' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 81ms (Views: 1.2ms | ActiveRecord: 5.1ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (1.8ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7a7d2c04e78127fa815983cc7a00ff2b616156b7cafb528ad9d1179a5adc801f6cd0947e3defe099d03bdf4ceb61d1d660fa102f10d2295c8cd2fc6c048292fb' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8FpCpSk16eipS3bTb2I' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:03:17', 'd144dfc66cc207690eebccb8e0f0389b00e70fb899aee551c03e801ba320242bf8a928731f6e774172ba1536b8a8a7551ef764861aa3abff3bf7e68cf927d2a8', '2012-11-27 20:03:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:03:17', 'testuser', 1, 'dWnXbQuE8oy3z5KhTc', 'gWhJ0kc9NWQXUxQxllio', '7a7d2c04e78127fa815983cc7a00ff2b616156b7cafb528ad9d1179a5adc801f6cd0947e3defe099d03bdf4ceb61d1d660fa102f10d2295c8cd2fc6c048292fb', '8FpCpSk16eipS3bTb2I', 1, NULL, '2012-11-27 20:03:17')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:03:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'JyXWc7Pp32MPqlNfW0m', `updated_at` = '2012-11-27 20:03:17' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:17', 1, 200, 'Banner Set 1', '2012-11-27 20:03:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:17', 1, 200, 'Banner Set 2', '2012-11-27 20:03:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:17', 1, 200, 'Banner Set 3', '2012-11-27 20:03:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:17', 1, 200, 'Banner Set 4', '2012-11-27 20:03:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:17', 1, 200, 'Banner Set 5', '2012-11-27 20:03:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.6ms)
-Completed 200 OK in 60ms (Views: 50.6ms | ActiveRecord: 0.6ms)
- [1m[36m (1.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.5ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fff2a9d0fbe92a15eef14d06adb337b5b9870bfc19300237435f21e544daeb56ea47f678c50e1bbf2e0282152c7078ef6d09cea2fd7365e26f744005405f1c87' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vc28GM08yo31ctRsNfC' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:03:17', 'e8e33d95251e3e76d53a939063180d6d5fdf80fa2c36c153d405b86381d81c8ac43c3060fdf10b1bbc47d032716c999984f8b01c88bb45470839a1eb47572cf0', '2012-11-27 20:03:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:03:17', 'testuser', 1, 'Qv6cMG9uBTHBOQznOkez', 'sf9a3Cgrlxv0zGeH1ziU', 'fff2a9d0fbe92a15eef14d06adb337b5b9870bfc19300237435f21e544daeb56ea47f678c50e1bbf2e0282152c7078ef6d09cea2fd7365e26f744005405f1c87', 'vc28GM08yo31ctRsNfC', 1, NULL, '2012-11-27 20:03:17')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd47813e739f98ebc75f1371ca7190c815b5febad3959f93b11c0fe8d6db96be7045b9fb7dd385b4615ac2e0a77918fc7c64c2e6b4edb28dc15905023dbe90076' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'e2WApnPLYtp7oMjE4LZP' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:03:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ixFHPYpxoDXONcCgAur', `updated_at` = '2012-11-27 20:03:17' WHERE `spud_users`.`id` = 2[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:17', 1, 200, 'Banner Set 6', '2012-11-27 20:03:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.8ms)
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e574b2f4e6270a5d41a92521c4ff4f501e652fb148dc5968d1eae4fbe7a03de2b1f0b94d577d7ec6c3d9031859737951a1ca04fa20eff133000e650e157d4407' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OhnltFI6payFOHkazNP' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:03:17', '340d62268ecdf178c640d164bc1ab48d580649502eb9f65557b3e6fdcbf80f3fd4f5bba9cbc54c61779d6197e2ffe27ca7125366d725ac9a4526c155c0687cc9', '2012-11-27 20:03:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:03:17', 'testuser', 1, 'JLN8fbTmj45LlCbCasg', 'zFgSzlXWi05kwgF1KuqI', 'e574b2f4e6270a5d41a92521c4ff4f501e652fb148dc5968d1eae4fbe7a03de2b1f0b94d577d7ec6c3d9031859737951a1ca04fa20eff133000e650e157d4407', 'OhnltFI6payFOHkazNP', 1, NULL, '2012-11-27 20:03:17')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:03:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'C8yYBfockSA4XJhohh', `updated_at` = '2012-11-27 20:03:17' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.3ms)
- [1m[35m (1.8ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '35b4589abb78b889e83bd5869b24c0746279ec02105ebb14ac286857c898fdb2a737658f666042d032521bb59f0f33f8f7a8315873251f785f2ccb5f34d77798' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Y65Qp7Zce7zRgkB5OFOq' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:03:17', '7ba79a2dd616583e069293a0312919a1547aa0e5f41a62a9b61613d3866de4e1056212c8cdce803a52e99e30b59ba72822f1a3fe6d80c3999eed2084c5ec7029', '2012-11-27 20:03:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:03:17', 'testuser', 1, '4xz2UzAhbu3cRyb6fjfT', 'O6xivtpFQMnMNcLjRqF', '35b4589abb78b889e83bd5869b24c0746279ec02105ebb14ac286857c898fdb2a737658f666042d032521bb59f0f33f8f7a8315873251f785f2ccb5f34d77798', 'Y65Qp7Zce7zRgkB5OFOq', 1, NULL, '2012-11-27 20:03:17')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:03:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'DZGCwJxRs9AtHiA1oRo', `updated_at` = '2012-11-27 20:03:17' WHERE `spud_users`.`id` = 4
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:17', 1, 200, 'Banner Set 7', '2012-11-27 20:03:17', 600)
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.7ms | ActiveRecord: 1.0ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '13477e06ef5e8def9ddb9b3bb4ec6b1dd92c596202ecbe23eb07f545fec741e200d8d7b30a1771041ef77ab66aa2ac9aad28c8029cd66044e345f023ab5e7faf' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QHM7rEZjhxV5wxyTvLy5' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:03:17', '25f6641c0a4f6b9a7499bbc351228ffc8a74c701b45eae8c3b40c5e3476efc3d9d38c4fd8e90b23cf11e68d44f36ded79d3fdee6694a9b14546b178f325160c6', '2012-11-27 20:03:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:03:17', 'testuser', 1, 'CEIr9pv4lyohnMVYp8', 'h5kwfLs7f2bkW3ohRu9', '13477e06ef5e8def9ddb9b3bb4ec6b1dd92c596202ecbe23eb07f545fec741e200d8d7b30a1771041ef77ab66aa2ac9aad28c8029cd66044e345f023ab5e7faf', 'QHM7rEZjhxV5wxyTvLy5', 1, NULL, '2012-11-27 20:03:17')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:03:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'xK63RHbAilk24432zsN1', `updated_at` = '2012-11-27 20:03:17' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>""}}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 12ms (Views: 1.1ms | ActiveRecord: 1.2ms)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2454723ef330e4b6d482d349eb7b371f72931b3c94ba6c4398792b107a9ee0e788a16e3107ca44e4b2d22eeb898c637c01ebcfe5fea5ac04d1a25eff528edacf' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YZcMO2HwxWLY220DLptF' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:03:17', '2c6c2b035c3f47cf5f4bb2d6bb84ec0d6caaa9e7f208e5dfbd222d490ae7a767d04fd3bf0929f097091033735f0e590f41250460f4494c2f15c5189165d88678', '2012-11-27 20:03:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:03:17', 'testuser', 1, '6zk4mfSfdlDtHtBCHXNu', 'Mcpv6fMxkmWwJJ4jRLt', '2454723ef330e4b6d482d349eb7b371f72931b3c94ba6c4398792b107a9ee0e788a16e3107ca44e4b2d22eeb898c637c01ebcfe5fea5ac04d1a25eff528edacf', 'YZcMO2HwxWLY220DLptF', 1, NULL, '2012-11-27 20:03:17')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:03:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'shXOtcgTOJOG1DeyKtC6', `updated_at` = '2012-11-27 20:03:17' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:17', 1, 200, 'Banner Set 8', '2012-11-27 20:03:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.8ms)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '62148ace43ea21b718341e48756c37540fa8aac222ee0333fdc36eed254c5335161a1401d54d717654e26caeb1ea80f3df948fc1f62899c4de343e6b54e90181' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9Qe6cNs4crVY4jJEIeK' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m 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-11-27 20:03:17', 'cdb7dde9470a0499da7ee779faf080be01c25d0dabf925c55fee27ca4ff807beaa54b2edc328f4971a0517b63c8bf7817b6e7ce6f0040ad41f2b4b5ac9c52821', '2012-11-27 20:03:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:03:17', 'testuser', 1, 'vPdHEyzoUptVZPEoD23', 'hzwkJGvf1yD4Mc9WjxM4', '62148ace43ea21b718341e48756c37540fa8aac222ee0333fdc36eed254c5335161a1401d54d717654e26caeb1ea80f3df948fc1f62899c4de343e6b54e90181', '9Qe6cNs4crVY4jJEIeK', 1, NULL, '2012-11-27 20:03:17')
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6b4c3d6c1563bcb9c9f8bec0b85421bcbe7c3629a7d986800da5be8fa0c582def579678322d5b72584736af0ae5201c17f737edf03f9bd81552e1e9830ea3d85' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0ThRhGk9Xky7sWsTYK5' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:03:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 't42SLXh2FKK8ZFvHljZX', `updated_at` = '2012-11-27 20:03:17' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:17', 1, 200, 'Banner Set 9', '2012-11-27 20:03:17', 600)[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:03:17' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.2ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 76ms (Views: 1.1ms | ActiveRecord: 3.4ms)
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.2ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.5ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.4ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3be1aa15c1ccfb9f691cfa1af11e30a4b6e544fe6500efa5c1c70bf3f4ade1923749bbb71fa89d4638a0a2f4e78d767f1b271582758287027ef832faddc4e734' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nvJyLzbg3J4kgmBxqnLf' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:03:35', '1de9b4c29423382d06b58a8a19986972a3d8b60a4decc7d887a6e05ef3b292ffd4827110ee5ec6b7af59b54e013cf41edb432c3dbd61b943ec2108894f1929b9', '2012-11-27 20:03:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:03:35', 'testuser', 1, 'cEMFnBN3U3DSY6BXPqs5', 'jQJEGjl6znY2wCUMlP', '3be1aa15c1ccfb9f691cfa1af11e30a4b6e544fe6500efa5c1c70bf3f4ade1923749bbb71fa89d4638a0a2f4e78d767f1b271582758287027ef832faddc4e734', 'nvJyLzbg3J4kgmBxqnLf', 1, NULL, '2012-11-27 20:03:35')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:03:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wbiIJMahsjRH5yf39V9', `updated_at` = '2012-11-27 20:03:35' WHERE `spud_users`.`id` = 1[0m
+ [1m[36m (0.3ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:35', 1, 200, 'Banner Set 1', '2012-11-27 20:03:35', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:35', 1, 200, 'Banner Set 2', '2012-11-27 20:03:35', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:35', 1, 200, 'Banner Set 3', '2012-11-27 20:03:35', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:35', 1, 200, 'Banner Set 4', '2012-11-27 20:03:35', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:35', 1, 200, 'Banner Set 5', '2012-11-27 20:03:35', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (3.0ms)
-Completed 200 OK in 61ms (Views: 52.3ms | ActiveRecord: 0.5ms)
- [1m[36m (1.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7b8cd667fc1c2e44625ecf4005ca0d2a628fc104c317decd366dc72d93e243ecbed32d0f6f1b400845f60624f63db6847640deeeeff3db1a717d67e4b2bb8215' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'j770OxAGbDJvAjR78hA6' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:03:35', 'fddbd329b5cb5c69afd4ddf03ba1e15d7c6bbb9089b6728785562a4d3d3d19704ebfeb155294619e361964d432fafffd396feb5ce7e1e8e5b0c5b96982933a3e', '2012-11-27 20:03:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:03:35', 'testuser', 1, 'uTrcRhXM1osOyYxl17Y', 'MFEhKEJi5GXEHwhuyeTW', '7b8cd667fc1c2e44625ecf4005ca0d2a628fc104c317decd366dc72d93e243ecbed32d0f6f1b400845f60624f63db6847640deeeeff3db1a717d67e4b2bb8215', 'j770OxAGbDJvAjR78hA6', 1, NULL, '2012-11-27 20:03:35')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:03:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'cuAHKC4fHRYsrYbTyV', `updated_at` = '2012-11-27 20:03:35' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:35', 1, 200, 'Banner Set 6', '2012-11-27 20:03:35', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 11ms (Views: 2.5ms | ActiveRecord: 0.7ms)
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1571735b2e4e6af16f66c8f5fc95acc5d55a193df2fb51ee0c0dd9ded31ab7d68c0702b4fe5b73f566fad6c49694e322af82bcffaca2d118f4d657de01d15aff' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sOlUFuxtEusNXKpZvKzk' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:03:35', '02a8910ffd68774507c70a7569e15f6970745581b643667bf3b2eb708284fd16082cae50be74954eac566cb70b464960435ef6c47a649448877d767db7f49d35', '2012-11-27 20:03:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:03:35', 'testuser', 1, 'qY2XdMEa4Hcdb9YC6zj9', 'A6gPHoIFFXXINlj6REG', '1571735b2e4e6af16f66c8f5fc95acc5d55a193df2fb51ee0c0dd9ded31ab7d68c0702b4fe5b73f566fad6c49694e322af82bcffaca2d118f4d657de01d15aff', 'sOlUFuxtEusNXKpZvKzk', 1, NULL, '2012-11-27 20:03:35')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:03:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'zYEdrTJDMw6YBwiwSIjM', `updated_at` = '2012-11-27 20:03:35' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 0.4ms)
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '37acbb34d24b7911524bded8f510f8d6a17007af36608a2ba7ae31a4b39e2c5edcb95781115ce450a8a95774af40e7eaa5e053fc81414a3a2af6a8ede344162a' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '3VpGOUUW4bkPSpbkggjt' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:03:35', '1e12a66e0b9a28a2c119abdb5bf2a884592ba583a4297ab94a187798e26ca583da4646e24ef4a10743ff024fc40b103df90938f8f69841e5303eb72a67f39c52', '2012-11-27 20:03:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:03:35', 'testuser', 1, 'XMALkJaKFFY1JIlSIW72', 'jkPNQgA8ptliSDHt8IEg', '37acbb34d24b7911524bded8f510f8d6a17007af36608a2ba7ae31a4b39e2c5edcb95781115ce450a8a95774af40e7eaa5e053fc81414a3a2af6a8ede344162a', '3VpGOUUW4bkPSpbkggjt', 1, NULL, '2012-11-27 20:03:35')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:03:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Zp7VJpxJB0BbkwVKwnSS', `updated_at` = '2012-11-27 20:03:35' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:35', 1, 200, 'Banner Set 7', '2012-11-27 20:03:35', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 14ms (Views: 2.2ms | ActiveRecord: 1.2ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7d3762707c7495357b2382e73eb194b227608d50cb87285e89818dfabc3c5e876f5b7760fae688fd52e36f82d2693fdf8cfb50b191f57368b7a0c1d221927d22' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mbiitcSqry6c1MAgy4D' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 20:03:35', '6c1f4298fda0419643f829496f73e4a83f8d6d327687794b63fe871851c4cd3d71167b020850ee3e3541ebeb19dac5138d84bedcd633eec1d6ac97010fcb35ae', '2012-11-27 20:03:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:03:35', 'testuser', 1, 'ILnPwobDXB5TH4o6ZNWQ', '8I2paVH7LP4513hpeWx', '7d3762707c7495357b2382e73eb194b227608d50cb87285e89818dfabc3c5e876f5b7760fae688fd52e36f82d2693fdf8cfb50b191f57368b7a0c1d221927d22', 'mbiitcSqry6c1MAgy4D', 1, NULL, '2012-11-27 20:03:35')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:03:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vwJufBpVxhNWbHWg8h', `updated_at` = '2012-11-27 20:03:35' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>""}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 14ms (Views: 1.2ms | ActiveRecord: 1.0ms)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6ff2fd6b4c8e70d7ee267e4e83e1fba54a114a0784c366c3bad1d2d762c9f85bfc95c53b60a7bf5382c35ad3642d715fad483e6c46439b8c26768a8f6d7246e1' LIMIT 1
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NsRd7OZv0UVJ4kQbqOf' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:03:35', 'f6ef19d9495d78909d77264f5f5ff2ef70f554cda68eaf610fd9d59e28eb50c1aeb38566d8bcf426e4348b26f9c71fc91c7ac2230ceea694e3d6395b4a15bd69', '2012-11-27 20:03:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:03:35', 'testuser', 1, 'xlaqomtiCFxH6DGePi9x', 'Oda2V8BYNs4rChoHxVIr', '6ff2fd6b4c8e70d7ee267e4e83e1fba54a114a0784c366c3bad1d2d762c9f85bfc95c53b60a7bf5382c35ad3642d715fad483e6c46439b8c26768a8f6d7246e1', 'NsRd7OZv0UVJ4kQbqOf', 1, NULL, '2012-11-27 20:03:35')
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ca7db2e38055556b01901df26d8a7e589e3a5fcf3aeb4b8433940fbca1558ccc2c8b1f832a8e0ba8105943b0d48bbe18fcf265ac6c290874310206c071bcc698' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'z6hMFzt2sfNbZksdKMih' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:03:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'V5PAcajgau6yDiX6UJax', `updated_at` = '2012-11-27 20:03:35' WHERE `spud_users`.`id` = 6[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:35', 1, 200, 'Banner Set 8', '2012-11-27 20:03:35', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 9ms (Views: 1.8ms | ActiveRecord: 0.6ms)
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7311c61027ffc9bcdd49f49e08ca4069ecfad30dd399ed2905f9ca5539565f545646f5e8df8adbd2b8f9efdf1cafbb34d3c6360b112a006e85dec8b21e436eba' LIMIT 1
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FD3DHg531jar2GBAXHu' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:03:35', '2ca975265be0504b7e9479d8cddb57638def9f8a0322d7b0cd38142a0b0f10776c354db23753c47a9cdc0a4c98d55f023ca254ae3677ad31d46d556dd30ae184', '2012-11-27 20:03:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:03:35', 'testuser', 1, 'ELwTO61nSIP2JkDsGa9', 'E2yodtaTd7S6u0IfOePi', '7311c61027ffc9bcdd49f49e08ca4069ecfad30dd399ed2905f9ca5539565f545646f5e8df8adbd2b8f9efdf1cafbb34d3c6360b112a006e85dec8b21e436eba', 'FD3DHg531jar2GBAXHu', 1, NULL, '2012-11-27 20:03:35')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:03:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Kx4Ap6TqBDN8kipwmM', `updated_at` = '2012-11-27 20:03:35' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:03:35', 1, 200, 'Banner Set 9', '2012-11-27 20:03:35', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:03:35' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 90ms (Views: 1.3ms | ActiveRecord: 5.1ms)
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (1.7ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
[1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
[1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
+ [1m[36m (0.5ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
[1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.0ms)[0m SET FOREIGN_KEY_CHECKS = 1
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7431c1d8ab5c3ad2f0685d3a575ccf6245ddb5f395570d5cf7af5d8563ba961eb6ad7d005ff339cfa5137c3d7799de2258ed12e1b271e5c51e9a04b6f87316b2' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'viy03dWCGIPjsh3zOT' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:06:52', '3b31feb72e00c2a38678d6fd3be59e0e11b69286446f8a6cf8ea71e48ebb94659a186156e32011a121d69fc6153eb580ccbd78f0b2bd963a297b8873280d7eaf', '2012-11-27 20:06:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:06:52', 'testuser', 1, '2I1hUqN5D3Mra2pjBKws', 'NoDVDaWS3DTfoJdhoFMw', '7431c1d8ab5c3ad2f0685d3a575ccf6245ddb5f395570d5cf7af5d8563ba961eb6ad7d005ff339cfa5137c3d7799de2258ed12e1b271e5c51e9a04b6f87316b2', 'viy03dWCGIPjsh3zOT', 1, NULL, '2012-11-27 20:06:52')
+ [1m[35mSpudUser Exists (1.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '386aa08d0493b1757a20d31cc49d67c2f0aaeaa4467f6c60e2863b1fe1146fd60c685fbd164b96fa67741cbf190ebe53bcc87dd567ab76cb49cd94de9998e09d' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'F6XXm8IECvzUGgs2KPcs' LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:06:52', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ILEd2w0RvHnmBb7xZhPe', `updated_at` = '2012-11-27 20:06:52' WHERE `spud_users`.`id` = 1[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `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[0m
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:06:52', 1, 200, 'Banner Set 1', '2012-11-27 20:06:52', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:06:52', 1, 200, 'Banner Set 2', '2012-11-27 20:06:52', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:06:52', 1, 200, 'Banner Set 3', '2012-11-27 20:06:52', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:06:52', 1, 200, 'Banner Set 4', '2012-11-27 20:06:52', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:06:52', 1, 200, 'Banner Set 5', '2012-11-27 20:06:52', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.8ms)
-Completed 200 OK in 62ms (Views: 52.0ms | ActiveRecord: 0.6ms)
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a5d9564651d731e6bd852189a69d922c6197f96bf884e7ff7b8f33d872d0721a4bf1e1e944676e712d3a7682c8133c0884143be032a32fc2b97ce84d87d7cfb3' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QVYNKmcPrrIerwpt7DM' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m 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-11-27 20:06:52', '3f65394400e2954848aecfd5a420b197cbc3231a944ced520a9d425eb9e68517228fac49e2495055bb7ceaa0df4accf966f75bb115b13ed83070b904111aa59b', '2012-11-27 20:06:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:06:52', 'testuser', 1, 'WDQfBKvl224Tm9ZpgI6m', 'FJl5b6bjonHpga4JHP6x', 'a5d9564651d731e6bd852189a69d922c6197f96bf884e7ff7b8f33d872d0721a4bf1e1e944676e712d3a7682c8133c0884143be032a32fc2b97ce84d87d7cfb3', 'QVYNKmcPrrIerwpt7DM', 1, NULL, '2012-11-27 20:06:52')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:06:52', `last_login_ip` = '0.0.0.0', `perishable_token` = 'SPejRIGwnBALkqICU', `updated_at` = '2012-11-27 20:06:52' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:06:52', 1, 200, 'Banner Set 6', '2012-11-27 20:06:52', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.2ms | ActiveRecord: 0.6ms)
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '644302d2a029c18047a7d566142876c6cbd6d8c67fd81110af28f9b1b6f7b02ff222a2c8d535aa1cccebb6126bf180f9c86c519d1ae40fcf9ace95467a58c257' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BMVRCK7KxjCTM4T1TCpM' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:06:52', 'b72c6f70090f482a9622a873d0b941064d31f275028e7ab80f2f603881bc6cf7261c875faf5efbeb9c06b5f3990c8ae71066486333a7cc757227ca278effad07', '2012-11-27 20:06:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:06:52', 'testuser', 1, 'Xeh1E1l2JNbqWxrJrj4T', '9dNAN4jEGRjRpOR9sdf1', '644302d2a029c18047a7d566142876c6cbd6d8c67fd81110af28f9b1b6f7b02ff222a2c8d535aa1cccebb6126bf180f9c86c519d1ae40fcf9ace95467a58c257', 'BMVRCK7KxjCTM4T1TCpM', 1, NULL, '2012-11-27 20:06:52')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:06:52', `last_login_ip` = '0.0.0.0', `perishable_token` = 'W9NmLitmRGAv5IO8y4l', `updated_at` = '2012-11-27 20:06:52' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.3ms)
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2ac4e9732915a1745894296328c8dac4d491c4062f701f068da7a6a63fdb8a8fb91dbd77f455513e8692a030f180ad38845690ff56abf42a3ec002f99ef19e6f' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'DccyAiP8gJW6ovP7M2U' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 20:06:52', 'f5758b2eb0aae445417a52a01afabc4fafac1919e6f3f536317652b2b55f8ce5ba39fba8d5b9193c03167707e3f2702e4cef0c50537c71603e529e6826bdcfb9', '2012-11-27 20:06:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:06:52', 'testuser', 1, 'Cax1hceLs84WXB2nzUIl', 'q6a3Gyl8Pxn8ClForNup', '2ac4e9732915a1745894296328c8dac4d491c4062f701f068da7a6a63fdb8a8fb91dbd77f455513e8692a030f180ad38845690ff56abf42a3ec002f99ef19e6f', 'DccyAiP8gJW6ovP7M2U', 1, NULL, '2012-11-27 20:06:52')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:06:52', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MpchwpS5DLek1ZtvSKQ', `updated_at` = '2012-11-27 20:06:52' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:06:52', 1, 200, 'Banner Set 7', '2012-11-27 20:06:52', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b67d305cf27dc35f0e98a66b3dbebecb840fedb95e1a053b8f0373b053412d68d34672b6d22110512ea2729315f4fbfdf1c27f753377da467882acd2f1580a01' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cXhP5DsF4fU0ZBctCO1' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:06:52', '78ea0875cac220ff12ec91a5f566f17213b217dd8ceb97c617105fac75050cf28fb2a3e79261e9f07e78ae8058c8ccf035af3a48e65ffb03157483fb1d739bc2', '2012-11-27 20:06:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:06:52', 'testuser', 1, 'f2i7kJ1Mkl3k598XNNgZ', 'WVTCa1FyqkjIqDvQdwAM', 'b67d305cf27dc35f0e98a66b3dbebecb840fedb95e1a053b8f0373b053412d68d34672b6d22110512ea2729315f4fbfdf1c27f753377da467882acd2f1580a01', 'cXhP5DsF4fU0ZBctCO1', 1, NULL, '2012-11-27 20:06:52')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:06:52', `last_login_ip` = '0.0.0.0', `perishable_token` = '6C51wmqGI7PC8UHZeP', `updated_at` = '2012-11-27 20:06:52' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "id"=>"20"}}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 1.0ms)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4cd48ddafb4512a96448550e42ff914cde8dbb6413e60d907365981ca32b4f5e6ae58f81a1aeccd65926312fe210d529c1703ea5f00e96ab7683512c22a1c44c' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Sa0xN1zNIprI5U0pNvU' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:06:52', '8a0873ce0e1cbf003214ce679dee57fd0b410af48ec54992ab62166bed4d59846178ad88af081b55933857b9ae95cdcfc9a46ee38acade4e7245204e2e2c679e', '2012-11-27 20:06:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:06:52', 'testuser', 1, 'gX0fPT2tPYSNr0orZe8', 'zYwQ4VG6VKRhKKoHVCul', '4cd48ddafb4512a96448550e42ff914cde8dbb6413e60d907365981ca32b4f5e6ae58f81a1aeccd65926312fe210d529c1703ea5f00e96ab7683512c22a1c44c', 'Sa0xN1zNIprI5U0pNvU', 1, NULL, '2012-11-27 20:06:52')
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4f54177b09038038b290f64a6fc9ca15e24c23f6e1bb7bf1ef11236e6776f2dd4667a0e87e3396f756af4e507421fbcc1571b98d88f757ef3e0be799263d1f8c' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yog55UMQzx7MhyzczDrq' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:06:52', `last_login_ip` = '0.0.0.0', `perishable_token` = 'S6u92I9VpqvX7iOAkj', `updated_at` = '2012-11-27 20:06:52' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:06:52', 1, 200, 'Banner Set 8', '2012-11-27 20:06:52', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.6ms)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '857736db016b1d1f5a31f5a968afe3cc79b2e5355db09576576afed724435afeab50a8705d55ee7afbbed053bde93a9e132cd3d4574a271b98d4aa93901cf064' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bav6puCefLssGWgXfx7Z' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:06:52', 'bacb0517cf11f64922a20671c0dc27938c4a86e47fc83e5101004442f0f3f5a6b14995d764bc6392dc884dad2edbebb1e4ef443ce3a744eb3f15e33fbaaa8940', '2012-11-27 20:06:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:06:52', 'testuser', 1, 'hbZhY4W2G2cLMYMXIBO9', 'R01rQOc0RdidXhhBz5Yl', '857736db016b1d1f5a31f5a968afe3cc79b2e5355db09576576afed724435afeab50a8705d55ee7afbbed053bde93a9e132cd3d4574a271b98d4aa93901cf064', 'bav6puCefLssGWgXfx7Z', 1, NULL, '2012-11-27 20:06:52')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:06:52', `last_login_ip` = '0.0.0.0', `perishable_token` = 'y6wYhvsVS54Dm7ayeJSD', `updated_at` = '2012-11-27 20:06:52' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:06:52', 1, 200, 'Banner Set 9', '2012-11-27 20:06:52', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:06:52' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 79ms (Views: 1.3ms | ActiveRecord: 5.0ms)
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.8ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '60eee058449d6dc988a3c9c691e3119a0b0e14826e39276b65d323e0f47bb1225806ce48c1ee52b7a3d8e5b355cc21815eeb7185ae4b2843cb13431cf1323900' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PhsEmgS4CbqWrqJAzOqu' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:07:34', '7e1e548eeb00bf89b7dd95b62ebde815e4847530da876686dda5685ba9c8a757adc85e349a649b426ce03de196a16197722a92de5a6f305aa7a3ef830c835d2e', '2012-11-27 20:07:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:07:34', 'testuser', 1, 'coDN3iogS2JnMnRJkq', 'XJisHnlwi8OGs2Mp0p6r', '60eee058449d6dc988a3c9c691e3119a0b0e14826e39276b65d323e0f47bb1225806ce48c1ee52b7a3d8e5b355cc21815eeb7185ae4b2843cb13431cf1323900', 'PhsEmgS4CbqWrqJAzOqu', 1, NULL, '2012-11-27 20:07:34')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:07:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ukxvKDVZumLRSyn28L8M', `updated_at` = '2012-11-27 20:07:34' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:34', 1, 200, 'Banner Set 1', '2012-11-27 20:07:34', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:34', 1, 200, 'Banner Set 2', '2012-11-27 20:07:34', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:34', 1, 200, 'Banner Set 3', '2012-11-27 20:07:34', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:34', 1, 200, 'Banner Set 4', '2012-11-27 20:07:34', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:34', 1, 200, 'Banner Set 5', '2012-11-27 20:07:34', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 58ms (Views: 49.4ms | ActiveRecord: 0.8ms)
- [1m[36m (2.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9afb1cfb30e7f80887df16b004a934a33be92f97717db300590f61ce5915100720600638052a75aab292fac22e42821c8578ed5c22723ae43e4b86a6b49f1879' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lLgMaQLGmG2qtOKKDFrW' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:07:34', '666bfc5b3f2c5f5cb0768b2283203f18e236be50a50f93efa17a2a22a81eb9e058910407d7477878e5b606efa5751fca467cd5cfb233d5efe9841986da7cb8a9', '2012-11-27 20:07:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:07:34', 'testuser', 1, 'GIc6qK0hO0wc4hNzMMZ9', 'IjnYK91AOKyGDzW9P', '9afb1cfb30e7f80887df16b004a934a33be92f97717db300590f61ce5915100720600638052a75aab292fac22e42821c8578ed5c22723ae43e4b86a6b49f1879', 'lLgMaQLGmG2qtOKKDFrW', 1, NULL, '2012-11-27 20:07:34')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:07:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EqHcXO42E9JhQbRPG44', `updated_at` = '2012-11-27 20:07:34' WHERE `spud_users`.`id` = 2[0m
+ [1m[36m (0.3ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:34', 1, 200, 'Banner Set 6', '2012-11-27 20:07:34', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 0.5ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3a75d6367fa4fbc8ac5c1e3981d297df083012b7e3f0b36fdff34b7a9735adf1f646bfc3ffcc58ff64f0ac23c220455ae43b233b18102b122908837522651f6b' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KDmPvnJkCy4L4ki59F' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:07:34', '24e78df67ba2c50b0ea50cfed6f8d627cfb4fe4a0e1db38b5cb2a93b72678107d0404fc1c5a7e1124d2c086956ebcb1eada15e526c21650907e82c5ff78bac96', '2012-11-27 20:07:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:07:34', 'testuser', 1, 'el2M3NzwjNgZu3VesGce', 'oJwhsv7vTYR409u3bqAT', '3a75d6367fa4fbc8ac5c1e3981d297df083012b7e3f0b36fdff34b7a9735adf1f646bfc3ffcc58ff64f0ac23c220455ae43b233b18102b122908837522651f6b', 'KDmPvnJkCy4L4ki59F', 1, NULL, '2012-11-27 20:07:34')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:07:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'eQMLlntGBfTnoBTJz', `updated_at` = '2012-11-27 20:07:34' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.3ms)
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '087cae8ec0f068c4185b07909258ae0a5b80ed8046136b3e8b78709d5080224876e07a352d35fe9ea5713de62db35c7207a3529ad9d138b3ed50a8df0c304238' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ATTVtru9D8zQBUUAx6mJ' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:07:34', 'd26b66d35fc8753ad5e451744964cd30e4175e305c03810abd13a32cc1a4680e11255491d08bb68daa32099c665cc702b417273360164726e86b963d8080c016', '2012-11-27 20:07:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:07:34', 'testuser', 1, 'lDAYZoOtWRnz7nwY3a1', 'dKjNCfn2P3wLLKE27ye', '087cae8ec0f068c4185b07909258ae0a5b80ed8046136b3e8b78709d5080224876e07a352d35fe9ea5713de62db35c7207a3529ad9d138b3ed50a8df0c304238', 'ATTVtru9D8zQBUUAx6mJ', 1, NULL, '2012-11-27 20:07:34')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:07:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'm0pZLMLPjCnyYI9fGVvK', `updated_at` = '2012-11-27 20:07:34' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:34', 1, 200, 'Banner Set 7', '2012-11-27 20:07:34', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.7ms | ActiveRecord: 0.9ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1d0ce6ad3239fb0edc0166edc46b0189e815d061ddf428dfc5eb40db1802a28d551604669ee475cfc849db0fb5095412f97d55cf1fc055527eb58274d5ef4e36' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'C37Rowuz5QsNN3GHw2o' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:07:34', '7ca6db40ea3fa34a922fd164b5e72711d105c109f2aa34ab0a9b4c6fa0b0bd0b801f0986ca0364365dfbdc00317ca5d61b21f0d6f67581515d386a8de128be01', '2012-11-27 20:07:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:07:34', 'testuser', 1, '077ClXxlaoH8KPRkps9l', 'l9JwpjXjwXw7F5lRvg8', '1d0ce6ad3239fb0edc0166edc46b0189e815d061ddf428dfc5eb40db1802a28d551604669ee475cfc849db0fb5095412f97d55cf1fc055527eb58274d5ef4e36', 'C37Rowuz5QsNN3GHw2o', 1, NULL, '2012-11-27 20:07:34')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:07:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vSqZj2RFw4oZSjTOmP', `updated_at` = '2012-11-27 20:07:34' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "id"=>"20"}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 12ms (Views: 1.0ms | ActiveRecord: 0.9ms)
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0b3c66526971cd94783118c0ee683e65f585f11ecc2620949e05f20cf8753d9bb9c4852d2e28e751b00a8252e2d72e27effc421244560ca9a1b4f18942a0d8e7' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BK9geKsuZa7h90GMj' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:07:34', '310bd33c1cc2b8712acba1533b2f74c16b8f50af10aa2fd9601d97696770fae28c9ebff757d2bc2e770e3d7fc40de5bdc8f1975c99d9ff83df98d542498c5301', '2012-11-27 20:07:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:07:34', 'testuser', 1, 'fkUVcrwLO08uG3xS2pGd', 'POv2z8qErPHUIjNUWzv9', '0b3c66526971cd94783118c0ee683e65f585f11ecc2620949e05f20cf8753d9bb9c4852d2e28e751b00a8252e2d72e27effc421244560ca9a1b4f18942a0d8e7', 'BK9geKsuZa7h90GMj', 1, NULL, '2012-11-27 20:07:34')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:07:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gw1gBRcmDmY0VA7zELpb', `updated_at` = '2012-11-27 20:07:34' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:34', 1, 200, 'Banner Set 8', '2012-11-27 20:07:34', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.5ms)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7cefa61e4af828aadbd8d72e5e675ff03b817405c91f5957d075487600f82b19bf8d1d2abc40b56cb8c1f3ec73111a3838d5f0f670dbbf66ef5548a8e0dd9dcd' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FpwZcVrdxG5XaQgjXUtK' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:07:34', 'b4676b1ab4914b0d6a1e4289f06f0121bcfda2275db628c2bc35ca366478cfb5db0e1396a1d18b23af4c5ecdfb13f6904c5479ca20c24361b85ade6648a20532', '2012-11-27 20:07:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:07:34', 'testuser', 1, 'BDJOEXfJ5S0DiA39iJpF', 'sSSKCIbRSD5qqWg9E5A', '7cefa61e4af828aadbd8d72e5e675ff03b817405c91f5957d075487600f82b19bf8d1d2abc40b56cb8c1f3ec73111a3838d5f0f670dbbf66ef5548a8e0dd9dcd', 'FpwZcVrdxG5XaQgjXUtK', 1, NULL, '2012-11-27 20:07:34')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:07:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'oXo5Bbduw2XbttPBmzwn', `updated_at` = '2012-11-27 20:07:34' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:34', 1, 200, 'Banner Set 9', '2012-11-27 20:07:34', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:07:34' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 76ms (Views: 1.2ms | ActiveRecord: 4.3ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.9ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '44649d42223a8485b13ec67fdd8f980a762ff197e3088379cbd02135430e1d4e70dcc87bb312132bae07bc1c9b80467b04ac36faedff8b4d92fd7d67ee3e1f3b' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pntFTuqq8e9P7jHOCahK' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:07:47', 'a89684c2e78a0fab3faa58ca4d38bbc554a4925f4b180ef1f27ebb5ef474a71e24d53ef42b9742a14002f4cca0c20bf379ecbe2c2f599eefec7b4153af42ba03', '2012-11-27 20:07:47', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:07:47', 'testuser', 1, 'UZGl1HdlOob91KoiJZ48', 'x7zGXNbdSWn5UhtgYcXl', '44649d42223a8485b13ec67fdd8f980a762ff197e3088379cbd02135430e1d4e70dcc87bb312132bae07bc1c9b80467b04ac36faedff8b4d92fd7d67ee3e1f3b', 'pntFTuqq8e9P7jHOCahK', 1, NULL, '2012-11-27 20:07:47')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:07:47', `last_login_ip` = '0.0.0.0', `perishable_token` = '20yLcTtUL7AR7XVOxXy', `updated_at` = '2012-11-27 20:07:47' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:47', 1, 200, 'Banner Set 1', '2012-11-27 20:07:47', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:47', 1, 200, 'Banner Set 2', '2012-11-27 20:07:47', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:47', 1, 200, 'Banner Set 3', '2012-11-27 20:07:47', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:47', 1, 200, 'Banner Set 4', '2012-11-27 20:07:47', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:47', 1, 200, 'Banner Set 5', '2012-11-27 20:07:47', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 61ms (Views: 51.6ms | ActiveRecord: 0.6ms)
- [1m[36m (2.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '468e746ec796153c4d7ce00ace7b4810e22cb5885f4a25e37ed52e70a99b3907ad1e3c0d9d2b3e481d75c2dcd0911846547e033d3077d578fff1b13331450ff7' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kuxU28iIcP1tcdjg8af' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:07:48', '9270b05d0a1d9475ff08960f2e3a5731fddd5a9b242ba9a2b13b254a5d61101f3cfd3e327affed0d120f8582bfddc07f4265f5320de2613925f2a3d0a7e94df4', '2012-11-27 20:07:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:07:48', 'testuser', 1, 'JaGfOKOX2ArchsQt897', 'ifGoX4zSQqFsGKxTfc', '468e746ec796153c4d7ce00ace7b4810e22cb5885f4a25e37ed52e70a99b3907ad1e3c0d9d2b3e481d75c2dcd0911846547e033d3077d578fff1b13331450ff7', 'kuxU28iIcP1tcdjg8af', 1, NULL, '2012-11-27 20:07:48')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:07:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ErkgjeKmsiDQeitjTw', `updated_at` = '2012-11-27 20:07:48' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:48', 1, 200, 'Banner Set 6', '2012-11-27 20:07:48', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.0ms | ActiveRecord: 0.5ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '90fdd57e8bf13aa8ad0846a2715db5be9cd1cc1bb19a8bb855597911ad06ee0128ab29025e43339368160b430ce71815e39faf87581f820acfeb64577eb8de6a' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4tOITEDfNJ7flYdjAgY' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:07:48', '179cf5cff6941404ac3c39a7cd69b1a6ad4dd671595de33c1eea0d78c60711222989252ffece34bdb512260d5b6977d4f745510130fe829b2f3c501e281f625b', '2012-11-27 20:07:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:07:48', 'testuser', 1, 'MhSJZuyxCnzQCRrTo3U', 'FvhcxiKVXY0lb6gK5', '90fdd57e8bf13aa8ad0846a2715db5be9cd1cc1bb19a8bb855597911ad06ee0128ab29025e43339368160b430ce71815e39faf87581f820acfeb64577eb8de6a', '4tOITEDfNJ7flYdjAgY', 1, NULL, '2012-11-27 20:07:48')
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'beb9c3efb91d656997c49bfa42bf4a73b74fafa368c94a4fa24f2b51e9bc8844b4e9a0c1edf8c059d01ef41fce3c6513cde412a36fb8471638e7eb84fa2af440' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1IHWil6iyT3nkzhi0nxt' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:07:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'V1hEpnakYHaDipXl1op', `updated_at` = '2012-11-27 20:07:48' WHERE `spud_users`.`id` = 3[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
+Processing by Spud::Admin::BannerSetsController#show as HTML
+ Parameters: {"id"=>"-1"}
[1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (1.9ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'dba57bb7b6b453ba4e338102e75ea3ea042fe1a5ef2b5d770f5afaa5da15b1400832968cb4e43049924519b6b8af71f6fdde47b2b4b1f968a7b49cd569a48789' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'D4OELTIzHuPaZFU7yK' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:07:48', '20c57c4722db255ed114cf1db1de8f60464313ff174fea1bf11a31278353ead08962dea5d78b439a02cd902eb71a76f8b41a86f32d839d8d2ffe2e55bee5bc80', '2012-11-27 20:07:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:07:48', 'testuser', 1, 'UWTw7VBIbSKwq0EiMuA', 'ltgCy9ILtQRlVHpGpfdV', 'dba57bb7b6b453ba4e338102e75ea3ea042fe1a5ef2b5d770f5afaa5da15b1400832968cb4e43049924519b6b8af71f6fdde47b2b4b1f968a7b49cd569a48789', 'D4OELTIzHuPaZFU7yK', 1, NULL, '2012-11-27 20:07:48')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:07:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qAvKbQncHqeANe5x26', `updated_at` = '2012-11-27 20:07:48' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:48', 1, 200, 'Banner Set 7', '2012-11-27 20:07:48', 600)
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 1.1ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
+Looking for banner set with id: -1
+ [1m[35mSpudBannerSet Load (0.2ms)[0m 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)
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fea7a32e8ae98acba4a48ca2192d682e6dd484c116d5c66b18be90809b3ad51fb5414cd87a7cbf5482c86c152bfb4bb93bdbbcdf7932f41974ad5e53d1963603' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gkxu9ABlFNtlFFSD3oNw' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:07:48', '7fdf435e4afbf857ae6372d9000e76cc603f5e7821170adb69035782a158ddfe57291c2705193009da0fefba3afaf7c43a085f788cd72de8d747aa0d16b7b858', '2012-11-27 20:07:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:07:48', 'testuser', 1, '1Tge61glBFAu4fIdDtyc', 'r0Av5buoRBJgLsdvtCSJ', 'fea7a32e8ae98acba4a48ca2192d682e6dd484c116d5c66b18be90809b3ad51fb5414cd87a7cbf5482c86c152bfb4bb93bdbbcdf7932f41974ad5e53d1963603', 'gkxu9ABlFNtlFFSD3oNw', 1, NULL, '2012-11-27 20:07:48')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:07:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MDMfM9sItU7sXSPDlE', `updated_at` = '2012-11-27 20:07:48' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>""}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 12ms (Views: 1.1ms | ActiveRecord: 0.9ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4a583f2985957600142f02dc4a83563a7d4d9b5660e4816ea763b767f39e5b64ea68a2a7fbce434d87c1647be977d643b53c11473e83c5ef4d99f29297205f1b' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HgBM9kD0GfULWmbtNZ' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:07:48', 'e2af10582adb024381ea523fc3e448553848d28674099c8d3b702189e1199d63e701282d59396488df28580e7e693ad579337a69e00a301bd30e96f988230a65', '2012-11-27 20:07:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:07:48', 'testuser', 1, 'Ue5pNdNbgUTyqpmvczU', 'isNXSitDADN9vCEQENWX', '4a583f2985957600142f02dc4a83563a7d4d9b5660e4816ea763b767f39e5b64ea68a2a7fbce434d87c1647be977d643b53c11473e83c5ef4d99f29297205f1b', 'HgBM9kD0GfULWmbtNZ', 1, NULL, '2012-11-27 20:07:48')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:07:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'b9yqQmWP5bBDoPCC7Glj', `updated_at` = '2012-11-27 20:07:48' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:48', 1, 200, 'Banner Set 8', '2012-11-27 20:07:48', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.5ms)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ef50ba22102ce494567b3c6eead28b80ab7b5e1a488a7cd0aa231f9a0cec9c3a495de4e2787d2eba5be90c2159f159c2bf1c10e35759a5774aa090ca2f4ec4b0' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VTCletUHWIlXvKp7mw5' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:07:48', 'a2dfc830de95ab1ec628eb7173001cf700b0df733cc6ef2d57c7274e508369fe4e2e759881c8bb016ed4159a62027f3455e858b9b74b812d9c2811be0643bfd3', '2012-11-27 20:07:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:07:48', 'testuser', 1, 'oiBB89pTeL393b9UBFil', '2cHbmNbHMVGqwGKz4g2', 'ef50ba22102ce494567b3c6eead28b80ab7b5e1a488a7cd0aa231f9a0cec9c3a495de4e2787d2eba5be90c2159f159c2bf1c10e35759a5774aa090ca2f4ec4b0', 'VTCletUHWIlXvKp7mw5', 1, NULL, '2012-11-27 20:07:48')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:07:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'M0wCc7tOEslv9ZXKxELj', `updated_at` = '2012-11-27 20:07:48' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:07:48', 1, 200, 'Banner Set 9', '2012-11-27 20:07:48', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:07:48' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.2ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 76ms (Views: 1.2ms | ActiveRecord: 4.4ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd1eefe1c107c533afa910157bf9dabace76c8a38258e9c38d983a7e6df9c1eb50fd84c7037ed9ded23d4904c4dbb9f40ec611058589bc2565b256ac076f79065' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fgGZljGDhNiAQCpeu557' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:08:00', '7235d40d0fb2e898a8c37b56f5aec979732f26377babc947ec35c8ef457fb46f084207b6b303bda6fa025f2c5a46edbb6457532e777db8ccd626a6a67a684efa', '2012-11-27 20:08:00', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:08:00', 'testuser', 1, '9gMaFQxGeD0oouIUsam7', 'bSFVc9srIqbqlhsnxi7f', 'd1eefe1c107c533afa910157bf9dabace76c8a38258e9c38d983a7e6df9c1eb50fd84c7037ed9ded23d4904c4dbb9f40ec611058589bc2565b256ac076f79065', 'fgGZljGDhNiAQCpeu557', 1, NULL, '2012-11-27 20:08:00')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:08:00', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VVSk0XFRFvw8H1uLmMFi', `updated_at` = '2012-11-27 20:08:00' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:00', 1, 200, 'Banner Set 1', '2012-11-27 20:08:00', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:00', 1, 200, 'Banner Set 2', '2012-11-27 20:08:00', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:00', 1, 200, 'Banner Set 3', '2012-11-27 20:08:00', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:00', 1, 200, 'Banner Set 4', '2012-11-27 20:08:00', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:00', 1, 200, 'Banner Set 5', '2012-11-27 20:08:00', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 59ms (Views: 49.5ms | ActiveRecord: 0.6ms)
- [1m[36m (2.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2835b11464d379e8c1cd480bc1c42b5e8034b92dba3c97fadaff8ccddbcf3c08706138c5e0a4923adbcd5d1ec96c63bd69b000d6b2302880d5551304745c6828' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6vR5pqcR39GqJ7WlNPE' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:08:00', '04d8c3967174ff497f1b04afd7e3b595848db5003062bb802adbde6c5f056f5d34c97eb191c19c2c0c9d4dd868fb5cadcc3b70a6a1793a97d8ce18140438bd68', '2012-11-27 20:08:00', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:08:00', 'testuser', 1, 'kx7zIHq0IPgz57irZba', '0glyhS3SNyNUJXbanZX', '2835b11464d379e8c1cd480bc1c42b5e8034b92dba3c97fadaff8ccddbcf3c08706138c5e0a4923adbcd5d1ec96c63bd69b000d6b2302880d5551304745c6828', '6vR5pqcR39GqJ7WlNPE', 1, NULL, '2012-11-27 20:08:00')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:08:00', `last_login_ip` = '0.0.0.0', `perishable_token` = 'giaZececWu6hjg4Pkpx3', `updated_at` = '2012-11-27 20:08:00' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:00', 1, 200, 'Banner Set 6', '2012-11-27 20:08:00', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 0.6ms)
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c54ae804c500ec944b512238e23a595ad394f5ec2a9243779cee6fd9da628925e9c263c6a7cb3bfa3eb4d2d52bae6184d5769062a21ef722138aa3643fa8e593' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0OAKarw46jk9bmLI14qb' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:08:00', '2fe1a95848073b71c7f54fd40a959349780eae7c6dd5bd84dfbe16345cf4e91a971e665d8e44be8d64eb53b926d84e5083c7ceb64abed9faab32341762e66f0a', '2012-11-27 20:08:00', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:08:00', 'testuser', 1, 'SD1XiM8xZzNoD34ggdTK', 'vgDKvHZsTAMJlkiyvA9s', 'c54ae804c500ec944b512238e23a595ad394f5ec2a9243779cee6fd9da628925e9c263c6a7cb3bfa3eb4d2d52bae6184d5769062a21ef722138aa3643fa8e593', '0OAKarw46jk9bmLI14qb', 1, NULL, '2012-11-27 20:08:00')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:08:00', `last_login_ip` = '0.0.0.0', `perishable_token` = '6kpnpTc8FYtkui6TKi', `updated_at` = '2012-11-27 20:08:00' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.4ms)
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b51f5ad8dc01fc73c3d913ad4d0d27ee7e8de1e9d7363f3036cc13beb641332b07fca3d15458f3276a7774a5455dc09da831267b0d7da594876e64e12044272f' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dHKdPKecy5UgLd3Lea21' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:08:00', 'c6f9e6939dee99bb1899aaafb661d5600618830b026ed7209a75afdb29d23e3f2d056373ecce67ae5d8694a8ec4a2ecd241c518c65556b441fbe17439ceef3a2', '2012-11-27 20:08:00', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:08:00', 'testuser', 1, 'hxLHqFyu0cUX8uoHD01d', 'pzns5SgLBfLQCWm2ChYz', 'b51f5ad8dc01fc73c3d913ad4d0d27ee7e8de1e9d7363f3036cc13beb641332b07fca3d15458f3276a7774a5455dc09da831267b0d7da594876e64e12044272f', 'dHKdPKecy5UgLd3Lea21', 1, NULL, '2012-11-27 20:08:00')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:08:00', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qMfJZepPDWZyDconhrAR', `updated_at` = '2012-11-27 20:08:00' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:00', 1, 200, 'Banner Set 7', '2012-11-27 20:08:00', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.7ms | ActiveRecord: 1.1ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a2b638c5e51928dcf82c4633fda7fddfc185d66d3245d0fb0ec06fef6cd005c06df4e8024f3adac3acd412326e3ca9da169ee337c6c953d4712dbfdbd997abe6' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yPxIZPvxWkDvsmtXwkfa' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:08:00', 'f3fbda19861376997a037319168c03cd98fcf7375a9c974f5112fe194bf0ce1f7cc465c1597098a1e7fe52afc3684e53708be0d91d906cbc7d24758ee7f643a6', '2012-11-27 20:08:00', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:08:00', 'testuser', 1, 'UiJRd6EHlmNXfKELnzmw', '00Pe77c5A0QoejeHPPvW', 'a2b638c5e51928dcf82c4633fda7fddfc185d66d3245d0fb0ec06fef6cd005c06df4e8024f3adac3acd412326e3ca9da169ee337c6c953d4712dbfdbd997abe6', 'yPxIZPvxWkDvsmtXwkfa', 1, NULL, '2012-11-27 20:08:00')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:08:00', `last_login_ip` = '0.0.0.0', `perishable_token` = 'g7qPKj85Xjk82luArzfK', `updated_at` = '2012-11-27 20:08:00' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Hello World"}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Hello World' LIMIT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 11ms (Views: 1.0ms | ActiveRecord: 0.8ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '26682e3ed5b4c1e702d8ceb80425880a40e8dc7327e99064cac90585858ab406054f3cb2a1f3a75d1b22a7a96df6fc3e1ecb613510e81e3c4ce87aa3ea14d5a1' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'a9hpNJJ2ad0YOCQIjrY' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:08:00', 'e0a5e1d9778ce67a7e8d6d8351a2865b296677fb14328a5430cb5358e6097486d72fd0ab98deb412ec98f7e3e6a570e6676dcf8d1db7a8d0d16fc1e2bb505782', '2012-11-27 20:08:00', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:08:00', 'testuser', 1, 'GnXT8MARsEVVpOxuWCNN', 'KL71KzaAVCCI5a7Ocg', '26682e3ed5b4c1e702d8ceb80425880a40e8dc7327e99064cac90585858ab406054f3cb2a1f3a75d1b22a7a96df6fc3e1ecb613510e81e3c4ce87aa3ea14d5a1', 'a9hpNJJ2ad0YOCQIjrY', 1, NULL, '2012-11-27 20:08:00')
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '45c2f9adc815d7acf9d706831f140533b51f554d427a4d0fe86482722e214682134bd2a422a7097c442cb1c03a189902ec1aa9524d191eca62aefe9acefe5282' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EMftPbi51IVKf99nhYdJ' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:08:00', `last_login_ip` = '0.0.0.0', `perishable_token` = 'K7FtTrWokBuHZvtJxahG', `updated_at` = '2012-11-27 20:08:00' WHERE `spud_users`.`id` = 6[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:00', 1, 200, 'Banner Set 8', '2012-11-27 20:08:00', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.7ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '32cac6e50367a543522ef626f8d100b8309cba6200594596a88a3422e85b74e6e5b4bb6b683b70ee3d6e9367a01ffc71b85740066b4faac1e5fff703c1ea3d72' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cG3vtylIbzuaPEQvZAvF' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:08:00', '8ba40e4c104a63bf1f8208ab328e8cc8920ea76b3ff4df3515878c2dbdbd06b32864e5de438fa7f2421416ca0dd1d7dcaf5041488f412f247545787402ba8361', '2012-11-27 20:08:00', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:08:00', 'testuser', 1, 'QBg45969IibLrKILF', 'gQTkzauSA4oBWnlF3GZM', '32cac6e50367a543522ef626f8d100b8309cba6200594596a88a3422e85b74e6e5b4bb6b683b70ee3d6e9367a01ffc71b85740066b4faac1e5fff703c1ea3d72', 'cG3vtylIbzuaPEQvZAvF', 1, NULL, '2012-11-27 20:08:00')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:08:00', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Pw26KVnX9SImBtYOmSoM', `updated_at` = '2012-11-27 20:08:00' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:00', 1, 200, 'Banner Set 9', '2012-11-27 20:08:00', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:08:00' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 85ms (Views: 1.2ms | ActiveRecord: 5.7ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.8ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'db3b0a853585fd19db42943ae137192549b548fb030c677b0dfaf76d0980ce9190db9311e56693f79b04a7fd67a2f39b076416d1dedc246e1dfc278e4a96cc62' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SVmR9a5lAxTFNntgCfE2' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:08:16', '8e226597c133846d37a1c651c7f201c4688d840176f09b031e631ad24d70f4783a21ad5b8f83003f3f294a1dac68caf1dd08c5789490fae6145240f0b8f734ae', '2012-11-27 20:08:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:08:16', 'testuser', 1, 'yJRFbFdgORS5t0VRgQb', 'OHhHx3fOe7Aje3k9MhLS', 'db3b0a853585fd19db42943ae137192549b548fb030c677b0dfaf76d0980ce9190db9311e56693f79b04a7fd67a2f39b076416d1dedc246e1dfc278e4a96cc62', 'SVmR9a5lAxTFNntgCfE2', 1, NULL, '2012-11-27 20:08:16')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:08:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'm6i0jbu35pv6iKmkP2E', `updated_at` = '2012-11-27 20:08:16' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:16', 1, 200, 'Banner Set 1', '2012-11-27 20:08:16', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:16', 1, 200, 'Banner Set 2', '2012-11-27 20:08:16', 600)[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:16', 1, 200, 'Banner Set 3', '2012-11-27 20:08:16', 600)[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:16', 1, 200, 'Banner Set 4', '2012-11-27 20:08:16', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:16', 1, 200, 'Banner Set 5', '2012-11-27 20:08:16', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (3.0ms)
-Completed 200 OK in 61ms (Views: 51.4ms | ActiveRecord: 0.6ms)
- [1m[36m (2.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f31ac334e1db391f20964ad1369be054e522ea794b80ae98ce98e4e46de98e2d45ee698b13754ebba4c1d5277c21553436fa973d0077cd817a9f8ec9b92a11ea' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sHlnLnBKzT533AWgtw07' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:08:16', 'af7a05dc9ed170c60a11bad16fe3a22ed4c397f5f14a30e99a864391ab02db8d7c5768b0e340225d5c01e61617e3a46c3093e20a3584627730c5cf8c10d50c2a', '2012-11-27 20:08:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:08:16', 'testuser', 1, 'MJmtd7ZkIn3ArMaFi3b', 'IkM33Nz8nc0xSHPTPSyK', 'f31ac334e1db391f20964ad1369be054e522ea794b80ae98ce98e4e46de98e2d45ee698b13754ebba4c1d5277c21553436fa973d0077cd817a9f8ec9b92a11ea', 'sHlnLnBKzT533AWgtw07', 1, NULL, '2012-11-27 20:08:16')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:08:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'UsItTkBn0xg9I4CIqPEs', `updated_at` = '2012-11-27 20:08:16' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:16', 1, 200, 'Banner Set 6', '2012-11-27 20:08:16', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.5ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5b4890125eeba7c61f4ebad039e8353e04ec3a741370ee5a79325080212b3eebbd75e61b5d50f255475254f99d553e5f17015d4f5aec61d3c8f1f4a4bcd87e12' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Pop8PmEpASpqYZPLQuML' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:08:16', '3cd6950697a24f540ea37edad8e0f4e3d995217957832657607866d9c0c1fed20b88897ae6362d49594e277c0eec3ea222e55c427fed3108c2aa59f776b3924c', '2012-11-27 20:08:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:08:16', 'testuser', 1, 'NLcDLgmXVaxTyqMnZtTy', 'zwRGSotNbGZK3DLmoYb', '5b4890125eeba7c61f4ebad039e8353e04ec3a741370ee5a79325080212b3eebbd75e61b5d50f255475254f99d553e5f17015d4f5aec61d3c8f1f4a4bcd87e12', 'Pop8PmEpASpqYZPLQuML', 1, NULL, '2012-11-27 20:08:16')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:08:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'BSq7euBQhXTf8h30nzhX', `updated_at` = '2012-11-27 20:08:16' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.3ms)
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2752aba44e3789f11a7305173936b86546169e72614b57f5bf97b70be69cf1b89cc9e558a19c1144c2ccb8236dec7adb6a7c9a8977075cdca8a06ca09ab4c427' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tzdOvY2UQzHTetUBLIW' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:08:16', '60f196ee860b3e58fe10d285e6e50e572a74da887ee146bbd7048ae60428d161e3176e0342808c721da9bc466087b1339eb501c877b3da6a709645a80b9a7fff', '2012-11-27 20:08:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:08:16', 'testuser', 1, 'BbSmUvzXPcr5fNr72XOW', 'nuE6eZEgWeNMLPs5ahL', '2752aba44e3789f11a7305173936b86546169e72614b57f5bf97b70be69cf1b89cc9e558a19c1144c2ccb8236dec7adb6a7c9a8977075cdca8a06ca09ab4c427', 'tzdOvY2UQzHTetUBLIW', 1, NULL, '2012-11-27 20:08:16')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:08:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'OTToWyMg9s51HXBb1Uq', `updated_at` = '2012-11-27 20:08:16' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
[1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:16', 1, 200, 'Banner Set 7', '2012-11-27 20:08:16', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.2ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9fc38b8063c90042433215377e96b798d22a4ad8b479561281779ce0647a3c46856dd0e55c295ba912fdf9bfac79aee7806dffd07ac813087d6463b8ea94d60d' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TaMCpX8cbz7o95sX4h' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:08:16', '9888a6246c5a1dafc691538490afa280f201e31dae060a014e6faaf03a9c5a2fae98be9245e8dd925826bf873dd8b91dffe54976cabd0dc26139ff45a78723ba', '2012-11-27 20:08:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:08:16', 'testuser', 1, 'ngo76RJRD6TGrpMK603C', 'Fai1fIwNTegNPjpIZc', '9fc38b8063c90042433215377e96b798d22a4ad8b479561281779ce0647a3c46856dd0e55c295ba912fdf9bfac79aee7806dffd07ac813087d6463b8ea94d60d', 'TaMCpX8cbz7o95sX4h', 1, NULL, '2012-11-27 20:08:16')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:08:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ctQorn7lAW05t7e2OHJW', `updated_at` = '2012-11-27 20:08:16' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Hello World", "width"=>"100", "height"=>"100"}}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Hello World' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:16', 1, 100, 'Hello World', '2012-11-27 20:08:16', 100)
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 10ms (Views: 1.0ms | ActiveRecord: 1.4ms)
- [1m[35m (0.5ms)[0m ROLLBACK
+Completed 200 OK in 11ms (Views: 8.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '03e6f0fa913fd38dc8e6e2d9b4204d7aa016571ad0a6782a10773f194d4bab01e64e5920b5afd1b48ded95e2b95d6656be9a45a10145b5405521eac344470276' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'IRQsJlIb7xSi03zLYOZx' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:08:16', '0ead8de7d68039d3a3498cfc64ff9f633cad1464615cc96ad2b14deda383edf2d784058c9ff9368eb7e3de96077e942cf6b4f71fb3da82f635cee0e5bd0c6d49', '2012-11-27 20:08:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:08:16', 'testuser', 1, '3gGBH8kyjyrPiXqtZjTy', 'X97gJEQRsLioj9xC4Eiv', '03e6f0fa913fd38dc8e6e2d9b4204d7aa016571ad0a6782a10773f194d4bab01e64e5920b5afd1b48ded95e2b95d6656be9a45a10145b5405521eac344470276', 'IRQsJlIb7xSi03zLYOZx', 1, NULL, '2012-11-27 20:08:16')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:08:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Rx93LK9BAnZeG35SzCh', `updated_at` = '2012-11-27 20:08:16' WHERE `spud_users`.`id` = 6
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:16', 1, 200, 'Banner Set 8', '2012-11-27 20:08:16', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"9"}
- [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
-Looking for banner set with id: 9
- [1m[36mSpudBannerSet Load (0.3ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1[0m
-Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.7ms)
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8b9a89a375f1353d6fef49dde69ca0766fea6d7b1c5a5c1ab1051e82db12e456e30ffd5cdd76cb08a9d29476111c0cd246191ba482960e652f1ee25994cf21a0' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HreAtm9Jz8AmbNTustK' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:08:16', '86f4f5074fde5aef661b4842062beabbcb1dfdd01d3aaa3444cdb5a35999d819ddcbee44931770bae86f7c54222c5e6e4684ed8aff9c6215ddfe1a9b37d037a4', '2012-11-27 20:08:16', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:08:16', 'testuser', 1, '50DqGHgYaOY05LLRf53Q', '5nUiTIi0zzXSXrcHqT1', '8b9a89a375f1353d6fef49dde69ca0766fea6d7b1c5a5c1ab1051e82db12e456e30ffd5cdd76cb08a9d29476111c0cd246191ba482960e652f1ee25994cf21a0', 'HreAtm9Jz8AmbNTustK', 1, NULL, '2012-11-27 20:08:16')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:08:16', `last_login_ip` = '0.0.0.0', `perishable_token` = 'OMrDp7fjHOOOTKAEKCvK', `updated_at` = '2012-11-27 20:08:16' WHERE `spud_users`.`id` = 7
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:08:16', 1, 200, 'Banner Set 9', '2012-11-27 20:08:16', 600)
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"10"}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
-Looking for banner set with id: 10
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 10) LIMIT 1[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:08:16' WHERE `spud_banner_sets`.`id` = 10
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35mSpudBanner Load (0.2ms)[0m SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 10 ORDER BY sort_order asc
-Completed 200 OK in 79ms (Views: 1.2ms | ActiveRecord: 5.0ms)
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1[0m
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.5ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.8ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a3b31fb91b88ad707141bf36f55af55760e957b1025d06dc5cc0930a7fd08f7ace7b4f39dad8c813959cabaa66f217aaaaf93f5389aea6788ed9a187aceeb48d' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KJP8uirdXRJdlfqFfIK2' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:09:06', 'e7e67dc9d1b02ea30d09fd3b34be2a48bf2bd35d630624b78638a89c8c14d70a0d56b4215c9e62fb25038fd9bcf6d5156b51ddad2d60dadc019af634dc4485a3', '2012-11-27 20:09:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:09:06', 'testuser', 1, 'm5fAtL1pKNA1T0u8aRsV', 'vf35UNBGH69k9hKZr8Vq', 'a3b31fb91b88ad707141bf36f55af55760e957b1025d06dc5cc0930a7fd08f7ace7b4f39dad8c813959cabaa66f217aaaaf93f5389aea6788ed9a187aceeb48d', 'KJP8uirdXRJdlfqFfIK2', 1, NULL, '2012-11-27 20:09:06')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:09:06', `last_login_ip` = '0.0.0.0', `perishable_token` = '0SRuiLyvTBAq3KNE87de', `updated_at` = '2012-11-27 20:09:06' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:06', 1, 200, 'Banner Set 1', '2012-11-27 20:09:06', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:06', 1, 200, 'Banner Set 2', '2012-11-27 20:09:06', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:06', 1, 200, 'Banner Set 3', '2012-11-27 20:09:06', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:06', 1, 200, 'Banner Set 4', '2012-11-27 20:09:06', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:06', 1, 200, 'Banner Set 5', '2012-11-27 20:09:06', 600)[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9c33b29c865fa315041d17bd4742d897e849c0a31d5c96c04c85e4413e068ed1d9689860d58860d486b22cfa5d486c1d6fe7de1563a2428a421f3e5e4218e929' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qHkQtG61mV6alMsOVYKN' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.8ms)
-Completed 200 OK in 61ms (Views: 51.5ms | ActiveRecord: 0.6ms)
- [1m[36m (2.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b7df6b811e28e517a363986e5c7eeecccb128824897e4b9a83cf0e9c4cd49c2368da283331e1a0898f5da59b40c810d3bd42aef13c5b278a0343c36c559b0d78' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KDPDG34kVAYikYSJVReV' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:09:06', 'f39eb0469df1c8dc6e830fb1f93146db286dbd4e707c6a554b301bcfc1d37edcc8fe28b5d05a435237a9a4112fdb64936c3f78b47ea97c0227a96f01bba633ff', '2012-11-27 20:09:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:09:06', 'testuser', 1, 'kmYKb7KnKuJwJGX9t5IV', 'F4VpGZsweKdZTxmMzpc', 'b7df6b811e28e517a363986e5c7eeecccb128824897e4b9a83cf0e9c4cd49c2368da283331e1a0898f5da59b40c810d3bd42aef13c5b278a0343c36c559b0d78', 'KDPDG34kVAYikYSJVReV', 1, NULL, '2012-11-27 20:09:06')
+ [1m[35m (0.3ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:09:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'pyhcjI5EPMvAAsoOem', `updated_at` = '2012-11-27 20:09:06' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:06', 1, 200, 'Banner Set 6', '2012-11-27 20:09:06', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.5ms)
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b15a489487673f383c9df5a4d956849d2b8d8529067d3b148c267e3f0669ce025e60285283a6eb112d839970f6586b5e7904d8cd048b3956ae59382ce7f08c83' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6C15lx83r4bTQZYR2ZB' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:09:06', '39daa2953702a2ce8109285ab45181acd433fcdba5740aaf391682f7aebc8bc1bb67ea0c46819fb06b97a3e5ef4ee0301add3ae6827fccf3fc39d59bf58f57dc', '2012-11-27 20:09:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:09:06', 'testuser', 1, 'giOzsrQiXeh66vNqjR6q', 'RvP6Q2gsGOPzw7PqD7', 'b15a489487673f383c9df5a4d956849d2b8d8529067d3b148c267e3f0669ce025e60285283a6eb112d839970f6586b5e7904d8cd048b3956ae59382ce7f08c83', '6C15lx83r4bTQZYR2ZB', 1, NULL, '2012-11-27 20:09:06')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:09:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'CCQpm5hd5paIy0yCb82c', `updated_at` = '2012-11-27 20:09:06' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.3ms)
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6e20286a9f2c9253ee622d667ff91f25d2f32dc65aaeba5ccedb77270df6cc92eed362a6b7cf462ffbe1fd40250de5163e5167520e08377b794dcbc3058e553c' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OU1fG4fDLmn5FdJVbfJh' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 20:09:06', '4fb2dac9eb4e6fca99e429b4391871c43a033467f1251c57a081ea24d11df18402eeb1055cab5dd92f6d03ac1a96b6e6914608e3a790ead158e8a2d116281707', '2012-11-27 20:09:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:09:06', 'testuser', 1, 'FkCQJnjDrGm7Cg5GivSu', 'paTOM7MOJcPbNc9pTjP', '6e20286a9f2c9253ee622d667ff91f25d2f32dc65aaeba5ccedb77270df6cc92eed362a6b7cf462ffbe1fd40250de5163e5167520e08377b794dcbc3058e553c', 'OU1fG4fDLmn5FdJVbfJh', 1, NULL, '2012-11-27 20:09:06')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:09:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'zpFCWoeDJDkpLsyplx4h', `updated_at` = '2012-11-27 20:09:06' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ Parameters: {"spud_banner_set"=>{"name"=>nil, "width"=>"600", "height"=>"200", "cropped"=>true}}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:06', 1, 200, 'Banner Set 7', '2012-11-27 20:09:06', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.1ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '65a6d3a419ef2f4f9e50e5d129c0cfb3cef6886e2a4827c3b2080a915655ccbc52aed4dccc6e6188f03dfab755ef35e69aabb8007400a728cc6185778469d2f6' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Kv8hQGjgSvuQbmoTkUsC' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:09:06', 'e6ab0fe0d976250c2b2872af0aa689a221992b12bfc8ab4fe1955d8b24858365424bbd7a68720b475a27470c39f0a0ae6bad9f662e2ed11f2b41282d664f62c2', '2012-11-27 20:09:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:09:06', 'testuser', 1, 'LUGKJlEyDqJ1Ka0TcoL0', 'pf0nykSEQHHFCLfAPE0', '65a6d3a419ef2f4f9e50e5d129c0cfb3cef6886e2a4827c3b2080a915655ccbc52aed4dccc6e6188f03dfab755ef35e69aabb8007400a728cc6185778469d2f6', 'Kv8hQGjgSvuQbmoTkUsC', 1, NULL, '2012-11-27 20:09:06')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:09:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'y7exKhYs4aDJftqvw5', `updated_at` = '2012-11-27 20:09:06' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1[0m
+ [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` IS NULL LIMIT 1[0m
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 12ms (Views: 1.1ms | ActiveRecord: 0.9ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '79d3477fa0f9bee5950dec099fe874de9467264668f973f8a99c9fbdb6a89bd5491e5b87437ff12be3df5f6bc036cac9981c1895e1854ebb8cdab6884a9dc8f6' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '2H4NnK0qKa7bgvJ6atNc' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:09:06', '8ccd31ac49615361410050daabd39b42f59fc04f755ecc0acdcb52777d4368135b6517824a6a6a7f7a9c8540cb78d7e6d9b3cb2e96442e5c73b5d26ca071911b', '2012-11-27 20:09:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:09:06', 'testuser', 1, 'A6QONpnLHKs3v6frkuz', 'XqUea6mnnGK126rqtok9', '79d3477fa0f9bee5950dec099fe874de9467264668f973f8a99c9fbdb6a89bd5491e5b87437ff12be3df5f6bc036cac9981c1895e1854ebb8cdab6884a9dc8f6', '2H4NnK0qKa7bgvJ6atNc', 1, NULL, '2012-11-27 20:09:06')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:09:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'nAyzVM2yGXT6B2SDB1pT', `updated_at` = '2012-11-27 20:09:06' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:06', 1, 200, 'Banner Set 8', '2012-11-27 20:09:06', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.6ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c3300d3f74541058e3a150bbc02c338ceb246dcb65dca5564264ea92b22f7c3dc1985519c7e2d3853c6a676a8878b7dea6753a4eb8f4c356f13e1a136329aad9' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MgHSIcx1ufcBvvIqfHMF' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:09:06', '5261ee89d89950f0005169808aa745a36cdad166e7e40a361496b3b916dbaba96e509b08cb076c312b86fad33684055a732b9839138c33be6bd6f59ae22f9d51', '2012-11-27 20:09:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:09:06', 'testuser', 1, '6vdRTx7o4Ta4dWxI2ARV', 'ac5NWRI25d48SrxD3cCZ', 'c3300d3f74541058e3a150bbc02c338ceb246dcb65dca5564264ea92b22f7c3dc1985519c7e2d3853c6a676a8878b7dea6753a4eb8f4c356f13e1a136329aad9', 'MgHSIcx1ufcBvvIqfHMF', 1, NULL, '2012-11-27 20:09:06')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:09:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qDvHXke2LRpDLAlTd2v', `updated_at` = '2012-11-27 20:09:06' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:06', 1, 200, 'Banner Set 9', '2012-11-27 20:09:06', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:09:06' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 82ms (Views: 1.3ms | ActiveRecord: 4.8ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.2ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '54ffa16c12d3cb0aff7d2b4530f0c3358f62cad4522d4e42e042c2627ace2931526804adb092f7d0ec0036a422a9f96004e1fe2e89ac3974b945ff858e756b24' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zgMD2iUE0ACxJnMHd78C' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:09:47', 'b7df3ed6b0cd35d14669ed5b6c06cd2bad9941da5e09c20a8aaaede8962a76cf6764d888f05a3fcc5eaf4ff436e7d506b42db8ea0951e8a808149c750e3df72e', '2012-11-27 20:09:47', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:09:47', 'testuser', 1, 'WQFioBArHC0anXGart', 'HWNHJC2Cw1GlsKiVTiLS', '54ffa16c12d3cb0aff7d2b4530f0c3358f62cad4522d4e42e042c2627ace2931526804adb092f7d0ec0036a422a9f96004e1fe2e89ac3974b945ff858e756b24', 'zgMD2iUE0ACxJnMHd78C', 1, NULL, '2012-11-27 20:09:47')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:09:47', `last_login_ip` = '0.0.0.0', `perishable_token` = 'M5xOnoQOSXKDLXmX0IyU', `updated_at` = '2012-11-27 20:09:47' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:47', 1, 200, 'Banner Set 1', '2012-11-27 20:09:47', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:47', 1, 200, 'Banner Set 2', '2012-11-27 20:09:47', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:47', 1, 200, 'Banner Set 3', '2012-11-27 20:09:47', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:47', 1, 200, 'Banner Set 4', '2012-11-27 20:09:47', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:47', 1, 200, 'Banner Set 5', '2012-11-27 20:09:47', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.6ms)
-Completed 200 OK in 60ms (Views: 51.0ms | ActiveRecord: 0.6ms)
- [1m[36m (2.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4592a713b4d5d6053c4319c380857104a19ee8f4df32aea0e868247e10f555267f06d537407b568c8ab1e8be6e73bd350c9c723b94ee55f1b6e80f167ae2d9b9' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qHPlIGz4cXIT0MUBiGuY' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:09:47', '61f5919178769061491ef40b4b80ae844f5bff7bd763d9f6967a3d8c2e7a3b1a79929fb61779ca4dfa09614933225d5b62678d81e536885e2e5f13b01b54b2d4', '2012-11-27 20:09:47', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:09:47', 'testuser', 1, 'lXbkxcc40s6GDCEzkP3U', 'yNaRZryLCLlWuO9v1X2r', '4592a713b4d5d6053c4319c380857104a19ee8f4df32aea0e868247e10f555267f06d537407b568c8ab1e8be6e73bd350c9c723b94ee55f1b6e80f167ae2d9b9', 'qHPlIGz4cXIT0MUBiGuY', 1, NULL, '2012-11-27 20:09:47')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:09:47', `last_login_ip` = '0.0.0.0', `perishable_token` = 'RTp2Npx3MvyYcfoBbjuV', `updated_at` = '2012-11-27 20:09:47' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:47', 1, 200, 'Banner Set 6', '2012-11-27 20:09:47', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.0ms | ActiveRecord: 0.6ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c7fd050d782568c13fed74a643f77e4a3140aecf95ae59c73f9f66074b745f424865809da4c22ea1ecd7d3920988c6c1801dc7b60adad75f61e02b1300d25a18' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'x2SPNe9enNNwbANGchSV' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:09:47', 'fc1d50a8f14384a4210b50751936f594daae5af3773587e2dcca1c4a0bad3c5b00ae2bd27272e76188791b1934d83dac55abb5ef1562b873f63080a8c4058b41', '2012-11-27 20:09:47', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:09:47', 'testuser', 1, 'QdAZiI9WTYR8ulLMhD1J', 'GOhn5Xj8VwlB5MElmqiY', 'c7fd050d782568c13fed74a643f77e4a3140aecf95ae59c73f9f66074b745f424865809da4c22ea1ecd7d3920988c6c1801dc7b60adad75f61e02b1300d25a18', 'x2SPNe9enNNwbANGchSV', 1, NULL, '2012-11-27 20:09:47')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:09:47', `last_login_ip` = '0.0.0.0', `perishable_token` = 'bFI3QrAawOxnCr32e1K8', `updated_at` = '2012-11-27 20:09:47' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.3ms)
- [1m[35m (1.4ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cd364c2d1af552d1450f0f83228aa5a46121414f492824fa436b103d81f79dcb8c3676f54705b1df6bec42470c60ce401751a62cc3294b2b08bbfcf3c4da244c' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zsNQTyepcMGlx4m0gXL' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 20:09:47', '1a8e78eac4e7d2decd3ac4d74d9b09041fe13ac748c2404499de07b458e93fe7781c02f3f08beaee191bd22fc8f4fa88825bc0ba656dded0726e4eeee14d7ad9', '2012-11-27 20:09:47', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:09:47', 'testuser', 1, 'Y7Qs25vpLeLbr0DNmS6', 'HLTzb9o0Q0PRF6pMm5F', 'cd364c2d1af552d1450f0f83228aa5a46121414f492824fa436b103d81f79dcb8c3676f54705b1df6bec42470c60ce401751a62cc3294b2b08bbfcf3c4da244c', 'zsNQTyepcMGlx4m0gXL', 1, NULL, '2012-11-27 20:09:47')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:09:47', `last_login_ip` = '0.0.0.0', `perishable_token` = 'aWjEKfIv7am3PpwQV9', `updated_at` = '2012-11-27 20:09:47' WHERE `spud_users`.`id` = 4
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2012-11-27 20:09:48', `perishable_token` = '4cTRGThjNOkw70sJz2Jy', `updated_at` = '2012-11-27 20:09:48' WHERE `spud_users`.`id` = 4[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:48', 1, 200, 'Banner Set 7', '2012-11-27 20:09:48', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 1.9ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b52a513c65480136b86c584e0821aab2519a403feee4793eb980eebe78aedd9de4932478df2af66bc1f24a9a8692f886b5b25deefbe4444800225d29d286b316' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Xd4UR48R0cx2PFPJgAc' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:09:48', '2bbc120faa41b418dcf8d95b2e45b021c5e56afc9385a1f2a7f839b09c9213c3e22093c863047d053ea5c48d3e8b224197342d71246020e1afd1ddc56a6dd90f', '2012-11-27 20:09:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:09:48', 'testuser', 1, 'hHrEdo8Q8YISvBBtV', 'HF42BHOML9mLBRt1GIB', 'b52a513c65480136b86c584e0821aab2519a403feee4793eb980eebe78aedd9de4932478df2af66bc1f24a9a8692f886b5b25deefbe4444800225d29d286b316', 'Xd4UR48R0cx2PFPJgAc', 1, NULL, '2012-11-27 20:09:48')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:09:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YauWTJ9dNDgIGep3433a', `updated_at` = '2012-11-27 20:09:48' WHERE `spud_users`.`id` = 5
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 1.1ms)
+Completed 422 Unprocessable Entity in 8ms (Views: 0.7ms | ActiveRecord: 0.8ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fe14528d8c84da512cff1afbf630e979dc503e6cbe1cf98912c444859cb8c99ae6e84b0acac1e59c809fef867857f8df1ef7cef020787c6cbed7196a1e3165c3' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zDwV3dmWxbI14CO9ZaW' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:09:48', 'bafa2b740e99f21af6b1ab94f881c15d0eafa303f1fcc070ba004e0dda6025e2c508088a724d4134f02ac3cf8e503147d4d18f71c2abf1e31a2cf1b87d250e81', '2012-11-27 20:09:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:09:48', 'testuser', 1, 'X2oaIbzXskToiQH9XfKR', 'vsZ8Mj3q93CGoxG8xOE', 'fe14528d8c84da512cff1afbf630e979dc503e6cbe1cf98912c444859cb8c99ae6e84b0acac1e59c809fef867857f8df1ef7cef020787c6cbed7196a1e3165c3', 'zDwV3dmWxbI14CO9ZaW', 1, NULL, '2012-11-27 20:09:48')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:09:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'pCcOrKBGMF9A2lfy4fmL', `updated_at` = '2012-11-27 20:09:48' WHERE `spud_users`.`id` = 6
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:48', 1, 200, 'Banner Set 8', '2012-11-27 20:09:48', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
-Looking for banner set with id: 8
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1[0m
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.6ms)
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e48f014a0ec0a6f92cece61d389a4dcbe0abba1b9beb79585bd61f7e575370e0f7f865cc2c27151633a6929c518061647f5c4bf99bcf0522d81fe3434d263e29' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FL37mQWUfkF60pr0wh' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:09:48', '757fcd70192f285f33257bffdef5d4d500420a0e45910a483be54ab3ba59ff4a6b8afc200e90b435a8d8b8c3a50ae88e4f43dad2505378414b2900af8f5f9eea', '2012-11-27 20:09:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:09:48', 'testuser', 1, 'a3cP7ApwBszqJGHDNOKF', 'VCihBV3ppzVCQ8K0camp', 'e48f014a0ec0a6f92cece61d389a4dcbe0abba1b9beb79585bd61f7e575370e0f7f865cc2c27151633a6929c518061647f5c4bf99bcf0522d81fe3434d263e29', 'FL37mQWUfkF60pr0wh', 1, NULL, '2012-11-27 20:09:48')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:09:48', `last_login_ip` = '0.0.0.0', `perishable_token` = '3Nvd5XmqRzU1wuydysv', `updated_at` = '2012-11-27 20:09:48' WHERE `spud_users`.`id` = 7
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:09:48', 1, 200, 'Banner Set 9', '2012-11-27 20:09:48', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
-Looking for banner set with id: 9
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 9) LIMIT 1[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:09:48' WHERE `spud_banner_sets`.`id` = 9
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35mSpudBanner Load (0.3ms)[0m SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc
-Completed 200 OK in 80ms (Views: 1.2ms | ActiveRecord: 5.1ms)
- [1m[36mSpudBannerSet Load (0.3ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1[0m
[1m[35m (0.5ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '71b9802e10a2744105ee325e242fafa67757cecfd44b7aeea95225870266874438c2ce92620c4d122e1002a563dbb2b73a91b57171d05ca682b86b10e30434a9' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lknzUGqsq3GekIY8xSqN' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:10:48', '35bab72c135573dfba20a155b76c49245b4c9c40ec63668142df0a7402ffd5e6542f3878e5ce6d34aebac9e0ea4ce772b65ac070553030ef86b18c47e3e084a8', '2012-11-27 20:10:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:10:48', 'testuser', 1, 'yoKDVHNvRYYetSVfucAk', 'cby0XHUevdH0xx8VHm2P', '71b9802e10a2744105ee325e242fafa67757cecfd44b7aeea95225870266874438c2ce92620c4d122e1002a563dbb2b73a91b57171d05ca682b86b10e30434a9', 'lknzUGqsq3GekIY8xSqN', 1, NULL, '2012-11-27 20:10:48')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:10:48', `last_login_ip` = '0.0.0.0', `perishable_token` = '6qNwPgIS7NJcwUwuWzut', `updated_at` = '2012-11-27 20:10:48' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:10:49', 1, 200, 'Banner Set 1', '2012-11-27 20:10:49', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:10:49', 1, 200, 'Banner Set 2', '2012-11-27 20:10:49', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:10:49', 1, 200, 'Banner Set 3', '2012-11-27 20:10:49', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:10:49', 1, 200, 'Banner Set 4', '2012-11-27 20:10:49', 600)[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (1.1ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:10:49', 1, 200, 'Banner Set 5', '2012-11-27 20:10:49', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2012-11-27 20:10:49', `perishable_token` = 'bhCQawkjrHsRYib6oL7i', `updated_at` = '2012-11-27 20:10:49' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` [0m
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.7ms)
-Completed 200 OK in 63ms (Views: 49.9ms | ActiveRecord: 1.3ms)
- [1m[35m (2.0ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f09ec410119991a7830b75f71bc5e071f7cc16f662118321cc591c5d0c181c410f641c04f5ce9532695f6de5957129901595299d68723827e6b98175d741660b' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PCX64xXGUHY8kjiEtwyh' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:10:49', '93f04f052484958c722d109372088968cccf13b0db06db75475f70d2659507f4fd3e61e7f2b8be9ac6f27d1b871ee9e2763e4ab4da89e39370bcbabbdbd0cb04', '2012-11-27 20:10:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:10:49', 'testuser', 1, 'wZeUZyKreAlBXI1OEWA', 'mkiHiAhxlepCS2n0nN9N', 'f09ec410119991a7830b75f71bc5e071f7cc16f662118321cc591c5d0c181c410f641c04f5ce9532695f6de5957129901595299d68723827e6b98175d741660b', 'PCX64xXGUHY8kjiEtwyh', 1, NULL, '2012-11-27 20:10:49')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '42b71603c94fa768c8468282d1893a282de6fba42004d26d605056c2db885ad3bb4b69db7d1c78efcb52d1d2b0a5e781f26bb20fc20d61b7093e57a38ade1c5c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KWsC5EIynuGWRBIfj738' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:10:49', `last_login_ip` = '0.0.0.0', `perishable_token` = '1eFiI7fwn7q4qG3U0E9', `updated_at` = '2012-11-27 20:10:49' WHERE `spud_users`.`id` = 2
+ [1m[35m (0.2ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:10:49', 1, 200, 'Banner Set 6', '2012-11-27 20:10:49', 600)
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
-Looking for banner set with id: 6
- [1m[36mSpudBannerSet Load (0.3ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1[0m
-Completed 200 OK in 9ms (Views: 2.7ms | ActiveRecord: 0.5ms)
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '765ccccae657ad704280d60e83d9cab913234892f440a32bb3d2e8ae46949d5e2a31b4935e682cbdde3e569b3e47e900023a32a9a5fd3f6a5c80461d86d94b2f' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'V7p3I8aQydZwtiSSqHTa' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:10:49', '12f2848afd74bd683a3219aeaa398bb41e1d6bed694f070fe63519eafad62f98ac92a412dd78f076843f048e85bfd7d9a0f018148a7ebbec438f9a7b075b5ea4', '2012-11-27 20:10:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:10:49', 'testuser', 1, '06119WwRAmNN9MoK5UL', 'vtIk4fQPRkS8SF52tY70', '765ccccae657ad704280d60e83d9cab913234892f440a32bb3d2e8ae46949d5e2a31b4935e682cbdde3e569b3e47e900023a32a9a5fd3f6a5c80461d86d94b2f', 'V7p3I8aQydZwtiSSqHTa', 1, NULL, '2012-11-27 20:10:49')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:10:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'AsW6fnAqxIlKZhWWvgz', `updated_at` = '2012-11-27 20:10:49' WHERE `spud_users`.`id` = 3
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
-Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cd0a929cf262175a0bd16fe084567672befef32a01214c42365e32e14b00b64ec396ad595e121fa5b5bdfe00ae8500fac57054b3956811e400a120f475a11de7' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '17HEJ1VJ45od53if542t' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:10:49', '54b9dd9b673120a3dc4fee6327ab8b1d6805eba5bd03a29b19d0c0c79f6a37378d72b09a4d0767d7dfa213f77a20a92e1a3818867406dbaeaf63ca61422ad0ac', '2012-11-27 20:10:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:10:49', 'testuser', 1, 'epZPObsGaijrIFFfChw', 'fq0gPJZma1C8yVgDdkE', 'cd0a929cf262175a0bd16fe084567672befef32a01214c42365e32e14b00b64ec396ad595e121fa5b5bdfe00ae8500fac57054b3956811e400a120f475a11de7', '17HEJ1VJ45od53if542t', 1, NULL, '2012-11-27 20:10:49')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:10:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kZyQvKkFhsv2b5qjgk6U', `updated_at` = '2012-11-27 20:10:49' WHERE `spud_users`.`id` = 4[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
+ [1m[35m (0.1ms)[0m 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}}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:10:49', 1, 200, 'Banner Set 7', '2012-11-27 20:10:49', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Completed 200 OK in 11ms (Views: 1.7ms | ActiveRecord: 1.1ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8bbae0c7ae5109fd79bd5cb62d727c806b4b5db6b5f504dd63125e5921ede406a06097f176ba42acb462696e70c0881321785e0ba59d52730a4747ed78056876' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jqHAYETSD4WIm7cbT2Fu' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:10:49', 'e5c31afadf08dd9898391a573a596f79d516401d5718350963daeae40b92e49cad05b754cf99e74dfdcb29ea9057389125e3de0002a279f7891690089e2f4a75', '2012-11-27 20:10:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:10:49', 'testuser', 1, '4BWljYqR6shL3R4DugM', 'e1xDDTqSkS67uTzvxe8Y', '8bbae0c7ae5109fd79bd5cb62d727c806b4b5db6b5f504dd63125e5921ede406a06097f176ba42acb462696e70c0881321785e0ba59d52730a4747ed78056876', 'jqHAYETSD4WIm7cbT2Fu', 1, NULL, '2012-11-27 20:10:49')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:10:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'fo2RvdbEJGywj7zge6oJ', `updated_at` = '2012-11-27 20:10:49' WHERE `spud_users`.`id` = 5
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
-Processing by Spud::Admin::BannerSetsController#create as HTML
Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 1.0ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
+Completed 422 Unprocessable Entity in 7ms (Views: 0.7ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '549e5249fabebf4e36ac973b60afa9e7466b64ce7410a01332fdbd8ea7fda8e5bddf32c4a90f9dfceb06e909046026aea65cb647342b3aafc57c2280f946775e' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'l42tfmyemeyh8hlot9w' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 20:10:49', '3cb2cfb04beaf344ad98f5f65ca759d68f516a72dcebb598eeb905b11e28463af7351cca0cd72f3004d880c08bab66d964c98e9cae97f5568172d3a8cc84396b', '2012-11-27 20:10:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:10:49', 'testuser', 1, 'dmBb8IbNUQlf7vGrFL', 'J5OdQWLUcSOc8fBVYosg', '549e5249fabebf4e36ac973b60afa9e7466b64ce7410a01332fdbd8ea7fda8e5bddf32c4a90f9dfceb06e909046026aea65cb647342b3aafc57c2280f946775e', 'l42tfmyemeyh8hlot9w', 1, NULL, '2012-11-27 20:10:49')[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2974dcee0f105c5070e9d0ec69febdd43d17a4e1070c1f301316353b1a86a91e0663e2a97800b4e887993a646fd530ed1742d44c44ad0790156664c982ed0b95' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Zr7unkmbi0IuJIoWNk0' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:10:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'fMwf3pHLBPaWEH2Pkg', `updated_at` = '2012-11-27 20:10:49' WHERE `spud_users`.`id` = 6
+ [1m[35m (0.3ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:10:49', 1, 200, 'Banner Set 8', '2012-11-27 20:10:49', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
-Looking for banner set with id: 8
- [1m[36mSpudBannerSet Load (0.3ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1[0m
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.8ms)
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'dc2aacff2a5dac5b00367501c41a5c954551b4a7cb249161f77e23e8d7775545407d93b1278cc23d887d64bcf0f5b9ef7d9dacb3f6e1a22128ab361f2db7f956' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZKTKvgAuFvsACtmfzBUq' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 20:10:49', 'ebeee049913391ae07e7e6890a31e62881894c7d762d1140592d7b1147de40f797d543250825f5f4845f380efacb33edf9596c8f1b4aba209a76c7f76d5c6daa', '2012-11-27 20:10:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:10:49', 'testuser', 1, 'QLDhHyP1XqH5WB8pLo6', 'qj2I7A4DFCAVUh7uxeN', 'dc2aacff2a5dac5b00367501c41a5c954551b4a7cb249161f77e23e8d7775545407d93b1278cc23d887d64bcf0f5b9ef7d9dacb3f6e1a22128ab361f2db7f956', 'ZKTKvgAuFvsACtmfzBUq', 1, NULL, '2012-11-27 20:10:49')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:10:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MSA0XmQwISYDOnsrZ3PK', `updated_at` = '2012-11-27 20:10:49' WHERE `spud_users`.`id` = 7
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:10:49', 1, 200, 'Banner Set 9', '2012-11-27 20:10:49', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
-Looking for banner set with id: 9
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 9) LIMIT 1[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:10:49' WHERE `spud_banner_sets`.`id` = 9
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35mSpudBanner Load (0.2ms)[0m SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc
-Completed 200 OK in 81ms (Views: 1.2ms | ActiveRecord: 5.3ms)
- [1m[36mSpudBannerSet Load (0.3ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1[0m
- [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[35m (0.5ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '882b892fdcce4efb2763528de4bcea5bd28f4196957c70a79b902be495c8b5db575866d1648526906df687372ba3320ed15eeee0d784a9ad2df8f63901a7d7e9' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qjWsE7B8reVj9MqQri8c' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 20:10:49', 'be358290033a6f1397564151d87e8e0b100a2678795a015c24041f88437941417ac51943cd5c33944c5974de90e1c948cbdf45437ce04dff26311d0059e6b197', '2012-11-27 20:10:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:10:49', 'testuser', 1, 'IQRdjuLL63LUDq60Tugc', 'QTnzLuCL6pdCljloJgn', '882b892fdcce4efb2763528de4bcea5bd28f4196957c70a79b902be495c8b5db575866d1648526906df687372ba3320ed15eeee0d784a9ad2df8f63901a7d7e9', 'qjWsE7B8reVj9MqQri8c', 1, NULL, '2012-11-27 20:10:49')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:10:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MVrprKSjKzACrWB5tKv', `updated_at` = '2012-11-27 20:10:49' WHERE `spud_users`.`id` = 8
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:10:49', 1, 200, 'Banner Set 10', '2012-11-27 20:10:49', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
-Looking for banner set with id: 10
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1
- [1m[36m (0.3ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
-Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 1.2ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.0ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c0c2e5d945d9c5affbbae34210b29b9fd39288cefb352a7c37e0f4a921de1ca96c06a77e22d3a338a33e781b7377979a673f62f433c4abbbb02923d0250b551d' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'p8UTFJqHCLWORZNJ8fm' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:12:00', '1d5baa79624991a27749a88742aa53caacb24546f54373f467897d6e82f6098d3850d91ae594fb6aef10b22e680ac585f9bc53b42dc279645af502f091d1078a', '2012-11-27 20:12:00', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:00', 'testuser', 1, 'PTd5mEGcIQFKZB7uH3K', 'lkDg1RIJplWrzGXTYm9', 'c0c2e5d945d9c5affbbae34210b29b9fd39288cefb352a7c37e0f4a921de1ca96c06a77e22d3a338a33e781b7377979a673f62f433c4abbbb02923d0250b551d', 'p8UTFJqHCLWORZNJ8fm', 1, NULL, '2012-11-27 20:12:00')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:00', `last_login_ip` = '0.0.0.0', `perishable_token` = 'pHclNgSGsS63o8NAywL', `updated_at` = '2012-11-27 20:12:00' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:00', 1, 200, 'Banner Set 1', '2012-11-27 20:12:00', 600)[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9a5400ab0b11b4fcf146a5512e5a40abc4e5dd5e53be5a0481117f42111b6938b77abd6e850f9c740afe8ee9bf80590ff2195b31653c0b0be6ff79220a9c50a7' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8zTqoL9wQtQW16vpWCr' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:00', 1, 200, 'Banner Set 2', '2012-11-27 20:12:00', 600)[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:00', 1, 200, 'Banner Set 3', '2012-11-27 20:12:00', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:01', 1, 200, 'Banner Set 4', '2012-11-27 20:12:01', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:01', 1, 200, 'Banner Set 5', '2012-11-27 20:12:01', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2012-11-27 20:12:01', `perishable_token` = 'Lp0sta4EOyX0egsfoY62', `updated_at` = '2012-11-27 20:12:01' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` [0m
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 61ms (Views: 49.4ms | ActiveRecord: 1.2ms)
- [1m[35m (2.0ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '12201109f6449121e994ab4ca1b698f2adc451d6955a1c99ea54ddb219134a209570c57ec9d2a7d2bc888b6cf9f6fd627eefb7b68499b0a36cc9299751f7933d' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SofeFNqYXf8ZlAJbF0U' LIMIT 1
- [1m[36mSQL (0.5ms)[0m [1mINSERT 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-11-27 20:12:01', '5fa41f5e14b10d21a4b7647b28094ed94c9a8f5ce112b43b434bd39419d1eff6ab25d5ea4560df2190c3adf7a1893997bcd60f7a93e0f0a182cb932d548c90af', '2012-11-27 20:12:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:01', 'testuser', 1, 'vnphfUpJHPyZrYkhvn2', 'P33PQ1Svz09JdlvLWFY', '12201109f6449121e994ab4ca1b698f2adc451d6955a1c99ea54ddb219134a209570c57ec9d2a7d2bc888b6cf9f6fd627eefb7b68499b0a36cc9299751f7933d', 'SofeFNqYXf8ZlAJbF0U', 1, NULL, '2012-11-27 20:12:01')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VhR9OgUvNEPycV6lfe', `updated_at` = '2012-11-27 20:12:01' WHERE `spud_users`.`id` = 2
+ [1m[35m (0.3ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:01', 1, 200, 'Banner Set 6', '2012-11-27 20:12:01', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
-Looking for banner set with id: 6
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1[0m
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.6ms)
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '191c35fda762265cfa8e129129b05c9298553e446ff3604ab2e65f903dea55295654a7355b3f0f985aaddc91629efdfbe22426871657bd951c8df8321056112d' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '135QEDXv30KFsg4NX1E3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:12:01', '4344cad3e414e76ac8b14a566a112f480110f27fff58cbdbd39405394594b7e1989e2a82dadb4e02aae56f6f157d222be80cdaedeed88cce2d95af5c76c8ca88', '2012-11-27 20:12:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:01', 'testuser', 1, 'ltymfzSt3TxzTJ7DdZB', '71LiOlqA44A4Ij1IAlU', '191c35fda762265cfa8e129129b05c9298553e446ff3604ab2e65f903dea55295654a7355b3f0f985aaddc91629efdfbe22426871657bd951c8df8321056112d', '135QEDXv30KFsg4NX1E3', 1, NULL, '2012-11-27 20:12:01')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'oGHBzN5Fvf8ZExxA2MCt', `updated_at` = '2012-11-27 20:12:01' WHERE `spud_users`.`id` = 3
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c79c91a4f3fe9f08bde93f8fdeb468b3c3d14cf0133d6b5d2e427e5e9fdbfacf3c78cb61d890ff727e59cc42cba54037b9eeca66b790e60b0863fca0f755d20e' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XTZhKWaMPYClpJn3sz' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:12:01', '272b6325cd95610c165e88cb6df7395782d20a8aaede4f296889c546948170ee37d350ba4527de573fbc4bc802ca85d9f63d87e50b7f7b5a95e950747829ba8f', '2012-11-27 20:12:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:01', 'testuser', 1, 'qStovKh8BcgJozyXmWk', 'bN0dKF2Wt8Gtjvl0zs2', 'c79c91a4f3fe9f08bde93f8fdeb468b3c3d14cf0133d6b5d2e427e5e9fdbfacf3c78cb61d890ff727e59cc42cba54037b9eeca66b790e60b0863fca0f755d20e', 'XTZhKWaMPYClpJn3sz', 1, NULL, '2012-11-27 20:12:01')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mHmgIGe1xsEY1qbgSu3U', `updated_at` = '2012-11-27 20:12:01' WHERE `spud_users`.`id` = 4
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[36m (1.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9896b6aea15f206c3e0c3cec6918ceefccb00b27440b160f456111ee35061dd16f64541056c3c4a1399c84caf03c805231933bdab97e09ac1becaa6e1e81a4d9' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lj0vI2i1OKNlfDqKX2R' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:12:01', '243f84e3f04a388eae985020d7b406f8cc008c39d10e4e298a33ecf9e596e398d0073daee1bed6f23a54b702a3876e0480ae408e0258f6a46254dfd2bd620dc7', '2012-11-27 20:12:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:01', 'testuser', 1, 'pL0bovAjc8eZoTeytvxS', 'VHSAP7FyyCd0cXIryQNv', '9896b6aea15f206c3e0c3cec6918ceefccb00b27440b160f456111ee35061dd16f64541056c3c4a1399c84caf03c805231933bdab97e09ac1becaa6e1e81a4d9', 'lj0vI2i1OKNlfDqKX2R', 1, NULL, '2012-11-27 20:12:01')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'btooR0g1SUNKKAOL42Br', `updated_at` = '2012-11-27 20:12:01' WHERE `spud_users`.`id` = 5[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 7", "width"=>"600", "height"=>"200", "cropped"=>true}}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:01', 1, 200, 'Banner Set 7', '2012-11-27 20:12:01', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Completed 200 OK in 11ms (Views: 1.7ms | ActiveRecord: 1.1ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3dbf5d56ff7b9b4abbdf68ade5846366afedd19b980f71eda52d99e23815eebb0b4e275ace28ed3cee8c11ba72ebee7bd134a4e71a05eb063ed21e9093f1c9d1' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BMsjN2Gauov3niP3h8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:12:01', '99b2d4e3c19b18431ad8058287f15b41f80ad9751d9c2d88cdf0e0ec73db21c168797322a895978042d8a530b34126f7e08af5471b0ac024218c1903eeb4c0b1', '2012-11-27 20:12:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:01', 'testuser', 1, 'zCfZhgHLCiQazatq1CNW', 'Za93iXh0QgU6nCRYpyL', '3dbf5d56ff7b9b4abbdf68ade5846366afedd19b980f71eda52d99e23815eebb0b4e275ace28ed3cee8c11ba72ebee7bd134a4e71a05eb063ed21e9093f1c9d1', 'BMsjN2Gauov3niP3h8', 1, NULL, '2012-11-27 20:12:01')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd2a620253c115f29f9e1dabbfe52d5cbafc8a7dc1becd3fd7c2957e9305b1d06d0dc65218c0e97d1ea7f790421b1f416c7d802cffede9617192600e7ea02355b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Ab8k4j7wDCmaxD4PvsVF' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT 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')[0m
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'sRJ3JmBxoMcR9z0wud80', `updated_at` = '2012-11-27 20:12:01' WHERE `spud_users`.`id` = 6
+ [1m[35m (0.3ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 1.0ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
[1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f7d1081287a63cadf0431665ca8e0a2736205122dbc67eb0cfe755b247b9975cc82bb4dd9f07147e9b6a47f053cb243be52a5713f77d68b0c80a5bda7bb0de8c' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EbOVZtdiuU1FmcF8RK49' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:12:01', '310c7939335458f511aa6e8f55969dce0e89b9f301670d1c72151f67a20c7421e94b29c967a93e0f8ed90055da84f125097f8f42bc2c824b686e3d48c640fbd3', '2012-11-27 20:12:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:01', 'testuser', 1, 'U0nCC9fgYwFxcKd0DXEf', 'yNYqg2MjM9YewEPOaw', 'f7d1081287a63cadf0431665ca8e0a2736205122dbc67eb0cfe755b247b9975cc82bb4dd9f07147e9b6a47f053cb243be52a5713f77d68b0c80a5bda7bb0de8c', 'EbOVZtdiuU1FmcF8RK49', 1, NULL, '2012-11-27 20:12:01')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kItzW8MZcX2bPHdum4U', `updated_at` = '2012-11-27 20:12:01' WHERE `spud_users`.`id` = 7
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:01', 1, 200, 'Banner Set 8', '2012-11-27 20:12:01', 600)
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
-Looking for banner set with id: 8
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1[0m
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.5ms)
- [1m[35m (0.4ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f852796f70d38242dc1ad3c05c301047b8030b4b9b762d12b7a940c81f0d0a5f1ddbd4154e8ddc12eb02082708891349d42da64dd4d4ce3616d952478e3431c4' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'f0aPmO64UZZB6kMJFfze' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 20:12:01', 'b3e123f9fea2e97c78c9f9e5890eadb067304e5ad2279f58081d5002d9dcf3132832af7196a752174610c14b74b8cea26f7860bd3b3607096fca149dc4f452b5', '2012-11-27 20:12:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:01', 'testuser', 1, 'BQZfs5FeapyfKwlitpM', 'lgl76tHKmNLSn9knlzaT', 'f852796f70d38242dc1ad3c05c301047b8030b4b9b762d12b7a940c81f0d0a5f1ddbd4154e8ddc12eb02082708891349d42da64dd4d4ce3616d952478e3431c4', 'f0aPmO64UZZB6kMJFfze', 1, NULL, '2012-11-27 20:12:01')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gZo4hehy4SfwERvEedt', `updated_at` = '2012-11-27 20:12:01' WHERE `spud_users`.`id` = 8
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:01', 1, 200, 'Banner Set 9', '2012-11-27 20:12:01', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
-Looking for banner set with id: 9
- [1m[36mSpudBannerSet Load (0.3ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 9) LIMIT 1[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:12:01' WHERE `spud_banner_sets`.`id` = 9
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35mSpudBanner Load (0.3ms)[0m SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc
-Completed 200 OK in 84ms (Views: 1.2ms | ActiveRecord: 5.8ms)
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1[0m
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9a1f4f7c134e69cc2e30ffac2c3e3bf38c16f8f8e058151734480ef48d4f640e5499b499506291971c198a00020ae38aa073eee7d42c170adf2e609867f75ecd' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BrM1IKndgdTMjHdBJdph' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 20:12:01', '2e8c1439d4e8079faf0e07337b092e756677d001624f63f8b1bda89e53b9c62b04ab844b1d0555a299720da28dfb9b93e3836f717a5ab31f55a833d6d21ceeb6', '2012-11-27 20:12:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:01', 'testuser', 1, 'jYnORRMsi3C3mah0YKZJ', 'rk3bViU8sEEmWMESUuI', '9a1f4f7c134e69cc2e30ffac2c3e3bf38c16f8f8e058151734480ef48d4f640e5499b499506291971c198a00020ae38aa073eee7d42c170adf2e609867f75ecd', 'BrM1IKndgdTMjHdBJdph', 1, NULL, '2012-11-27 20:12:01')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:01', `last_login_ip` = '0.0.0.0', `perishable_token` = '0E3Jlwv79D5GfmzhbX', `updated_at` = '2012-11-27 20:12:01' WHERE `spud_users`.`id` = 9
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:01', 1, 200, 'Banner Set 10', '2012-11-27 20:12:01', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1[0m
-Looking for banner set with id: 10
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
-Completed 422 Unprocessable Entity in 12ms (Views: 1.1ms | ActiveRecord: 1.0ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.6ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.1ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '18d0442c908bb106119b317c1bd8af68e285aab7f1ebaeea01df81720b5893014b4ea624d1328dddf0b2554922b2ead053feb4fde78d44777c3ed121807611f3' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xna0bjZoWdG1bFA1hlgv' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:12:29', '82420e4c7c9c254574939481fefac213f8559630d750be5361ce90ba1741f7ff09552cc15235cc769785d78ccac9333bdee949398cbefa1848f1e443c09deea9', '2012-11-27 20:12:29', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:29', 'testuser', 1, 'w2lvaTEvndk7EQsI7DzX', 'v6zOZtmtkq7p3p4Os4I', '18d0442c908bb106119b317c1bd8af68e285aab7f1ebaeea01df81720b5893014b4ea624d1328dddf0b2554922b2ead053feb4fde78d44777c3ed121807611f3', 'xna0bjZoWdG1bFA1hlgv', 1, NULL, '2012-11-27 20:12:29')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:29', `last_login_ip` = '0.0.0.0', `perishable_token` = 's2uxhPvrLFcVPKCWoUp', `updated_at` = '2012-11-27 20:12:29' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:29', 1, 200, 'Banner Set 1', '2012-11-27 20:12:29', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:29', 1, 200, 'Banner Set 2', '2012-11-27 20:12:29', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:29', 1, 200, 'Banner Set 3', '2012-11-27 20:12:29', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:29', 1, 200, 'Banner Set 4', '2012-11-27 20:12:29', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:29', 1, 200, 'Banner Set 5', '2012-11-27 20:12:29', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 61ms (Views: 51.6ms | ActiveRecord: 0.6ms)
- [1m[36m (1.7ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e2b4d197a49719f028c7506c1c72029b26942690d74acb61427c2f91ff605df9b380f1d5428110cc47bf2a271905b36c51f8d88e8c75a454234b2825a6a95530' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cMxppDQDDZOWHgJq9xr' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:12:29', '6cf057aaf02bd645371c5b2afec92a1a519c85fb5f2e1925452d0a6d365175874007d3f0c875473ba214903766ee397563a9b0942655a7d857ab9ddbd438938d', '2012-11-27 20:12:29', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:29', 'testuser', 1, 'u0bmtyW4O2BIFXgv90ov', 'FwM1NB85S2uDtlJUkp3Y', 'e2b4d197a49719f028c7506c1c72029b26942690d74acb61427c2f91ff605df9b380f1d5428110cc47bf2a271905b36c51f8d88e8c75a454234b2825a6a95530', 'cMxppDQDDZOWHgJq9xr', 1, NULL, '2012-11-27 20:12:29')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:29', `last_login_ip` = '0.0.0.0', `perishable_token` = 'zOKdUwLLvAPHq9REH5ZI', `updated_at` = '2012-11-27 20:12:29' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:29', 1, 200, 'Banner Set 6', '2012-11-27 20:12:29', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.0ms | ActiveRecord: 0.7ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '72f07988242ec7f91483ac5a746769d0f2423ab841a0845978a16bb720eafa830e98ec3b53804d1354ddd844b890855d161bc9e2ea413cc81e6cf7d4944b2a95' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'W58n1ZzjoWS0NyD5dsr' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:12:29', 'ae2332aac9f1604dba476d045f811bbd2e339dea4a980e74c0a072bb00dc874dd38ada4549db11f1070274783a2fd7f106bc634aaf14b27d273f88d158d98860', '2012-11-27 20:12:29', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:29', 'testuser', 1, 'tpHuN4QkGakaRNCRfsS', 'mb160Pc3mzqiqVqJhTM2', '72f07988242ec7f91483ac5a746769d0f2423ab841a0845978a16bb720eafa830e98ec3b53804d1354ddd844b890855d161bc9e2ea413cc81e6cf7d4944b2a95', 'W58n1ZzjoWS0NyD5dsr', 1, NULL, '2012-11-27 20:12:29')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:29', `last_login_ip` = '0.0.0.0', `perishable_token` = '3BDX89d8BApG7Ev4hm', `updated_at` = '2012-11-27 20:12:29' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2d736cbc75cc6a98595d9efcd56726cd857f07318e3ac4dd77585df23c74ac97e0b2110a03588a4629e7e9c4e79bedb21e7aae4004c4492a56c8a72595289ca3' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0VLOoYG8kheo0TgCTiR' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:12:29', 'b83bd2428c417a9708ad498a58aa1d6d0c92eee1f6c3e7d42ec052e697e394e278d815758af1253fa63cc900f3b627b9259bac457965332229d737a31d497ddf', '2012-11-27 20:12:29', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:29', 'testuser', 1, 'vId3ynBR8PPiAxxLiIQ', '79TIVi0VYfF6CigpaiG', '2d736cbc75cc6a98595d9efcd56726cd857f07318e3ac4dd77585df23c74ac97e0b2110a03588a4629e7e9c4e79bedb21e7aae4004c4492a56c8a72595289ca3', '0VLOoYG8kheo0TgCTiR', 1, NULL, '2012-11-27 20:12:29')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:29', `last_login_ip` = '0.0.0.0', `perishable_token` = '2EkZzdDUApZY9NtZXloF', `updated_at` = '2012-11-27 20:12:29' WHERE `spud_users`.`id` = 4[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5a1dcb41fb4159551f311934bd3ee8e5ba2a07bb10ca3204045c66b80aa08eb3a2a277c9774b4bd4509a5e9320a540017eb9cd159b52870a18a731c3227ab4bc' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PAEyscjNXHzdrGWXvpQ' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:12:29', '849c92cbc03ccbf0e7b5747616e9c9aba520655ffaf2ff52a96655556e6e150f8955eb99c8684cdca39a81faf2779a4c96366e84b155d68e4bb92168bfba7c72', '2012-11-27 20:12:29', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:29', 'testuser', 1, 'wqe9v2NQgbc7TRQZDYcZ', 'lP1Tc97c4FZL0vzcofO3', '5a1dcb41fb4159551f311934bd3ee8e5ba2a07bb10ca3204045c66b80aa08eb3a2a277c9774b4bd4509a5e9320a540017eb9cd159b52870a18a731c3227ab4bc', 'PAEyscjNXHzdrGWXvpQ', 1, NULL, '2012-11-27 20:12:29')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fc6225f17bb786c6faa6fc308c8e759ee917d82d7bd06497aacba6c4c470682448cc2b16f2ff27ab4af6f0907b5fc9216a6342519265eab28d328cce24984d1b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'D2metN8TIdV32ZbOPITr' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:29', `last_login_ip` = '0.0.0.0', `perishable_token` = '3CFCoHPvEexYbI6xPDP', `updated_at` = '2012-11-27 20:12:29' WHERE `spud_users`.`id` = 5
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:29', 1, 200, 'Banner Set 7', '2012-11-27 20:12:29', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.1ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7e693455c415a68306f0fcc1c00c9231d97dbf0139f74a58af7eb63d15481734ec7e47dedae2925aff42853b6eab56e7f29758b4521cbf01359965fcc1ca6a7c' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Hk3kuPinLUMNwcU5hHJ' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:12:29', 'd730d9b0ac58691fbf3d27c8c6dac4211221521bdd958d1268922ad701c90c111d7d96940275adb705b96a2ca6f083b858051c8590164ae40a2098545403c9a1', '2012-11-27 20:12:29', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:29', 'testuser', 1, 'TvC9297BEOnTyscuBVF7', 'ezyS2eJlBvmU2EW2o8Cq', '7e693455c415a68306f0fcc1c00c9231d97dbf0139f74a58af7eb63d15481734ec7e47dedae2925aff42853b6eab56e7f29758b4521cbf01359965fcc1ca6a7c', 'Hk3kuPinLUMNwcU5hHJ', 1, NULL, '2012-11-27 20:12:29')
+ [1m[35m (0.4ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:29', `last_login_ip` = '0.0.0.0', `perishable_token` = 'zcrkPNbzog8ILBNFq41u', `updated_at` = '2012-11-27 20:12:29' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
-Completed 422 Unprocessable Entity in 12ms (Views: 1.1ms | ActiveRecord: 0.9ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '49fecf1ace76998578c2de897cf65ee8cb4a25ff974b0147295827052be35967c41d1662fd5f0279055fdb8caf25f044b277880b7e63a1c4c84fe08497c077a6' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EOH7mqarXjsqarxXhQd' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:12:29', 'fcd716fdcafeba41790e6bd8b323bee559a5094184f1fa3afb0b962beda4cfd1de9b0e2a38f1492471adb6a3b7f3e09752ff12a594bf6a5713184b47323b5662', '2012-11-27 20:12:29', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:29', 'testuser', 1, 'lTdo4A91zfxbsAVidw4', 'GyDsYtMYjGLsvA49F4jb', '49fecf1ace76998578c2de897cf65ee8cb4a25ff974b0147295827052be35967c41d1662fd5f0279055fdb8caf25f044b277880b7e63a1c4c84fe08497c077a6', 'EOH7mqarXjsqarxXhQd', 1, NULL, '2012-11-27 20:12:29')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:29', `last_login_ip` = '0.0.0.0', `perishable_token` = '00OeImmmfcKnaj1Eu4Y', `updated_at` = '2012-11-27 20:12:29' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:29', 1, 200, 'Banner Set 8', '2012-11-27 20:12:29', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.5ms)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b500f99d5825dd56d721dec8009e75da161f440db484197eeb0fcc0a9842bb27c2b0f2b73af38d34bdc0b3496f134ec1db7438c886f26e159fad60784e7d381e' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'p1wFoZYq3RLD9IGfAtd' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:12:30', '2b465eb18f2d36ff2c1b18dd29c4626c259b53d1b13673d93348148008e9d453677c2ba54e967f41cb57f056fabbb0c03b140e09bee2d18f0a34042141a2fd41', '2012-11-27 20:12:30', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:30', 'testuser', 1, '5wl6NucYntJ81jaJIOR', 'BQBZLr3zNhMNMMzc0g', 'b500f99d5825dd56d721dec8009e75da161f440db484197eeb0fcc0a9842bb27c2b0f2b73af38d34bdc0b3496f134ec1db7438c886f26e159fad60784e7d381e', 'p1wFoZYq3RLD9IGfAtd', 1, NULL, '2012-11-27 20:12:30')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:30', `last_login_ip` = '0.0.0.0', `perishable_token` = 'HlEYtHlYvHi4aj9WYqW', `updated_at` = '2012-11-27 20:12:30' WHERE `spud_users`.`id` = 8[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:30', 1, 200, 'Banner Set 9', '2012-11-27 20:12:30', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:12:30' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 78ms (Views: 1.2ms | ActiveRecord: 5.2ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '56091613ddd31e03874b484a3d6c2962efc46ba68c710635e51df89a9df17fca42149a676833d589fc86589047665937acccc738a1a192d24d4851b4c0550654' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'O7QUjQeJGRbQNenCUzMO' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:12:30', '424020fa1594cdc26c7dd12acdbfed70f53dc7a02db5843ecbdd3fba79ae96c4d04b634ef67128094184b3c90d3920d488616eada739dbd179119fed288e1b2f', '2012-11-27 20:12:30', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:12:30', 'testuser', 1, 'L7jW1gnJXHedMQoNHv', '4JA6rDSPcfnDTXgyQUdR', '56091613ddd31e03874b484a3d6c2962efc46ba68c710635e51df89a9df17fca42149a676833d589fc86589047665937acccc738a1a192d24d4851b4c0550654', 'O7QUjQeJGRbQNenCUzMO', 1, NULL, '2012-11-27 20:12:30')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:12:30', `last_login_ip` = '0.0.0.0', `perishable_token` = 'yjbMtUcnnK1UYncoZcf', `updated_at` = '2012-11-27 20:12:30' WHERE `spud_users`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:12:30', 1, 200, 'Banner Set 10', '2012-11-27 20:12:30', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"}
- [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
-Looking for banner set with id: 10
- [1m[36mSpudBannerSet Load (0.3ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 1.4ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
[1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
Connecting to database specified by database.yml
- [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
[1m[35m (2.2ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
[1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_banner_sets`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
+ [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[35mSpudUser Exists (2.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b9dfe73bd092246d5f4dba995f234decbafd9cc56610a4b5ec60fba4849979f0242ac89eb515f56a219816a1689e5aba4ac6bdd9208f895ea9163e3d00041430' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iQQbPQLouIEWffxhMKDi' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:13:01', 'f3c88b844179cfd740a1ff8e1ef8e6ae0e1538749ced91a3dee30edffe125c28a3109f0c75af74292294a3390910d188c01d38b292c3873fc5924cdd2dc038fe', '2012-11-27 20:13:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:01', 'testuser', 1, 'MGeyUQRhZfwlNV50n04w', 'br8eJczN95DLscSEcOp', 'b9dfe73bd092246d5f4dba995f234decbafd9cc56610a4b5ec60fba4849979f0242ac89eb515f56a219816a1689e5aba4ac6bdd9208f895ea9163e3d00041430', 'iQQbPQLouIEWffxhMKDi', 1, NULL, '2012-11-27 20:13:01')
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7400314332d02c51e81c69a5e1ca62b2dfb1e6380f71fea9d49952453c790d2314374fbf2138b76efa5c91c78fc62f2eb8949a64fe4bfbfdbd85a185db2bc3b0' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BAzT2ErpWyk6kBiIUyk' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'aVaczT69CBr0WFkhiMpv', `updated_at` = '2012-11-27 20:13:01' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mUPDATE `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[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:01', 1, 200, 'Banner Set 1', '2012-11-27 20:13:01', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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)[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:01', 1, 200, 'Banner Set 2', '2012-11-27 20:13:01', 600)[0m
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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)[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:01', 1, 200, 'Banner Set 3', '2012-11-27 20:13:01', 600)[0m
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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)[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:01', 1, 200, 'Banner Set 4', '2012-11-27 20:13:01', 600)[0m
+ [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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)[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:01', 1, 200, 'Banner Set 5', '2012-11-27 20:13:01', 600)[0m
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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)[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.7ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 65ms (Views: 53.2ms | ActiveRecord: 1.0ms)
- [1m[36m (1.8ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6f422886232173ff66a05ec2e92f9419a78a7fb53ebb1123e2cc8c9ce56c2066b500663fba56aeb945afe6b1fe7daffeb72bbd0931672ee7919dc654d358449e' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'b59YNIccQCeiJw4bWk3G' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:13:01', 'e4ec2b5ac5395e1607b4ec8968189cf120b7112c2dfc4e50a487bdb00f9aa857782bd80af70ddf367c28f412b5c090f966f8bb26701001cd8aec2db9c8115ba2', '2012-11-27 20:13:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:01', 'testuser', 1, '7KGZasVgsb9BkI2QIaz', 'SggzhHw3sdHiCZTrdSa', '6f422886232173ff66a05ec2e92f9419a78a7fb53ebb1123e2cc8c9ce56c2066b500663fba56aeb945afe6b1fe7daffeb72bbd0931672ee7919dc654d358449e', 'b59YNIccQCeiJw4bWk3G', 1, NULL, '2012-11-27 20:13:01')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VV8d4io3y6O9HPn1jXWE', `updated_at` = '2012-11-27 20:13:01' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:01', 1, 200, 'Banner Set 6', '2012-11-27 20:13:01', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 0.5ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4e5e17b1ac965b136d1e81d7c76632bbd4152f59087d0e1a8275ad6f61dd33b903833002f380205bbbc8aef2183c504cb3d6bb7931e88be4a095188ccb4c1ce3' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'apqi66TJiWV5O1HBH4x' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:13:01', '02a90d14cfc5e33bd3c805da09f3e11d17cd22297c0049be2e878fd884f28027d786bdcb8f1946b104d357a89685321d183e7feb837c0ff952cebd4ed474248e', '2012-11-27 20:13:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:01', 'testuser', 1, 'pi8ka8eBiCG63qUYs2aO', 'wtXiOe7Lcqqnzcea6zZ', '4e5e17b1ac965b136d1e81d7c76632bbd4152f59087d0e1a8275ad6f61dd33b903833002f380205bbbc8aef2183c504cb3d6bb7931e88be4a095188ccb4c1ce3', 'apqi66TJiWV5O1HBH4x', 1, NULL, '2012-11-27 20:13:01')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:01', `last_login_ip` = '0.0.0.0', `perishable_token` = '4bhLwIm5YGqGgVKc8Qk2', `updated_at` = '2012-11-27 20:13:01' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"-1"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Looking for banner set with id: -1
- [1m[35mSpudBannerSet Load (1.0ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
-Redirected to http://test.host/spud/admin/banner_sets
-Filter chain halted as :get_record rendered or redirected
-Completed 302 Found in 6ms (ActiveRecord: 1.3ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '839eb107840742a099d2847ac84ac45f1ce2a871f393add16d230b1f21b86c7dc33c4f57c034b4a100a0729910fd00891a50d13d4db7b1773d24342bce457351' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'k6iOqUDY7U7mgBeidZfG' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:13:01', 'd224ded443e13fab6764046de9da475668e33454be6fcfe8160bc14909223c0ef2d4ef4eeca7cc62276d0a24a7f6114d28bbacab173c90c76c0a2327f66c4324', '2012-11-27 20:13:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:01', 'testuser', 1, 'f6TLxzkG1psiwvptEHEH', 'h2T8NGNRuF689289LoyB', '839eb107840742a099d2847ac84ac45f1ce2a871f393add16d230b1f21b86c7dc33c4f57c034b4a100a0729910fd00891a50d13d4db7b1773d24342bce457351', 'k6iOqUDY7U7mgBeidZfG', 1, NULL, '2012-11-27 20:13:01')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'xWlFRqV0AqYU7AFqm8iT', `updated_at` = '2012-11-27 20:13:01' WHERE `spud_users`.`id` = 4[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.7ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9b443c5eec7f865d75dce2bfe0bafc4bd5bb5d3fc79036615f95b806fd8b56a0bda5a2b49d5675730cbc2cb8a732c52684fc646d3b851ffe000bd41dc674fa20' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'RJIzVzQLyhQfKwaErwD4' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 20:13:01', 'f82e104113fa75bdbdf8601a8e5f5bc77eaccbc23e320695dc0ba65856e0885ab1e27928941570bd364fb57a41a32dc34887f29708773bf80f51ed76b1e1ae86', '2012-11-27 20:13:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:01', 'testuser', 1, 'q6OHf9bYVaVN7JCop8Lp', 'YTDDkejHeCqxkRBzeL', '9b443c5eec7f865d75dce2bfe0bafc4bd5bb5d3fc79036615f95b806fd8b56a0bda5a2b49d5675730cbc2cb8a732c52684fc646d3b851ffe000bd41dc674fa20', 'RJIzVzQLyhQfKwaErwD4', 1, NULL, '2012-11-27 20:13:01')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'XPUC0mNTLflc6HvHRKt', `updated_at` = '2012-11-27 20:13:01' WHERE `spud_users`.`id` = 5
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:01', 1, 200, 'Banner Set 7', '2012-11-27 20:13:01', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 1.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ea1a67a43855605f0b28cd34161b2c1ef54ba7ad30ead303e0b3a444f7953ef5b14af3ac06d98adfa68a5716d9762240e6ffa054ea40769639e50ac0268ceb97' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'j4CQkgNRubsdRGuPJzaz' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:13:01', '6b055948b75200b8f95058882a67209ca1da560a01ddff4ca368214cdb644abe37b651513c6ffd9da19510598e8d93c4da22d5e19ec3ab0da2ca375cbf2ae26e', '2012-11-27 20:13:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:01', 'testuser', 1, 'tmSNuUIYjcyYus6yoVv', 'RfNYul9agcsldf1cMeiR', 'ea1a67a43855605f0b28cd34161b2c1ef54ba7ad30ead303e0b3a444f7953ef5b14af3ac06d98adfa68a5716d9762240e6ffa054ea40769639e50ac0268ceb97', 'j4CQkgNRubsdRGuPJzaz', 1, NULL, '2012-11-27 20:13:01')
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'HS4d6uJ3sfdqRgYlOHmp', `updated_at` = '2012-11-27 20:13:01' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
- [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
-Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 0.9ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '83bc33b4061d381f1cee144367646eacf46dce3990ca31cb053e066cebe0ce935e90d8c8920412e2906f1fe61a9f8e75052d728cb450b66a1849e6ee9d9cb414' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eEHOQsb7hswMFAeMwOm' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:13:01', 'ba3850809ec3f1a2a7afc4dd6d9c4b0b0b7d831e30416b276f0df970d9a2ddf4b205aca6f3a1f14ce719e98886fd93d5fa21c068c4442307f7ef95a28cddd7e9', '2012-11-27 20:13:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:01', 'testuser', 1, 'LjfvwdYjK8Ao9JnEKp4J', 'T8RgZSPyUYO4HSfTROV2', '83bc33b4061d381f1cee144367646eacf46dce3990ca31cb053e066cebe0ce935e90d8c8920412e2906f1fe61a9f8e75052d728cb450b66a1849e6ee9d9cb414', 'eEHOQsb7hswMFAeMwOm', 1, NULL, '2012-11-27 20:13:01')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:01', `last_login_ip` = '0.0.0.0', `perishable_token` = '0SAOTfpxfe4JOoaPVXnT', `updated_at` = '2012-11-27 20:13:01' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:01', 1, 200, 'Banner Set 8', '2012-11-27 20:13:01', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.5ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '60eab7978afdf75eb4142ad32593fd8a55f85331ef2ebb197dfb2adbdd003b05920677bd80e2a812aef5488c2c392163e62079d571d3d252d39ea20c3d561679' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kVUurklijPOTOdWMz4T' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:13:01', '954b03879c18ff2aeed3b4d46937a6ee8809dca6c23b217c2882c4efa01f79220df0ee0e593c00cfe226ae8c847e5ce82ea841273e565b276bb5479ff43189b4', '2012-11-27 20:13:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:01', 'testuser', 1, 'FJBYFdMSChEIKvryTDsn', 'XZv8nix02h1jATa9D9gn', '60eab7978afdf75eb4142ad32593fd8a55f85331ef2ebb197dfb2adbdd003b05920677bd80e2a812aef5488c2c392163e62079d571d3d252d39ea20c3d561679', 'kVUurklijPOTOdWMz4T', 1, NULL, '2012-11-27 20:13:01')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iP4Fq00UdfnxcQ3YgA', `updated_at` = '2012-11-27 20:13:01' WHERE `spud_users`.`id` = 8[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:01', 1, 200, 'Banner Set 9', '2012-11-27 20:13:01', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:13:01' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.2ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 78ms (Views: 1.2ms | ActiveRecord: 4.6ms)
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '575b45549c07b5449df08cbfdcd44860c7b5d2b884ceffebd6d286b39e2eb82846cd47a3b5b0f2138bad5ab02ac33fdc5fefbd119e8fa9bc72e21187ffa1319e' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tDis2Ns9109G47sDQSkw' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 20:13:01', 'ef911f02ad7d44b72d5a44bf804334c52c5a3809278ed6bea835a773184a9fa3a631a683472023d143b0ee2e1876ab332176dca18fb42291d2fd5c6617eb4025', '2012-11-27 20:13:01', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:01', 'testuser', 1, '2wbxJ32P0hXk7We3b0g', '4VED43NFRKTK70aF8OqO', '575b45549c07b5449df08cbfdcd44860c7b5d2b884ceffebd6d286b39e2eb82846cd47a3b5b0f2138bad5ab02ac33fdc5fefbd119e8fa9bc72e21187ffa1319e', 'tDis2Ns9109G47sDQSkw', 1, NULL, '2012-11-27 20:13:01')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:01', `last_login_ip` = '0.0.0.0', `perishable_token` = 'xcKjQiQeBzycXj3rgZk', `updated_at` = '2012-11-27 20:13:01' WHERE `spud_users`.`id` = 9[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:01', 1, 200, 'Banner Set 10', '2012-11-27 20:13:01', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
-Looking for banner set with id: 10
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1[0m
- [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 1.0ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (3.1ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.3ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a59ea7d96f9c89c0592bcc90871bbe84b4fc06e59f2d0cc26e5b5d55b04bc2d16438363b8394b50d0bd694dc1ed8f866dbb66ae29552f0b8e6fb14d8c0363357' LIMIT 1
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HHUCy9oX3HbnvFF0bp' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:13:25', '31ed306c7d05db514a651c626fa741b3140012f2b44bff2e115b52ec64164c2ab946e8a06f2261fb2a4fce88739e475c00cf8529b92265eeaaaef92703ad7cbd', '2012-11-27 20:13:25', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:25', 'testuser', 1, 'RqTE1tIGLPKp6KpKAC', 'HXsXzHNWgPCaQPbjHqp', 'a59ea7d96f9c89c0592bcc90871bbe84b4fc06e59f2d0cc26e5b5d55b04bc2d16438363b8394b50d0bd694dc1ed8f866dbb66ae29552f0b8e6fb14d8c0363357', 'HHUCy9oX3HbnvFF0bp', 1, NULL, '2012-11-27 20:13:25')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:25', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Ba3bagkZfHtg9tumDnt9', `updated_at` = '2012-11-27 20:13:25' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:25', 1, 200, 'Banner Set 1', '2012-11-27 20:13:25', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:25', 1, 200, 'Banner Set 2', '2012-11-27 20:13:25', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:25', 1, 200, 'Banner Set 3', '2012-11-27 20:13:25', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:25', 1, 200, 'Banner Set 4', '2012-11-27 20:13:25', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:25', 1, 200, 'Banner Set 5', '2012-11-27 20:13:25', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
[1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
[1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.6ms)
-Completed 200 OK in 60ms (Views: 50.0ms | ActiveRecord: 0.6ms)
+ 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)
[1m[36m (0.7ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '363449006beaff47ec6026691212773e049536ace18c3efe3f3c22822a644d14133f0a379a637d7898375ee8411f35ac28fabb5c589be4c83602e3b1ca312eca' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'L06mT8qXT8QQ5LBLegGm' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:13:25', '94901a03ca7adb514214ba780dc7bb30885f5c2988d40c29633b0ad08ba383677c4ea8b7859243b1d5b35d9418869041a6e59be4da567da28e8c8a13c758de60', '2012-11-27 20:13:25', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:25', 'testuser', 1, '7Z0v4ekEE7slmvlcd2D', 'nOe3eIcLa8QoLPtOezOW', '363449006beaff47ec6026691212773e049536ace18c3efe3f3c22822a644d14133f0a379a637d7898375ee8411f35ac28fabb5c589be4c83602e3b1ca312eca', 'L06mT8qXT8QQ5LBLegGm', 1, NULL, '2012-11-27 20:13:25')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:25', `last_login_ip` = '0.0.0.0', `perishable_token` = '0EjSDOZxXNe02Oyiqh', `updated_at` = '2012-11-27 20:13:25' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:25', 1, 200, 'Banner Set 6', '2012-11-27 20:13:25', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 0.5ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5e8434afddcf35d7aa917c83f1dcb596192e4b3dc9299adb538986fe316e5eab76c45018afdd3d79db95daec6fbbf8f803cc1f191bc0744a89ca9316eddbb745' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kKLAAz3o50qDFXsCkc' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:13:25', '399b4a17d849242e674c92a4189546ec739d6fcfdec55541b9b327a8d225d31c1828a45bc0056fb03a7161e1e6dd529b931c88e94da4e0a832eaf38068c8fe61', '2012-11-27 20:13:25', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:25', 'testuser', 1, '15YarDFY1CUKZlBzLx', 'ckaqccGIMrvCkh1afji', '5e8434afddcf35d7aa917c83f1dcb596192e4b3dc9299adb538986fe316e5eab76c45018afdd3d79db95daec6fbbf8f803cc1f191bc0744a89ca9316eddbb745', 'kKLAAz3o50qDFXsCkc', 1, NULL, '2012-11-27 20:13:25')
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6f86f0facdd63abeffe7051397dbc8a2af24d11537d9635e851c07f31a16e7774d14bfd0e067ba99c4c578cd4377aaef88b8aba708c663811d1cdfafce531feb' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'W17QCh4R5QnIIwl0vJy' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:25', `last_login_ip` = '0.0.0.0', `perishable_token` = 'y7UlZKjI05MxnxLymrO', `updated_at` = '2012-11-27 20:13:25' WHERE `spud_users`.`id` = 3[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"-1"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Looking for banner set with id: -1
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
-Redirected to http://test.host/spud/admin/banner_sets
-Filter chain halted as :get_record rendered or redirected
-Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
- [1m[36m (2.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd54a41f4a9cc55d17aba2fa8c0124fed134d455db8af592200c9dbb6e6ee2d89fc1232770ac18a2292fb9e6722eac2f06b5d8ace8eebfb38df94068ec403a763' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7ZbAJIy8FbRE1uSi5Ki' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:13:25', 'd0de8dc84ab634b95353fee36e23a7580a4a3ab26797d227317e5b9db54a4faccbd7720fb4b626df8ba5c68dd7c6c701a70c8d56362dc08cc5ce1ba72955708e', '2012-11-27 20:13:25', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:25', 'testuser', 1, 'Swfk8YbALaY5BYrsj1k', 'Qz7WkaxFlU7E4P2Ftek', 'd54a41f4a9cc55d17aba2fa8c0124fed134d455db8af592200c9dbb6e6ee2d89fc1232770ac18a2292fb9e6722eac2f06b5d8ace8eebfb38df94068ec403a763', '7ZbAJIy8FbRE1uSi5Ki', 1, NULL, '2012-11-27 20:13:25')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:25', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wIcjOWqJDqJtuvwr6yz', `updated_at` = '2012-11-27 20:13:25' WHERE `spud_users`.`id` = 4[0m
+ [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT 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)[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '45b8cf158c2ea7f33856ba24ce4ae20e45cf90eb2bc3850df728b2ccbb1d150fb3cb834ab4c4d1307e88c47ec09b05c3ef030b20d816b3f706aa4bd2add79a33' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WOhvMbiWuTftC48Xwua' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:13:25', 'feb21af6ed347f0a4d9d1122023b4c004a542126c9257e76f27682c9b05525829592ba1a1257a2f3bff2b5dcf7db4b80d123a8622fbb00417e508ffa7072b679', '2012-11-27 20:13:25', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:25', 'testuser', 1, 'kD6afBpsIG7mKf9DIiF', 'z6Ad0u7DWsJrP3Rx5eiS', '45b8cf158c2ea7f33856ba24ce4ae20e45cf90eb2bc3850df728b2ccbb1d150fb3cb834ab4c4d1307e88c47ec09b05c3ef030b20d816b3f706aa4bd2add79a33', 'WOhvMbiWuTftC48Xwua', 1, NULL, '2012-11-27 20:13:25')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:25', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rfawulEhghVtJDd6YZm', `updated_at` = '2012-11-27 20:13:25' WHERE `spud_users`.`id` = 5
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:25', 1, 200, 'Banner Set 7', '2012-11-27 20:13:25', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e9e45d9a3d5f9202e9383e025f928a3006cb0464ae9450b9a6f0150df99bf2e453b0c083f97c0738f350cadeefd63595dcafc4bbceb2987a9a9cf2c300fd6c87' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pHJAtfZrMIpaZFNpy9yA' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:13:25', '424c0b6b29841761bb37c90b061611e8a6be1830951642524e175f11fcde3c094a6c63258a13bc0d4fdb3ba2fdaf0b626e64cb0bbe1dfd5e519bce1d32db167b', '2012-11-27 20:13:25', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:25', 'testuser', 1, 'BUikKs6MmCYO1c4cyhPn', 'kHFQeZXEZm1QekS0uqJ', 'e9e45d9a3d5f9202e9383e025f928a3006cb0464ae9450b9a6f0150df99bf2e453b0c083f97c0738f350cadeefd63595dcafc4bbceb2987a9a9cf2c300fd6c87', 'pHJAtfZrMIpaZFNpy9yA', 1, NULL, '2012-11-27 20:13:25')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:25', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rMchsZKVN4K0gCqbGwKZ', `updated_at` = '2012-11-27 20:13:25' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
- [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
-Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 0.9ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7fe0fe2ddeb9471713e579341ca7e0487d918e5f0a67629e06c9989d9fa185d003218bba61068c9d424d7f46a2458cbfe73dd96d13ad1ab6942acddefe5ec0e5' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pCHLHbvCKxLP9kseP8' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:13:25', 'fb0c4914707241d1fd356a3eeca066ec443cda886a3d5be6eed1ef73bf82167957d730087f86f64bc16e0e9070adb616117df51d152d1a8b40b82c233115e882', '2012-11-27 20:13:25', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:25', 'testuser', 1, 'Layv5yzdFnEH01SyNJw', 'Z36GukSpUyU4JoJAqJNF', '7fe0fe2ddeb9471713e579341ca7e0487d918e5f0a67629e06c9989d9fa185d003218bba61068c9d424d7f46a2458cbfe73dd96d13ad1ab6942acddefe5ec0e5', 'pCHLHbvCKxLP9kseP8', 1, NULL, '2012-11-27 20:13:25')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:25', `last_login_ip` = '0.0.0.0', `perishable_token` = 'lOB60RmBdoVca1vrrD', `updated_at` = '2012-11-27 20:13:25' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:25', 1, 200, 'Banner Set 8', '2012-11-27 20:13:25', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.4ms)
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8ee1b3f566062542807133657df8857052aff82aed6d081ed053a9d9daf336805b234cdeeb5323ff4e22c3689c96ef4d23652423bbc6ad6fd8ebac56c81b3a84' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '23ITPUBFeT71N0bnZwX7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m 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-11-27 20:13:25', 'a37d8a21f05ec506487f0ef98ceece862b72fdfceed94ce59b40cc702a6d789ba3f59b1b27111d9067ebbf6f37da6b4fed65307aed3f7670151c23d398b9a37a', '2012-11-27 20:13:25', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:25', 'testuser', 1, 'vQM7hG5sY8MqoUM8iWp', 'ElFstj5QGQc5L9Zh1mbT', '8ee1b3f566062542807133657df8857052aff82aed6d081ed053a9d9daf336805b234cdeeb5323ff4e22c3689c96ef4d23652423bbc6ad6fd8ebac56c81b3a84', '23ITPUBFeT71N0bnZwX7', 1, NULL, '2012-11-27 20:13:25')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:25', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hzaenwJJQbMPi2AxzRK', `updated_at` = '2012-11-27 20:13:25' WHERE `spud_users`.`id` = 8[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:25', 1, 200, 'Banner Set 9', '2012-11-27 20:13:25', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:13:25' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 79ms (Views: 1.2ms | ActiveRecord: 5.2ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4307efdd7899f721f94bd43b72c1f9135355c1ec3f2e086f8af76c8d0f9372af123421bdacc7adf3ac594f2b05aca8203015aee0e4bda2c9830a40a7631737b4' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7m9aMqWZcYHtJcNnMm' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 20:13:25', '3f323ff737e3023f385cb2354ed9d0f924c28b9783e3bb9f0c8c1a137234ff5e37198e6ba6ba58c914f7655800b8f92bb714ad1985880b5012270b688280c306', '2012-11-27 20:13:25', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:13:25', 'testuser', 1, 'hJOUkmqnNahKH7wOPp8S', 'adn4A3OVxXxyxJrgvkCi', '4307efdd7899f721f94bd43b72c1f9135355c1ec3f2e086f8af76c8d0f9372af123421bdacc7adf3ac594f2b05aca8203015aee0e4bda2c9830a40a7631737b4', '7m9aMqWZcYHtJcNnMm', 1, NULL, '2012-11-27 20:13:25')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:13:25', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Cj5rlnd1ZX036el0KxF', `updated_at` = '2012-11-27 20:13:25' WHERE `spud_users`.`id` = 9[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:13:25', 1, 200, 'Banner Set 10', '2012-11-27 20:13:25', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"}
- [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
-Looking for banner set with id: 10
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 12ms (Views: 1.1ms | ActiveRecord: 1.0ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.0ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.5ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '99fcfa8622bc1c393700e9474c7ad5a22c9c4abede77b26c08813e33f985c5e8b983207042fa9eefff57628e4b55197b6eff07b2b5e1eae1b09f158a6f76bc08' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cfE3pTdWyGJ2Hn5GrHR' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:15:29', 'bde532b478d2b8a762ad939f19a94352d40a910b168c0313bd1d84758d4dc5e45a312bcbc98bd30f0146bf1bee18ed09309ce2f08ad8ae9c0af7bb0f7ce8c969', '2012-11-27 20:15:29', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:29', 'testuser', 1, '3Rqpfa157JGreT25RXS4', '6IsWmA5nnV2MxfHxx1O', '99fcfa8622bc1c393700e9474c7ad5a22c9c4abede77b26c08813e33f985c5e8b983207042fa9eefff57628e4b55197b6eff07b2b5e1eae1b09f158a6f76bc08', 'cfE3pTdWyGJ2Hn5GrHR', 1, NULL, '2012-11-27 20:15:29')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:29', `last_login_ip` = '0.0.0.0', `perishable_token` = 'LFq3mVBnhvf4P2O9x', `updated_at` = '2012-11-27 20:15:29' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:29', 1, 200, 'Banner Set 1', '2012-11-27 20:15:29', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:29', 1, 200, 'Banner Set 2', '2012-11-27 20:15:29', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:29', 1, 200, 'Banner Set 3', '2012-11-27 20:15:29', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:29', 1, 200, 'Banner Set 4', '2012-11-27 20:15:29', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:29', 1, 200, 'Banner Set 5', '2012-11-27 20:15:29', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.6ms)
-Completed 200 OK in 61ms (Views: 51.2ms | ActiveRecord: 0.5ms)
- [1m[36m (1.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f57207ebd98e3c2e86278f5e523a55f1a94ae5f0a84d24ee4fde345b5dd4996b75062a513490c64d8dcb473724510a5001afef77959d714ae882b9a0e9f879e7' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gkqKOqPt3DEMiFKJQQf' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:15:29', 'c026177295585957b85948ef26724d6aba751d1ae231f8d609e1f92b94e025e65fbd268bf96d94fbf5feff0d112fbed5b5bb88b01be773d7e92cfc73d37e463d', '2012-11-27 20:15:29', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:29', 'testuser', 1, 'emgdJAKSIuTGeuW2NcfA', 'uYROZcJxeIcDEEJnw85', 'f57207ebd98e3c2e86278f5e523a55f1a94ae5f0a84d24ee4fde345b5dd4996b75062a513490c64d8dcb473724510a5001afef77959d714ae882b9a0e9f879e7', 'gkqKOqPt3DEMiFKJQQf', 1, NULL, '2012-11-27 20:15:29')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:29', `last_login_ip` = '0.0.0.0', `perishable_token` = '7MpyVf04uDHuhf6s55uJ', `updated_at` = '2012-11-27 20:15:29' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:29', 1, 200, 'Banner Set 6', '2012-11-27 20:15:29', 600)[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::BannerSetsController#show as HTML
Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.5ms)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '78bbba6e6a786bdbedb2d7834f546b639622c2a740f438ecf1d401820e905efc942cb78716303ac36fc40bac2c01a26ac5c7bb8b0774c8f28bc9b5aa2d050160' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NelvkYCb9d7eE1ccjgBx' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:15:30', 'f2d3897614716040e65b54b3ce330335c70609380a1bd407fcbb0fe7a1d78f92ce97995e418c09a52b47ef556ef4af0d841a168b0c4a97a257f1ca3ce23e1fdb', '2012-11-27 20:15:30', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:30', 'testuser', 1, '17YpSkj2Y6dYPhxprJh4', 'D5SvR0shGGyuzvS3U8H', '78bbba6e6a786bdbedb2d7834f546b639622c2a740f438ecf1d401820e905efc942cb78716303ac36fc40bac2c01a26ac5c7bb8b0774c8f28bc9b5aa2d050160', 'NelvkYCb9d7eE1ccjgBx', 1, NULL, '2012-11-27 20:15:30')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:30', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ZgJNoxaVxOpDBAzOb5DN', `updated_at` = '2012-11-27 20:15:30' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"-1"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Looking for banner set with id: -1
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
-Redirected to http://test.host/spud/admin/banner_sets
-Filter chain halted as :get_record rendered or redirected
-Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ca93639b2f2664a31a3ca8985e0e1e9bdebcbf148a7047980a101a91386894c61bf704a7b420cff420c0e111fd6e0ad03a3d9e2e85ededb7c470ae41ba6dda21' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pGGFffZyBcyUKO2TPm' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:15:30', '1fd0d8d3ffc8314983cb844f0dde8bd15c942f517dd370e00988e7b84a682491c18dca0aed8116ff2fd880088ced08a73f20c0c5fae536586ef2784af68a3ef5', '2012-11-27 20:15:30', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:30', 'testuser', 1, 'NuYRvTQAZNPnGOQN3VZr', 'EYH3Yedbnec2zSG5b2X', 'ca93639b2f2664a31a3ca8985e0e1e9bdebcbf148a7047980a101a91386894c61bf704a7b420cff420c0e111fd6e0ad03a3d9e2e85ededb7c470ae41ba6dda21', 'pGGFffZyBcyUKO2TPm', 1, NULL, '2012-11-27 20:15:30')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:30', `last_login_ip` = '0.0.0.0', `perishable_token` = '7FuYaZdJDtEGOzvwh6IR', `updated_at` = '2012-11-27 20:15:30' WHERE `spud_users`.`id` = 4[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (2.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8f1ab52bd43cf75f4d7ec8e72324a7cf795e25f14edc43674de93f1a0f6d7f7031f393f17c0431922cbd87e7ec6635291df6ae66425939fc96b2f9aaccb846d0' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sWO1i7oEQDRFKWmMsLD' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:15:30', '22399683fbb2dca163f1cebfbbc5b92939af4b9ccfeb881ddbb02458a4b5daf80bc8a703e8dda8745086cec5a4b1d84641bd8e031c2dda02e7a997a69e4ff86f', '2012-11-27 20:15:30', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:30', 'testuser', 1, 'yiQ6vftipupBZOtvdGqV', 'jqLrELvx9Z3VkRQVOJ4F', '8f1ab52bd43cf75f4d7ec8e72324a7cf795e25f14edc43674de93f1a0f6d7f7031f393f17c0431922cbd87e7ec6635291df6ae66425939fc96b2f9aaccb846d0', 'sWO1i7oEQDRFKWmMsLD', 1, NULL, '2012-11-27 20:15:30')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:30', `last_login_ip` = '0.0.0.0', `perishable_token` = '9FEGMnbsCK11t1FdBEK', `updated_at` = '2012-11-27 20:15:30' WHERE `spud_users`.`id` = 5
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:30', 1, 200, 'Banner Set 7', '2012-11-27 20:15:30', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.7ms | ActiveRecord: 1.2ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
+ [1m[35mSpudBannerSet Load (0.3ms)[0m 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)
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd74eacd5c26b7ba91b89eaf5e283d993dc3542832b86aba1fe2b840aaf82134ad00b9ff144ade7836c2458e00bfa82c3847c8820661e55cbfe52946b5efe4130' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SjJv06LIvOwod27xRa5M' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:15:30', 'f48bd1cba9cb46cc1aade373552a7fa7bab3ab3c25d123b698b953890327a16985180bf37689a487683c8e89535f4834e6841acff2d5aceca43c997bc11d1a2b', '2012-11-27 20:15:30', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:30', 'testuser', 1, '1Xpi1Bqcg6hlBCRb6vG', '02FgXsWTfjIvHrsI2bI', 'd74eacd5c26b7ba91b89eaf5e283d993dc3542832b86aba1fe2b840aaf82134ad00b9ff144ade7836c2458e00bfa82c3847c8820661e55cbfe52946b5efe4130', 'SjJv06LIvOwod27xRa5M', 1, NULL, '2012-11-27 20:15:30')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:30', `last_login_ip` = '0.0.0.0', `perishable_token` = 'zbvPHakVVo0oiULyZb5n', `updated_at` = '2012-11-27 20:15:30' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
- [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
- [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
-Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 1.0ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ece1b8a259f7eeef3326b9db562551bfadd73b1852ffd065546c3737cdc31b6bc6a76e72af06e16f582b2a95d744487d0d2d4150532aea1326fb3353afa4b6c5' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KjtKSFOA7a9HRjyrQqT' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:15:30', '64bd7bb7c83552b9d106a2231243554e85792724896e97a8978814b2c7023f47bcd21c32db0fca0a796b686bbd3e7371ad80d8153ef0d93c21085cdecb28b3af', '2012-11-27 20:15:30', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:30', 'testuser', 1, 'RyCkTu2F2l4SJWE9jL', 'P7ie9ymMcGycZNPALosI', 'ece1b8a259f7eeef3326b9db562551bfadd73b1852ffd065546c3737cdc31b6bc6a76e72af06e16f582b2a95d744487d0d2d4150532aea1326fb3353afa4b6c5', 'KjtKSFOA7a9HRjyrQqT', 1, NULL, '2012-11-27 20:15:30')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:30', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kdq62Y2d4o9WV0MnOI', `updated_at` = '2012-11-27 20:15:30' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:30', 1, 200, 'Banner Set 8', '2012-11-27 20:15:30', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.5ms)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ea8ff464424326f4dd48ee3ea18c0d4ff569188ad6f6426fca68a67d09f0b136dc40c962ae0016793e3b28ec58d241efe7b7fadbe8382a6176ca9b0c87658255' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZdLNHwsuCdfWE6zYgGvT' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:15:30', '469bcf33ca666c1816ddda16dbab84493ac591af836678370a0a7f4dfae3f5309d682fd2b3346648252c1bc4c7ac80f5f5a65aee095977cc2becbad7981e7e27', '2012-11-27 20:15:30', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:30', 'testuser', 1, 'EvFdCPAs7glXC8dFd4Q7', '29lhn8Tof5QCqfEsVJVI', 'ea8ff464424326f4dd48ee3ea18c0d4ff569188ad6f6426fca68a67d09f0b136dc40c962ae0016793e3b28ec58d241efe7b7fadbe8382a6176ca9b0c87658255', 'ZdLNHwsuCdfWE6zYgGvT', 1, NULL, '2012-11-27 20:15:30')
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '71879bbcc5c27ef2c49b6c039f2b32cd3c8de8b56ea9a960e46b4ccda55c8d8f8abb9110daa12d17eba28a20f2445801031be1e796906bf56efcc208c4643ec0' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VJcjyWItnG1Y3dP4oWe' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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')
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:30', `last_login_ip` = '0.0.0.0', `perishable_token` = 'fc9LE48FI3iKDZ8v7r2n', `updated_at` = '2012-11-27 20:15:30' WHERE `spud_users`.`id` = 8[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:30', 1, 200, 'Banner Set 9', '2012-11-27 20:15:30', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:15:30' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.2ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 79ms (Views: 1.2ms | ActiveRecord: 5.6ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a63743d73c9f552a880201f1e172fe36175b3f653c83fdffe9d49726ed14e760a37651ede18b95319fe2f6b636f66905a64d9f9d15b535f7306a0150854b343f' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7mcAjdoB0I3lNVPS68x' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:15:30', 'bfb8606ea57d99b28d9d259af5b1d1427f8cd5fc5194e6db58f66c1297119b2507cdae52ae649b5f8f650f6114602dea661c4616097786624f4748710fa1ffc3', '2012-11-27 20:15:30', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:30', 'testuser', 1, 'qFNYMQOzAPoDr69ZAb9', 'ZCCwTR5hPup0vHZvJt2', 'a63743d73c9f552a880201f1e172fe36175b3f653c83fdffe9d49726ed14e760a37651ede18b95319fe2f6b636f66905a64d9f9d15b535f7306a0150854b343f', '7mcAjdoB0I3lNVPS68x', 1, NULL, '2012-11-27 20:15:30')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:30', `last_login_ip` = '0.0.0.0', `perishable_token` = 'd0hdKyQAa1nxS0ksWzm', `updated_at` = '2012-11-27 20:15:30' WHERE `spud_users`.`id` = 9[0m
+ [1m[36m (0.3ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:30', 1, 200, 'Banner Set 10', '2012-11-27 20:15:30', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"}
- [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
-Looking for banner set with id: 10
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 1.5ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5407829fc2f922ead561351b1eded5c1b616d152d86eae74c23d73cb02bbf3739f2dabbc10b48cbadb7abeef9784551775a2395024c27f30a1d478b0be04a70c' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tdn1GLNGZvdIhOXA8VhR' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 20:15:30', 'd1b2d5be99310245754dcdafb6921343d908fe803bfb9e2c60ac1fb575c731a63bfa335f987165b549064efe2e8558b423e83ab9b5a418fafa95eaf83bed9642', '2012-11-27 20:15:30', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:30', 'testuser', 1, '54M3WyNSQgb8FEJ7CN3u', 'EStkl2akvg39rr1Z2Uj', '5407829fc2f922ead561351b1eded5c1b616d152d86eae74c23d73cb02bbf3739f2dabbc10b48cbadb7abeef9784551775a2395024c27f30a1d478b0be04a70c', 'tdn1GLNGZvdIhOXA8VhR', 1, NULL, '2012-11-27 20:15:30')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:30', `last_login_ip` = '0.0.0.0', `perishable_token` = 'bwfctKcafw1WsMEjs5EA', `updated_at` = '2012-11-27 20:15:30' WHERE `spud_users`.`id` = 10
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:30', 1, 200, 'Banner Set 11', '2012-11-27 20:15:30', 600)
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
-Processing by Spud::Admin::BannerSetsController#destroy as HTML
- Parameters: {"id"=>"11"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
-Looking for banner set with id: 11
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBanner Load (0.3ms)[0m SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 11 ORDER BY sort_order asc
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Completed 200 OK in 13ms (Views: 3.5ms | ActiveRecord: 1.4ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.1ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.7ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0020dcef1938c2f29d2ed7a9e3d9effce1cd498f66112dc1eaea22ec152e97cb8c0a25c0cb5d76e3c5e8d803bdda3e5f29f010b01dd871024e32ec0407d7c19b' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'x5iK9kkXCH5tIlKviH' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:15:41', 'b1fb940b71ff08720f9b8b0e245caa4dc3578d02da8e5477646af580ee9992479c8425e36c0ab85a8b08de0545fa60748ef8f22a160c26428d33008ed2d710c7', '2012-11-27 20:15:41', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:41', 'testuser', 1, '1z9xfNippdyDb1jWVq17', 'MSG0ThTjqUPPWJ6zX7j', '0020dcef1938c2f29d2ed7a9e3d9effce1cd498f66112dc1eaea22ec152e97cb8c0a25c0cb5d76e3c5e8d803bdda3e5f29f010b01dd871024e32ec0407d7c19b', 'x5iK9kkXCH5tIlKviH', 1, NULL, '2012-11-27 20:15:41')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:41', `last_login_ip` = '0.0.0.0', `perishable_token` = 'XSPcr44xmtg1x3f6tKFl', `updated_at` = '2012-11-27 20:15:41' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:41', 1, 200, 'Banner Set 1', '2012-11-27 20:15:41', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:41', 1, 200, 'Banner Set 2', '2012-11-27 20:15:41', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:41', 1, 200, 'Banner Set 3', '2012-11-27 20:15:41', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:41', 1, 200, 'Banner Set 4', '2012-11-27 20:15:41', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:41', 1, 200, 'Banner Set 5', '2012-11-27 20:15:41', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.5ms)
-Completed 200 OK in 60ms (Views: 51.0ms | ActiveRecord: 0.7ms)
- [1m[36m (1.8ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8b029d897a806e0b59d6cf2eb3db1bef7b034aebe794198f0872bd8fb82147835254d897675576c2cb9c3a0057aface5e8c5a928c9b657318d9bd2daf966b8aa' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dBtbQm1zjM8xu6mX7VA' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:15:41', '01b66de975677161904e48b863a17a0eb08bc81148e88a56e671c3974b43a06cfcae04b4fac2c2cc87f9ddfa273274fb6170af437fd0214df01007eb86fb1d77', '2012-11-27 20:15:41', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:41', 'testuser', 1, 'thmvWkSCz603r3gljt4B', 'wdcFP8K620LYFESNykQ', '8b029d897a806e0b59d6cf2eb3db1bef7b034aebe794198f0872bd8fb82147835254d897675576c2cb9c3a0057aface5e8c5a928c9b657318d9bd2daf966b8aa', 'dBtbQm1zjM8xu6mX7VA', 1, NULL, '2012-11-27 20:15:41')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:41', `last_login_ip` = '0.0.0.0', `perishable_token` = 'a32ouquyjzZmK3fgB67', `updated_at` = '2012-11-27 20:15:41' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:41', 1, 200, 'Banner Set 6', '2012-11-27 20:15:41', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.0ms | ActiveRecord: 0.7ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a1ce07559ef8f070ea6442ed5640ed735a93c01ac269b23bd0d4bd43ef45d271a9e3f4e9c00af27fc177bbba17782d7551d385f91f5fe2f92957fdcd7f4718a8' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'rtZ6ehTAAPzAhKmhfTDT' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:15:41', '12fbb4ad22b65ed8aa42073a8b0f8b2950c210fb583fb1025bfe8395f432fa1ab3986c0c11f31952b7de7f4f1f16bbbfba28a0f839ef908b1db90c71bc29ab63', '2012-11-27 20:15:41', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:41', 'testuser', 1, 'YUzUGy7VYLGUJrzQMts', 'FFh8chfibRO9dSduBbCM', 'a1ce07559ef8f070ea6442ed5640ed735a93c01ac269b23bd0d4bd43ef45d271a9e3f4e9c00af27fc177bbba17782d7551d385f91f5fe2f92957fdcd7f4718a8', 'rtZ6ehTAAPzAhKmhfTDT', 1, NULL, '2012-11-27 20:15:41')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:41', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kXZL4omCphOv3x8z5D3g', `updated_at` = '2012-11-27 20:15:41' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
Parameters: {"id"=>"-1"}
- [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
Looking for banner set with id: -1
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
+ [1m[35mSpudBannerSet Load (0.4ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
Redirected to http://test.host/spud/admin/banner_sets
Filter chain halted as :get_record rendered or redirected
-Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '95af0721361a0d48d75b00827459076cbe417a2d20def2f21d2af8081eb73f1bd19e0c6d82e88066aa0c99a5fa5ff87c92282afaf4d7862f47a06cb2e6062305' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qsm6kSQlqgwuwjpzDaRf' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:15:41', '2ece7d3eeac3fb2a6e806a9e15abe4d6e5e59cc6a79f789953289ff86c76dffb41a6f1d8a6071e8fe9601e6c25450e8cfaa9e7a6807269944182de19c7629441', '2012-11-27 20:15:41', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:41', 'testuser', 1, 'QGLd0pahjkSBRpCdObi0', 'WKZPpigBDKdhGGQUEYdG', '95af0721361a0d48d75b00827459076cbe417a2d20def2f21d2af8081eb73f1bd19e0c6d82e88066aa0c99a5fa5ff87c92282afaf4d7862f47a06cb2e6062305', 'qsm6kSQlqgwuwjpzDaRf', 1, NULL, '2012-11-27 20:15:41')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:41', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hGkde8mlT0hYtGjvncPy', `updated_at` = '2012-11-27 20:15:41' WHERE `spud_users`.`id` = 4[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1eab0845df7a34fc4af50f7e713ac438cfdc950b3e5a4bc494f0cd116d972679c2cf3a2a8095d1b59257adb4cf57ee7ba0578f68c50e6334bf6eb78171ec5696' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4nAoJ424vzZo0begtLgT' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m 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')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::BannerSetsController#new as HTML
[1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
-Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.3ms)
- [1m[35m (0.5ms)[0m ROLLBACK
+Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '28e8563f5db9797ffc062d6a49b82bc5831a865c6163cd8631ad179df10fd471e8ba3e3f9f63eed10ba66a29c50df43a669a4179f0ee8007c8c98bc478f0e887' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'a5oNsOtVpP8HrjsB0ZoH' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:15:41', '5acbe9eb93d3d06e55b936a2e8a7aa22a8e0e934920ff75abafa12eb78c671aa5d0af805bb34543b100fb0e513800fcd24058eabe88ac39b2c2250fb687d5096', '2012-11-27 20:15:41', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:41', 'testuser', 1, 'Mk3gbdCoBvHs9ySdJxh', 'aLsUcmttYNqMIWvDHMnF', '28e8563f5db9797ffc062d6a49b82bc5831a865c6163cd8631ad179df10fd471e8ba3e3f9f63eed10ba66a29c50df43a669a4179f0ee8007c8c98bc478f0e887', 'a5oNsOtVpP8HrjsB0ZoH', 1, NULL, '2012-11-27 20:15:41')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b936a2f15b918b2469e7647bf3021d024111e03c435b073a4657c431ce281bb840ca858bada1270e48aa3678662a8986225d5c519973fa472b32cd1997592443' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'buzQsrEI6WdK7lt5aQi' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:41', `last_login_ip` = '0.0.0.0', `perishable_token` = 'aRvo91fHkqukZSrRcLB', `updated_at` = '2012-11-27 20:15:41' WHERE `spud_users`.`id` = 5
+ [1m[35m (0.3ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
+ [1m[35m (0.1ms)[0m 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}}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:41', 1, 200, 'Banner Set 7', '2012-11-27 20:15:41', 600)
+ [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 12ms (Views: 1.7ms | ActiveRecord: 1.1ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '09e7953909c53bcd3dc9b86dd62a1deaf82c2cec730768b12f3a08e3f29d676a915929e8ca2eb98c59b32336bdfd3046b1fd43e78de1ba981a3b1d7cd05a69a7' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uHHq2bgVI4zf03ZBch9' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:15:42', 'f0943815e2a5a2413fc484bdc29e9b77f034a86dd2f52a4c702a37451bdaa650adc80a27421bfec6576d3791bfaa471301d37f689e97e5e9cd77756f92ab002f', '2012-11-27 20:15:42', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:42', 'testuser', 1, 'k9YeT5K4UAsYvAH72a1', 'cR6VfJbVcHrnYi6Inm8', '09e7953909c53bcd3dc9b86dd62a1deaf82c2cec730768b12f3a08e3f29d676a915929e8ca2eb98c59b32336bdfd3046b1fd43e78de1ba981a3b1d7cd05a69a7', 'uHHq2bgVI4zf03ZBch9', 1, NULL, '2012-11-27 20:15:42')
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f62dfbe0bd1814e8a5b7d67f85d67b6030df785638904ef84c36945738c25a862007872ffebb7494003920678e47b60bd8239f8ac20412f431efddc899139813' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qIYwlbeRYqSer7DBEFR' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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')
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:42', `last_login_ip` = '0.0.0.0', `perishable_token` = 'UkP4hDngHBQzhDPtirS6', `updated_at` = '2012-11-27 20:15:42' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mUPDATE `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[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
Processing by Spud::Admin::BannerSetsController#create as HTML
Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
- [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
-Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 0.8ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f00aa47f9665e33373f6077ebd89d7579082fd54f9fee3ffdb31a48700ff5d2e19ce05d00f5fdf0f6a8d8ec4c5d3bdffedee6b8773f8add879213e6596ac35a5' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UrImy83ZmtmAjUSFKt' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:15:42', 'fbb835c8ab9a023429ab886dad9d25966f1d6b4b249720e6ef2f9792e9f6a8715b191e21101fa806c87674c72ac916055d3ad5ef3894150a65915542eda39ecb', '2012-11-27 20:15:42', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:42', 'testuser', 1, 'yauxQyxR1bjP80Lldk2', 'qoAwOPg3zaGQxzrrupIV', 'f00aa47f9665e33373f6077ebd89d7579082fd54f9fee3ffdb31a48700ff5d2e19ce05d00f5fdf0f6a8d8ec4c5d3bdffedee6b8773f8add879213e6596ac35a5', 'UrImy83ZmtmAjUSFKt', 1, NULL, '2012-11-27 20:15:42')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:42', `last_login_ip` = '0.0.0.0', `perishable_token` = 'k7ych7Bjpsg3Vn0Ybm1', `updated_at` = '2012-11-27 20:15:42' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:42', 1, 200, 'Banner Set 8', '2012-11-27 20:15:42', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.5ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'daa7cd256de7a43012a34c472d514b78387930c2e7f6353ba2d3405727c887bb2ead3402267615f5f09d4827f151b596e365e62e7bd1f189a496c49f8bb6e71d' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'awin4RiUdmNJPpI6cpL3' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:15:42', '36b400981c567d48b3d3f453decc5a9c54c1659aabcf17128e9b0baf6bd8c47e3515e76a3ba5f2741e1a02d8503a70d6c43c6f5cf50d2bb0a2f483d0d2f0d824', '2012-11-27 20:15:42', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:42', 'testuser', 1, 'wwm0MEO24Hk34zlLkiR', '84plRcputGmtM7ihYRSf', 'daa7cd256de7a43012a34c472d514b78387930c2e7f6353ba2d3405727c887bb2ead3402267615f5f09d4827f151b596e365e62e7bd1f189a496c49f8bb6e71d', 'awin4RiUdmNJPpI6cpL3', 1, NULL, '2012-11-27 20:15:42')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:42', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VBHDQWieTMV2e63Ant3', `updated_at` = '2012-11-27 20:15:42' WHERE `spud_users`.`id` = 8[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:42', 1, 200, 'Banner Set 9', '2012-11-27 20:15:42', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:15:42' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 80ms (Views: 1.2ms | ActiveRecord: 4.9ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3228dff24feab31a0633b4194446cfde58363e1b1af69dbc5072620e7936f8342b20efc004a8eef2ce00f51c8aa6ef1f557654f2fb04a630381f88a05fc96215' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tjk4noNYY4bl6SrfMVr' LIMIT 1[0m
- [1m[35mSQL (0.5ms)[0m 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-11-27 20:15:42', 'e2d5185b90dc5c8ff73a16923b14a6ade291e141ec8729f9d6057459d2272bd54dec8f3c0135191ad6e6865e952a9deed956d53b8cb0801dc4ecc8bb10b544a9', '2012-11-27 20:15:42', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:42', 'testuser', 1, 'OWf3TVzoj36guLi5vCr8', 'bEpKLxc2OBxMAAzkhnMR', '3228dff24feab31a0633b4194446cfde58363e1b1af69dbc5072620e7936f8342b20efc004a8eef2ce00f51c8aa6ef1f557654f2fb04a630381f88a05fc96215', 'tjk4noNYY4bl6SrfMVr', 1, NULL, '2012-11-27 20:15:42')
+ [1m[35m (0.3ms)[0m 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
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:42', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YESQiZRn8OFdvWtaOCa', `updated_at` = '2012-11-27 20:15:42' WHERE `spud_users`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:42', 1, 200, 'Banner Set 10', '2012-11-27 20:15:42', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"}
- [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
-Looking for banner set with id: 10
- [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1[0m
+ [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1[0m
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 12ms (Views: 1.1ms | ActiveRecord: 1.2ms)
+Completed 422 Unprocessable Entity in 11ms (Views: 0.7ms | ActiveRecord: 1.8ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[35m (0.6ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2d7aa6b4987aadc51663c3626e0bb71f050d86eddab2dde71bed504cc6017582d89240a8095fb11866a9aefc28d4ce0db677bc8088f2536805960437a73dec56' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WHi4OTbI7HWadrsNamYr' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:15:42', '60ffa058c4287c93609da9d19fd57e14da43765fa9698f2589da25bab57e1d71cbceda7cfb92ed43ddbcf15cf1f26220f6876bba31db4a52776e7fc0df38acb7', '2012-11-27 20:15:42', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:15:42', 'testuser', 1, 'lBbLEIRteaFKfRghBA3p', 'CbZiN80menKvWO7uZeFJ', '2d7aa6b4987aadc51663c3626e0bb71f050d86eddab2dde71bed504cc6017582d89240a8095fb11866a9aefc28d4ce0db677bc8088f2536805960437a73dec56', 'WHi4OTbI7HWadrsNamYr', 1, NULL, '2012-11-27 20:15:42')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:15:42', `last_login_ip` = '0.0.0.0', `perishable_token` = 'tkV5npJ0Xo8EUbGXsHgY', `updated_at` = '2012-11-27 20:15:42' WHERE `spud_users`.`id` = 10
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:15:42', 1, 200, 'Banner Set 11', '2012-11-27 20:15:42', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
-Processing by Spud::Admin::BannerSetsController#destroy as HTML
- Parameters: {"id"=>"11"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
-Looking for banner set with id: 11
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11 LIMIT 1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBanner Load (0.3ms)[0m SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 11 ORDER BY sort_order asc
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
-Completed 200 OK in 12ms (Views: 2.8ms | ActiveRecord: 1.4ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cc338d565d9aefe012bedc3cc76caed8906dfaac1971ba69f5bd063f41f496a6b84148aaa84c40d39ea9d431e20a3c0ed18c240421d347029c05d588c80d8d7d' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pR4o2rkzcVSz1VM2HYU' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:19:17', 'dce3f11ea2aca612f9535f2de428387e817e7ca7059b32c2dc394bd17a373b02c3a40702ea784b1209fcf83326903731f19906d26c405514b86e6045ce5a4f77', '2012-11-27 20:19:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:19:17', 'testuser', 1, 'mGqWrFoMWQGnlCJwSX', 'f3VXzQOWyZD3LuBMrLy', 'cc338d565d9aefe012bedc3cc76caed8906dfaac1971ba69f5bd063f41f496a6b84148aaa84c40d39ea9d431e20a3c0ed18c240421d347029c05d588c80d8d7d', 'pR4o2rkzcVSz1VM2HYU', 1, NULL, '2012-11-27 20:19:17')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:19:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'w0azfnbXwGif7yE2BK', `updated_at` = '2012-11-27 20:19:17' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:19:17', 1, 200, 'Banner Set 1', '2012-11-27 20:19:17', 600)[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e0db6baac2401111748b6d8aa225305c94b7eeee563dddd6c71f3571aa3d26ce5f3bd9ab5e0666fe264c2ffd92ded569b452e2d39c38ad3ec427f8e93876535d' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'aG8PruBEXZwJUL12yec' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:19:17', 1, 200, 'Banner Set 2', '2012-11-27 20:19:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:19:17', 1, 200, 'Banner Set 3', '2012-11-27 20:19:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:19:17', 1, 200, 'Banner Set 4', '2012-11-27 20:19:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:19:17', 1, 200, 'Banner Set 5', '2012-11-27 20:19:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (3.0ms)
-Completed 200 OK in 64ms (Views: 54.7ms | ActiveRecord: 0.5ms)
- [1m[36m (1.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a355add5dd44afb1640bf2741aa859593f7ce4e17c288d4ddc81e7bd4136c3e5f0618ca936bf987dbc501baec7546b838c9db1e20a69de5bb6df1203468d9494' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wEbqmAeiSHfknEF0tP1' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:19:17', 'f8f5098f5171e02884e7ff8739d2bb8408f1fd263d595d5dc44048f61280f40c55bd7793d7fa44cae070919758742a7beb4ca3c04b3c862de245a5856c58bf95', '2012-11-27 20:19:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:19:17', 'testuser', 1, 'Ezlqua3IDLQg97g0cwsy', '9duB9uISeoo8Ya0qtP9L', 'a355add5dd44afb1640bf2741aa859593f7ce4e17c288d4ddc81e7bd4136c3e5f0618ca936bf987dbc501baec7546b838c9db1e20a69de5bb6df1203468d9494', 'wEbqmAeiSHfknEF0tP1', 1, NULL, '2012-11-27 20:19:17')
+ [1m[35m (0.3ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:19:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'F2hHK7e1mcQ6syNAXa', `updated_at` = '2012-11-27 20:19:17' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:19:17', 1, 200, 'Banner Set 6', '2012-11-27 20:19:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 0.5ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'dcbd7d8c78cc8a8b70066d49a18658a2495964ee03357cbfa1d59b7afc03f113536aab4d2390d767afe3a093faba231ba928bdfd2585dcff692fad42e8483a21' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'C2M8826jSXTIfYX6pU' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:19:17', 'f2d084fe3e74607a7e6baa088ed961bd5d9764d3fefd8436c40290161cabfabf93a3cb56b26c631626658a53c332cf6fa7f50c4521e4159e6429a17b70fa2455', '2012-11-27 20:19:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:19:17', 'testuser', 1, 'OaU7zD1v1YfwV9rM54P', '17QNZOW6ApZ8AgvBvWmq', 'dcbd7d8c78cc8a8b70066d49a18658a2495964ee03357cbfa1d59b7afc03f113536aab4d2390d767afe3a093faba231ba928bdfd2585dcff692fad42e8483a21', 'C2M8826jSXTIfYX6pU', 1, NULL, '2012-11-27 20:19:17')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:19:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'J6Q8OvtwyY2OosdmOTem', `updated_at` = '2012-11-27 20:19:17' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"-1"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Looking for banner set with id: -1
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
-Redirected to http://test.host/spud/admin/banner_sets
-Filter chain halted as :get_record rendered or redirected
-Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
- [1m[36m (3.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b024fafea3528c4bd48e8bd0df792cb8b4697387f27bbad762286ef44a5d1f02b915da88fc3e805cbf6a068cd96b7f8daa25105b4fc3ccdca830151950d2a768' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0Pa2jaR1Q7gbilFf4UG' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:19:17', '0fd5391a60ec2b892af0caebcee737e9e7517f0cb6a1518f50f00cfa35c40d407dda5a467e952214380a7288c305fd12bd52c793cbdd198c80836b3f20f57f24', '2012-11-27 20:19:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:19:17', 'testuser', 1, 'rhOgdQVckozuMGYEhf2', 'frhbG4lKl630REm8BD0z', 'b024fafea3528c4bd48e8bd0df792cb8b4697387f27bbad762286ef44a5d1f02b915da88fc3e805cbf6a068cd96b7f8daa25105b4fc3ccdca830151950d2a768', '0Pa2jaR1Q7gbilFf4UG', 1, NULL, '2012-11-27 20:19:17')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:19:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Nm12Jxk0qmDeoY8s8wL', `updated_at` = '2012-11-27 20:19:17' WHERE `spud_users`.`id` = 4[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.3ms)
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c847b1e16e1626ead4200b6a3a2930fcaa30fd64c5c0dfb474460b31b75b787c4ce6a13547fd9ccfd564d675d46d6dd470c5708c884b72e298eb4b783392bfb6' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bjEQNSB1bEhtDLanoxh' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT 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-11-27 20:19:17', '22d877fedcb581c16b9f5fc9426001c29f886c671bb239c212bcc7264c8d45d5bf03d571be23003888c178e75be316cd19b45f94b48b33c66fc57815235381be', '2012-11-27 20:19:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:19:17', 'testuser', 1, 'vyaumatZVtsrffUXexv', '86V3fdFmVETFSZpZv8a', 'c847b1e16e1626ead4200b6a3a2930fcaa30fd64c5c0dfb474460b31b75b787c4ce6a13547fd9ccfd564d675d46d6dd470c5708c884b72e298eb4b783392bfb6', 'bjEQNSB1bEhtDLanoxh', 1, NULL, '2012-11-27 20:19:17')[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:19:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'TS5B446WE1Qv2hEKlTr', `updated_at` = '2012-11-27 20:19:17' WHERE `spud_users`.`id` = 5
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:19:17', 1, 200, 'Banner Set 7', '2012-11-27 20:19:17', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 0.9ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '16bc18b3a3e6b4a242862c97a1d76acce33eb46e80155d8451414efab9c7467a56ea8172cbf83089f31bdcb2445bc8cd1e6da0162994dd54347f8a606fdc3c16' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zoo1yL2IWjqq5UvMk8uC' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:19:17', '20fd642461d10779763ad799f010f78f9acbd47322b7dd9d37b758d56e0542a84597acd19b656a02bcc1253f058aff3e4f1c0b8c24f6e588ec6a61246c1d0d63', '2012-11-27 20:19:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:19:17', 'testuser', 1, 'YEhKnjPR4BLBYqN879HW', 'Lcu72symkYLnwxMq9j0', '16bc18b3a3e6b4a242862c97a1d76acce33eb46e80155d8451414efab9c7467a56ea8172cbf83089f31bdcb2445bc8cd1e6da0162994dd54347f8a606fdc3c16', 'zoo1yL2IWjqq5UvMk8uC', 1, NULL, '2012-11-27 20:19:17')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:19:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hyvLIZtslDTRFiQix48P', `updated_at` = '2012-11-27 20:19:17' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
- [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
-Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 0.8ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fe5ba4e5b9bfdeb2108aa2612d6f92f600c2eb18852e7db340d2ef17d8150f70d28430cdf5264f2c8085c3bca3ea707f27ef7eb331906d755fc63d784d986975' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iZNOzgvuBWjV16cQFEEd' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:19:17', '69a060d53d3d000b97efd6fb48ae0fdf6ff9d1ea80b0745e8bb8b3ac334b6c21be310fe74db04666cbb1246bcb95a5c899e723bf995d81632c658241f9f11990', '2012-11-27 20:19:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:19:17', 'testuser', 1, 'XJStyhDc9ROnI9k87it', 'lpAlH4kETZiiqRL7nptG', 'fe5ba4e5b9bfdeb2108aa2612d6f92f600c2eb18852e7db340d2ef17d8150f70d28430cdf5264f2c8085c3bca3ea707f27ef7eb331906d755fc63d784d986975', 'iZNOzgvuBWjV16cQFEEd', 1, NULL, '2012-11-27 20:19:17')
+ [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m 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)
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:19:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'S7sgY7gDfOLcMlMTYmv', `updated_at` = '2012-11-27 20:19:17' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:19:17', 1, 200, 'Banner Set 8', '2012-11-27 20:19:17', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::BannerSetsController#edit as HTML
Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.6ms)
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '88bbe37bfcdb65f3f3727dda3860663bf50abb8f0e3390715f3fabb3a14f37b9077133375ebfaa065e2e93f334981bbc98515275012248d0c3c5707b1d76656a' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kTg7811BgHhWG3QuGtH7' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:19:17', '80b247f16ca5bc1dfe02b2cfc5ce13dc4fbce35933156c5e02e324fa5241ebf9953159d9c8b8c590556251f16511d01206752a34f990f39420808712a8b52f75', '2012-11-27 20:19:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:19:17', 'testuser', 1, 'nFWPEFUNpjO1SzxN5f', '3ayMScB3fS8SPHlu5Iel', '88bbe37bfcdb65f3f3727dda3860663bf50abb8f0e3390715f3fabb3a14f37b9077133375ebfaa065e2e93f334981bbc98515275012248d0c3c5707b1d76656a', 'kTg7811BgHhWG3QuGtH7', 1, NULL, '2012-11-27 20:19:17')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:19:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iH42Zdu4GXkaP9G1J326', `updated_at` = '2012-11-27 20:19:17' WHERE `spud_users`.`id` = 8[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:19:17', 1, 200, 'Banner Set 9', '2012-11-27 20:19:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m 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
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:19:17' WHERE `spud_banner_sets`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.2ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 81ms (Views: 1.1ms | ActiveRecord: 5.2ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a33e2fdcd23e44bf93fb7a42048db541ebe4d75e51695939e01a6146db02eb6fcbc9d87f0cdd5c55ed0bc6b24f398d85f801ae53721899838eb473a8308a573e' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zUuty2FcO7F5x4MxODBU' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:19:17', 'd9d43483d47649fd75404e3a489f5c4d6461f467012ef47a235fbda63b5b1018e96adb29de4a88345181883e746a83391cdfcf06c6b85ee7566f545a32d321b2', '2012-11-27 20:19:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:19:17', 'testuser', 1, 'qTn4axNvyyLbFXcUu5Ll', 'aGezlg7X9qAPUaxSYjcy', 'a33e2fdcd23e44bf93fb7a42048db541ebe4d75e51695939e01a6146db02eb6fcbc9d87f0cdd5c55ed0bc6b24f398d85f801ae53721899838eb473a8308a573e', 'zUuty2FcO7F5x4MxODBU', 1, NULL, '2012-11-27 20:19:17')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:19:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'jaKwB1JNab3t2jkXcv50', `updated_at` = '2012-11-27 20:19:17' WHERE `spud_users`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:19:17', 1, 200, 'Banner Set 10', '2012-11-27 20:19:17', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"}
- [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
-Looking for banner set with id: 10
- [1m[36mSpudBannerSet Load (0.3ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1[0m
- [1m[35m (0.3ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 13ms (Views: 1.1ms | ActiveRecord: 1.5ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
+ [1m[36mSpudBannerSet Load (0.3ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms)
[1m[35m (0.5ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e16d5a8c732becf2fe5d42f36bf98a8006a01fe9d2467eab72ca93a1a7eeced669e5d336749ec00fcb8e812b6ca9b8267736a353072fc0176761e7f2f36a2ec9' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Qe4brkz7AqvnD54XvkgQ' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:19:17', '22d969fa7eea8fca1aef4f89c06f3bc522a4b80511eeb9dec7b6b6ce3c65d22d0073ca78f4bc5d338fc9aa3f51d8279102d8ed0d92a4b426041f5db7c87185fa', '2012-11-27 20:19:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:19:17', 'testuser', 1, 'K6uuzQSxAXkgsZVBEB2c', 'f6BBHQKyTjKbHvZpv2qr', 'e16d5a8c732becf2fe5d42f36bf98a8006a01fe9d2467eab72ca93a1a7eeced669e5d336749ec00fcb8e812b6ca9b8267736a353072fc0176761e7f2f36a2ec9', 'Qe4brkz7AqvnD54XvkgQ', 1, NULL, '2012-11-27 20:19:17')[0m
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '41b02b9bfae8a5f59978bef77b79166c1caedbe41f524e795e4b93c5b6ac4d1c9f19b609ab8b992966cf9c20277f610e0a534ccd7284ebaf9256eb73825bd7fc' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tzxvqYn8WED2aOsMkj1' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:19:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'odKm1Q3nWF0TD9Jpd1GR', `updated_at` = '2012-11-27 20:19:17' WHERE `spud_users`.`id` = 10
+ [1m[35m (0.3ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:19:17', 1, 200, 'Banner Set 11', '2012-11-27 20:19:17', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
-Processing by Spud::Admin::BannerSetsController#destroy as HTML
- Parameters: {"id"=>"11"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
-Looking for banner set with id: 11
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBanner Load (0.4ms)[0m SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 11 ORDER BY sort_order asc
- [1m[36mSQL (0.3ms)[0m [1mDELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
-Completed 200 OK in 13ms (Views: 3.3ms | ActiveRecord: 1.5ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
-Connecting to database specified by database.yml
- [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
- [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_banners_test'
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_banner_sets`;
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_banners`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (1.6ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c183579cdeba7f0b383bc4d306eaf47d891004e5cdab677b59fbb83f878f9e4ee49c3f91d23527a67956689fcb9d5868c1746135a2910019eca6683df9584163' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'j0BNGNSnPSq6X7f3L8Mx' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:30:52', '0cc53e9094c2cb7cfc7ebe57e7765e4ec211d0becc14681564155c8af20d17a67f8853116bfeea9cb15163f4f821b9c4aaf23136e1daf9190b4819cfca467d9f', '2012-11-27 20:30:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:30:52', 'testuser', 1, 'KSdhAtko9M3nE2XYOHnN', 'cRuztBO3t8j0Rbj35', 'c183579cdeba7f0b383bc4d306eaf47d891004e5cdab677b59fbb83f878f9e4ee49c3f91d23527a67956689fcb9d5868c1746135a2910019eca6683df9584163', 'j0BNGNSnPSq6X7f3L8Mx', 1, NULL, '2012-11-27 20:30:52')
+ [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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)
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:30:52', `last_login_ip` = '0.0.0.0', `perishable_token` = 'SZAgjU1PiDvLrsCXLi83', `updated_at` = '2012-11-27 20:30:52' WHERE `spud_users`.`id` = 1[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:30:52', 1, 200, 'Banner Set 1', '2012-11-27 20:30:52', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:30:52', 1, 200, 'Banner Set 2', '2012-11-27 20:30:52', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:30:52', 1, 200, 'Banner Set 3', '2012-11-27 20:30:52', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:30:52', 1, 200, 'Banner Set 4', '2012-11-27 20:30:52', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:30:52', 1, 200, 'Banner Set 5', '2012-11-27 20:30:52', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#index as HTML
- [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets`
- Rendered /Users/gregwoods/Source/spud/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (2.6ms)
-Completed 200 OK in 59ms (Views: 49.9ms | ActiveRecord: 0.8ms)
- [1m[36m (1.9ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cd414008b805e0a22293bd2312a5132fe96a1d1e87f06169e09e83add3442bc54f43328cefe61391cd628f35fc8205e8b92d7b81c997f0dab3aff5e406474746' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4IW7wOF8iLNlWiKGRzn7' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:30:52', 'e0a10fb5a6b0e1a6c5d9e7f39d4ce63dc091a7058f417bea7e44425088e8557037bc8196948dc5ba7dc344764c05a379e4e06f0829c7665d5944b57177c847ae', '2012-11-27 20:30:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:30:52', 'testuser', 1, '8SUEROC51eOhC3pQjxp9', 'cPkirXZMiW2DjxypK2PY', 'cd414008b805e0a22293bd2312a5132fe96a1d1e87f06169e09e83add3442bc54f43328cefe61391cd628f35fc8205e8b92d7b81c997f0dab3aff5e406474746', '4IW7wOF8iLNlWiKGRzn7', 1, NULL, '2012-11-27 20:30:52')
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:30:52', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ZkKJaWUnY2pETdUTW4De', `updated_at` = '2012-11-27 20:30:52' WHERE `spud_users`.`id` = 2[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:30:52', 1, 200, 'Banner Set 6', '2012-11-27 20:30:52', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"6"}
- [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
-Looking for banner set with id: 6
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 6 LIMIT 1
-Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.5ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4cdfd693b92401147a64bfeb5e3a95f7f90ff0ca9165c8e5440c2ed6097d4b9de0dc1cb361a8c976926233ebd832aa7bc207599c3c469c5d8c34720402d75560' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VL2rPHrvxKVP8gVcn' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:30:52', '78c1eefd3f8b410c6716bcceebd7e30c17fdf9175a3de90a913f3a98ea66ce9a85204ac18adce9e4b4ad46d952b6733e51400850ecc759f64a4660b2bdf7ebff', '2012-11-27 20:30:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:30:52', 'testuser', 1, 'Ba5vaGmgXwZsP35gn7sP', 'eTB6mYr01HowS6o7KFl', '4cdfd693b92401147a64bfeb5e3a95f7f90ff0ca9165c8e5440c2ed6097d4b9de0dc1cb361a8c976926233ebd832aa7bc207599c3c469c5d8c34720402d75560', 'VL2rPHrvxKVP8gVcn', 1, NULL, '2012-11-27 20:30:52')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::BannerSetsController#update as HTML
+ Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+Looking for banner set with id: 9
+ [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:30:52', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Liud7qSXvzcSHkAoXjP', `updated_at` = '2012-11-27 20:30:52' WHERE `spud_users`.`id` = 3[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#show as HTML
- Parameters: {"id"=>"-1"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
-Looking for banner set with id: -1
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
-Redirected to http://test.host/spud/admin/banner_sets
-Filter chain halted as :get_record rendered or redirected
-Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
- [1m[36m (1.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8139071f36181e0c68329ad4e29516a26ea6a64214a1a00c1b2ec053ba39d2d6e37b78bed3c1b736f4e181b0b6d683336e10184ecffec5ec3ab8b42f86c520a0' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'goOH9FOfSfRuW0UCFvQ' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:30:52', '75e4c23eae124801efc39fefb298a1a1e8d48aa5c099f01fb7565bd23bfafe9d168cbdbd7f22593ad2273f6e88775152e4b7b26ca114cbdb01570a9797e2070c', '2012-11-27 20:30:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:30:52', 'testuser', 1, '8YeGR74CvnJIXtozlIJ6', 'tWOXDNxIHmjKFyqVWho', '8139071f36181e0c68329ad4e29516a26ea6a64214a1a00c1b2ec053ba39d2d6e37b78bed3c1b736f4e181b0b6d683336e10184ecffec5ec3ab8b42f86c520a0', 'goOH9FOfSfRuW0UCFvQ', 1, NULL, '2012-11-27 20:30:52')
+ [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 9) LIMIT 1[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-12-20 23:45:14' WHERE `spud_banner_sets`.`id` = 9
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:30:52', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vNlgfQRv3v3odPZ0w8q', `updated_at` = '2012-11-27 20:30:52' WHERE `spud_users`.`id` = 4[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#new as HTML
- [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
-Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.5ms)
- [1m[35m (1.3ms)[0m ROLLBACK
+ [1m[35mSpudBanner Load (0.2ms)[0m 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)
+ [1m[36mSpudBannerSet Load (0.3ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1[0m
+ [1m[35m (0.6ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ebd1cc942b94d5a11f5f75bc6f3f075f4e7b8cbf2d436b5fcf64a2ccfdac1f8bb8f6d95b8186f8bb535e7325728255504fd300b4a95c19f6d8c16e3fb1950481' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5J1j8BkkxuBczc6l3h' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:30:52', '0b22f36b59cf10a51cca01e32e543f859a2c3799c1735f12536cec29f8a69a838e43b3a548c35f6595ba29bd9a5f4b1329baf537cceb756f1984b05c0f98501d', '2012-11-27 20:30:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:30:52', 'testuser', 1, '2Ipn6BfNem7k3j3JEkYV', 'ey6aap6IiMiSrQZreMzr', 'ebd1cc942b94d5a11f5f75bc6f3f075f4e7b8cbf2d436b5fcf64a2ccfdac1f8bb8f6d95b8186f8bb535e7325728255504fd300b4a95c19f6d8c16e3fb1950481', '5J1j8BkkxuBczc6l3h', 1, NULL, '2012-11-27 20:30:52')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:30:52', `last_login_ip` = '0.0.0.0', `perishable_token` = 't9MTgKtwrFLn6Jgtg', `updated_at` = '2012-11-27 20:30:52' WHERE `spud_users`.`id` = 5
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b293c08b2b6580c7ee1d1dd530774e36fbac7e6b9141b762dcd67b3c486ac6e1c6446f9f43598afbef0c22d5182f516825b4da0378725ae9a04c9c56bbfe373b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'K4bbYc4rBXPIYzkA3I' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m 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
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m 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}}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:30:52', 1, 200, 'Banner Set 7', '2012-11-27 20:30:52', 600)
+ [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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)
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Completed 200 OK in 13ms (Views: 1.7ms | ActiveRecord: 1.0ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '453c2e6159a982a095e95aa8a9299cb223c4d0d72e64b835c6339550cc2d98ae27cfdc65fb638437ee5cebd59562d0657b0593aba43f83526930aaa2239f1842' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0QqJdUWpa0dkZyrYuK4' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:30:52', '8d38ab7991626882ce847ef2995894f190beeca3229c4b5d5a6cc204592456843c30c74cb6167adb5a4d556e9fddbc764d025f9ededadd92ba2bfed12b61795b', '2012-11-27 20:30:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:30:52', 'testuser', 1, 'JV2ivw6qPtZg2JKigSK', 'bRNLRKQgHvHFAp5XAPkg', '453c2e6159a982a095e95aa8a9299cb223c4d0d72e64b835c6339550cc2d98ae27cfdc65fb638437ee5cebd59562d0657b0593aba43f83526930aaa2239f1842', '0QqJdUWpa0dkZyrYuK4', 1, NULL, '2012-11-27 20:30:52')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:30:52', `last_login_ip` = '0.0.0.0', `perishable_token` = 'RwTKYwCb0JFzmEwZ0s', `updated_at` = '2012-11-27 20:30:52' WHERE `spud_users`.`id` = 6[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#create as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
- [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
- [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
-Completed 422 Unprocessable Entity in 12ms (Views: 1.0ms | ActiveRecord: 1.0ms)
- [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Admin::BannerSetsController#update as HTML
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1[0m
+Looking for banner set with id: 10
+ [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd91fda452f82229e7a34a770c87ec6fe957238783ed897a7a292d5c53a9207d8719edf77dcf56d6ab2f2163ab2d27d773aaba88fd52a192e6290bc9b0acf7583' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nJLeWHyMZIjxL9KS0uZ' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:30:52', 'd613fa9e28103f3728b4705581f6aa5da6c4b21948e9db1ab53faf2b1c5a11e9e369815d8205a249e83af2c4a5a4ac83618f8b960d8a52eaa27ac5531050c373', '2012-11-27 20:30:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:30:52', 'testuser', 1, 'TtwdIfqZN197fy2jyOMi', 'FxHDZuTQYNnpYkYuhYx', 'd91fda452f82229e7a34a770c87ec6fe957238783ed897a7a292d5c53a9207d8719edf77dcf56d6ab2f2163ab2d27d773aaba88fd52a192e6290bc9b0acf7583', 'nJLeWHyMZIjxL9KS0uZ', 1, NULL, '2012-11-27 20:30:52')
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:30:52', `last_login_ip` = '0.0.0.0', `perishable_token` = 'JDOZUck7eGLWmFgMhL6b', `updated_at` = '2012-11-27 20:30:52' WHERE `spud_users`.`id` = 7[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:30:52', 1, 200, 'Banner Set 8', '2012-11-27 20:30:52', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#edit as HTML
- Parameters: {"id"=>"8"}
- [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
-Looking for banner set with id: 8
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 8 LIMIT 1
-Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.7ms)
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35mSpudBannerSet Exists (0.5ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 422 Unprocessable Entity in 12ms (Views: 0.8ms | ActiveRecord: 1.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3eda8663e12ba7ac3f545cdb277604ed0863a2b53b80ae1d0ecfb4e550fe8081b9006acdc7ea4b304c56cd420687199e0812c4a725d18a01ba23152d4656e04e' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'rpFu5YOlIuZCCXVXXtG' LIMIT 1[0m
- [1m[35mSQL (0.4ms)[0m 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-11-27 20:30:52', 'cf923ed187c4066c826f891c53ca5a0d8e29487417ea33d9c0e340bd248ecab8b4912a7d8b96145e6fdde525d4a3f5a74bd14c2363cb3d91212cf2868c7f8586', '2012-11-27 20:30:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:30:52', 'testuser', 1, '3D82olfl7R6SlaBIroIw', 'brpKsve9h1I3PUOpsJE4', '3eda8663e12ba7ac3f545cdb277604ed0863a2b53b80ae1d0ecfb4e550fe8081b9006acdc7ea4b304c56cd420687199e0812c4a725d18a01ba23152d4656e04e', 'rpFu5YOlIuZCCXVXXtG', 1, NULL, '2012-11-27 20:30:52')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '105a65d7a884d4bc01a0f5137991363992d0ce9c017ac92ff3d8c1d37df1b694358b22d5e66444fe59b1c0a846904384e6b940222c220edc40cbb811ff3064aa' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ntGepINYv7UTcAMMX53a' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:30:52', `last_login_ip` = '0.0.0.0', `perishable_token` = '3G8zX4wYpfa8cBXn3Apa', `updated_at` = '2012-11-27 20:30:52' WHERE `spud_users`.`id` = 8[0m
+ [1m[36m (0.3ms)[0m [1mUPDATE `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[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:30:52', 1, 200, 'Banner Set 9', '2012-11-27 20:30:52', 600)[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"9"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
-Looking for banner set with id: 9
- [1m[35mSpudBannerSet Load (0.2ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m 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
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2012-11-27 20:30:52' WHERE `spud_banner_sets`.`id` = 9[0m
+ [1m[35mSpudBannerSet Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT 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)[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36mSpudBanner Load (0.3ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 9 ORDER BY sort_order asc[0m
-Completed 200 OK in 78ms (Views: 1.2ms | ActiveRecord: 5.1ms)
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 9 LIMIT 1
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '413c470f7cf9992a4ebec63400579591e963f3a65705fae497566e8c0843bd4335a015a1d7718933a40b52cebc2afb3f0c338e6bea55882b0195d712dd62b9ef' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SGvdD0iLy2QHMOffuf' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m 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-11-27 20:30:52', '087e3e45c6b756b8ba2164ffd30e69e831bb685a1ac6d61a4ee715bd030e1041e097b20c0b72ec6ddbcf835a3f69773d5dd383ca80114b97397dde5325ed0e32', '2012-11-27 20:30:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:30:52', 'testuser', 1, 'GgFqwkNNA83lx44AVsN', 'ksoBdXZKm6yeQWgawj3', '413c470f7cf9992a4ebec63400579591e963f3a65705fae497566e8c0843bd4335a015a1d7718933a40b52cebc2afb3f0c338e6bea55882b0195d712dd62b9ef', 'SGvdD0iLy2QHMOffuf', 1, NULL, '2012-11-27 20:30:52')
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:30:52', `last_login_ip` = '0.0.0.0', `perishable_token` = 'bvkyKc4gJseLuIFaIK1w', `updated_at` = '2012-11-27 20:30:52' WHERE `spud_users`.`id` = 9[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBannerSet Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:30:52', 1, 200, 'Banner Set 10', '2012-11-27 20:30:52', 600)[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
-Processing by Spud::Admin::BannerSetsController#update as HTML
- Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"10"}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
-Looking for banner set with id: 10
- [1m[36mSpudBannerSet Load (0.3ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 10 LIMIT 1[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 10) LIMIT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
-Completed 422 Unprocessable Entity in 12ms (Views: 1.1ms | ActiveRecord: 1.2ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0785f747cedeb5af371712ebd2efbca78a7aa3acab6f0531c244e89e0fb6cdbb15b95f232afdf5dc06777b5f0085873a1eb246ddd62f8422f891a2bbdf5d7b6f' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1HKevM5NgzoDYUuL7GK' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT 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-11-27 20:30:52', '18250ebc48ecf63e86960ef9226b6e605e29dbfd091bbfb52a20df95ac5ee20b6e733b7bf5ec9160c024b2d211bf2225e3009d8b78467437ba1b8f35e5ad005e', '2012-11-27 20:30:52', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-11-27 20:30:52', 'testuser', 1, 'pQJXLEtXNlG6kXKP9xH', 'EbYhZ1pxsCHqO1yuwZHP', '0785f747cedeb5af371712ebd2efbca78a7aa3acab6f0531c244e89e0fb6cdbb15b95f232afdf5dc06777b5f0085873a1eb246ddd62f8422f891a2bbdf5d7b6f', '1HKevM5NgzoDYUuL7GK', 1, NULL, '2012-11-27 20:30:52')[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-11-27 20:30:52', `current_login_at` = '2012-11-27 20:30:53', `last_login_ip` = '0.0.0.0', `last_request_at` = '2012-11-27 20:30:53', `perishable_token` = 'CRQx0BVmoPvsZwhoZ0p', `updated_at` = '2012-11-27 20:30:53' WHERE `spud_users`.`id` = 10
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudBannerSet Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_banner_sets` (`created_at`, `cropped`, `height`, `name`, `updated_at`, `width`) VALUES ('2012-11-27 20:30:53', 1, 200, 'Banner Set 11', '2012-11-27 20:30:53', 600)
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
Processing by Spud::Admin::BannerSetsController#destroy as HTML
Parameters: {"id"=>"11"}
- [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
Looking for banner set with id: 11
- [1m[35mSpudBannerSet Load (0.3ms)[0m SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudBanner Load (0.3ms)[0m SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 11 ORDER BY sort_order asc
- [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Completed 200 OK in 12ms (Views: 2.6ms | ActiveRecord: 1.3ms)
- [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_banner_sets` [0m
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[36mSpudBannerSet Load (0.2ms)[0m [1mSELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudBanner Load (0.2ms)[0m [1mSELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 11 ORDER BY sort_order asc[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_banner_sets`
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK