spud_banners 0.9.3 → 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -957,3 +957,639 @@ Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.9ms)
957
957
   (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
958
958
   (0.4ms) ROLLBACK
959
959
   (0.0ms) ROLLBACK
960
+  (5.8ms) SELECT @@FOREIGN_KEY_CHECKS
961
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
962
+  (10.8ms) SELECT DATABASE() as db
963
+  (12.7ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'
964
+  (65.9ms) TRUNCATE TABLE `spud_admin_permissions`;
965
+  (3.6ms) TRUNCATE TABLE `spud_banner_sets`;
966
+  (3.7ms) TRUNCATE TABLE `spud_banners`;
967
+  (1.4ms) TRUNCATE TABLE `spud_user_settings`;
968
+  (1.5ms) TRUNCATE TABLE `spud_users`;
969
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
970
+  (0.1ms) BEGIN
971
+  (0.1ms) SAVEPOINT active_record_1
972
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
973
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
974
+ SpudUser Exists (5.6ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9d1bdbcc22ae91e6c041b96b926c70414b0805aae021ae7dc8d2e5932644a18987cfd48e6c1346ffc11606ff732bca081075efcf0ee33f0dfff3b13e1c864cac' LIMIT 1
975
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pV6wOBU8Uk4DjnOxs23f' LIMIT 1
976
+ SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '0c945d787492d31df45ed8d47c67f1480c57780ca54034ba4fa6095ca7fc02ec80214d68e84409e59b0815e1ad54a4b779dbb283cf9a50875b6f567adcd43d8c', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'bNDaMgFWZyP3lmQdXAL', 'v1YrN0duTwWlqpchWAW1', '9d1bdbcc22ae91e6c041b96b926c70414b0805aae021ae7dc8d2e5932644a18987cfd48e6c1346ffc11606ff732bca081075efcf0ee33f0dfff3b13e1c864cac', 'pV6wOBU8Uk4DjnOxs23f', 1, '2014-01-05 14:38:13')
977
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = '4byDmvkr1VchUf8K0Wab', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 2
978
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
979
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 1', '2014-01-05 14:38:13', 600)
980
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
981
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 2', '2014-01-05 14:38:13', 600)
982
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
983
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 3', '2014-01-05 14:38:13', 600)
984
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
985
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 4', '2014-01-05 14:38:13', 600)
986
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
987
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 5', '2014-01-05 14:38:13', 600)
988
+ Processing by Spud::Admin::BannerSetsController#index as HTML
989
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
990
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'zT0I9lgL2dDDsHCSb3T', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 2
991
+ Rendered /Users/davidestes/projects/ruby/engines/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (0.2ms)
992
+ Completed 200 OK in 8ms (Views: 2.3ms | ActiveRecord: 0.6ms)
993
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
994
+  (12.7ms) ROLLBACK TO SAVEPOINT active_record_1
995
+  (0.2ms) ROLLBACK
996
+  (0.1ms) BEGIN
997
+  (0.1ms) SAVEPOINT active_record_1
998
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
999
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1000
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cc2f4263adc3d71e9b079884a7c5174785b565f778106430adcb18839fc6a2d3773ffcc50b69fc51c8c89177e7cedcd6a2b4cd734b460368759eb61eba34eb35' LIMIT 1
1001
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ASHFGU8C1eCPFKglQY' LIMIT 1
1002
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '30e360a6530e7d4354229f0974d02be8dc42143c78ab2f37e33627ccbb663061a2808c1d35b496f605e58bc57ff1c06d7ad3f01145eda554c50ce5c6c19edf94', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'yycTPph4LgA2YIMBfBq', 'NQ3bGEPMYpTidCOjKnX', 'cc2f4263adc3d71e9b079884a7c5174785b565f778106430adcb18839fc6a2d3773ffcc50b69fc51c8c89177e7cedcd6a2b4cd734b460368759eb61eba34eb35', 'ASHFGU8C1eCPFKglQY', 1, '2014-01-05 14:38:13')
1003
+ SQL (0.4ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'nJzuJb2YetIcRXYSwTYu', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 22
1004
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
1005
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 6', '2014-01-05 14:38:13', 600)
1006
+ Processing by Spud::Admin::BannerSetsController#show as HTML
1007
+ Parameters: {"id"=>"102"}
1008
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1
1009
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'BzR4Oqq2JHefcEkWUG', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 22
1010
+ Looking for banner set with id: 102
1011
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 102 LIMIT 1
1012
+ Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.7ms)
1013
+  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1
1014
+  (0.1ms) ROLLBACK
1015
+  (0.2ms) BEGIN
1016
+  (0.1ms) SAVEPOINT active_record_1
1017
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1018
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1019
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1e56118f2000eb94f7ba1d71796c4ba1eb32a745d14c4a3d1d43f535e1ef879f7f4eb0d6be64e67c6a152629194c9c20f970e1cf7904596486015d19f32da6d0' LIMIT 1
1020
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'q6dPxH3RdsO2CdQmruDD' LIMIT 1
1021
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '9cdbaf1957550aa2d233c21d7d2bc30f75ceca456a1e64ea9fdbb4ababd2439d14921a07f2b958729fcc8bcc8da274a891bf767c540cbc1ef77f863d408ea1bf', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'GdNMesn1pVo9nYbyUSyD', '5cdtxbwND2KEDlRqZuNx', '1e56118f2000eb94f7ba1d71796c4ba1eb32a745d14c4a3d1d43f535e1ef879f7f4eb0d6be64e67c6a152629194c9c20f970e1cf7904596486015d19f32da6d0', 'q6dPxH3RdsO2CdQmruDD', 1, '2014-01-05 14:38:13')
1022
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'V5DVLVAER3Oq0uRbWld', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 42
1023
+ Processing by Spud::Admin::BannerSetsController#show as HTML
1024
+ Parameters: {"id"=>"-1"}
1025
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1
1026
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'pPDg3GM5w5Nl1XJBzvp', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 42
1027
+ Looking for banner set with id: -1
1028
+ SpudBannerSet Load (0.8ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
1029
+ Redirected to http://test.host/spud/admin/banner_sets
1030
+ Filter chain halted as :get_record rendered or redirected
1031
+ Completed 302 Found in 6ms (ActiveRecord: 1.4ms)
1032
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
1033
+  (0.1ms) ROLLBACK
1034
+  (0.1ms) BEGIN
1035
+  (0.1ms) SAVEPOINT active_record_1
1036
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1037
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1038
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4c29e4cb1245a56554ecc3ca76f2e42f35f020cf84ead794af05dfccb085e00a6d4bb3735cdf06040c822b5348c1340bd9b2dacb0958219c224e1e2a1e7380ca' LIMIT 1
1039
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HjTfTgf5F7WdiMORDg7' LIMIT 1
1040
+ SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '2128640015a038d7059c37f6720cc66f8f2264438c047e0fe263ca8560ae8807a77ec0e92f0b7490dc4dafd297f0a0a592fe98c8c2052d9d1c12fbc4c1524f34', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'icUXXqhWN8jZBD4Xq3Qd', '9wG9QpXMWPFLw8gzVC', '4c29e4cb1245a56554ecc3ca76f2e42f35f020cf84ead794af05dfccb085e00a6d4bb3735cdf06040c822b5348c1340bd9b2dacb0958219c224e1e2a1e7380ca', 'HjTfTgf5F7WdiMORDg7', 1, '2014-01-05 14:38:13')
1041
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'Ja47oHaAGuEjKrnYar0r', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 62
1042
+ Processing by Spud::Admin::BannerSetsController#new as HTML
1043
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1
1044
+ SQL (0.6ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'z1AlN9QuXVFGDTZWPXMG', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 62
1045
+ Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 1.0ms)
1046
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
1047
+  (0.1ms) ROLLBACK
1048
+  (0.1ms) BEGIN
1049
+  (0.1ms) SAVEPOINT active_record_1
1050
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1051
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1052
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fa303006352daab7be1f7ed6f1b64de5d67daaaae0c5f64f5c98adaaa9224217e5cce164245c89a77d616e4076c331610c8881b9dcdb82f7ec6636acde12553f' LIMIT 1
1053
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hjri0qqPqZsXrV12nf6i' LIMIT 1
1054
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '8234ca631ae855b96d6aded4759ff13a6db58cc6b7ab8958c5c7bbc9a1af3a4789c2d170d0f5053ad13a3bff93102baf9e63c5f829458754b28a644db3416ed3', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'c8fAJ9nccGdnG7G8m2o', 'j09cDaHzPVSDxzNbKWQ', 'fa303006352daab7be1f7ed6f1b64de5d67daaaae0c5f64f5c98adaaa9224217e5cce164245c89a77d616e4076c331610c8881b9dcdb82f7ec6636acde12553f', 'hjri0qqPqZsXrV12nf6i', 1, '2014-01-05 14:38:13')
1055
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'POL4bwXKw5jxF8NjCdqF', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 82
1056
+  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets`
1057
+ Processing by Spud::Admin::BannerSetsController#create as HTML
1058
+ Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 7", "width"=>"600", "height"=>"200", "cropped"=>true}}
1059
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1
1060
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'nu70lEzdcbgIYNolQxUm', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 82
1061
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
1062
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 7', '2014-01-05 14:38:13', 600)
1063
+ Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.8ms)
1064
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1065
+  (12.8ms) ROLLBACK TO SAVEPOINT active_record_1
1066
+  (0.1ms) ROLLBACK
1067
+  (0.1ms) BEGIN
1068
+  (0.1ms) SAVEPOINT active_record_1
1069
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1070
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1071
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4956831e7be6b65088c4b91ee9a795caa5905a1dd9b09aca16dc54034e18c92bfe946e0b8fbac08dd323ae4dd7cf2e461904f784a513f2e35aaf9d8598478ac7' LIMIT 1
1072
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xGkv39fonqPTOD4rsysE' LIMIT 1
1073
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '9d8100b77c44fc498f8e7d71b34c948226d732f94e71e46ef37e63cce3e23a4d063f9e823a487674d8d9bebd70bf0d6efc27821504a17ed74e77349139f009a8', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'Pi2vPvRF2qydsoiB74p', 'vPOvU1XK3iLLo7zi12Yv', '4956831e7be6b65088c4b91ee9a795caa5905a1dd9b09aca16dc54034e18c92bfe946e0b8fbac08dd323ae4dd7cf2e461904f784a513f2e35aaf9d8598478ac7', 'xGkv39fonqPTOD4rsysE', 1, '2014-01-05 14:38:13')
1074
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'J2FuhIYRDiCNlfYp9wGX', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 102
1075
+  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets`
1076
+ Processing by Spud::Admin::BannerSetsController#create as HTML
1077
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
1078
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 102 LIMIT 1
1079
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'tft8gg7oiD9c84fEdACp', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 102
1080
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
1081
+ Completed 422 Unprocessable Entity in 8ms (Views: 0.6ms | ActiveRecord: 0.7ms)
1082
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1083
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
1084
+  (0.1ms) ROLLBACK
1085
+  (0.1ms) BEGIN
1086
+  (0.1ms) SAVEPOINT active_record_1
1087
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1088
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1089
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0b49655a421f0132a430c6d54891b42883ffb55b9303223560736a9f61f878e4cf9c05b2395662856951b13226c611f03c2dc307b0ec1b7a2d7f4cd580a4b721' LIMIT 1
1090
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'O72j0JSOK4iCLW1rO8B' LIMIT 1
1091
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', 'b9f36a443026e6a5441f35ec3e32a08d3b400393d110fb83340b52b1c2f417f7d0e3f76340bc2dd0a44909c32cea991d4e7b74a84f74e0873065c655f168f616', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'W2FRd29Rh9btZG2z', 'ZyvCJJ5Wdb8bXBi9ZzL', '0b49655a421f0132a430c6d54891b42883ffb55b9303223560736a9f61f878e4cf9c05b2395662856951b13226c611f03c2dc307b0ec1b7a2d7f4cd580a4b721', 'O72j0JSOK4iCLW1rO8B', 1, '2014-01-05 14:38:13')
1092
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'nl7Xxar5TNEc1sqP0P0', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 122
1093
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
1094
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 8', '2014-01-05 14:38:13', 600)
1095
+ Processing by Spud::Admin::BannerSetsController#edit as HTML
1096
+ Parameters: {"id"=>"142"}
1097
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1
1098
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = '5rdl1GwH5lGuerG3u', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 122
1099
+ Looking for banner set with id: 142
1100
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 142 LIMIT 1
1101
+ Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.7ms)
1102
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
1103
+  (0.1ms) ROLLBACK
1104
+  (0.1ms) BEGIN
1105
+  (0.1ms) SAVEPOINT active_record_1
1106
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1107
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1108
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ffe3e8634f9c0cde0383d876afbb07f62fc3a4a85562e2d5af2270d67fd6d87816f826832aa1a2f9ad830e8b728eb0100540dd34754598599a841eb8c21b92b7' LIMIT 1
1109
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MVfZaiUIjiUGe5jNYRC' LIMIT 1
1110
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '17bdba23396d7dcb0b3a7b2c12f6b4edb84aac53a0d2e7bb2550e32c62f650ff04b64652f7f3421a25554209c26c5a17ebbbb169adad3d6923c96c5c265ad827', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'V296pK4FL1t1iqPtiKo', 'CQYqAXCAylW306BaKi9M', 'ffe3e8634f9c0cde0383d876afbb07f62fc3a4a85562e2d5af2270d67fd6d87816f826832aa1a2f9ad830e8b728eb0100540dd34754598599a841eb8c21b92b7', 'MVfZaiUIjiUGe5jNYRC', 1, '2014-01-05 14:38:13')
1111
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'Nu5hBWQaRUYXqGaB2I3', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 142
1112
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
1113
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 9', '2014-01-05 14:38:13', 600)
1114
+ Processing by Spud::Admin::BannerSetsController#update as HTML
1115
+ Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"162"}
1116
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1
1117
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'fI9cqI5NeBvoCvNYsluo', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 142
1118
+ Looking for banner set with id: 162
1119
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 162 LIMIT 1
1120
+ SpudBannerSet Exists (0.6ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 162) LIMIT 1
1121
+ SQL (0.2ms) UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_banner_sets`.`id` = 162
1122
+ SpudBanner Load (0.4ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 162 ORDER BY `spud_banners`.`sort_order` ASC
1123
+ Completed 200 OK in 41ms (Views: 1.0ms | ActiveRecord: 20.9ms)
1124
+ SpudBannerSet Load (0.3ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 162 LIMIT 1
1125
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
1126
+  (0.1ms) ROLLBACK
1127
+  (0.1ms) BEGIN
1128
+  (0.1ms) SAVEPOINT active_record_1
1129
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1130
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1131
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b7412aa6af28f261a5c80d1102f7c1934c33f4c97bb431c502f6426b7631c3527923f8f9158c5280ef5e624338ade2e4272df26b2f8298119a717f2c77e98f4e' LIMIT 1
1132
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SUhmHRn5jkYCnfoNN' LIMIT 1
1133
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '50cea2364fb55e9feb21db4df0469f740170fd6a60c2180c6f28932cabddd14ca1280ec042779e55e393be5c2d79936cc24ac33d9726279216d8f2f145055352', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'ZwuJTC7V6uvmOKM4EdY', 'wD02JMQzrobNvspV6Gfv', 'b7412aa6af28f261a5c80d1102f7c1934c33f4c97bb431c502f6426b7631c3527923f8f9158c5280ef5e624338ade2e4272df26b2f8298119a717f2c77e98f4e', 'SUhmHRn5jkYCnfoNN', 1, '2014-01-05 14:38:13')
1134
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = '674MZtbyBkyKF44622f', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 162
1135
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
1136
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 10', '2014-01-05 14:38:13', 600)
1137
+  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets`
1138
+ Processing by Spud::Admin::BannerSetsController#update as HTML
1139
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"182"}
1140
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1
1141
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'eGGuE2PtVY3kcIDlYaP', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 162
1142
+ Looking for banner set with id: 182
1143
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 182 LIMIT 1
1144
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 182) LIMIT 1
1145
+ Completed 422 Unprocessable Entity in 7ms (Views: 0.6ms | ActiveRecord: 0.8ms)
1146
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1147
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
1148
+  (0.1ms) ROLLBACK
1149
+  (0.1ms) BEGIN
1150
+  (0.1ms) SAVEPOINT active_record_1
1151
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1152
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1153
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '75a232c1f3169dfcad4b2e727369fe6d037f1a86248cb21fc22a19c7f2dd0e17c123e483ac1e745ee00354c751ca267dfae56abb7f9128e6be98936a0fd6c12a' LIMIT 1
1154
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'RE8FR77MJG8IHxTM9RE4' LIMIT 1
1155
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:38:13', '2b34731e66edfedb8f128b78782606e251276469c04a3242cbeba8a56b29ff8736cb37d9ad23b541e218683c8cd376caf3551c28604a62194907cd1d0da39641', '2014-01-05 14:38:13', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:38:13', 'testuser', 1, 'lIPJJQ1p2yHJJiU7aZR', '3pgPhQ4Edcv8LXNETSL', '75a232c1f3169dfcad4b2e727369fe6d037f1a86248cb21fc22a19c7f2dd0e17c123e483ac1e745ee00354c751ca267dfae56abb7f9128e6be98936a0fd6c12a', 'RE8FR77MJG8IHxTM9RE4', 1, '2014-01-05 14:38:13')
1156
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:38:13', `current_login_at` = '2014-01-05 14:38:13', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'Ta72BeZao7ABxiPv4Doh', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 182
1157
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1
1158
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:38:13', 200, 'Banner Set 11', '2014-01-05 14:38:13', 600)
1159
+  (0.4ms) SELECT COUNT(*) FROM `spud_banner_sets`
1160
+ Processing by Spud::Admin::BannerSetsController#destroy as HTML
1161
+ Parameters: {"id"=>"202"}
1162
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 182 LIMIT 1
1163
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:38:13', `perishable_token` = 'aQUH2xA2bmkCdGAet1K6', `updated_at` = '2014-01-05 14:38:13' WHERE `spud_users`.`id` = 182
1164
+ Looking for banner set with id: 202
1165
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 202 LIMIT 1
1166
+ SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 202 ORDER BY `spud_banners`.`sort_order` ASC
1167
+ SQL (0.2ms) DELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 202
1168
+ Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 1.1ms)
1169
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1170
+  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1
1171
+  (0.1ms) ROLLBACK
1172
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
1173
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
1174
+  (0.1ms) SELECT DATABASE() as db
1175
+  (7.7ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'
1176
+  (1.3ms) TRUNCATE TABLE `spud_admin_permissions`;
1177
+  (1.1ms) TRUNCATE TABLE `spud_banner_sets`;
1178
+  (1.1ms) TRUNCATE TABLE `spud_banners`;
1179
+  (1.1ms) TRUNCATE TABLE `spud_user_settings`;
1180
+  (1.2ms) TRUNCATE TABLE `spud_users`;
1181
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
1182
+  (0.1ms) BEGIN
1183
+  (0.1ms) SAVEPOINT active_record_1
1184
+ SpudUser Exists (0.5ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1185
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1186
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cd0740c2dadc16185cb8bbb298f50240b5f77261ce0d9a4ef2d3d910158d4bace5b509fd99f4bad9221fdaca0e6b9947fab5811fb7556480926b61158e8b6a53' LIMIT 1
1187
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'rZ51ajOXt1pxSIzU7J48' LIMIT 1
1188
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', 'dfa3ed210955b26cd65e10dc0c147793fe5d944d7eeb6bae970ae4c4954e00349335332746f39a47702b19fa910af5389d3cd43db0bb0b7686553ea7cfa1265c', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, 'bL728QzafiIlBCzdpge', 'bSgUXps7EUL9PghZbJ', 'cd0740c2dadc16185cb8bbb298f50240b5f77261ce0d9a4ef2d3d910158d4bace5b509fd99f4bad9221fdaca0e6b9947fab5811fb7556480926b61158e8b6a53', 'rZ51ajOXt1pxSIzU7J48', 1, '2014-01-05 14:39:51')
1189
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = '5AORlCeNMqBvKOACew', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 2
1190
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
1191
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 1', '2014-01-05 14:39:51', 600)
1192
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
1193
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 2', '2014-01-05 14:39:51', 600)
1194
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
1195
+ SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 3', '2014-01-05 14:39:51', 600)
1196
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
1197
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 4', '2014-01-05 14:39:51', 600)
1198
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
1199
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 5', '2014-01-05 14:39:51', 600)
1200
+ Processing by Spud::Admin::BannerSetsController#index as HTML
1201
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
1202
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'b8XJ6KRsUkpasIigmBo', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 2
1203
+ Rendered /Users/davidestes/projects/ruby/engines/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (0.2ms)
1204
+ Completed 200 OK in 267ms (Views: 5.0ms | ActiveRecord: 0.5ms)
1205
+  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets`
1206
+  (7.1ms) ROLLBACK TO SAVEPOINT active_record_1
1207
+  (0.1ms) ROLLBACK
1208
+  (0.1ms) BEGIN
1209
+  (0.1ms) SAVEPOINT active_record_1
1210
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1211
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1212
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b7a9654a2529b35fc56a062717ea3ca091d3e53ae0c3728b172658f2127dd54da3d999b7330f5cd009bcfb9f1ed24ceb167fbb613f876b988e5f470b6daedfe8' LIMIT 1
1213
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7Rc0Z5jfrTbx97OcMwRT' LIMIT 1
1214
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', '7fc3a8b3109eb826d9f669d0e08182d6e1b63b2e01b32dce8e36da3e1c9fe9d8e740bb0dd19c734e181b09a05e3296642a2d8b3382b1ed20b48e787513974591', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, 'iYF0k6b7jhj9NwB5u9S3', 'nKJp79JeqLFaQShA1kn', 'b7a9654a2529b35fc56a062717ea3ca091d3e53ae0c3728b172658f2127dd54da3d999b7330f5cd009bcfb9f1ed24ceb167fbb613f876b988e5f470b6daedfe8', '7Rc0Z5jfrTbx97OcMwRT', 1, '2014-01-05 14:39:51')
1215
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'GdubfHDDQSKdWDLKvMSr', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 22
1216
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
1217
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 6', '2014-01-05 14:39:51', 600)
1218
+ Processing by Spud::Admin::BannerSetsController#show as HTML
1219
+ Parameters: {"id"=>"102"}
1220
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1
1221
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'rqlbgm4r2lNLv827gIg', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 22
1222
+ Looking for banner set with id: 102
1223
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 102 LIMIT 1
1224
+ Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.7ms)
1225
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
1226
+  (0.1ms) ROLLBACK
1227
+  (0.1ms) BEGIN
1228
+  (0.1ms) SAVEPOINT active_record_1
1229
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1230
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1231
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '249459ac0531927a5f3ec71654630f4473f09175dc688dd767a2b99a26d1a959801f170e22a7fd8fc2092aec0aeffa2b331fc7270ab7155e1202dfb1a056a5db' LIMIT 1
1232
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KL5J5UnTfKz5hmEazYmt' LIMIT 1
1233
+ SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', '148228978e3de1e399fa4f84df879d24314c73fc22b4d90803e1f8c098b0019dfcb0eba146306cf5e0217fe3f5552b1a20e96156f03341e63f3bb2e4f979e3a1', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, 'TgVDiJwJSa6UHVxhOa', 'HhYeaaEASeT0fJx5bj', '249459ac0531927a5f3ec71654630f4473f09175dc688dd767a2b99a26d1a959801f170e22a7fd8fc2092aec0aeffa2b331fc7270ab7155e1202dfb1a056a5db', 'KL5J5UnTfKz5hmEazYmt', 1, '2014-01-05 14:39:51')
1234
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'nXdkAT6Pu5AwhQZ3', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 42
1235
+ Processing by Spud::Admin::BannerSetsController#show as HTML
1236
+ Parameters: {"id"=>"-1"}
1237
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1
1238
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'oRg6dDJRU7LAaE6AFeB', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 42
1239
+ Looking for banner set with id: -1
1240
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
1241
+ Redirected to http://test.host/spud/admin/banner_sets
1242
+ Filter chain halted as :get_record rendered or redirected
1243
+ Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
1244
+  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1
1245
+  (0.1ms) ROLLBACK
1246
+  (0.1ms) BEGIN
1247
+  (0.1ms) SAVEPOINT active_record_1
1248
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1249
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1250
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3484570893592f6276e2fc98d3752d65f7f590fc1c16a35eaef34fe68b75269c2b538e8a9cd3e5bd93be2ca07bd6de275f01af55dfea6ed2b90e33c5201b10e9' LIMIT 1
1251
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eEatiMRjEXPV5LoBE4cY' LIMIT 1
1252
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', '8c3816fb93e6516fee1af7b42f8bccf21b043fe39de41a7e016bf2cb18637e12c528257188744d58c3eb863091054d6ae8f00b9c9eaa447c25fefb68f9752e71', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, 'I5DdtMLMvXg35ESRD9m', 'GgC3w1W6wjdIgRdWygN', '3484570893592f6276e2fc98d3752d65f7f590fc1c16a35eaef34fe68b75269c2b538e8a9cd3e5bd93be2ca07bd6de275f01af55dfea6ed2b90e33c5201b10e9', 'eEatiMRjEXPV5LoBE4cY', 1, '2014-01-05 14:39:51')
1253
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'zNlagNolLHx0yjN3f5t', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 62
1254
+ Processing by Spud::Admin::BannerSetsController#new as HTML
1255
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1
1256
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = '5TdgKvjvgTMUPDztv', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 62
1257
+ Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.5ms)
1258
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
1259
+  (0.1ms) ROLLBACK
1260
+  (0.1ms) BEGIN
1261
+  (0.1ms) SAVEPOINT active_record_1
1262
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1263
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1264
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '440bbcda224a0633eb6d1e32284ec6a8de760ad2e26952844ec9c3f87c381d0d28b7f2ab3f4ccf54179d01d3cac0d0e97f75450e78c0fc4606e17f746a8a21a6' LIMIT 1
1265
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4t8jh3aJxVR8GUtrK5Jn' LIMIT 1
1266
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', 'f2eff9a1b43e46182675252b25f337d1e64d05e7d17e0d39bd3c341d9222454b97aef2c87c817d79517669e0cea39f099e4f0ba6dd9251ed808ed46aff360157', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, 'B7HIuIu1jW23KO2RIP2r', '94bERi8Xac8bb7fo0Pqr', '440bbcda224a0633eb6d1e32284ec6a8de760ad2e26952844ec9c3f87c381d0d28b7f2ab3f4ccf54179d01d3cac0d0e97f75450e78c0fc4606e17f746a8a21a6', '4t8jh3aJxVR8GUtrK5Jn', 1, '2014-01-05 14:39:51')
1267
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = '4a3DyV6P9JxINHdU4SB', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 82
1268
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1269
+ Processing by Spud::Admin::BannerSetsController#create as HTML
1270
+ Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 7", "width"=>"600", "height"=>"200", "cropped"=>true}}
1271
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1
1272
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'xTWihFFh3UPIeB6DFMIn', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 82
1273
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
1274
+ SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 7', '2014-01-05 14:39:51', 600)
1275
+ Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.8ms)
1276
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1277
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
1278
+  (0.1ms) ROLLBACK
1279
+  (0.1ms) BEGIN
1280
+  (0.1ms) SAVEPOINT active_record_1
1281
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1282
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1283
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '69c32eb1f618870a2080a0ed469181cfc0baa35a56ea348f34a982eea8639159b7a1daa81f84e7ce229a3670dba02ddb0608181588894b1f380fe2584b497655' LIMIT 1
1284
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yq9gYIykrrR3XOR41uPI' LIMIT 1
1285
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', 'dd40b805af889f3e23869e62542fa8be14167bab0fc6dcd665e8ceb1e98a07823fabc1931ead2fda2e60cd9c528363a69e55a09bfce24670711fcf7fcfed067b', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, 'cJsL1wSoYx72eimUc2', 'Nfi7eL2CrS5KSbYJJ5r4', '69c32eb1f618870a2080a0ed469181cfc0baa35a56ea348f34a982eea8639159b7a1daa81f84e7ce229a3670dba02ddb0608181588894b1f380fe2584b497655', 'yq9gYIykrrR3XOR41uPI', 1, '2014-01-05 14:39:51')
1286
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'KBf3oE6QoBV4xVvUmqU', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 102
1287
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1288
+ Processing by Spud::Admin::BannerSetsController#create as HTML
1289
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
1290
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 102 LIMIT 1
1291
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'pkPJmWXF0fvYUuXVbKM', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 102
1292
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
1293
+ Completed 422 Unprocessable Entity in 8ms (Views: 0.6ms | ActiveRecord: 0.7ms)
1294
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1295
+  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1
1296
+  (0.1ms) ROLLBACK
1297
+  (0.1ms) BEGIN
1298
+  (0.2ms) SAVEPOINT active_record_1
1299
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1300
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1301
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '51792f95530d27aa0eebf9fa3bd5ffb68e3f4301b8736eaec1e72e08b1008fdb5c6251f19212e3b4f48a7c58f70b68accc5a112e97466cf19661e9acb941aacc' LIMIT 1
1302
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yFD4ewmS5eHwZbWkCycE' LIMIT 1
1303
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', '23cedb72afc9fce7399b0bcfb491c9479ebb7b760792372d60ffe5b38eadddf6f809ae16d67024632c47b40896e68e60b4da0a3e0d67263715d11c92251a0d0b', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, '9NdY0VDesUnGqQvvd0Lk', 'QRZaoomY7FL6rBQwzxkc', '51792f95530d27aa0eebf9fa3bd5ffb68e3f4301b8736eaec1e72e08b1008fdb5c6251f19212e3b4f48a7c58f70b68accc5a112e97466cf19661e9acb941aacc', 'yFD4ewmS5eHwZbWkCycE', 1, '2014-01-05 14:39:51')
1304
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'CduDduhk9eVQCCFyGJ', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 122
1305
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
1306
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 8', '2014-01-05 14:39:51', 600)
1307
+ Processing by Spud::Admin::BannerSetsController#edit as HTML
1308
+ Parameters: {"id"=>"142"}
1309
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1
1310
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = '9BCkuK5CGdiLEMstkbX', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 122
1311
+ Looking for banner set with id: 142
1312
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 142 LIMIT 1
1313
+ Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.6ms)
1314
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
1315
+  (0.1ms) ROLLBACK
1316
+  (0.1ms) BEGIN
1317
+  (0.1ms) SAVEPOINT active_record_1
1318
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1319
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1320
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5e02d2f9007f672f182c750dd53108f3eacdf34ee03e03405dd21f9042047373982512760517b49ea50790d205b7b46918b5434b6537c6449c0c35630981d69f' LIMIT 1
1321
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nt1TJY6SHfSaW7VdTDs' LIMIT 1
1322
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', 'a3c48652ac011fb553d4ff799ce1b6133e8e4c505b297d5548969d0c3afb7692a4a9cba8776f17d402908b9de3449107a601c2b534655bd858917f262dd347f3', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, '1tu9GSsq29MJoXQxmb', 'I03LByy4lAxLNKoSvmej', '5e02d2f9007f672f182c750dd53108f3eacdf34ee03e03405dd21f9042047373982512760517b49ea50790d205b7b46918b5434b6537c6449c0c35630981d69f', 'nt1TJY6SHfSaW7VdTDs', 1, '2014-01-05 14:39:51')
1323
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'objmfsr7qM8XmhnDPIQ', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 142
1324
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
1325
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 9', '2014-01-05 14:39:51', 600)
1326
+ Processing by Spud::Admin::BannerSetsController#update as HTML
1327
+ Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"162"}
1328
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1
1329
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'Lrvc9JsdkBezrXGEt8', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 142
1330
+ Looking for banner set with id: 162
1331
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 162 LIMIT 1
1332
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 162) LIMIT 1
1333
+ SQL (0.2ms) UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_banner_sets`.`id` = 162
1334
+ SpudBanner Load (0.4ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 162 ORDER BY `spud_banners`.`sort_order` ASC
1335
+ Completed 200 OK in 26ms (Views: 0.8ms | ActiveRecord: 3.0ms)
1336
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 162 LIMIT 1
1337
+  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1
1338
+  (0.1ms) ROLLBACK
1339
+  (0.1ms) BEGIN
1340
+  (0.1ms) SAVEPOINT active_record_1
1341
+ SpudUser Exists (45.9ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1342
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1343
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c8e2daac1d317a32cc9a5f3f5ff68feda57b724b24dfa7b4a0f55d5eae7dea8001dad93afefe4fcc750e6e4d6fe8eae67326045c33f4bfd54c5cc206508fd5f0' LIMIT 1
1344
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uPJWp2Ufeeun3TsszgFk' LIMIT 1
1345
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', '2357774dc12b4b2250304333f7df0f2b6eb7f1b5d1fc8cb6d1cdcb7a0a0268aa2d14ee471f0feedba44069acb8c33857bbcbbd06c1153afd9a3314f5a96fa0c1', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, 'IUwhyH4Ym7rIQUhDGeH', 'A5YMljvkSPpYD7Km7Ue7', 'c8e2daac1d317a32cc9a5f3f5ff68feda57b724b24dfa7b4a0f55d5eae7dea8001dad93afefe4fcc750e6e4d6fe8eae67326045c33f4bfd54c5cc206508fd5f0', 'uPJWp2Ufeeun3TsszgFk', 1, '2014-01-05 14:39:51')
1346
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'sCSzWNffraO26DIEPhg', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 162
1347
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
1348
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 10', '2014-01-05 14:39:51', 600)
1349
+  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets`
1350
+ Processing by Spud::Admin::BannerSetsController#update as HTML
1351
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"182"}
1352
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1
1353
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'QDtePJUKa1aih5j5NajO', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 162
1354
+ Looking for banner set with id: 182
1355
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 182 LIMIT 1
1356
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 182) LIMIT 1
1357
+ Completed 422 Unprocessable Entity in 8ms (Views: 0.6ms | ActiveRecord: 0.8ms)
1358
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1359
+  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1
1360
+  (0.1ms) ROLLBACK
1361
+  (0.1ms) BEGIN
1362
+  (0.1ms) SAVEPOINT active_record_1
1363
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1364
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1365
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9610b0d7c4bea7b9e099e1aac8e5dcacdc6a1082427105faa70dcf0160c6a469ea9730b5a5721052e4546c6f849a5f9d4e5b27d2d30e4fbd49d7f9c5e35f2ba1' LIMIT 1
1366
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'h4ozwm9m8PB9npArIpMp' LIMIT 1
1367
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:39:51', '9e33f7b1eaf9401cd2119954471cd058c7a985ae739b3a10f598c309bc3eb8c7c79ada5d75b75bdf511e0c2556cd0f9a7ecbb8e9bd810b6f111e95941ce3b28f', '2014-01-05 14:39:51', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:39:51', 'testuser', 1, '0zI4eeUxWvT78DwyrHz', 'LdQKSd24HZ474XIhrn4', '9610b0d7c4bea7b9e099e1aac8e5dcacdc6a1082427105faa70dcf0160c6a469ea9730b5a5721052e4546c6f849a5f9d4e5b27d2d30e4fbd49d7f9c5e35f2ba1', 'h4ozwm9m8PB9npArIpMp', 1, '2014-01-05 14:39:51')
1368
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:39:51', `current_login_at` = '2014-01-05 14:39:51', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'WzC0q2EUFh7xh8aMoh6P', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 182
1369
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1
1370
+ SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:39:51', 200, 'Banner Set 11', '2014-01-05 14:39:51', 600)
1371
+  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets`
1372
+ Processing by Spud::Admin::BannerSetsController#destroy as HTML
1373
+ Parameters: {"id"=>"202"}
1374
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 182 LIMIT 1
1375
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:39:51', `perishable_token` = 'Jyjs32KMk6SFRDxe4sd0', `updated_at` = '2014-01-05 14:39:51' WHERE `spud_users`.`id` = 182
1376
+ Looking for banner set with id: 202
1377
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 202 LIMIT 1
1378
+ SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 202 ORDER BY `spud_banners`.`sort_order` ASC
1379
+ SQL (0.2ms) DELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 202
1380
+ Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.0ms)
1381
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1382
+  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1
1383
+  (0.1ms) ROLLBACK
1384
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
1385
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
1386
+  (0.2ms) SELECT DATABASE() as db
1387
+  (0.9ms) select table_name from information_schema.views where table_schema = 'spud_banners_test'
1388
+  (1.0ms) TRUNCATE TABLE `spud_admin_permissions`;
1389
+  (1.2ms) TRUNCATE TABLE `spud_banner_sets`;
1390
+  (1.3ms) TRUNCATE TABLE `spud_banners`;
1391
+  (0.7ms) TRUNCATE TABLE `spud_user_settings`;
1392
+  (1.2ms) TRUNCATE TABLE `spud_users`;
1393
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
1394
+  (0.1ms) BEGIN
1395
+  (0.1ms) SAVEPOINT active_record_1
1396
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1397
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1398
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '320e6ab7c82d70a3f91e1154d310705467da9aa0a4ed07ed426ce4ca4e0004a41123c88c63ba5a25ad7506bc6a85819a793b410377a2af324ba5260d79515fe2' LIMIT 1
1399
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'O8cFKmqtP7sbkVVZYqhH' LIMIT 1
1400
+ SQL (1.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', 'a3993606054275d2218f389eae37ef67e347b5f3c92190a077ec345e310748726b5ccc10381f8bda03803876ef105fcb75d702a6365e76cba2596914aa6b1f1a', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, '1jY1AzSRAALBtkyt5lDU', '7AvGS4IogdOwor2', '320e6ab7c82d70a3f91e1154d310705467da9aa0a4ed07ed426ce4ca4e0004a41123c88c63ba5a25ad7506bc6a85819a793b410377a2af324ba5260d79515fe2', 'O8cFKmqtP7sbkVVZYqhH', 1, '2014-01-05 14:41:14')
1401
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'ifQYYCYQs5m2WDFz1Q7', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 2
1402
+ SpudBannerSet Exists (0.3ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 1' LIMIT 1
1403
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 1', '2014-01-05 14:41:14', 600)
1404
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 2' LIMIT 1
1405
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 2', '2014-01-05 14:41:14', 600)
1406
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 3' LIMIT 1
1407
+ SQL (0.1ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 3', '2014-01-05 14:41:14', 600)
1408
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 4' LIMIT 1
1409
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 4', '2014-01-05 14:41:14', 600)
1410
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 5' LIMIT 1
1411
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 5', '2014-01-05 14:41:14', 600)
1412
+ Processing by Spud::Admin::BannerSetsController#index as HTML
1413
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
1414
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'kosJN9gjqePTto4EzxG', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 2
1415
+ Rendered /Users/davidestes/projects/ruby/engines/spud_banners/app/views/spud/admin/banner_sets/index.html.erb within layouts/spud/admin/detail (0.2ms)
1416
+ Completed 200 OK in 267ms (Views: 5.0ms | ActiveRecord: 0.5ms)
1417
+  (0.3ms) SELECT COUNT(*) FROM `spud_banner_sets`
1418
+  (7.2ms) ROLLBACK TO SAVEPOINT active_record_1
1419
+  (0.2ms) ROLLBACK
1420
+  (0.1ms) BEGIN
1421
+  (0.1ms) SAVEPOINT active_record_1
1422
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1423
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1424
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1d726c207f65d03c0696d8017bcf65b89dec24db0859cfa34a1a222a75c3320b4a9d9940c963b99283aa117a316790167324f30a1ce6addc8d69713683d04217' LIMIT 1
1425
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BaMeNna82GKJn9UdJCy' LIMIT 1
1426
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', 'cbe4fd1e43080b3e84f9e02c998cf5cbd7e5e399f55950bfb61b63f860bc67aa3856586b9d92cb16be578b744600defb56c413718e6b5b00a0e1efa7d91e9e9c', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'uuwlJ5UUW7IyPMKKThJn', '6zyH51h0ykmjTL6Gu7wa', '1d726c207f65d03c0696d8017bcf65b89dec24db0859cfa34a1a222a75c3320b4a9d9940c963b99283aa117a316790167324f30a1ce6addc8d69713683d04217', 'BaMeNna82GKJn9UdJCy', 1, '2014-01-05 14:41:14')
1427
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'F3AxPs217joiqgr3jFf', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 22
1428
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 6' LIMIT 1
1429
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 6', '2014-01-05 14:41:14', 600)
1430
+ Processing by Spud::Admin::BannerSetsController#show as HTML
1431
+ Parameters: {"id"=>"102"}
1432
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1
1433
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'sSLnhTy8woDb1y1R6mQ9', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 22
1434
+ Looking for banner set with id: 102
1435
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 102 LIMIT 1
1436
+ Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.6ms)
1437
+  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1
1438
+  (0.1ms) ROLLBACK
1439
+  (0.1ms) BEGIN
1440
+  (0.1ms) SAVEPOINT active_record_1
1441
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1442
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1443
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5b092b35783d59fe187a3667b778e7e28ebcacd43db6ed21900397ef4633e06ea2920ed76ae44d7631ad64913b48d2284bcdcb3cf6fb7f8a0824ee838c4038f2' LIMIT 1
1444
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Bhlj0BpHsdgkLjbSdU4z' LIMIT 1
1445
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', 'c62cbfe661ad0d8096f32f663e75dcb499aa409097eb5155ac8e8742ef36f103a630a624a23edfdb3148a00a3d2a12df8b300308833360cdfa553ada8c418c1d', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'YkfNfu15MWiXTAus4fy', 'AiKKpyj4Q5x6Lu8pDzFo', '5b092b35783d59fe187a3667b778e7e28ebcacd43db6ed21900397ef4633e06ea2920ed76ae44d7631ad64913b48d2284bcdcb3cf6fb7f8a0824ee838c4038f2', 'Bhlj0BpHsdgkLjbSdU4z', 1, '2014-01-05 14:41:14')
1446
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'Q53VF8q178d0quMY704Z', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 42
1447
+ Processing by Spud::Admin::BannerSetsController#show as HTML
1448
+ Parameters: {"id"=>"-1"}
1449
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1
1450
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'PSk5Ixj5bzYkzRubSUdU', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 42
1451
+ Looking for banner set with id: -1
1452
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = -1 LIMIT 1
1453
+ Redirected to http://test.host/spud/admin/banner_sets
1454
+ Filter chain halted as :get_record rendered or redirected
1455
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
1456
+  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1
1457
+  (0.1ms) ROLLBACK
1458
+  (0.1ms) BEGIN
1459
+  (0.1ms) SAVEPOINT active_record_1
1460
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1461
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1462
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '98b10b2d205cf62f4a9755d1e57d6b0a5a8876c78bb2ea49f540c5a8f0089aaac722aa59bbfe430a98a3126497f0f0e441976209f329b6b1d978a0bf10963d8f' LIMIT 1
1463
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QTJ0qvYs1le2ktvQ6Nra' LIMIT 1
1464
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', '4dd053fd72f5591fea4a3e0fd2cb9bf6cbd3af65504ac75a8833d629eda39d4b52de3947661324f30bc95d2c947c0e8912064eb6468c66dba65b56536c04e512', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'XEx3e9CDvD6O5gmBInfn', 'G0yDoYLhtnxNvch7V5mo', '98b10b2d205cf62f4a9755d1e57d6b0a5a8876c78bb2ea49f540c5a8f0089aaac722aa59bbfe430a98a3126497f0f0e441976209f329b6b1d978a0bf10963d8f', 'QTJ0qvYs1le2ktvQ6Nra', 1, '2014-01-05 14:41:14')
1465
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'HkoN7nPmNNSJREVqKoB', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 62
1466
+ Processing by Spud::Admin::BannerSetsController#new as HTML
1467
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1
1468
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'YK2Vw03ki2C9y4dSQGn', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 62
1469
+ Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.5ms)
1470
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
1471
+  (0.1ms) ROLLBACK
1472
+  (0.1ms) BEGIN
1473
+  (0.1ms) SAVEPOINT active_record_1
1474
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1475
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1476
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '841d90e9c91ebba678c7f09522f4b829d67a3fd80e93b10a72ac8351d0fefbb0a02fd7ba65e05adfca9b5ccc308a09669bc0cb0c92054811c5e9b9587f3c3620' LIMIT 1
1477
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5C1ditve8i6JqyTpWMX' LIMIT 1
1478
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', 'ac65cf1402463e30d3b737a87b2b306afabd4ba9a58392bcf0b438b76c32af862b0d96ee85b4d838c385eb5398d65b79c18563c27b64b0209f470b08ba0308e5', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'dt00JeKlYLgIZTS0F', 'MVAC4VIU70SKbhgKhmJL', '841d90e9c91ebba678c7f09522f4b829d67a3fd80e93b10a72ac8351d0fefbb0a02fd7ba65e05adfca9b5ccc308a09669bc0cb0c92054811c5e9b9587f3c3620', '5C1ditve8i6JqyTpWMX', 1, '2014-01-05 14:41:14')
1479
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'sOsYna0Tz93O2LDfpRM', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 82
1480
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1481
+ Processing by Spud::Admin::BannerSetsController#create as HTML
1482
+ Parameters: {"spud_banner_set"=>{"name"=>"Banner Set 7", "width"=>"600", "height"=>"200", "cropped"=>true}}
1483
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1
1484
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'Ltw0ajzDde9Iy32aYNY', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 82
1485
+ SpudBannerSet Exists (0.4ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 7' LIMIT 1
1486
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 7', '2014-01-05 14:41:14', 600)
1487
+ Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 1.1ms)
1488
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1489
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
1490
+  (0.1ms) ROLLBACK
1491
+  (0.1ms) BEGIN
1492
+  (0.1ms) SAVEPOINT active_record_1
1493
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1494
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1495
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4915ce04a7718201a754d3ecc3e63efc015d19c3521773bf8db32a6119a8a580d1cbfdf7a7b42ade097a599c1a69596d26db49e6f3e60cd408f001e7c9d759ef' LIMIT 1
1496
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ycg2965pbielB3qIjhmT' LIMIT 1
1497
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', '520b4fe40e3e9ed14e5f846ad3f5bce3e36a4b8b7bd4b57ff3b62b681db80b1bf8bf587fd3776ef5b144d77ff6e51cfd1576d9ecae33943ce082d8c43164a64d', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'U0JOTC3KzYGo0GYXViWg', 'BkPkHjJVzVx3AmeSCCsC', '4915ce04a7718201a754d3ecc3e63efc015d19c3521773bf8db32a6119a8a580d1cbfdf7a7b42ade097a599c1a69596d26db49e6f3e60cd408f001e7c9d759ef', 'ycg2965pbielB3qIjhmT', 1, '2014-01-05 14:41:14')
1498
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'nvDuZHXoWc5kLK5QLgK', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 102
1499
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1500
+ Processing by Spud::Admin::BannerSetsController#create as HTML
1501
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}}
1502
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 102 LIMIT 1
1503
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'nqjxPwAMkOUyGyXLqdT', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 102
1504
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY '' LIMIT 1
1505
+ Completed 422 Unprocessable Entity in 7ms (Views: 0.6ms | ActiveRecord: 0.6ms)
1506
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1507
+  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1
1508
+  (0.1ms) ROLLBACK
1509
+  (0.1ms) BEGIN
1510
+  (0.1ms) SAVEPOINT active_record_1
1511
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1512
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1513
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3544f3c68ac769c8865f881a6d1625e5529d25efd188ba4b68f733425e492b3dcf8c0b3454eef3b453482f9eabe7976757bd03637a670ff85734a087258b44aa' LIMIT 1
1514
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'A6SuSFBxoPe17nOQO0wV' LIMIT 1
1515
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', '40ee1886490ae6c8cf42e12442425bb7acb4a6f8f853d88293263eb32344b65c59ae99bcdfc3c4619de6d9808b66dfaef412964978f5d8a1af41652a3913291a', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, '0IjEucS44u17t46yZwxm', 'zWpDH26b0x2tuozycj6', '3544f3c68ac769c8865f881a6d1625e5529d25efd188ba4b68f733425e492b3dcf8c0b3454eef3b453482f9eabe7976757bd03637a670ff85734a087258b44aa', 'A6SuSFBxoPe17nOQO0wV', 1, '2014-01-05 14:41:14')
1516
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'tD1pTOTqvUWeYSKccfQ1', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 122
1517
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 8' LIMIT 1
1518
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 8', '2014-01-05 14:41:14', 600)
1519
+ Processing by Spud::Admin::BannerSetsController#edit as HTML
1520
+ Parameters: {"id"=>"142"}
1521
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1
1522
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'ahIYa9hXk9Tfql1qXMAS', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 122
1523
+ Looking for banner set with id: 142
1524
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 142 LIMIT 1
1525
+ Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.6ms)
1526
+  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1
1527
+  (0.2ms) ROLLBACK
1528
+  (0.1ms) BEGIN
1529
+  (0.1ms) SAVEPOINT active_record_1
1530
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1531
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1532
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '139ad3728d9353235d14ac5dae374831651b3a11aea800dc6e1ac29fe8c544a972e81b0f2160eec4c048de38904fc1a7ccc9283457d142aa8af4590c9bb3bdea' LIMIT 1
1533
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hMsBv0dfR8Mb98CjeB4d' LIMIT 1
1534
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', 'a10f9e2d8a11b17df6b5cf595e400493c17eec4a488d697ba7ac39747861d6de7b56cba6bf0ba62f26ced3bf0e742674a63314a3c00c8a20eb93cf9d0945d449', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'hRJczEFxtlGQFQDgCqO', 'd0rHopEjVRT84ibbZ5C3', '139ad3728d9353235d14ac5dae374831651b3a11aea800dc6e1ac29fe8c544a972e81b0f2160eec4c048de38904fc1a7ccc9283457d142aa8af4590c9bb3bdea', 'hMsBv0dfR8Mb98CjeB4d', 1, '2014-01-05 14:41:14')
1535
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'R7nRrs9eKP77Y49CBlP', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 142
1536
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 9' LIMIT 1
1537
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 9', '2014-01-05 14:41:14', 600)
1538
+ Processing by Spud::Admin::BannerSetsController#update as HTML
1539
+ Parameters: {"spud_banner_set"=>{"name"=>"Updated Set Name"}, "id"=>"162"}
1540
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1
1541
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'wyVBvdPUg4QpSntpDCJ4', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 142
1542
+ Looking for banner set with id: 162
1543
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 162 LIMIT 1
1544
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY 'Updated Set Name' AND `spud_banner_sets`.`id` != 162) LIMIT 1
1545
+ SQL (0.2ms) UPDATE `spud_banner_sets` SET `name` = 'Updated Set Name', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_banner_sets`.`id` = 162
1546
+ SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 162 ORDER BY `spud_banners`.`sort_order` ASC
1547
+ Completed 200 OK in 25ms (Views: 0.7ms | ActiveRecord: 2.5ms)
1548
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 162 LIMIT 1
1549
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
1550
+  (0.1ms) ROLLBACK
1551
+  (0.1ms) BEGIN
1552
+  (0.1ms) SAVEPOINT active_record_1
1553
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1554
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1555
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2b612efc5a72f035b5c007101e92c0ba97741e76179fc4dccf7863c8efbb38f8d7908616639eaa54084a07281103db971396a7544064cef4ace87048eeed4fb6' LIMIT 1
1556
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4fyCByO09QHwEYAm' LIMIT 1
1557
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', 'bb90d0edee21ed0f8d0e3a56917b43bb275e3bae6ea20b440e0e2d51d667bab079868f1e8f2c25db7f17c326541819a5a73c0ae43660c7133aad26c267387b22', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'Mexh5djHMq7kFewBeK6V', '79QfVoH2KtLMmCIXSdKn', '2b612efc5a72f035b5c007101e92c0ba97741e76179fc4dccf7863c8efbb38f8d7908616639eaa54084a07281103db971396a7544064cef4ace87048eeed4fb6', '4fyCByO09QHwEYAm', 1, '2014-01-05 14:41:14')
1558
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'KxKJBsOVd4qMjFmNwgJ8', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 162
1559
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 10' LIMIT 1
1560
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 10', '2014-01-05 14:41:14', 600)
1561
+  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets`
1562
+ Processing by Spud::Admin::BannerSetsController#update as HTML
1563
+ Parameters: {"spud_banner_set"=>{"name"=>"", "width"=>"lorem", "height"=>"ipsum"}, "id"=>"182"}
1564
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1
1565
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'kNjESzgBaPz4AT7hvOJ', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 162
1566
+ Looking for banner set with id: 182
1567
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 182 LIMIT 1
1568
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE (`spud_banner_sets`.`name` = BINARY '' AND `spud_banner_sets`.`id` != 182) LIMIT 1
1569
+ Completed 422 Unprocessable Entity in 7ms (Views: 0.7ms | ActiveRecord: 0.9ms)
1570
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1571
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
1572
+  (0.1ms) ROLLBACK
1573
+  (0.1ms) BEGIN
1574
+  (0.1ms) SAVEPOINT active_record_1
1575
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1576
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1577
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4b8f5a34d143ba15068aa94ac415726d4ff70d833b8a293399c69d8b0f410b7cfdf4519218a13142dbb8d29f1944387fc32d6f3e4539b861ec4d724fdbccb7ea' LIMIT 1
1578
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'K73dAao4xLX6UAiSIwBn' LIMIT 1
1579
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-01-05 14:41:14', '8ae7fe9af0c468f50266f9012c194d6f617795ebec5b2c9abb8800da35483a4d7d8e40379f79d7a59768ef30275f653eb17ed205fbdd3ca0d4ea47192e4d3190', '2014-01-05 14:41:14', '0.0.0.0', 'test@testuser.com', '2014-01-05 14:41:14', 'testuser', 1, 'LQMpEmspNkka05M6dJK', 'xkSDJVIwWEnMm4U86aP', '4b8f5a34d143ba15068aa94ac415726d4ff70d833b8a293399c69d8b0f410b7cfdf4519218a13142dbb8d29f1944387fc32d6f3e4539b861ec4d724fdbccb7ea', 'K73dAao4xLX6UAiSIwBn', 1, '2014-01-05 14:41:14')
1580
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 14:41:14', `current_login_at` = '2014-01-05 14:41:14', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'fN5zeegW4ma6AymA9Rc', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 182
1581
+ SpudBannerSet Exists (0.2ms) SELECT 1 AS one FROM `spud_banner_sets` WHERE `spud_banner_sets`.`name` = BINARY 'Banner Set 11' LIMIT 1
1582
+ SQL (0.2ms) INSERT INTO `spud_banner_sets` (`created_at`, `height`, `name`, `updated_at`, `width`) VALUES ('2014-01-05 14:41:14', 200, 'Banner Set 11', '2014-01-05 14:41:14', 600)
1583
+  (0.1ms) SELECT COUNT(*) FROM `spud_banner_sets`
1584
+ Processing by Spud::Admin::BannerSetsController#destroy as HTML
1585
+ Parameters: {"id"=>"202"}
1586
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 182 LIMIT 1
1587
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-01-05 14:41:14', `perishable_token` = 'fbcYN8bUdwX2OxiWTKa', `updated_at` = '2014-01-05 14:41:14' WHERE `spud_users`.`id` = 182
1588
+ Looking for banner set with id: 202
1589
+ SpudBannerSet Load (0.2ms) SELECT `spud_banner_sets`.* FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 202 LIMIT 1
1590
+ SpudBanner Load (0.2ms) SELECT `spud_banners`.* FROM `spud_banners` WHERE `spud_banners`.`spud_banner_set_id` = 202 ORDER BY `spud_banners`.`sort_order` ASC
1591
+ SQL (0.2ms) DELETE FROM `spud_banner_sets` WHERE `spud_banner_sets`.`id` = 202
1592
+ Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.0ms)
1593
+  (0.2ms) SELECT COUNT(*) FROM `spud_banner_sets`
1594
+  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1
1595
+  (0.1ms) ROLLBACK