spec/dummy/log/test.log in spud_inquiries-0.9.5 vs spec/dummy/log/test.log in spud_inquiries-1.0.0.rc1
- old
+ new
@@ -21038,5 +21038,3492 @@
[1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:36:37', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:36:37')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (18.2ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.6ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (5.4ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.7ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (1.1ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 1', '2014-01-05 02:57:48', 'form-1')[0m
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (43.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 2', '2014-01-05 02:57:48', 'form-2')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 3', '2014-01-05 02:57:48', 'form-3')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 4', '2014-01-05 02:57:48', 'form-4')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 5', '2014-01-05 02:57:48', 'form-5')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+Processing by ContactsController#thankyou as HTML
+Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2b3a75d13036cf406da8a999d5e46a41a548bf83e000fd385aef8183e2d2a8a6096b653dcfdd52043104d979f17e699b3ce6350c09840e20598a0e5b0f343148' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'q8TwhiNUkofkkCmXUtav' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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 02:57:48', 'fc3791de79883c717a916c001ed74c8dbfebac436559169964a811b01b8398ea19fb82051570d20726da18e36ff36f9ece6d1131907588efec24242c8879f5e7', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, 'mdOphmaGlTH8gV7u8Pq', '82MjQORiDq2gcvB0G1JF', '2b3a75d13036cf406da8a999d5e46a41a548bf83e000fd385aef8183e2d2a8a6096b653dcfdd52043104d979f17e699b3ce6350c09840e20598a0e5b0f343148', 'q8TwhiNUkofkkCmXUtav', 1, '2014-01-05 02:57:48')[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'Ueot4cMCj5ZCUahUQsRo', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:57:48', '2014-01-05 02:57:48')[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:57:48', '2014-01-05 02:57:48')
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'owlsXqLkOEyhpW1cGO', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 2
+Completed 200 OK in 8ms (Views: 2.2ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries`[0m
+ [1m[35m (0.9ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '63b4e331b13a86d748a2b484f5d07feaf8132b30a145e9b3c9aa09745a36c12d441c0d60703925f09d5105a21c634cc681fd9b457d6ae6c266d8c42678440859' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZoQmLnsEOvS4ePQRMRWC' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:57:48', 'ae3101c82edb6d3f9639476a71ecced13fadd114fae7b6e52133aedd0684b56598e1154fdec22290750056b3ca419f10722dc83f8a44b8725aeb465c71c3bf40', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, 'Iv2ruRmXA2CbLaQUISpa', 'YA9WFEW0Fcz1NiKlxu3', '63b4e331b13a86d748a2b484f5d07feaf8132b30a145e9b3c9aa09745a36c12d441c0d60703925f09d5105a21c634cc681fd9b457d6ae6c266d8c42678440859', 'ZoQmLnsEOvS4ePQRMRWC', 1, '2014-01-05 02:57:48')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'aiu00eL76XfBXwO8En0f', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 22[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:57:48', '2014-01-05 02:57:48')
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"42"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'WWNdnmUKLEYXkcAwsOqV', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 22
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 42 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1[0m
+Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8df00fc1d9d5cabfeb5a0250444438b315204286a78db71722dfbf690dcdda444e7c7ff4902c69cff158b6ba78533082968f3fbe19705c6484abec0789c027ce' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '2CpAs93kVwLlcpDpGa6d' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:57:48', '8eb0b4cbfea81a96983a928046a33616052644a6ecd5fac04dae72f5a763a435495560479cacfb623a56947de4cb1c5922f13bc96a0ff263446b5b77aefeec96', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, 'vP1UTtwTO8NNr5GVa1u', 'Athp7xEXDWE7n82bUfj', '8df00fc1d9d5cabfeb5a0250444438b315204286a78db71722dfbf690dcdda444e7c7ff4902c69cff158b6ba78533082968f3fbe19705c6484abec0789c027ce', '2CpAs93kVwLlcpDpGa6d', 1, '2014-01-05 02:57:48')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'VtvF3o53vjNgbwPGSE', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 42[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'ianVu87NNa6VsiAAkCS', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 42[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '90f61a81be3cf3e568aae90635634a1bb855087f3d3866c5b5d7ff7d0e6b3e0a14bb11d7af068852da33a6da63e33d1d46445f148754fefd79bad87029a06860' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pGb7fJWRpEE1vsGzbUy0' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:57:48', '54cdd3d4932145642ecb4694f9ace417bae9df91740d71a6c53f462c077d7d2a089185ee9b278a7094fa5eff9bd360dacbe2ac6f06d9091d91c168dbf1be176e', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, 'bNtoHcrIlHWiXBjYg1', 'PoV4E4uZ9JoR7fnLIgTP', '90f61a81be3cf3e568aae90635634a1bb855087f3d3866c5b5d7ff7d0e6b3e0a14bb11d7af068852da33a6da63e33d1d46445f148754fefd79bad87029a06860', 'pGb7fJWRpEE1vsGzbUy0', 1, '2014-01-05 02:57:48')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'QrFkIR1x1kMI6bqaCm3', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 62
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:57:48', '2014-01-05 02:57:48')[0m
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"62"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'cSgooUqmNn8RL5ze3o', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 62
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 62
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 7ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.9ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2cf1d832cba553351696717b0bdc61f65253fc82305515e3a7ac2cc4e3b958a6167c63333fbb1132775477d6b3d6eb9e5244d567d193dfa9b1752389301b1748' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Pe1ddZc1lIK8Ka2PgQW' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:57:48', '632d45d8e90f4e7ff0477f8ffea6ba0be576ec911746b8f354c1628d5def94836a70ba6a5321abd101a2ce67917b2fe884afc7f76d059b2fb4c280a6ffb845e0', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, 'xbutuGAtYjBWcwQJ6R8', 'wrtoapC8GUb8xlpRmwq', '2cf1d832cba553351696717b0bdc61f65253fc82305515e3a7ac2cc4e3b958a6167c63333fbb1132775477d6b3d6eb9e5244d567d193dfa9b1752389301b1748', 'Pe1ddZc1lIK8Ka2PgQW', 1, '2014-01-05 02:57:48')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'qdRc3Az7jftnGt7NLlsy', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 82
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:57:48', '2014-01-05 02:57:48')[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'zRmkWOo3tB5piRjSYM2', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 82
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1f236b85c057b5b230787f1ca7f40a66ab22d1703c67d77b791d5339bab7f453e0fc0abedcec0888be3f20b82ab3f7d3341d469c87a4bc4d32bed0d5623b6e8f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vEV6r6dmiuohVQiDXQC4' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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 02:57:48', '2034c13ff0be034e8cd6dd7b121ed021c17a92147ecbab8047553cca6612d7a028fbf4fe4b7a4e12940ec3ed661ae1f71567f165b7c268fa04163ba05db03d57', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, '9Eywk4K40rhl5V1EMMRk', '20cp2OE3DUNhCUvUKrG', '1f236b85c057b5b230787f1ca7f40a66ab22d1703c67d77b791d5339bab7f453e0fc0abedcec0888be3f20b82ab3f7d3341d469c87a4bc4d32bed0d5623b6e8f', 'vEV6r6dmiuohVQiDXQC4', 1, '2014-01-05 02:57:48')[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'KBY4wPgEQQ2ZGXhxDs', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 102
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 6', '2014-01-05 02:57:48', 'form-6')[0m
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3684a7b0fa07e876d3853045480bba68c643a0e020cfeda3c672e977978699582ba5e096d5446cd0239af0a9c919454182bd9910cfa0fed5ea48513f1468c229' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SaCJWg3oShnY5vvkRWWn' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m 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 02:57:48', '1998812606ded7fe349215603fad364d8b2600ea61ed4e786fe1a2727f27d50f45b81fbb514c732864e7fb03f9db6c1c9fe07accc7cf51226a9d6ff17d8da42e', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, 'rTXvRuqiOwFLjPRNGpN', 'NW43rPfWugPcuIMIfkP', '3684a7b0fa07e876d3853045480bba68c643a0e020cfeda3c672e977978699582ba5e096d5446cd0239af0a9c919454182bd9910cfa0fed5ea48513f1468c229', 'SaCJWg3oShnY5vvkRWWn', 1, '2014-01-05 02:57:48')
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'a656hVhdf6RS77lZrYg', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 122[0m
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = '4TznwhmBtqgXT6Vmnbzd', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 122[0m
+Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.9ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6126dd615dce3bba1fa352c72660a9ecce2f89d88d2bd0a61c812535751452b4caf8e9272ec68fec8010cf992c7c03dc3ba24cc5f6896ef804763d495cff1949' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iCM8Vtcnf7NbtdMYh21q' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:57:48', 'a929f36c774b5011db9626edf1a6390f2a6ffbeb158565f1527b58876a8ded31877f6a3aa2c0a66be9a0858e89f1a3b3b16889320ef68ddcd34f63e8ce955dc7', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, 'x57AUngWUNAeIdj5zco', '0Gj21mTYE6qsiRUNAj', '6126dd615dce3bba1fa352c72660a9ecce2f89d88d2bd0a61c812535751452b4caf8e9272ec68fec8010cf992c7c03dc3ba24cc5f6896ef804763d495cff1949', 'iCM8Vtcnf7NbtdMYh21q', 1, '2014-01-05 02:57:48')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'f73F8XK1rxU6qEM1CTsZ', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 142[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>"Form 7"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = '12TnM0tHXx9pyD5tpU', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 142
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 7', '2014-01-05 02:57:48', 'form-7')[0m
+Completed 500 Internal Server Error in 9ms
+ [1m[35m (0.9ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5fbc3d4ea70b4324d03fac2296aa9398c68338313bf01e02da88e66ff4e75466c6c90dae3832a645ac668d09958f4b2ad753460256aa3ecd6978d33065ec7e54' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'D3TApd58f7AZSaVSMTp' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m 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 02:57:48', '78d589e24f4a900594c55b3534708ba3d67fb9bef11728432b21f4e981670459dd1e4bd62cfd466e978c1591b5d7ee9f550bf8f4dfeb31daa08e1a92ba108d64', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, '65YW2AzGwWtph9997bA9', 'QxVgMaiibkYT9hlLiVya', '5fbc3d4ea70b4324d03fac2296aa9398c68338313bf01e02da88e66ff4e75466c6c90dae3832a645ac668d09958f4b2ad753460256aa3ecd6978d33065ec7e54', 'D3TApd58f7AZSaVSMTp', 1, '2014-01-05 02:57:48')
+ [1m[36mSQL (0.5ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = '6i3wBBdfaqoINqfgco', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 162[0m
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = '5HaVChOdlvTgyPi4dED', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 162
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+Completed 200 OK in 11ms (Views: 0.7ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd718ef3a29f29fcec04e69cf18b18dfa73cb1f7a9c5665911fd43fa15a504a825a4aa65c151c1fbb1c75ff1972ad41ebfe7ef579343c4b2d925b0a107da4c212' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1XBQPVoDtfUVl4KYr5j' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:57:48', '5c6c2395ca452f42bde3b2ff5a30e681673bd553a23236e8016f5da24edeafff0ec4acfab02283ad4ab644d9637fb233fd95341c07d36924b8eb8ebe7ac0a0fb', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, '7xwsps8WRtoZaQ9aWJKF', 'KJ2yU5OGq9jHlnUtrS9H', 'd718ef3a29f29fcec04e69cf18b18dfa73cb1f7a9c5665911fd43fa15a504a825a4aa65c151c1fbb1c75ff1972ad41ebfe7ef579343c4b2d925b0a107da4c212', '1XBQPVoDtfUVl4KYr5j', 1, '2014-01-05 02:57:48')
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'Faib3y0WsWlfVV8BjLPJ', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 182[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 8', '2014-01-05 02:57:48', 'form-8')
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b190f482814fb51d205b6367b475253ce68716d8cee71945b78d739daf0acab56d9680ae7baa0c4684eb58df04df908ce1148302ce4c978a1c6a3e86f2ee7f23' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FiEFCGE0pmOOjL9Ckd0' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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 02:57:48', 'ec073b34a7ef44f54db09ad81f3997d137f8c20dbbeda407a1a6009d6c56146bc7fee4d591b355404d4fd8d36dc5ed3e2694eabb7e6d2b64c71ed2f0c4f934e3', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, '87M5YHvohfgVB81hZgoS', 'N848aIS4ye0wQoodC', 'b190f482814fb51d205b6367b475253ce68716d8cee71945b78d739daf0acab56d9680ae7baa0c4684eb58df04df908ce1148302ce4c978a1c6a3e86f2ee7f23', 'FiEFCGE0pmOOjL9Ckd0', 1, '2014-01-05 02:57:48')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'p9KqE1l6GdM8yhq6ui', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 202
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 202 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = '0xH3bt7uPKw367c7jEwJ', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 202
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd303f25368d5abd230e393f072c05ea1ae532b864696cfe6b9ab58c6ab3ee9eed97ee14b1088ca6ef829a9313d99474efdce2b868c007682801ab16482d4b576' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jqlL5LKD0dVB6r7LUxwv' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:57:48', '016137a157d533f5b353db093fb6201265dca71ec4a94da21bf433cd5f7dcee4277a323b00ae93a8fce41bf118998be39a1bb491c6e2691373014a26b996c885', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, 'xOWbBEQHf1AYxM9WO5g', 'ryLKrfYH5irqs7xRGKmF', 'd303f25368d5abd230e393f072c05ea1ae532b864696cfe6b9ab58c6ab3ee9eed97ee14b1088ca6ef829a9313d99474efdce2b868c007682801ab16482d4b576', 'jqlL5LKD0dVB6r7LUxwv', 1, '2014-01-05 02:57:48')
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'o2IkjZCFNsejElrwULw', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 222[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 9', '2014-01-05 02:57:48', 'form-9')
+ [1m[36m (0.8ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f0b35b48e028b08bc5b7a1289caa11e8b73469791cdaf86ba981868393b5bc6b09189c87d49a79fc63cbfffcdacd18b506e9729ca6e3593ba5c0bb60be48c77e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YT9K4uxYKGcz0rhwxHZt' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT 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 02:57:48', '93e1972cbf0dbcc5ef170927798d862f37a851ff8b76195d766a1606056660a5477483a9594bc3b49e3f3fecfac17f1ae2a090acd0fbf7ca63675c4efd9195d6', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, 'qDMUXSgVg5YTjUhXjcH4', 'BvvU9ycEszuRJrDQBt5j', 'f0b35b48e028b08bc5b7a1289caa11e8b73469791cdaf86ba981868393b5bc6b09189c87d49a79fc63cbfffcdacd18b506e9729ca6e3593ba5c0bb60be48c77e', 'YT9K4uxYKGcz0rhwxHZt', 1, '2014-01-05 02:57:48')[0m
+ [1m[35mSQL (0.5ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'JCOgzewZhiSSbQ0U7qd5', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 242
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 10', '2014-01-05 02:57:48', 'form-10')[0m
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'db0eb72c927d1149ee570472e8c532538ee98789f54a26307af435133aeab96fe5c2d20f179fc999ed41c65249073ed367788e0f2640682f2e3b8c7fa2c4e077' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ELdF5zAofaeJ7tj4O9C' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:57:48', '0ab3c926db774cd62f4953a3c1d465e3945303696243261a15f539a2468ec50e609605c43175e443fcbab9eba59b1f5008d80a9c39972b746f423f7a24a613d1', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, 'MiArcJkkZHZHfklI2P', 'FCsqmCXnQ1iWALf93HYw', 'db0eb72c927d1149ee570472e8c532538ee98789f54a26307af435133aeab96fe5c2d20f179fc999ed41c65249073ed367788e0f2640682f2e3b8c7fa2c4e077', 'ELdF5zAofaeJ7tj4O9C', 1, '2014-01-05 02:57:48')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'Wvb9UxwbALovgJwN5lY', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 262[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 11', '2014-01-05 02:57:48', 'form-11')
+ [1m[36m (1.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e32b1a3435e893be73ccb684fbd7834d0684818bf8a78c680f76f03644936e37ca72c15fb691ebafd0fbac39b875ff71cb8ac79ee8def399742a9c74b84a6c70' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4KzbpxdgrcP2m6iJEs' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:57:48', 'f322b3af906419540f22998664f38fc93303315a981976cecf1809538b560c38d74aa7cd4e5f6b97776b565d907bca1f1bd0ec9d7c2bb02d94b7bff9bd303736', '2014-01-05 02:57:48', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:57:48', 'testuser', 1, 'KXxRTj8qpCXAVzdpYX4', '5I5ySojxvev4OvTuj80', 'e32b1a3435e893be73ccb684fbd7834d0684818bf8a78c680f76f03644936e37ca72c15fb691ebafd0fbac39b875ff71cb8ac79ee8def399742a9c74b84a6c70', '4KzbpxdgrcP2m6iJEs', 1, '2014-01-05 02:57:48')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:57:48', `current_login_at` = '2014-01-05 02:57:48', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:57:48', `perishable_token` = 'OtQVbe0EtyIc9NTxVLa', `updated_at` = '2014-01-05 02:57:48' WHERE `spud_users`.`id` = 282
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 12', '2014-01-05 02:57:48', 'form-12')[0m
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+Completed 406 Not Acceptable in 1ms
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:57:48', '2014-01-05 02:57:48')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 13', '2014-01-05 02:57:48', 'form-13')[0m
+ [1m[35m (0.6ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 14', '2014-01-05 02:57:48', 'form-14')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 15', '2014-01-05 02:57:48', 'form-15')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Form 16', '2014-01-05 02:57:48', 'form-16')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:57:48', 'Test', '2014-01-05 02:57:48', 'test')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:57:48', '2014-01-05 02:57:48')
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2014-01-05 02:57:48', 'email', 122, '2014-01-05 02:57:48', 'test@spudcms.net')[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 122 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:57:48', '2014-01-05 02:57:48')[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 142 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (7.6ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.4ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.3ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.3ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (1.9ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.6ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:22', 'Form 1', '2014-01-05 02:58:22', 'form-1')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:22', 'Form 2', '2014-01-05 02:58:22', 'form-2')[0m
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:22', 'Form 3', '2014-01-05 02:58:22', 'form-3')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:22', 'Form 4', '2014-01-05 02:58:22', 'form-4')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:22', 'Form 5', '2014-01-05 02:58:22', 'form-5')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+Processing by ContactsController#thankyou as HTML
+Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '186e7ae234afe963221e435a4055f36a94e8ef666a424495846185bd2e143bdde4c4b8b762d7163b0dd589ab9abac378d37df4f1c45c07a87b566be9ca025d91' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BiHdvniwyPXOMgQj8z4O' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:58:22', 'adcac6df160f30fe54ccb2c1e56ff03f5e04e75b3966c8e7e55d2ae239101fa2c9cfc3f203694713f6b9de53333815b7ccf745252beb3a5d99efa98ad8bc1b79', '2014-01-05 02:58:22', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:22', 'testuser', 1, 'euov8y0ZDzZict7ZsieY', '8YShoxdEczdDhGUxngU', '186e7ae234afe963221e435a4055f36a94e8ef666a424495846185bd2e143bdde4c4b8b762d7163b0dd589ab9abac378d37df4f1c45c07a87b566be9ca025d91', 'BiHdvniwyPXOMgQj8z4O', 1, '2014-01-05 02:58:22')[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:22', `current_login_at` = '2014-01-05 02:58:22', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:22', `perishable_token` = 'LCqTG9sFoMCpmNUootwn', `updated_at` = '2014-01-05 02:58:22' WHERE `spud_users`.`id` = 2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:58:22', '2014-01-05 02:58:22')[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:58:22', '2014-01-05 02:58:22')
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:58:22', `perishable_token` = '9FYvPYRM2yGXIfF3job', `updated_at` = '2014-01-05 02:58:22' WHERE `spud_users`.`id` = 2
+Completed 200 OK in 8ms (Views: 2.3ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries`[0m
+ [1m[35m (0.9ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7f9fb7e10ecac0e013abee5fc26ffb65cbba98cff028918469608fa0c476850aef1e55709f7cd6797b764aadbba53b0f8d11a7a7ee1991277bb9e845da478cd1' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fBBn1SlmybvkZbKUAsms' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:58:22', '2de36ed660665b05e1cfe0da01f67362fac5def1c65b4711f2b1ad198f807f0337b53c9b66bff970ac48ad4aa2a9802b86859388753a37afcaec6de204a54026', '2014-01-05 02:58:22', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:22', 'testuser', 1, 'DAcd1mMhnpj219MavikN', '4cJFDAGxhmMCpNCc6L8', '7f9fb7e10ecac0e013abee5fc26ffb65cbba98cff028918469608fa0c476850aef1e55709f7cd6797b764aadbba53b0f8d11a7a7ee1991277bb9e845da478cd1', 'fBBn1SlmybvkZbKUAsms', 1, '2014-01-05 02:58:22')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:22', `current_login_at` = '2014-01-05 02:58:22', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:22', `perishable_token` = 'oBQPPeVp7EctRO7KCrV', `updated_at` = '2014-01-05 02:58:22' WHERE `spud_users`.`id` = 22[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:58:22', '2014-01-05 02:58:22')
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"42"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:58:22', `perishable_token` = 'EuSQcHoZSlkycqsk3oB', `updated_at` = '2014-01-05 02:58:22' WHERE `spud_users`.`id` = 22
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 42 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1[0m
+Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.6ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '85af51cf427739553dd233dd49f494a0869bf9e08ea7f5da90b52f84db25fcac0b85375c4be39c7e5bf64c42761fc264dc00bd85d4d18a3da807057605076c8a' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'AqvMr1dM9YPyqnFm5Yk' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m 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 02:58:22', '98038275625a07f146616428054bce599169941a046cf4f26b9923ffaf48c2c1380deb9b82c52403f0af2f31edab2b0339a83e3e878596a3f66d74f5877ab973', '2014-01-05 02:58:22', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:22', 'testuser', 1, '3vWN1EQQ7m9jQ6hhFuKk', 'XbyzpgcDW21t6GV2dtjE', '85af51cf427739553dd233dd49f494a0869bf9e08ea7f5da90b52f84db25fcac0b85375c4be39c7e5bf64c42761fc264dc00bd85d4d18a3da807057605076c8a', 'AqvMr1dM9YPyqnFm5Yk', 1, '2014-01-05 02:58:22')
+ [1m[36mSQL (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:22', `current_login_at` = '2014-01-05 02:58:22', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:22', `perishable_token` = 'E3Dz8bMHqUWnoeSTieP6', `updated_at` = '2014-01-05 02:58:22' WHERE `spud_users`.`id` = 42[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:58:22', `perishable_token` = 'giHS9omJFG8fsKrtgj8', `updated_at` = '2014-01-05 02:58:22' WHERE `spud_users`.`id` = 42[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
+ [1m[36m (0.8ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7b763205a3bd534ff698208328603aa4504f4660dbe7ebc4b8ac8ec7ef46083c3ba8b01862cacec7bc632f68e03a7156de2b25c8e5b06426477a7bb679999229' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'O479BtRAyOlhEbDam3k8' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:58:22', '4c718df263a19384aa1a48387d55e973302427a7e08ff5e938ebfc94c6494edab329f4ed84c3ab32fbcdae8e453690341c9679270839fdb304892c9cd64cb5de', '2014-01-05 02:58:22', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:22', 'testuser', 1, 'hyj7JOlGXm43g603sp0', 'xfAL77xkn0AP8m3boxnr', '7b763205a3bd534ff698208328603aa4504f4660dbe7ebc4b8ac8ec7ef46083c3ba8b01862cacec7bc632f68e03a7156de2b25c8e5b06426477a7bb679999229', 'O479BtRAyOlhEbDam3k8', 1, '2014-01-05 02:58:22')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:22', `current_login_at` = '2014-01-05 02:58:22', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:22', `perishable_token` = 'qcLz2dkKL7F2GzkW4bP', `updated_at` = '2014-01-05 02:58:22' WHERE `spud_users`.`id` = 62
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:58:22', '2014-01-05 02:58:22')[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"62"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = 'jcIxpIp8VDMHHyxO', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 62
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 62
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e50f5c2587e32f8d1fe4a2a73f0e0a84c2de850ea2b100cbf61cb0141697123c178422d3cbaec17df498625148b4a5a99969c83a01000292676c9094c812d56c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oTeRkL8WFBqCBJJXMhMN' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:58:23', '1084205cadc67abb8b8c2de97910c1daa9823e8d4f35b1660e4ef70a94b0933371f43d94883c09575658f33672b3ac88a6145b66313f60b19b85ca6daf9368d0', '2014-01-05 02:58:23', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:23', 'testuser', 1, 'HNRqwT01HFSovycI0', 'ZqfhTFc5YiOOhKwMDNqO', 'e50f5c2587e32f8d1fe4a2a73f0e0a84c2de850ea2b100cbf61cb0141697123c178422d3cbaec17df498625148b4a5a99969c83a01000292676c9094c812d56c', 'oTeRkL8WFBqCBJJXMhMN', 1, '2014-01-05 02:58:23')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:23', `current_login_at` = '2014-01-05 02:58:23', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = 'MGJ6FLSRixa0cX4s45', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 82
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:58:23', '2014-01-05 02:58:23')[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = 'fIwZVWkRSc0Z47KJ9iMi', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 82
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.5ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd8f6769cf24cb62773253863adaed5460dd8744f587d18a7ec6adfcab088dd1d8ea2a205332e797c89d0036615230aa04cb7c1a92caf9d59a5cf283d87a0b018' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SqqN8s6KF5Qwq5BjnFyY' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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 02:58:23', '4f2b220d91724cf645a82386dd56eac898abead44a5aa39b0db3e627a664a9ea9b66ad5debd3357952e3e18b16ec85289f5736ef875082667cc4e174515c4281', '2014-01-05 02:58:23', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:23', 'testuser', 1, 'fvL60dLryocLMDNlDLZ9', 'HZjfzKn2Zv6de2D2HPRX', 'd8f6769cf24cb62773253863adaed5460dd8744f587d18a7ec6adfcab088dd1d8ea2a205332e797c89d0036615230aa04cb7c1a92caf9d59a5cf283d87a0b018', 'SqqN8s6KF5Qwq5BjnFyY', 1, '2014-01-05 02:58:23')[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:23', `current_login_at` = '2014-01-05 02:58:23', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = 'l431wCSB4KlgooNQgK7', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 102
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:23', 'Form 6', '2014-01-05 02:58:23', 'form-6')[0m
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4ce781ba0ccbd7dd13328abeb01703cc9a634acf1d7aa8b9989cdf893a519565084b3db28b13843e46857ba9e637cafa7b786b82001b4bb3052447893fec32f9' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oDVqFfxv7qJKYVmkCwm7' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:58:23', '444440f051cb342aa8db6e0b68f0e9df25485b0551255864155103828dc483fde40a2f2e748b799c87921d552a6ea0a33d1d0f1b890930f89f23156c4f54f511', '2014-01-05 02:58:23', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:23', 'testuser', 1, 'povHs33eouL02y0X1tYI', 'v7msltD2wuX2xe8l8Tm2', '4ce781ba0ccbd7dd13328abeb01703cc9a634acf1d7aa8b9989cdf893a519565084b3db28b13843e46857ba9e637cafa7b786b82001b4bb3052447893fec32f9', 'oDVqFfxv7qJKYVmkCwm7', 1, '2014-01-05 02:58:23')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:23', `current_login_at` = '2014-01-05 02:58:23', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = 'ZEK2fmr1TQy7bFgF9mg', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 122[0m
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = 'OWE5uQBuxxoFai27YTd', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 122[0m
+Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3db20aa8a39132431e6023724a5e281a75af2e9e3a1c44bb325c164225e14baed51e0477ab645c3b74efe35422f964ed77e7a8ec8d93c4fbac7bfa4f73157dd2' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'JKZ95kUfiqy8n2hVvZjc' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:58:23', 'd31f562390d7deb1e153c1fc4055e9a29a7eb9031906305c16ee5f4cfd99b9bb089ae7a239fae4b2cc5f4a7c4de4f7716c09a52433953b5548c9b05fe7e3365a', '2014-01-05 02:58:23', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:23', 'testuser', 1, 'u0q4PEL5S9WnffeeRSvA', '1A2rrAda9OfX6vBegH18', '3db20aa8a39132431e6023724a5e281a75af2e9e3a1c44bb325c164225e14baed51e0477ab645c3b74efe35422f964ed77e7a8ec8d93c4fbac7bfa4f73157dd2', 'JKZ95kUfiqy8n2hVvZjc', 1, '2014-01-05 02:58:23')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:23', `current_login_at` = '2014-01-05 02:58:23', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = 'T1wik4X5LFR0aAsT3hN6', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 142[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>"Form 7"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = 'caLuLL5TneiWZ3JA2YZl', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 142
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:23', 'Form 7', '2014-01-05 02:58:23', 'form-7')[0m
+Completed 500 Internal Server Error in 11ms
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4d07a8457adc3fef9b683b84cfb6671f729aa898a13430b3bccde05f52f0d81071db903bbf16a748745908b536788189e0757a3132262f79e8b9294ac7e71ed6' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wf2CZJ4wpTUxT8jyVS' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:58:23', 'b93ce44393cc1ba17f3dee1bcd986009a98adc352e5148c1c921ae2723be8279aee1ac4d0360b0ecf80a7a4edb0c0d9678e9bd3bb0ccf38deefa9b2605530fe7', '2014-01-05 02:58:23', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:23', 'testuser', 1, 'yxP4kwuyKeTb9C95mo4', 'EQ4R0TKHe23ndsTXTao', '4d07a8457adc3fef9b683b84cfb6671f729aa898a13430b3bccde05f52f0d81071db903bbf16a748745908b536788189e0757a3132262f79e8b9294ac7e71ed6', 'wf2CZJ4wpTUxT8jyVS', 1, '2014-01-05 02:58:23')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:23', `current_login_at` = '2014-01-05 02:58:23', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = 'CQMV1KZp2GN6EpUIqx', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 162[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = 'oTr2PhNd0I061pC9lJk', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 162
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 0.9ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+ [1m[35m (1.6ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c702b1ed3b7ec78ca6fd8b239baa0bf11a00549b44e794fd8289eb7cf34280f708bfd97a3e596fe62a6faf8834c9513c5e6390b6f8520c983e50a5edade8c96b' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4jVIrHH0OsMmkJpyO9F7' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:58:23', '580c116c3b5c95ef41f5cbd530a2bbd266b03763a2fd7cf60379798fd3f9dcb52fc21edefd1373dc0bbb21276a2c4ed57adeb6b0c17e7cb32c0f80a073486ba3', '2014-01-05 02:58:23', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:23', 'testuser', 1, 'dA7w5p0t3H2mkw5pB5x', '2woofjEs1hbPnC4j5il', 'c702b1ed3b7ec78ca6fd8b239baa0bf11a00549b44e794fd8289eb7cf34280f708bfd97a3e596fe62a6faf8834c9513c5e6390b6f8520c983e50a5edade8c96b', '4jVIrHH0OsMmkJpyO9F7', 1, '2014-01-05 02:58:23')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:23', `current_login_at` = '2014-01-05 02:58:23', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = 'cFjZWUGPNte2xElwrbp', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 182[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:23', 'Form 8', '2014-01-05 02:58:23', 'form-8')
+ [1m[36m (0.8ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c45f2b508bc73250be2a885e64fd706e28283ff0345c161762dba34c9afb6b8367230d26ec5efe86f8312d96ba08da3179cce986d69fa372fb6317cf1adc159c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'AcBzPgnBaGAuEaxnIDkU' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:58:23', '03db91f12866029b5b9529a6ac43376fa4a4a78c6c359a910b5302cf6a5c4ace19c7c0bbe9bc923b296ee4ff0cc61047929f46f7ca2a8d2e101287fb5292b16c', '2014-01-05 02:58:23', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:23', 'testuser', 1, 'JhBTadKVGmhkJyVN2q', 'hG7oJbm01Y5YqHcg1tu', 'c45f2b508bc73250be2a885e64fd706e28283ff0345c161762dba34c9afb6b8367230d26ec5efe86f8312d96ba08da3179cce986d69fa372fb6317cf1adc159c', 'AcBzPgnBaGAuEaxnIDkU', 1, '2014-01-05 02:58:23')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:23', `current_login_at` = '2014-01-05 02:58:23', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = '6OqsQJs5gz1tmFGbUM', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 202
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 202 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = '6ux5vXCSWLJiksThuR', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 202
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.6ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c4049bf315943d053041f0cf863454dca2cbfa7223733fda8a124b092584ffad9bc62d955640f7edf44b8116403eb02ca5adb4c9cb1b1d7e3e7a83fa485f5c62' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ycfAyS7b76wG7YjePZMo' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:58:23', '185cccbc43b0bcd78d8f00ee9e12146eddaa99b12769caacfbe65012379047446e811b08b29ec267d26f83e76a721f28f728be9289c42decd950be57b68fd813', '2014-01-05 02:58:23', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:23', 'testuser', 1, 'ZldhvHNUsn5xDRVjQmb', 'jKA41fVqdUD19ItavQC', 'c4049bf315943d053041f0cf863454dca2cbfa7223733fda8a124b092584ffad9bc62d955640f7edf44b8116403eb02ca5adb4c9cb1b1d7e3e7a83fa485f5c62', 'ycfAyS7b76wG7YjePZMo', 1, '2014-01-05 02:58:23')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:23', `current_login_at` = '2014-01-05 02:58:23', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = 'XEEU3eAXl0xjOwen3g', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 222[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:23', 'Form 9', '2014-01-05 02:58:23', 'form-9')
+ [1m[36m (0.8ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f523770b9907023a2df96e1f9c614588e5b2eb1e62e3f261fe36503767af1eed6e55fe42ed8a1a9c2df7be025412037ec1ffdced2d654781be1af16a15a3a2ce' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LzR5pxSs8qy9s07nEK' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:58:23', 'abce4f26069dfa45ae37347f53bb4aa85b69f273e4d4d887d86d4991dfd33b5bffa1411e0d68a0f7da48593c55c64432b5cbb0ee8b6fa04f74787b0e22d5df2e', '2014-01-05 02:58:23', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:23', 'testuser', 1, 'LR58hP0bzWQ2EDvexPEt', '8XwYuGRr9D3PBkiCvgZI', 'f523770b9907023a2df96e1f9c614588e5b2eb1e62e3f261fe36503767af1eed6e55fe42ed8a1a9c2df7be025412037ec1ffdced2d654781be1af16a15a3a2ce', 'LzR5pxSs8qy9s07nEK', 1, '2014-01-05 02:58:23')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:23', `current_login_at` = '2014-01-05 02:58:23', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = '7m5RESiNMrPekCd7dVT3', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 242
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:23', 'Form 10', '2014-01-05 02:58:23', 'form-10')[0m
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c5ad0fdfa51e378ae6d004aada07c4aa8bb9ee7b2a8b135edbd377c8eb2361127ff683169f755235bef88d4e0bd55ec8b91a6b4c1ffc048a63125e06d345660f' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '3959vXBm71QawM79Ai0a' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:58:23', '8470e0dedc7d3962f74836a6fea9afcd683ce81a656378d276c0b2e8b310eb3a9984130e2b977ecf55e23743bee80f59d60e28a91af564bde8ef74bf48d21299', '2014-01-05 02:58:23', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:23', 'testuser', 1, 'k2jMTQqOng3dChlNsYXR', '9AIYHqqYaXLDtDtqg2uV', 'c5ad0fdfa51e378ae6d004aada07c4aa8bb9ee7b2a8b135edbd377c8eb2361127ff683169f755235bef88d4e0bd55ec8b91a6b4c1ffc048a63125e06d345660f', '3959vXBm71QawM79Ai0a', 1, '2014-01-05 02:58:23')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:23', `current_login_at` = '2014-01-05 02:58:23', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = 'WgO5KqS9PeyuupbxQeBq', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 262[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:23', 'Form 11', '2014-01-05 02:58:23', 'form-11')
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3b42f00762c5ef8bdd63f18586828936d963537bbc1d687e4395560c5696f504d4377c3764049f486277867695a15f50cbd3552295fc1ffd17e319dda95eab69' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MlmwKboZOImZpAaqpH' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:58:23', '067783fcba673a3a6bf6e858c6b2682b14d6f2ecdba393b1df8543ac5035a9ba5e0465f69cf5aa7abb751ea8cd6d1e917e46be241a640db7a8e57150cadcb9a8', '2014-01-05 02:58:23', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:58:23', 'testuser', 1, 'eij2pMPREenZ0iIPTtsT', 'KQaj4LI7UM1aBy7OITG', '3b42f00762c5ef8bdd63f18586828936d963537bbc1d687e4395560c5696f504d4377c3764049f486277867695a15f50cbd3552295fc1ffd17e319dda95eab69', 'MlmwKboZOImZpAaqpH', 1, '2014-01-05 02:58:23')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:58:23', `current_login_at` = '2014-01-05 02:58:23', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:58:23', `perishable_token` = '9g42OLeWtWOUD7q2tdS', `updated_at` = '2014-01-05 02:58:23' WHERE `spud_users`.`id` = 282
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:23', 'Form 12', '2014-01-05 02:58:23', 'form-12')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+Completed 406 Not Acceptable in 1ms
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:58:23', '2014-01-05 02:58:23')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:23', 'Form 13', '2014-01-05 02:58:23', 'form-13')[0m
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:23', 'Form 14', '2014-01-05 02:58:23', 'form-14')
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:23', 'Form 15', '2014-01-05 02:58:23', 'form-15')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:23', 'Form 16', '2014-01-05 02:58:23', 'form-16')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:58:23', 'Test', '2014-01-05 02:58:23', 'test')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:58:23', '2014-01-05 02:58:23')
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2014-01-05 02:58:23', 'email', 122, '2014-01-05 02:58:23', 'test@spudcms.net')[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 122 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:58:23', '2014-01-05 02:58:23')[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 142 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (7.5ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.2ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:56', 'Form 1', '2014-01-05 02:59:56', 'form-1')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:56', 'Form 2', '2014-01-05 02:59:56', 'form-2')[0m
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:56', 'Form 3', '2014-01-05 02:59:56', 'form-3')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:56', 'Form 4', '2014-01-05 02:59:56', 'form-4')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:56', 'Form 5', '2014-01-05 02:59:56', 'form-5')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+Processing by ContactsController#thankyou as HTML
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e486573813ed8ce94c0fb283c050dc50d71c6855ba2a32de3875e21eaa042b63fb6a7663e77222090518aa89da7b24b0448440c1911990448acd8c433dc5eac4' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '23J0cq5AVB9NHKsDgPfg' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:59:56', 'db25b13b1fde9d06919390d356d11832b474bd2d43bd25f4a1413ff9d468f59917468419f62b9bf79e3f77d15b9c9b70b8c17c76ba7dcc69a8e091bfd6e9c504', '2014-01-05 02:59:56', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:56', 'testuser', 1, 'hrv8fuc8ZzUGEQGuhw60', 'XTuLX4C51HLQEpCBvWDU', 'e486573813ed8ce94c0fb283c050dc50d71c6855ba2a32de3875e21eaa042b63fb6a7663e77222090518aa89da7b24b0448440c1911990448acd8c433dc5eac4', '23J0cq5AVB9NHKsDgPfg', 1, '2014-01-05 02:59:56')[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:56', `current_login_at` = '2014-01-05 02:59:56', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:56', `perishable_token` = 'BRkEUkkvu9uQ7YhLVudy', `updated_at` = '2014-01-05 02:59:56' WHERE `spud_users`.`id` = 2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:59:56', '2014-01-05 02:59:56')[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:59:56', '2014-01-05 02:59:56')
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:59:56', `perishable_token` = 'RUthtPAwexHxUJM95ZGH', `updated_at` = '2014-01-05 02:59:56' WHERE `spud_users`.`id` = 2
+Completed 200 OK in 7ms (Views: 2.0ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries`[0m
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3f8dfa70f1f53db47d9189c83c29aca5e6d5081f13fbd0ae33bd1ac569959ba07c17ea1efb3194baacbcbcfaeb83c8a521e57d493b675efa40f204b1017cc788' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Z8JhO6zaNV4vAPU7X8' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:59:56', '82221bbb8d70a593feff86f060829d62b2ef3556fb8b912ed5261a5fe0de1ed65805e2582d6a013c78948073bd7604d50d69eb41d593530f88931e668e575c44', '2014-01-05 02:59:56', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:56', 'testuser', 1, 'a3laC9OPvXUm2cmYyP4h', 'Flg2Ft578FnpT92VLgQ', '3f8dfa70f1f53db47d9189c83c29aca5e6d5081f13fbd0ae33bd1ac569959ba07c17ea1efb3194baacbcbcfaeb83c8a521e57d493b675efa40f204b1017cc788', 'Z8JhO6zaNV4vAPU7X8', 1, '2014-01-05 02:59:56')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:56', `current_login_at` = '2014-01-05 02:59:56', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:56', `perishable_token` = 'fPzLW90uN9p9d8uM8bq', `updated_at` = '2014-01-05 02:59:56' WHERE `spud_users`.`id` = 22[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:59:56', '2014-01-05 02:59:56')
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"42"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:59:56', `perishable_token` = 'r8g91ZpHAGBrovQ0CIzx', `updated_at` = '2014-01-05 02:59:56' WHERE `spud_users`.`id` = 22
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 42 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1[0m
+Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7b6c495d75e8522461a36a4fc18f121e8bbb0403792ab1c0ece41327e433bebc039a826f68f394c2d5cf1c9287a3bc43f22304e38d410da4fd5d81a71b19ec7e' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'M2HfH00hyttWueYaIJj' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:59:56', 'aaf8bffa7d6c2801c65f30926197e1cbbe39c28abdc53b6f2ec31d5542e1b77f30ddbb47d1f086bfaec627c3119723c0ae55ad6fbfb3adfb5b09109ff9cbffd6', '2014-01-05 02:59:56', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:56', 'testuser', 1, 'oZ9xLNwi0dHR3fQGvz', 'e2qTJ9SkNUOOuAJp3rbO', '7b6c495d75e8522461a36a4fc18f121e8bbb0403792ab1c0ece41327e433bebc039a826f68f394c2d5cf1c9287a3bc43f22304e38d410da4fd5d81a71b19ec7e', 'M2HfH00hyttWueYaIJj', 1, '2014-01-05 02:59:56')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:56', `current_login_at` = '2014-01-05 02:59:56', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:56', `perishable_token` = '87piqcozd1pwvnbIZobx', `updated_at` = '2014-01-05 02:59:56' WHERE `spud_users`.`id` = 42[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:59:56', `perishable_token` = 'Pm4XdsZwz4bp7SpB5j86', `updated_at` = '2014-01-05 02:59:56' WHERE `spud_users`.`id` = 42[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ea216907d22eb57f75b9f0c5cc730f403719532cf0db7150a643b808a3ce98aabb3682b348398055eacfc7ead2c1eb1e5042b7011d14ffddf6eaf1659a5311d4' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sI7eefyoIHFjBVjDNcJM' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:59:56', '43871789291deceb4dba7ca01eea531f4bcea8ec490d61335d5661ee02bc03b4dc7ff6f9c63d9fd235b18f3a9d14fa2fe414b8155d2e6bebf2543f7d47c70f55', '2014-01-05 02:59:56', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:56', 'testuser', 1, '6dgmmNWxNuanEVRIwh6', 'v0kZd16fvEyEryEHXJIZ', 'ea216907d22eb57f75b9f0c5cc730f403719532cf0db7150a643b808a3ce98aabb3682b348398055eacfc7ead2c1eb1e5042b7011d14ffddf6eaf1659a5311d4', 'sI7eefyoIHFjBVjDNcJM', 1, '2014-01-05 02:59:56')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:56', `current_login_at` = '2014-01-05 02:59:56', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:56', `perishable_token` = 'Kg841LASzPN7UBxDuhjl', `updated_at` = '2014-01-05 02:59:56' WHERE `spud_users`.`id` = 62
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:59:56', '2014-01-05 02:59:56')[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"62"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:59:56', `perishable_token` = 'idkAGG6ISxhw7dVNPW', `updated_at` = '2014-01-05 02:59:56' WHERE `spud_users`.`id` = 62
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 62
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 55ms (ActiveRecord: 1.2ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5e04a75ebc5c1d234443c53d1c97f560c56b2ccddb238996c30a888a17c04f6e980f36894848ad352cda3c14830b031c071fb3fdcbf5fe0e912ab26ca30ccde7' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0Bih7VEzEiWfloM2EZS' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:59:57', '9af554b30ce252ed360745e1dac7f1df9454846e2d04383c3849ebdda90140a87adbd01c33dea5401f082eef6c9bbc2126d889d13e02a0ae39a9958f038c3df7', '2014-01-05 02:59:57', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:57', 'testuser', 1, 'BaTAhm1xFuP3nklbDFE', 'Lwv708w8g1pYWP0GdW8a', '5e04a75ebc5c1d234443c53d1c97f560c56b2ccddb238996c30a888a17c04f6e980f36894848ad352cda3c14830b031c071fb3fdcbf5fe0e912ab26ca30ccde7', '0Bih7VEzEiWfloM2EZS', 1, '2014-01-05 02:59:57')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:57', `current_login_at` = '2014-01-05 02:59:57', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = 'QxBbk6xfjVpSI1UUNGPU', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 82
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:59:57', '2014-01-05 02:59:57')[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = 'z4VqRNvohQFavXeglc', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 82
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '36a8bf78881e36469921a217cd473aa916ed6f7a2b054b66aa393afed45402bd1368aa823bfeaa5a7c31f67bbd18f0d34416950a203c1635707d9970cc05cae1' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'igbegdX4ceYqAqUrtuB' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:59:57', '21fbf4762dee03116b0f5d69837b6d822290f9c33aa60f2d02172ab67f89c78abc2880b3af281ff42999fb1fd278124ba190179b1f7a54e244807dbfa538f42f', '2014-01-05 02:59:57', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:57', 'testuser', 1, 'R0P62I5kgBqFdDPIC', 'Dm6c0tml1IhZsr5BZ60z', '36a8bf78881e36469921a217cd473aa916ed6f7a2b054b66aa393afed45402bd1368aa823bfeaa5a7c31f67bbd18f0d34416950a203c1635707d9970cc05cae1', 'igbegdX4ceYqAqUrtuB', 1, '2014-01-05 02:59:57')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:57', `current_login_at` = '2014-01-05 02:59:57', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = 'mJHe3PetxK2jKQNBVtY3', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 102
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:57', 'Form 6', '2014-01-05 02:59:57', 'form-6')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '12481cad6b2accd298c86a8f0f4e61efcfb25e6297028be1092e8db5d7db22bae2e27a01d2c34d1b9ed7a57c366d7a578c0a669d3d3220cba70141a52348fbef' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'l71hkUhBMG8ek4Ziczd' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:59:57', '0767f8f0f12f45c07122d2a3a53aec92210712e9d33f434e46be6a361d9b678e880f72fa7868e36b0dcaa5be93a7f2457e19839bc28ddf285584ccc7e28a1655', '2014-01-05 02:59:57', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:57', 'testuser', 1, '3yWkN0UUR5POIN82RM', 'wvkUEQuA6aCfCZeXohf', '12481cad6b2accd298c86a8f0f4e61efcfb25e6297028be1092e8db5d7db22bae2e27a01d2c34d1b9ed7a57c366d7a578c0a669d3d3220cba70141a52348fbef', 'l71hkUhBMG8ek4Ziczd', 1, '2014-01-05 02:59:57')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:57', `current_login_at` = '2014-01-05 02:59:57', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = '6klWsH4JsGp5w7TTktz', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 122[0m
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = 'PnjgqOfN5xlBfdV4RRV', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 122[0m
+Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cf1f15866c2593d44ba414933ef3aba549bf62c6e1232f19c3faf4313622c4c5f9240aa3fe00fd39e04ad82061930c45b3b835f65ae355f7417928c65c97d1e0' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cSThYT21fCg3z0ju0voR' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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 02:59:57', '8bdeec412cf9c5fae025d4ad1172db9156322bf33be9c8fdc4ac145e19962b90adb85968dd33561838044c6af02753871bd2ff3b94cbfa0e87e711e22e51ffbf', '2014-01-05 02:59:57', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:57', 'testuser', 1, 'zV03w72YzhyFamPwdagT', 'VTRnnTcfWBX6gfYKrYH', 'cf1f15866c2593d44ba414933ef3aba549bf62c6e1232f19c3faf4313622c4c5f9240aa3fe00fd39e04ad82061930c45b3b835f65ae355f7417928c65c97d1e0', 'cSThYT21fCg3z0ju0voR', 1, '2014-01-05 02:59:57')
+ [1m[36mSQL (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:57', `current_login_at` = '2014-01-05 02:59:57', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = 'wqgRxkIBqe2iI8xwJkiu', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 142[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>"Form 7"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = '4mcc7BUJuLFWAcTRUfi', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 142
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:57', 'Form 7', '2014-01-05 02:59:57', 'form-7')[0m
+Completed 500 Internal Server Error in 10ms
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '00980e78ec5f5febd593f553f7845638690ce49a7166d44f0d68e7b97a62e7a26b40cb29f3b9b6598b42c224bbb1c5e371b91ce572324c5120f79c085255e46d' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VU1VgXBDY8wbWXbOCq0n' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:59:57', 'fb1f5de7923523c8ccaa0c03eec61797eb2a5a84156ad3915da92d26ae8f80b5ec646e02ec1453151a4f164484b59dc6dd888c7fa28ec08daa171661a37a0b0b', '2014-01-05 02:59:57', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:57', 'testuser', 1, 'mKNfZbar93NRLSTeGNi', 'Pa4iRpk7xQeLforlobf', '00980e78ec5f5febd593f553f7845638690ce49a7166d44f0d68e7b97a62e7a26b40cb29f3b9b6598b42c224bbb1c5e371b91ce572324c5120f79c085255e46d', 'VU1VgXBDY8wbWXbOCq0n', 1, '2014-01-05 02:59:57')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:57', `current_login_at` = '2014-01-05 02:59:57', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = 'FBjiFGCi4z5T0sAfR1pg', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 162[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = 'ymBALFVv3aI0lx9bGY3', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 162
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0ea2957448620832815bbd598f72d20ccc3bfa4903a2604822f2252fa6fd0c308a3e8097e63bb91b731ae288698883e3a7325794ca0d61430467ca06ccdbc848' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lg6HN6K0WuWjjKKEo5x' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:59:57', '6bc5ce1c1c276b95d2513bf1e105d41ecdbb4b1f440b0d971ff5a8866dfc338d684b9a4693c77bc043330ec3001ebee8fb78d7c8f3b7bef4066fd0a8fb0f026d', '2014-01-05 02:59:57', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:57', 'testuser', 1, 'bUh8ieCkA1FR0D3pGMD', 'X7NGGwinQhaK8JIPKqd', '0ea2957448620832815bbd598f72d20ccc3bfa4903a2604822f2252fa6fd0c308a3e8097e63bb91b731ae288698883e3a7325794ca0d61430467ca06ccdbc848', 'lg6HN6K0WuWjjKKEo5x', 1, '2014-01-05 02:59:57')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:57', `current_login_at` = '2014-01-05 02:59:57', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = 'N50MWY4nq7gfjD9Be5Bs', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 182[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:57', 'Form 8', '2014-01-05 02:59:57', 'form-8')
+ [1m[36m (1.5ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '65237627b5328a2579471078f529ee2e8b3736c8a50ebf5baa950188e3e1079a67cf440db947ab9a28a03ee4f49f4421a54a24297cf96c158095e63aa7ebba07' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mup5duxFLX82dsfEojj3' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:59:57', '12f4fdb239fceff76a7ed11b4412a28cf610decbcb6c928046120f7e927ef333b45fd1d04ba011ee93cab9f8b79120a21c7c8eb4df5c234763cd81b091f4a496', '2014-01-05 02:59:57', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:57', 'testuser', 1, 'XNk7AqVqMCJv5WMw1SXA', 'AB1uxmnngm57ejAnVFn0', '65237627b5328a2579471078f529ee2e8b3736c8a50ebf5baa950188e3e1079a67cf440db947ab9a28a03ee4f49f4421a54a24297cf96c158095e63aa7ebba07', 'mup5duxFLX82dsfEojj3', 1, '2014-01-05 02:59:57')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:57', `current_login_at` = '2014-01-05 02:59:57', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = 'WPXvBX7SFcRBpriciBoa', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 202
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 202 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = 'hweIWiPvM1ll0juo25', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 202
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.9ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '34b09c8895278a7da039c6fe51193f927582f9df56fbbc326635d81a06d541b4b4096417bd0a37d23b0a2a9bec8987a7bc3814a0dedb2e02dd95294166be71f7' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vslXZlyOA2b7g5orlvp' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:59:57', '9f203426b2946ca796f4e3dd9728782296cfbe7b3edb6d550512321d988ad0ac0a24976972b05c8bc36b1b284a709900568668e99abfe02d3a1577b1881b84a2', '2014-01-05 02:59:57', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:57', 'testuser', 1, 'ajB1L4kygKU7MlTDVypE', 'E0PPKJqoac7NCdpujbi', '34b09c8895278a7da039c6fe51193f927582f9df56fbbc326635d81a06d541b4b4096417bd0a37d23b0a2a9bec8987a7bc3814a0dedb2e02dd95294166be71f7', 'vslXZlyOA2b7g5orlvp', 1, '2014-01-05 02:59:57')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:57', `current_login_at` = '2014-01-05 02:59:57', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = 'eI07NUVSNsBM93IG5SC3', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 222[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:57', 'Form 9', '2014-01-05 02:59:57', 'form-9')
+ [1m[36m (0.5ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '298162b675804804a4c5478261735d82d7c6b1a309ee7b97a443bac444ce73e984cb863b605c948e3dc59b9331dc774c92e88ae14cdc62399d9b9f6fa33d09b4' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 's4Izap2lg5LYEzykwQU' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:59:57', 'fcae0235b303515e6a62f2e045ce2a6a768cd8525910af1e81a95798b2ce39c3e4c38806a9de5913a54557817c197b6c83ea66a9f49654a2c51bc3968395b3e2', '2014-01-05 02:59:57', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:57', 'testuser', 1, '9eyrJrsrcwp8YsfqJgn', 'o4qrbyizOVHvejNvlBAr', '298162b675804804a4c5478261735d82d7c6b1a309ee7b97a443bac444ce73e984cb863b605c948e3dc59b9331dc774c92e88ae14cdc62399d9b9f6fa33d09b4', 's4Izap2lg5LYEzykwQU', 1, '2014-01-05 02:59:57')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:57', `current_login_at` = '2014-01-05 02:59:57', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = 'BlDJZsINunmHvUmlCTgU', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 242
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:57', 'Form 10', '2014-01-05 02:59:57', 'form-10')[0m
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c8b48fe46618992aebc52fc60eada9ce6181a4addb41908fba4ae1266c2cbcad4c94832cda8743ed94ef17d06be2705c86a3bce617827bdee84981d3880279c4' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eyq6xUsDO86j8ydTfs5' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 02:59:57', '5e3f190dc3f0e0b6646a07a7e04848d718035525dcce06d08637d79bd60269b413b146787c6757cea5b9de0d38f13a84fa549ca92cf067458e8bbb3b69509803', '2014-01-05 02:59:57', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:57', 'testuser', 1, '5hf77j8J0PlaOalDRkFu', 'qz5oLIUBLECjVH0tPn48', 'c8b48fe46618992aebc52fc60eada9ce6181a4addb41908fba4ae1266c2cbcad4c94832cda8743ed94ef17d06be2705c86a3bce617827bdee84981d3880279c4', 'eyq6xUsDO86j8ydTfs5', 1, '2014-01-05 02:59:57')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:57', `current_login_at` = '2014-01-05 02:59:57', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = 'yEkVOsN5RXJmIV7HD8c', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 262[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:57', 'Form 11', '2014-01-05 02:59:57', 'form-11')
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'bed307ddec9cfb23b17e167a79275b1fd1315c224606520dd0a2cac25da52fa1a64baf9fbedcec529b70e4d3f73dd8e7dfd498c2819eed3e841b87db792089f2' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iUoAinM9xKLkpWGtptF0' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 02:59:57', '5f29ca5ac5c1736023716ab0aac4acca6bbb99b04dfd3ef2de90d38a0a942a73e93bccabd2adf6c663e8e92e1409245eaea787ab0bc636a10f08eadc86882998', '2014-01-05 02:59:57', '0.0.0.0', 'test@testuser.com', '2014-01-05 02:59:57', 'testuser', 1, 'GYSzRfJF3mJdi9nr4U6H', 'MAe4fwAGKpp8X99807oj', 'bed307ddec9cfb23b17e167a79275b1fd1315c224606520dd0a2cac25da52fa1a64baf9fbedcec529b70e4d3f73dd8e7dfd498c2819eed3e841b87db792089f2', 'iUoAinM9xKLkpWGtptF0', 1, '2014-01-05 02:59:57')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 02:59:57', `current_login_at` = '2014-01-05 02:59:57', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 02:59:57', `perishable_token` = 'bNpbfck04UrXubFn23jR', `updated_at` = '2014-01-05 02:59:57' WHERE `spud_users`.`id` = 282
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:57', 'Form 12', '2014-01-05 02:59:57', 'form-12')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+Completed 406 Not Acceptable in 1ms
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:59:57', '2014-01-05 02:59:57')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:57', 'Form 13', '2014-01-05 02:59:57', 'form-13')[0m
+ [1m[35m (0.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:57', 'Form 14', '2014-01-05 02:59:57', 'form-14')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:57', 'Form 15', '2014-01-05 02:59:57', 'form-15')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:57', 'Form 16', '2014-01-05 02:59:57', 'form-16')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 02:59:57', 'Test', '2014-01-05 02:59:57', 'test')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:59:57', '2014-01-05 02:59:57')
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2014-01-05 02:59:57', 'email', 122, '2014-01-05 02:59:57', 'test@spudcms.net')[0m
+ [1m[35mSpudInquiryField Load (0.3ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 122 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 02:59:57', '2014-01-05 02:59:57')[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 142 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (7.5ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.3ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.3ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 1', '2014-01-05 03:00:11', 'form-1')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 2', '2014-01-05 03:00:11', 'form-2')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 3', '2014-01-05 03:00:11', 'form-3')
+ [1m[36m (0.5ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 4', '2014-01-05 03:00:11', 'form-4')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 5', '2014-01-05 03:00:11', 'form-5')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+Processing by ContactsController#thankyou as HTML
+Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd5e8dcb1245b011af80ebe49b03b0626296a0b15e1dbb358e4d2e6bcdef3f8f8df349ffc3d260a5789d7003f427bf6f856531da626b15cf8f4374017ef04cd62' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Pc7nWlCvaQHDU9nymXZ' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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 03:00:11', '03012ba0fde290c2e8974a62e91bac1a0f023aa8cc4c389d41e363f79845fefa954c7cd8f73b2e5f403048d0f81a77ac0d770ed9d2341c8229b5afefdd878f68', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, 'j50OKd6YHOZSnCKnM89Y', 'VeWucyd6nKnwQJK4NP3i', 'd5e8dcb1245b011af80ebe49b03b0626296a0b15e1dbb358e4d2e6bcdef3f8f8df349ffc3d260a5789d7003f427bf6f856531da626b15cf8f4374017ef04cd62', 'Pc7nWlCvaQHDU9nymXZ', 1, '2014-01-05 03:00:11')[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'j57s03S6PPuVOMjeCJpg', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:11', '2014-01-05 03:00:11')[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:11', '2014-01-05 03:00:11')
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'sU18jVYJXHh5XS4tYaWm', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 2
+Completed 200 OK in 8ms (Views: 2.0ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries`[0m
+ [1m[35m (0.9ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7661bccc7756d1c723ec0bbc2d981f05f2d367688a16652d49622ea4c0808d715fdf9cedc9524eaa1ac1d8a816b6173d7399604bc7b27e37212415e947c4ef15' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tDYg89INzgcs5U289OGZ' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:11', '7a409086891734ddde144f6d581ea6ecb50d8794db27d5f0f47f336bb7e834f1ad07e42de2140c8de5f3c3b0c58f6158b2ca1f875b16756389d3ffbad4259002', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, 'mUNvHAkyFKd4NFCzc2T', 'F9A1WpaOGoFO79FYZ6o', '7661bccc7756d1c723ec0bbc2d981f05f2d367688a16652d49622ea4c0808d715fdf9cedc9524eaa1ac1d8a816b6173d7399604bc7b27e37212415e947c4ef15', 'tDYg89INzgcs5U289OGZ', 1, '2014-01-05 03:00:11')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'kxlkKxpMytIyXWLdihqA', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 22[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:11', '2014-01-05 03:00:11')
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"42"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'I364QFY3pj9rBYsv37Ds', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 22
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 42 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1[0m
+Completed 200 OK in 9ms (Views: 1.5ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ef368e18ea180a01475b5aa271f50c58ea06e0c97359168373255ca334cb8f9b8414740c309cc5dc1f9056ac1cff9e38fa3598b5b9f04f13442facf0bb921fb8' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'IqQRmM83PrEZ3W9Py3G' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:11', 'a39532f1ad6ed153e89afdabd3f27bf00f152f0f88dbbfaa4e3555a7551aed9249427e5aba908422840971c5d3e9ff2906592626846793dfc9f26ed2a3a90afa', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, 'LdMB3Yp9AxC9e2QaYLR', 'uYUpDvq0CfUu6p7IKSj4', 'ef368e18ea180a01475b5aa271f50c58ea06e0c97359168373255ca334cb8f9b8414740c309cc5dc1f9056ac1cff9e38fa3598b5b9f04f13442facf0bb921fb8', 'IqQRmM83PrEZ3W9Py3G', 1, '2014-01-05 03:00:11')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'ABIofmEcyhTyEmojAv', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 42[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'qXu8gADcRbWOATPmBIUb', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 42[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '74025dcfda890c50842957441357791edc4cf6c31e0c6f41eace6ede7d5fd96631c58b192d86b0b3b0c16d89963de35283e8d7b5864db168eee6bc5103f28099' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zIxtxobg2uxXHRywAlr' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:00:11', 'eb56caaf16956b9767a9ea1db6a02bf309640c06d5c550dc5fe4fd9ce81165aa37f935969f967acfb9f7e7d01905b0595c8fe111b5ec75a2e943cebbe4ab7d1d', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, 'h2StiLDJ8hFQlgx3fr3', 'Mh8H9QfzH2r7CSYLZuWB', '74025dcfda890c50842957441357791edc4cf6c31e0c6f41eace6ede7d5fd96631c58b192d86b0b3b0c16d89963de35283e8d7b5864db168eee6bc5103f28099', 'zIxtxobg2uxXHRywAlr', 1, '2014-01-05 03:00:11')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'PKJDz6S24dHs7i5kdT3b', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 62
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:11', '2014-01-05 03:00:11')[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"62"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'O3Z6PEPlJ7B2TMlvV2li', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 62
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.3ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 62
+ [1m[36mSQL (0.3ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 54ms (ActiveRecord: 1.3ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e1d7fb2e7f53d4fbb75a48ec91e0af183fb6aff96244ba0b6e9763772a790f3f7f75d202dde2e9347633050cba00681baf39efff6aa79dc604c84e30673b1e36' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kpQYBHsGb5lUEn9fzUc' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:00:11', '00efa55930f70912ca4919aff1d8e6ea43a9a6f1641d82c7d8dfff9b4a68b96628ca4acba3670e4499f0ef39f10eedfdf3199573d1d5a7680d016db23410cfe3', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, 'Xn34athDe6aTMvjfjCj', 'kSRJuObOxHRyaVG0lbF', 'e1d7fb2e7f53d4fbb75a48ec91e0af183fb6aff96244ba0b6e9763772a790f3f7f75d202dde2e9347633050cba00681baf39efff6aa79dc604c84e30673b1e36', 'kpQYBHsGb5lUEn9fzUc', 1, '2014-01-05 03:00:11')[0m
+ [1m[35mSQL (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'wZ3r2hz4QT9ThJMptR9r', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 82
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:11', '2014-01-05 03:00:11')[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'YO5662UoHwp4QUuqd', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 82
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.8ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '96363b4e5363e434e6db26cb3c570660fe87b0451444eef37d516794c0ddc7a0b5a4f0821720adab5b6d9ae478564c65b7a7d05f46d2c3881fd1ec3527b921c9' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lJbjRrM9OSb95FwuuCv9' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:00:11', '52ae794996a458e693846eb2361dd40023d2f5892d05dd5d790e51ac364e6882b50a43a90fcbc10cc3c3e4c1d374e4ef6b3e475c4caba05a82ff1b9040cfdf72', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, 'SMf0PyohWaEo2PPLzcy', 'wZLV9TcE7mYRtW1YzBn', '96363b4e5363e434e6db26cb3c570660fe87b0451444eef37d516794c0ddc7a0b5a4f0821720adab5b6d9ae478564c65b7a7d05f46d2c3881fd1ec3527b921c9', 'lJbjRrM9OSb95FwuuCv9', 1, '2014-01-05 03:00:11')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = '6BGj76dOhQid7nw6jRK2', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 102
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 6', '2014-01-05 03:00:11', 'form-6')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ef38766b21c04a9b3ac52cf29b4fc5d60e3596a07266a7c7cb21c5af920792c137cbbcb5087d0ce1a6f353630f34659bc61cbf65bd559a738596f4bace3a4639' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'IodEyajdetKnTihf1AHP' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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 03:00:11', '35ed91c2fb018c5125b5215d5d88d8d7266b73043f7ad81e939654f5ab909e3e431343b0b119c4001561ea7d16d058034bca0177892fd14c22fab5e21f28f088', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, 'DREBZoDrxw83y8CKPol', 'utxAiEk6E1xJjScsXtu', 'ef38766b21c04a9b3ac52cf29b4fc5d60e3596a07266a7c7cb21c5af920792c137cbbcb5087d0ce1a6f353630f34659bc61cbf65bd559a738596f4bace3a4639', 'IodEyajdetKnTihf1AHP', 1, '2014-01-05 03:00:11')
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = '3OgSPi2getUn9wL12Eeq', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 122[0m
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'CGrHbz2QXxWS6Sqx9gM1', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 122[0m
+Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a5c19314388e58e2f41e0f8e83a0a9a9d8c87bba8894dbd8120d5bdcbb105236553ed1d7e8371d6802214837fe31d09b0d18b53c5ec22db1022e5ac5fcc53101' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4tW4azZhZWtKd229hHV' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:11', '1f5ad5c570cdacae9cb12eaec68f058082f2600cd8ae7ce8c553831ac77fef6f5c42eb6e0048cb221de192945fe4c331c93d2dfe0a3875d504fd255c9b43be87', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, 'URmJDBWo7NdfqzVRKgrx', 'HJkz5DkGO4wjv7DSZcY', 'a5c19314388e58e2f41e0f8e83a0a9a9d8c87bba8894dbd8120d5bdcbb105236553ed1d7e8371d6802214837fe31d09b0d18b53c5ec22db1022e5ac5fcc53101', '4tW4azZhZWtKd229hHV', 1, '2014-01-05 03:00:11')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'SGvyN2RZVxqvlzvjrq7g', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 142[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>"Form 7"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'ptKXg7w19TMDrb8FoSn2', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 142
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 7', '2014-01-05 03:00:11', 'form-7')[0m
+Completed 500 Internal Server Error in 10ms
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3fd480f2b29a043dd85001649e89b8cbb224185fcad5466ffb09080c1dd492ca40af7508228a3176f8dc5f77477195983e9deae4fba2578badcdcf7a3ec81bf5' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FZbwBJuBAB8nNbLTBrqy' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:11', '39e119bb1e7699523bf21a5aef12f0e23ae732aabfe81276603a931c6a76b323de848c73dd0793f91d6a420ac1169d6be4923cf3628edc882fdda0b4fc23e411', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, 'BVFw5JIYNd2wLpkmYapn', 'KS4ONyXG71hgR0nVMbVA', '3fd480f2b29a043dd85001649e89b8cbb224185fcad5466ffb09080c1dd492ca40af7508228a3176f8dc5f77477195983e9deae4fba2578badcdcf7a3ec81bf5', 'FZbwBJuBAB8nNbLTBrqy', 1, '2014-01-05 03:00:11')
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'ti885mIN9T8y7fyB3Nes', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 162[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'hkcIRVxGUHcrDJz9GRKs', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 162
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 0.8ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6fb893021aef7a3d203bb6d8092c29eeb94d38a8d39290ab554cc5a059fd32c0f702b1394cd0405de6f0c615a843efbdad3232278a8170fdb3933d6b3886a848' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YuEtDmr8QAbqnn6qTFer' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:11', '12e57d940dac98e19a8c12e7a9aafaf79f7f2d4d0cff4063afb602a56b6de0456b12e73ceaa906b9a8e8e1b92f6f4370d2acafa63e5799395ff227b98d0f8657', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, 'CTtzLsNapvwEBbuM1QhA', 'PvU33R74hKwHSreeAmm', '6fb893021aef7a3d203bb6d8092c29eeb94d38a8d39290ab554cc5a059fd32c0f702b1394cd0405de6f0c615a843efbdad3232278a8170fdb3933d6b3886a848', 'YuEtDmr8QAbqnn6qTFer', 1, '2014-01-05 03:00:11')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = '9g6hn5UBDwxEzPFb', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 182[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 8', '2014-01-05 03:00:11', 'form-8')
+ [1m[36m (1.6ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8619de2576fbcad06201618968ec0fdf5162ee18eaf84e2ca60165e661d71c84a9681acd55ed6aba05dc4915f8bd0d94740c882446cf9d59f3a7e18a7936651f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 's2JpZ4kpc4t2dpMZ1rlW' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:00:11', 'cfd4e65891206ebae2c7ac730df72ae718b014feaca1409ff1d455aeb0907110299c3ebda647e59f8cb540270809473608bf25ee4084374f860d9934e90a6cf7', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, 'on33Nwsvii3fGNBz15qr', '4HeQxsCDZ1YVAWSOV9', '8619de2576fbcad06201618968ec0fdf5162ee18eaf84e2ca60165e661d71c84a9681acd55ed6aba05dc4915f8bd0d94740c882446cf9d59f3a7e18a7936651f', 's2JpZ4kpc4t2dpMZ1rlW', 1, '2014-01-05 03:00:11')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'qQd9VCMaXYbild3OIRB4', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 202
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 202 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'cpBhWgMGeCKpMMFI2u0V', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 202
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 6ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5593042486af471b54c125d399cae3f9f84192064e2fdca1cf4f17b871e825c6ac684694e2ef3f763c010d2ee42893d8b6d26a7a05b640b19d0a089f883a97db' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pljNK4EbYzhtId0tjry' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:11', '7fa34eecb1e729f849dcc404f2704cb80ffd10f882595a90f86ba8c3e0b32d1e8680bf0ad0805e71288946f6489cc8dcd90b3cce51e164d0302ff1b81fc76cae', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, 'tEKuk0bPE4ztmNO5rlj', 'gJNK9zUZEQY9vQ479dnr', '5593042486af471b54c125d399cae3f9f84192064e2fdca1cf4f17b871e825c6ac684694e2ef3f763c010d2ee42893d8b6d26a7a05b640b19d0a089f883a97db', 'pljNK4EbYzhtId0tjry', 1, '2014-01-05 03:00:11')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'gfBMfnklVmhsite1Dznz', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 222[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 9', '2014-01-05 03:00:11', 'form-9')
+ [1m[36m (0.6ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '316bc697fc3a41b278a2e898c29ded0f451bed101e1782b52f10b3bbbce8bf5fe0958aab726df1128e74611cbd884d6064d4d45f0432c25483161fab99bccb64' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FRQlEKUUJj2LU98pDB' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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 03:00:11', '98c836c52c1febc6dcbc8041d4b413c25ced5bd5a286aa3c71aaa6d2b2e3ab7a806ecc221927a5cf6e0c52db8ce0cdb6ecaf57ba096642403995f781925ca165', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, '9hVEfFLQy35WiLgQv9k', 'XRPfjjlhGV16OBxRV0pB', '316bc697fc3a41b278a2e898c29ded0f451bed101e1782b52f10b3bbbce8bf5fe0958aab726df1128e74611cbd884d6064d4d45f0432c25483161fab99bccb64', 'FRQlEKUUJj2LU98pDB', 1, '2014-01-05 03:00:11')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = '51hV3wMopRCUDRuMPjdX', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 242
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 10', '2014-01-05 03:00:11', 'form-10')[0m
+ [1m[35m (0.6ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6851f91d73496443505e39201bfe3a6ae6d30f6ff1da794ba141abc614b77e9c376358cb707bd9ae574e14d412f0e5c950a94a1b3d3c1d856d82ed1f64eade68' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PWpSLQYTCZNGD8tlc34p' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:11', 'e471901fc109c8f820be5ac8ec072b719ef7fd57f4e78c189203ff6dc40015dab155b2e971153da43e2c52ae9c614554644b6512de5e97dfb6e1baba2b86cbf4', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, 'kydyjF1B5vNxEndQ3UF8', 'pyWtz5UWKkulm0yKFOhR', '6851f91d73496443505e39201bfe3a6ae6d30f6ff1da794ba141abc614b77e9c376358cb707bd9ae574e14d412f0e5c950a94a1b3d3c1d856d82ed1f64eade68', 'PWpSLQYTCZNGD8tlc34p', 1, '2014-01-05 03:00:11')
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'Oa5U986P0n0UyQBnpb7V', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 262[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 11', '2014-01-05 03:00:11', 'form-11')
+ [1m[36m (0.8ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4b8cd3bcc201afb567fa4006017c64d15ae92437affeb22c10cf05bf07e183526519be954a3865f4405b66cf33841c567872398a877fbea4d4d48c19c3361504' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NLNDrXF4vrMmLOVEUvLj' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:00:11', '0e4d3d4efe2297ba486ea2de3e1c1f918ae902baa7f23dcacf2efbbc7ed4b87e445a34ab260cc84e265c301819db31264d5493992f8f726e4ac26a6d00db04f5', '2014-01-05 03:00:11', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:11', 'testuser', 1, '6cYaaDaudEHkOcrFo7P', 'NmCCcXHhZ0g3gEbsKB', '4b8cd3bcc201afb567fa4006017c64d15ae92437affeb22c10cf05bf07e183526519be954a3865f4405b66cf33841c567872398a877fbea4d4d48c19c3361504', 'NLNDrXF4vrMmLOVEUvLj', 1, '2014-01-05 03:00:11')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:11', `current_login_at` = '2014-01-05 03:00:11', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:11', `perishable_token` = 'Qu2X18OL3FXTATHrAZ', `updated_at` = '2014-01-05 03:00:11' WHERE `spud_users`.`id` = 282
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 12', '2014-01-05 03:00:11', 'form-12')[0m
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+Completed 406 Not Acceptable in 1ms
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:11', '2014-01-05 03:00:11')
+ [1m[36m (0.5ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 13', '2014-01-05 03:00:11', 'form-13')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 14', '2014-01-05 03:00:11', 'form-14')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (50.6ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 15', '2014-01-05 03:00:11', 'form-15')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Form 16', '2014-01-05 03:00:11', 'form-16')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:11', 'Test', '2014-01-05 03:00:11', 'test')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:11', '2014-01-05 03:00:11')
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2014-01-05 03:00:11', 'email', 122, '2014-01-05 03:00:11', 'test@spudcms.net')[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 122 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:11', '2014-01-05 03:00:11')[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 142 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (7.8ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.4ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.3ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:42', 'Form 1', '2014-01-05 03:00:42', 'form-1')[0m
+ [1m[35m (0.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:42', 'Form 2', '2014-01-05 03:00:42', 'form-2')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:42', 'Form 3', '2014-01-05 03:00:42', 'form-3')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:42', 'Form 4', '2014-01-05 03:00:42', 'form-4')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:42', 'Form 5', '2014-01-05 03:00:42', 'form-5')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+Processing by ContactsController#thankyou as HTML
+Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '51bbe5703586fe6720bd01a5309c32bb82318e5bf179bf334fde843d97567a81d89b07eec45d2df1e82f58e6177145be57709f0a1c50d28b1d4ceb8bf63d3658' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'IA8Atd3KHyBrzTYWyFKq' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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 03:00:42', 'aaec4ea325d88a509b218c6afff3a2993f5e67c2dc52091a6209e78090eb011298df509c0c88199e6c64fe901ae41e51f3375224d8392a8bdbad383b86f3b146', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, 'dF5ErTCTNqsmAeXvxIH', 'DK217uIsv3wNKuLoxQY', '51bbe5703586fe6720bd01a5309c32bb82318e5bf179bf334fde843d97567a81d89b07eec45d2df1e82f58e6177145be57709f0a1c50d28b1d4ceb8bf63d3658', 'IA8Atd3KHyBrzTYWyFKq', 1, '2014-01-05 03:00:42')[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'DKe5yIIVipp4MZ3h6Og', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:42', '2014-01-05 03:00:42')[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:42', '2014-01-05 03:00:42')
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = '73i18WBxXV31OIfoRJjj', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 2
+Completed 200 OK in 306ms (Views: 2.2ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries`[0m
+ [1m[35m (8.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9053f9eab85862a4f72c658accd578d85e9836e3141ae862d637f7dab4c2a219f64290c16571d39358d5c28f5448036cc679a962bd8e3ceb983c60e853b18736' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EYBPln3sxxhsudW3qt0A' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:42', '1f9ec5f00755f594aecd65630c08dbfa4913ec16f11ad381ad8977f6cb3aafb039d5e977c516d0a45b5aaecec5ec057a264f6fd62f40fbd7faf77fd20de9ea23', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, 'azVBdA3DDIo5etZwLbj', 'HHK3exdc2OnP39QsTEf', '9053f9eab85862a4f72c658accd578d85e9836e3141ae862d637f7dab4c2a219f64290c16571d39358d5c28f5448036cc679a962bd8e3ceb983c60e853b18736', 'EYBPln3sxxhsudW3qt0A', 1, '2014-01-05 03:00:42')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'zjTJ4T3CnAPKQRI082Xg', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 22[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:42', '2014-01-05 03:00:42')
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"42"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'pYvoySPUgtXFWLkH5rh', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 22
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 42 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1[0m
+Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7e647c491676dce0e7c4384ab86927de20ac6f01c9c6048b74d5cc25674996fbf8e63d90f97e85ced78a8a7a16dae28beac3b88496e672c32ae27a57c4f5d12c' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'r2XhBxfCZiMY8oaujpdz' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:42', 'ee72a21e76670b2a1df3f39743a9364013b4ef8dc2a0f78c1d27feed92837cce64d70de395e8273b46dd12570c5783bee327aefb0f107724b6d09a4f98b51f2a', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, 'WhKbIPT3gNe3DaNZ6Vf', 'Dlj6HEAYWxWUDhyQu4U', '7e647c491676dce0e7c4384ab86927de20ac6f01c9c6048b74d5cc25674996fbf8e63d90f97e85ced78a8a7a16dae28beac3b88496e672c32ae27a57c4f5d12c', 'r2XhBxfCZiMY8oaujpdz', 1, '2014-01-05 03:00:42')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'Mq7CjI0NA95Xe52Cudk', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 42[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'N2CodDN4Vvd333J1Mbk', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 42[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8484618d6828a6f3fd0e7dce7c27f0d19f7034228fc4eb8b3972c5fedc9645f85a0baa1b1c6171f1f5ef3123edbee0e574df7fa4517529d35800d213aef867c5' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0xxq1m3BeLCXqOPVAh' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:00:42', '8b5990a36cf2b91ada591c41ada1ee1b0be6b01e9107686682f5615ea14dd1854a0d4b896809c7603058567ac48175fb308787570de040dbe5c39c2922661403', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, 'wZvnr5Ora7T7yzshMCmB', 'fG2RaxsWCZxApYAh1abT', '8484618d6828a6f3fd0e7dce7c27f0d19f7034228fc4eb8b3972c5fedc9645f85a0baa1b1c6171f1f5ef3123edbee0e574df7fa4517529d35800d213aef867c5', '0xxq1m3BeLCXqOPVAh', 1, '2014-01-05 03:00:42')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'FYLUsWffiM1ubKVeLmP', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 62
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:42', '2014-01-05 03:00:42')[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"62"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'TWRRQCzEAJyuF79VxPq', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 62
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 62
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.8ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '742b4fd299dd51e3e6e0cef5fde4218c7cddaa1df1bf73a0a0437683b96fd34c151a8e0d3103580bcf8f35f0ca6d2b869c7c1e50b241386828a8ff868677a0ce' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qmqfpTTJ5Li2WylKHoq' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:00:42', 'a0f757d5353c864951930fe9e28297aa93e1eda13e8946e328cf3bfb36e12abc78edc2a80294ed75a1c8ab72095b06a6dccb077d1ed3b533e168f5d2118e2e46', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, 'GMXHk3lkG4lbSUroc3CZ', '1EPiYIEzZwN6GL7e5ye', '742b4fd299dd51e3e6e0cef5fde4218c7cddaa1df1bf73a0a0437683b96fd34c151a8e0d3103580bcf8f35f0ca6d2b869c7c1e50b241386828a8ff868677a0ce', 'qmqfpTTJ5Li2WylKHoq', 1, '2014-01-05 03:00:42')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'v3jqcFsdGwi9LjEmlP', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 82
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:42', '2014-01-05 03:00:42')[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'ChTKnTfc6M0ReG1CRU1g', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 82
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '22e9a39773b7c24d76b77f2c0229799812c070621795a2c95af92cc4138ee29b07eb13c0fd4bd1bf33395e1c6c4e905940adc23ed194fcf2bc4b9a7a5d18c14d' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jZUA2kmev8COMLpbcTAP' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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 03:00:42', 'ad7dc1d93909ef2e81a7fc214f612eb1e3afbe537a807884f5f6e10d8e4316c5b350af39f5ecfde5431888310c0d51c21d01a6489db2f66fa9683e7b8a3bcac3', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, 'EwWmntIDoex9t1u8hpw', 'm4SNfZOKPVX7oXYkrnw', '22e9a39773b7c24d76b77f2c0229799812c070621795a2c95af92cc4138ee29b07eb13c0fd4bd1bf33395e1c6c4e905940adc23ed194fcf2bc4b9a7a5d18c14d', 'jZUA2kmev8COMLpbcTAP', 1, '2014-01-05 03:00:42')[0m
+ [1m[35mSQL (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = '0EZvgGPmWQ0ztrbUvXR', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 102
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:42', 'Form 6', '2014-01-05 03:00:42', 'form-6')[0m
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9130d97058ee09c0beef1c8b165d38d9e940faca2ed6fb00ffc38b68abd334ad88e6917a6dfd1a183783a536a0abfc642d243ad3b844896d421322f80673988d' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TlNQ8on2WpqBOgtZRRyC' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:42', '9443de9381e32dfee1ea4bab90a674087517752dd704bf683d62a58b0109ffb2b9d6a261cd176822feddbda6b2e30185d6012cdb849889fabd91a97d3dbc1ddb', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, '2YbkHPmHU9MmV4IunnQs', 'wKvmGepyD7mu1K1BVyX3', '9130d97058ee09c0beef1c8b165d38d9e940faca2ed6fb00ffc38b68abd334ad88e6917a6dfd1a183783a536a0abfc642d243ad3b844896d421322f80673988d', 'TlNQ8on2WpqBOgtZRRyC', 1, '2014-01-05 03:00:42')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'nZy2SOUb81yWXndrAczw', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 122[0m
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'mpszhVhhuJlcutcezYUg', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 122[0m
+Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ec9bf0cf5f0ace34539f478c0ea8f9333cf2608e85c2e984fb128bb5598478b91cde5a076acc6c4cb26986d91451e205b3c54f659c485a8f12931b6b1c69f7a4' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wuBO69l6ZXsLmjdxQpjj' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:42', '8e2a786e9c3b3a672d237b38c771ae8445f673d04f8581681e73be88430349e74725e4e05b7b7e752b60eadea17d637670d28e6b29e74d9cd50701ad0c7a69e6', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, 'MuYZKZnK5ZMHHeMekzqA', 'aL8L75UcKZecxmoem5xA', 'ec9bf0cf5f0ace34539f478c0ea8f9333cf2608e85c2e984fb128bb5598478b91cde5a076acc6c4cb26986d91451e205b3c54f659c485a8f12931b6b1c69f7a4', 'wuBO69l6ZXsLmjdxQpjj', 1, '2014-01-05 03:00:42')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'oQNDXVlPt2TYaeP3xRsB', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 142[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>"Form 7"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'SovxbcN6TH3lJcjCOi3', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 142
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:42', 'Form 7', '2014-01-05 03:00:42', 'form-7')[0m
+Completed 500 Internal Server Error in 8ms
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5dfe389bd0da0e2ed3ac45396904d844cd02de31ff725d4dedc2d2666c4cb9cc7733bd72389946cff25cdcd5498ac30c9971d45f8863df9304b55ec0793d0707' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ltDyIDfE5BoldAqA591c' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:42', 'f844ee2c5f6099c468bb235d507df5ce3e419126585d2c82b3d2fc028a0d96ebb4372bcf2ea5b3fcc21dfd9b337816cf2104ea583a76d74dea14970506292658', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, 'rgPopfstBnzdiTpj', 'nZNPiCu1kaPyoTH8TBg', '5dfe389bd0da0e2ed3ac45396904d844cd02de31ff725d4dedc2d2666c4cb9cc7733bd72389946cff25cdcd5498ac30c9971d45f8863df9304b55ec0793d0707', 'ltDyIDfE5BoldAqA591c', 1, '2014-01-05 03:00:42')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'kiMqHTEDShPn9KWCfKeH', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 162[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'a2eiWaRsc4jrZOqLtEMn', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 162
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+Completed 200 OK in 12ms (Views: 0.6ms | ActiveRecord: 0.9ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+ [1m[35m (3.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '762a7693262e8f87b37a27ae64ec627b40cc8e5808ae4f702fb2beb6657e27f8368ca0d759bd2d0766897be910924a19873570c16933b4a78f0c8d637f33e835' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Du9s4HR4kP6fxvJivI' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:42', '130c07f8550184eb9277441d11918a3d42b3a2c1fa2eac3a4a8f073ac1cd3bc83947c5f91bda67a3797a8ca8a8b7fdb290785fe1aeb6af9a13ce1661fbf50272', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, 'JRhosn4PdY7CJFA97Z', 'f4EMWhaabsrPXxNBDSSZ', '762a7693262e8f87b37a27ae64ec627b40cc8e5808ae4f702fb2beb6657e27f8368ca0d759bd2d0766897be910924a19873570c16933b4a78f0c8d637f33e835', 'Du9s4HR4kP6fxvJivI', 1, '2014-01-05 03:00:42')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'NlwYFTR8KBXccv3EGOW', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 182[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:42', 'Form 8', '2014-01-05 03:00:42', 'form-8')
+ [1m[36m (0.5ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '59e310cc536aae16015d27f18394bd4e646ec0da2fe470ca2e59820d293c47804b2ce466befe4871895fbbecda6d7afb03b7eeed998b75d0223498dac2745d84' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OZqOrasovUSrl64zriUP' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:00:42', '282ba5c2a5644ed718dc416678622c0c6f738dcb31395af6f29bfe82e5d5b3186e263343de8c439a6826b25e8de5e4ec1bb6f06b9c8e05676d40ff16c1dd3c8c', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, 'n462aTwLqvh5U9oAX991', 'Q2o66AYEWFfEd0X2xvL', '59e310cc536aae16015d27f18394bd4e646ec0da2fe470ca2e59820d293c47804b2ce466befe4871895fbbecda6d7afb03b7eeed998b75d0223498dac2745d84', 'OZqOrasovUSrl64zriUP', 1, '2014-01-05 03:00:42')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'WTc5b7oIWeKVs3IKbGs', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 202
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 202 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'iOj3CVneOElTcJU5j4So', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 202
+ [1m[36mSpudInquiryForm Load (0.4ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3794557e41daa36f649dfc586858ca64b0e329900f78eccae046651acfe78c1891db3cacdec3fbe4c475b32a16d36b071dc46795f0b2ac2971c03b485f2a225d' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lezmSNBqsTIsw9UUz8N' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:42', '4e5a16263a60a943203bf807dda7627c0396a86ef3186d69f664dd65ac7625c274af3f6305341351d9dbfcbc00307e5b65728080ef4b1df8d2160ffe0ba890ff', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, 'gC51KHIlxPvHnF3yNd', 'QkrybHhH5MpkCjykVvS', '3794557e41daa36f649dfc586858ca64b0e329900f78eccae046651acfe78c1891db3cacdec3fbe4c475b32a16d36b071dc46795f0b2ac2971c03b485f2a225d', 'lezmSNBqsTIsw9UUz8N', 1, '2014-01-05 03:00:42')
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'NIjrQX9GFYHipmJLNDl', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 222[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:42', 'Form 9', '2014-01-05 03:00:42', 'form-9')
+ [1m[36m (0.5ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'aa376382124c2a0bc7bcc9084d0ea3651908737bd70e8d89f67d6819024b9afce328468ee4e9e04f48963f52392ea11f079b87cea351fd7a6d80aaf60f8a1d4f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZovRVjC8NzvQ0uA6i5p5' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:00:42', 'd327907ce7b595008d49a797f971fa6d4c87980d5c5f10271f7f3c7428cf089615c3d09e9ccd09b63a7d1b5af372158ed2c16bff6f7f5dd80cee5524172e3df6', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, '91CL3OXoweIPYqTgDYZ', 'uU2SfDKbgIr90AXzUz', 'aa376382124c2a0bc7bcc9084d0ea3651908737bd70e8d89f67d6819024b9afce328468ee4e9e04f48963f52392ea11f079b87cea351fd7a6d80aaf60f8a1d4f', 'ZovRVjC8NzvQ0uA6i5p5', 1, '2014-01-05 03:00:42')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'ni0Pq38liXvcJmXmXv', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 242
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:42', 'Form 10', '2014-01-05 03:00:42', 'form-10')[0m
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd4e03f58a4ccdbea16076148d66ad89314500f8d166db25f72c282fca3df58b639ee1af65ea4eb6bde83e3580ba64f37d85c07959309911954f7b68d30ad6d7c' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WYRiD856eHidaNhVRWtz' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:00:42', '008e1b63242efddf479e0a78515b9d1496d6a6d790a62ce5578ed493ee87e4094261fbd31615d86693b33104d9eda2f669e13dfd51798e3e8d553896af74a620', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, 'bVAwe5AnusjUBgRm5nq', 'H3AK6dTwQsTlQXBtRA', 'd4e03f58a4ccdbea16076148d66ad89314500f8d166db25f72c282fca3df58b639ee1af65ea4eb6bde83e3580ba64f37d85c07959309911954f7b68d30ad6d7c', 'WYRiD856eHidaNhVRWtz', 1, '2014-01-05 03:00:42')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = '75YH50tje36rVLXw8hY', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 262[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:42', 'Form 11', '2014-01-05 03:00:42', 'form-11')
+ [1m[36m (1.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '54c8d3457fa212c45d1f42c2e2e882cd20b4f8199ee1513693dacd7f79cbd345d433f8b57a2424ba8cbe5a707ca529935b03e77973d6ad746fa24c54a9223b65' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'udlPjwUns4MN6azFSsr' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:00:42', '28410ec47a1ab47b5ae2313cbcf47c08e331ec9d0e451e0dc29ff8f9264fa61d7a565d3eb3723e2eeda1b47c1e4dcfb778e3097eca0765b38af7ccedd1e5ab92', '2014-01-05 03:00:42', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:00:42', 'testuser', 1, 'LPZN9PqYk4x8mU26M4C', 'gWfcwyNDcNHACqv5F9Rs', '54c8d3457fa212c45d1f42c2e2e882cd20b4f8199ee1513693dacd7f79cbd345d433f8b57a2424ba8cbe5a707ca529935b03e77973d6ad746fa24c54a9223b65', 'udlPjwUns4MN6azFSsr', 1, '2014-01-05 03:00:42')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:00:42', `current_login_at` = '2014-01-05 03:00:42', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:00:42', `perishable_token` = 'shwXKgRzmgDyRg6kR99', `updated_at` = '2014-01-05 03:00:42' WHERE `spud_users`.`id` = 282
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:42', 'Form 12', '2014-01-05 03:00:42', 'form-12')[0m
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+Completed 406 Not Acceptable in 1ms
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:42', '2014-01-05 03:00:42')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:42', 'Form 13', '2014-01-05 03:00:42', 'form-13')[0m
+ [1m[35m (0.6ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:42', 'Form 14', '2014-01-05 03:00:42', 'form-14')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:43', 'Form 15', '2014-01-05 03:00:43', 'form-15')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:43', 'Form 16', '2014-01-05 03:00:43', 'form-16')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:00:43', 'Test', '2014-01-05 03:00:43', 'test')[0m
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:43', '2014-01-05 03:00:43')
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2014-01-05 03:00:43', 'email', 122, '2014-01-05 03:00:43', 'test@spudcms.net')[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 122 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:00:43', '2014-01-05 03:00:43')[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 142 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (7.7ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.2ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:46', 'Form 1', '2014-01-05 03:01:46', 'form-1')[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"form-1"}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.2ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (2) ORDER BY `spud_inquiry_form_fields`.`field_order` ASC[0m
+Redirected to http://test.host/
+Completed 302 Found in 14ms (ActiveRecord: 2.0ms)
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:46', 'Form 2', '2014-01-05 03:01:46', 'form-2')[0m
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:46', 'Form 3', '2014-01-05 03:01:46', 'form-3')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:46', 'Form 4', '2014-01-05 03:01:46', 'form-4')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:46', 'Form 5', '2014-01-05 03:01:46', 'form-5')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+Processing by ContactsController#thankyou as HTML
+Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '63332d51483af595f1e3d9aea88ae6e69fc1ceb7196af1fa046ee282778dc7b334f695ab5c0a0ae255f6ddf562527ce918c090fd8234538b18bc431037327da8' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'guXBLzZSdqgEkLiHOm9' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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 03:01:46', '132ad9bbb36f70d72bd9186c631377f43229fc05a9d0e2f4e61fd08d80c74df132c6b5fd4018061772979961eade1663b7c6b5992eb765aca387ee992bb64b24', '2014-01-05 03:01:46', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:46', 'testuser', 1, 'C06xstGuhCSLQFYVHepv', 'qcBF7XePWOP3QW1lDE', '63332d51483af595f1e3d9aea88ae6e69fc1ceb7196af1fa046ee282778dc7b334f695ab5c0a0ae255f6ddf562527ce918c090fd8234538b18bc431037327da8', 'guXBLzZSdqgEkLiHOm9', 1, '2014-01-05 03:01:46')[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:46', `current_login_at` = '2014-01-05 03:01:46', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:46', `perishable_token` = '7RoP33mgrr5UbVswDyz', `updated_at` = '2014-01-05 03:01:46' WHERE `spud_users`.`id` = 2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:01:46', '2014-01-05 03:01:46')[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:01:46', '2014-01-05 03:01:46')
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:46', `perishable_token` = 'UmrSc1h3yfNWy99fZUc', `updated_at` = '2014-01-05 03:01:46' WHERE `spud_users`.`id` = 2
+Completed 200 OK in 307ms (Views: 1.9ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries`[0m
+ [1m[35m (8.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0f9015afce1d9a18ccbd145b05b244aa803d2694645c500f0b35be3de3da3ed303f2f9113bc151a5286af8911132dcd0917e6c172a3536bd5ccc11a703858afb' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VaDnNEnIQYqwhqnOT0FV' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:01:46', 'fd4492a257741be3095f28aa37dfea53537ce872f51570b4438dacae4cd281288a2506c6b61268c502d8f9a405d8966649529440182cdb745f9b9755e2e1b4c2', '2014-01-05 03:01:46', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:46', 'testuser', 1, 'j7OBw6EO6tMjeipqeIv', '35GaQGdLPCWFhHERDER', '0f9015afce1d9a18ccbd145b05b244aa803d2694645c500f0b35be3de3da3ed303f2f9113bc151a5286af8911132dcd0917e6c172a3536bd5ccc11a703858afb', 'VaDnNEnIQYqwhqnOT0FV', 1, '2014-01-05 03:01:46')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:46', `current_login_at` = '2014-01-05 03:01:46', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:46', `perishable_token` = 'oejpEN3oEqqJHPkal2', `updated_at` = '2014-01-05 03:01:46' WHERE `spud_users`.`id` = 22[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:01:46', '2014-01-05 03:01:46')
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"42"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:46', `perishable_token` = 'gGDOPFbOAggcKJSkble', `updated_at` = '2014-01-05 03:01:46' WHERE `spud_users`.`id` = 22
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 42 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1[0m
+Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.9ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b4efd62a9b6764f524b1fc70eccde4a5fa0f844609792fd726ce4a66eb2f16ac02b937432cfced3cb413c8eb823a9035428d264db004e045ce80aca1f7e7bba2' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mpayXa6UZHpoEOiSdWJS' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:01:46', 'df5f7b75abd7d7babb23390087b2525b97c9c2d75a0209f258e88168a335ac2b10e91aca3c7f924368f0fc1c3d8fb6b6ac63536627a6070b70aa5e289fbdcb44', '2014-01-05 03:01:46', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:46', 'testuser', 1, 'OGTBaKdfNrcb4m3dBvh', 'TAoZEZpgN2Hmklp1tN', 'b4efd62a9b6764f524b1fc70eccde4a5fa0f844609792fd726ce4a66eb2f16ac02b937432cfced3cb413c8eb823a9035428d264db004e045ce80aca1f7e7bba2', 'mpayXa6UZHpoEOiSdWJS', 1, '2014-01-05 03:01:46')
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:46', `current_login_at` = '2014-01-05 03:01:46', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:46', `perishable_token` = 'Y2mg8Bt5BrEbefMlqtLq', `updated_at` = '2014-01-05 03:01:46' WHERE `spud_users`.`id` = 42[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:46', `perishable_token` = 'S4G33B19Myb9C4Gb88', `updated_at` = '2014-01-05 03:01:46' WHERE `spud_users`.`id` = 42[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
+ [1m[36m (0.8ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '65ca519ac1fc8f9835d1521e08b36e7b15fa8c51eae87d688be54373dc24df24158465697b51f1858a784914444ec239ba2a2a62a40ca06e1201729751c38b65' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'rlHfovxXN9qvxI7CH286' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:01:46', 'c215fff36084cc11338faced6ee0a9fd97dc8d76926be6f2e9bfc289376c9dbee4b6f8fcfc00d11374f345f98796b37aa4b4a6a5ab4b57a7b5e376992b51e437', '2014-01-05 03:01:46', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:46', 'testuser', 1, 'LXZsarYiNmujbuURzbv', 'obPAA30cm5QgCG0GEV3', '65ca519ac1fc8f9835d1521e08b36e7b15fa8c51eae87d688be54373dc24df24158465697b51f1858a784914444ec239ba2a2a62a40ca06e1201729751c38b65', 'rlHfovxXN9qvxI7CH286', 1, '2014-01-05 03:01:46')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:46', `current_login_at` = '2014-01-05 03:01:46', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:46', `perishable_token` = 'li3qU33iMQUMYGPhz9RP', `updated_at` = '2014-01-05 03:01:46' WHERE `spud_users`.`id` = 62
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:01:46', '2014-01-05 03:01:46')[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"62"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:46', `perishable_token` = 'OedYn7m6319NsWRBN1e', `updated_at` = '2014-01-05 03:01:46' WHERE `spud_users`.`id` = 62
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 62
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5f87480e5bb413f89d6248d4a451257acd62220180180db0ac1aa9a1b61897b2b601653e30168d5dd697db220c80f8de95b4a12a111c6cf49b48ace4d58c7b15' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NPkjP5cX9Bhny8KPLq6I' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:01:46', 'a2644882fe55b201c2ecb49b06a2156215318fb5c7e54b7c6048193841d91b481ec8ad46954df5f5f17fdf7beb51627c7cd6c7a5ec2ce864d60b932df79d73fa', '2014-01-05 03:01:46', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:46', 'testuser', 1, 'd1Q7yIB7FbiZvyRYzep', 'zBQiUmTjrFVPgYnY9Z', '5f87480e5bb413f89d6248d4a451257acd62220180180db0ac1aa9a1b61897b2b601653e30168d5dd697db220c80f8de95b4a12a111c6cf49b48ace4d58c7b15', 'NPkjP5cX9Bhny8KPLq6I', 1, '2014-01-05 03:01:46')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:46', `current_login_at` = '2014-01-05 03:01:46', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:46', `perishable_token` = 'GMoTXxd5KJPQZgwdZQa', `updated_at` = '2014-01-05 03:01:46' WHERE `spud_users`.`id` = 82
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:01:46', '2014-01-05 03:01:46')[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:46', `perishable_token` = 'U0umpoegquRvmUfLpHp', `updated_at` = '2014-01-05 03:01:46' WHERE `spud_users`.`id` = 82
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.6ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '97ed3ee5a669ee1d80b5b4f6726e3a6923582dc70c69b2a7914832881dc521e43e3b6ed8f2b90a0df67086841d6be1fdcbc6c682ea2d5beabf846328c82546e7' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tClTuhzbGuNXTD1lLnho' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:01:46', '095c752b0c76f775061ddcffc44ec600aae039ad66a3a62d0600f375ebcecfb32de4f0a82cd2d7b6b0511d4de426b98122ed3283064475cfb06659b5ca8e15d3', '2014-01-05 03:01:46', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:46', 'testuser', 1, 'zFUabp59Ag0nX60vl6py', 'CsMV1ejsr2qwsINtRE', '97ed3ee5a669ee1d80b5b4f6726e3a6923582dc70c69b2a7914832881dc521e43e3b6ed8f2b90a0df67086841d6be1fdcbc6c682ea2d5beabf846328c82546e7', 'tClTuhzbGuNXTD1lLnho', 1, '2014-01-05 03:01:46')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:46', `current_login_at` = '2014-01-05 03:01:46', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:46', `perishable_token` = 'bGGRxxSFBa3Tv7bEyeg', `updated_at` = '2014-01-05 03:01:46' WHERE `spud_users`.`id` = 102
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:46', 'Form 6', '2014-01-05 03:01:46', 'form-6')[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:46', 'Form 7', '2014-01-05 03:01:46', 'form-7')
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 102 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:46', `perishable_token` = 'xbQILYhpG6GCVHj9jcdY', `updated_at` = '2014-01-05 03:01:46' WHERE `spud_users`.`id` = 102
+Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7e7ac3fc8df63c74c083971798316f154ea7c0e68f42b41cf2bf378a85d02dadbe8d5e703e3812db40f9a66b56a422bd50df59f6ae22ea28415c2a2a31902ebf' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pnoLJKs3OlBkIzqBwH' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:01:46', 'daf7f0bb98942e67193b773bf61379c747d5d6fed156e7dcc9067fe4042bf0702fc6ecfdb17c83d48f8417648fabcf0dd4fd78c8873e1997ce7633957cf4025b', '2014-01-05 03:01:46', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:46', 'testuser', 1, 'HdftgqcTCK6tuU1w5ky', 'gJzzd3oWDlZmOeqF8v', '7e7ac3fc8df63c74c083971798316f154ea7c0e68f42b41cf2bf378a85d02dadbe8d5e703e3812db40f9a66b56a422bd50df59f6ae22ea28415c2a2a31902ebf', 'pnoLJKs3OlBkIzqBwH', 1, '2014-01-05 03:01:46')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:46', `current_login_at` = '2014-01-05 03:01:46', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:46', `perishable_token` = 'o2voLOVZIEQIymBo3lj', `updated_at` = '2014-01-05 03:01:46' WHERE `spud_users`.`id` = 122[0m
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:46', `perishable_token` = 'Vvr4Pw1SYtU21WB5zFd9', `updated_at` = '2014-01-05 03:01:46' WHERE `spud_users`.`id` = 122[0m
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3f7bdc06164956d3d69f447162f18d68f7183a99a055615d1737ae10e3e3c40c386fad68fe441a5a82ecc25736ab2a642d9102d7c2f15daabbf8e6a8b102e07e' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kBpPVNo0jiQewVBBVKuS' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:01:47', '4046cbf951f54b6e9a6b9f3dbccbb26679b759b31790af20c132af19aaf5bd59b3c812c1fe88ee8f81335d7bfdc958e579319caaad869c811366a918e7ebfd37', '2014-01-05 03:01:47', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:47', 'testuser', 1, 'spJgOXbVdeAhAxuDZ', 'X5TA20ghoLbJ3fDUD5fQ', '3f7bdc06164956d3d69f447162f18d68f7183a99a055615d1737ae10e3e3c40c386fad68fe441a5a82ecc25736ab2a642d9102d7c2f15daabbf8e6a8b102e07e', 'kBpPVNo0jiQewVBBVKuS', 1, '2014-01-05 03:01:47')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:47', `current_login_at` = '2014-01-05 03:01:47', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'I75gjVleMYV3FCPGmYR', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 142[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>"Form 8"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'uGw0Y6fpxWlJDjFqjgN', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 142
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:47', 'Form 8', '2014-01-05 03:01:47', 'form-8')[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 10ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (1.6ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '202da017164d0d511e5255ba4d249e629c51f28bd6cc74c6bf69102e1803473bb17679a83436ec7caaa522c74a60af706890eb95cd77b1b84651b1074060f6b9' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pgoOcoxleGOayIqzRtOK' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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 03:01:47', 'c2fe4decf40f471f85cf8d69f44115c0d6aff61e77658791646d04959665c32ea4b1e5cac3bf3b56fd5c2cf41668f8eaf44a33a42ef552d4079a64528df889cb', '2014-01-05 03:01:47', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:47', 'testuser', 1, 'qHTMTjCWfT5hQ7eR9BnG', 'ldNvxuiRxF4iS3u6pvl', '202da017164d0d511e5255ba4d249e629c51f28bd6cc74c6bf69102e1803473bb17679a83436ec7caaa522c74a60af706890eb95cd77b1b84651b1074060f6b9', 'pgoOcoxleGOayIqzRtOK', 1, '2014-01-05 03:01:47')[0m
+ [1m[35mSQL (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:47', `current_login_at` = '2014-01-05 03:01:47', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'SVAREEAYJMzdw8ki1WS3', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 162
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'LuMTzOTfbJcDPJHp3Jq', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 162[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1[0m
+Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '41a4d26acf2e72c515b06a562bbffb09aa4cedca6e42be8d1ff492a8239ea58a092317675e18b86e3c7ee2ed2e51603e67e87d927faaae7f1ee0bee480316048' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '3MaBKoDSfRAv8nZvzr3P' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:01:47', '1194f52fb52e3c4396c3fbff334a810eec4bb9bee43f61e3fd862de3c80921a5f1aeb3c76316298b800db4f003fc0355f3727099ae8d02971f612bc3bade3181', '2014-01-05 03:01:47', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:47', 'testuser', 1, 'S1DjqW3O08ihfqwTgVN', 'sVJ3DLmygTkbkCVgVVWV', '41a4d26acf2e72c515b06a562bbffb09aa4cedca6e42be8d1ff492a8239ea58a092317675e18b86e3c7ee2ed2e51603e67e87d927faaae7f1ee0bee480316048', '3MaBKoDSfRAv8nZvzr3P', 1, '2014-01-05 03:01:47')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:47', `current_login_at` = '2014-01-05 03:01:47', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'BG5fnjpmaklkmWmm0R', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 182
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:47', 'Form 9', '2014-01-05 03:01:47', 'form-9')[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:47', 'Form 10', '2014-01-05 03:01:47', 'form-10')
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"182"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 182 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'q4FszFWz4H8agMTldh0', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 182
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 182 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
+Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '19853f8104f0ca458391280512351f8e0d95a225ee679d99aa0934f146438468a719b686896ef6968035d4f65b6132949b7ea937badc0dade6cdf5e20276c2b1' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'aYP6OEUvunip0eAUtP' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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 03:01:47', '9a35c8185ea64d1b531c848e5ad2cf71b888ac36bf9abaa1f5ae146d053ae2bcd3bd087a203a3f40350bc4d17ffbd0a72018762e5ef8fd9978da0b1a7d5c4604', '2014-01-05 03:01:47', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:47', 'testuser', 1, '7gdHnELpGVCoILHDBD', 'ysg7WN5VhSO1LjcmRyH', '19853f8104f0ca458391280512351f8e0d95a225ee679d99aa0934f146438468a719b686896ef6968035d4f65b6132949b7ea937badc0dade6cdf5e20276c2b1', 'aYP6OEUvunip0eAUtP', 1, '2014-01-05 03:01:47')
+ [1m[36mSQL (0.5ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:47', `current_login_at` = '2014-01-05 03:01:47', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'HXiYt0dgd3ZhUj0AwgU', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 202[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 202 LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'SAuyBTFRw7QG0ATla5u', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 202[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '27aeda187de92add6c4fc750523c6120c8cb092b32b7f756c62a14053a7db13d537cbe31857aa01eae987a43d4a726af3437736283171ab1eeedb21867586618' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'a0aDLaYrrQauy3qM9o5l' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:01:47', '44fff19b24a097bf4b2dc85fea32eb453b0dc9d2eec5ee023eba0e83999545f5ef29810709683d5473174410cc1dfb5f690058aa88b6f92dc4636ad97a947ac7', '2014-01-05 03:01:47', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:47', 'testuser', 1, 'vNLB88yYcd5aRcwVhtvn', 'dkv2ousJJMEAfFqApwG', '27aeda187de92add6c4fc750523c6120c8cb092b32b7f756c62a14053a7db13d537cbe31857aa01eae987a43d4a726af3437736283171ab1eeedb21867586618', 'a0aDLaYrrQauy3qM9o5l', 1, '2014-01-05 03:01:47')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:47', `current_login_at` = '2014-01-05 03:01:47', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'YpV84tb99TdZlucq9Mqw', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 222
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:47', 'Form 11', '2014-01-05 03:01:47', 'form-11')[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2014-01-05 03:01:47 UTC", "updated_at"=>"2014-01-05 03:01:47 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11"}, "id"=>"202"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 222 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'qA9HIhpLHXfCCV5ezXPU', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 222[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 202 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 202) LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 202) LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_inquiry_forms`.`id` = 202[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 1.5ms)
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 202 LIMIT 1
+ [1m[36m (0.8ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '54b48dfbf87ff1f5495702640f635525cb11bf042fa26157087d760337c142643310b460bbfa56aa0f268a00a0fdce86db9f25961b8e396e9970563ffa9c1f33' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'od3oT9QpyS6KBvKAl1C' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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 03:01:47', 'b2b1d8ab9b0fef595243fdb12f6f458da46512863622d7c06c20c92c65a2b568c92c40c62f48cc2d3a9329faa8c79bb0d75b3a64942383f3377bd5327b1f0d02', '2014-01-05 03:01:47', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:47', 'testuser', 1, 'qBlTNj4JPANyRBofXV4G', 'WxkqD053ryJbdygQ9Viq', '54b48dfbf87ff1f5495702640f635525cb11bf042fa26157087d760337c142643310b460bbfa56aa0f268a00a0fdce86db9f25961b8e396e9970563ffa9c1f33', 'od3oT9QpyS6KBvKAl1C', 1, '2014-01-05 03:01:47')[0m
+ [1m[35mSQL (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:47', `current_login_at` = '2014-01-05 03:01:47', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = '6xu59HOYe9yEAwIt615A', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 242
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:47', 'Form 12', '2014-01-05 03:01:47', 'form-12')[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2014-01-05 03:01:47 UTC", "updated_at"=>"2014-01-05 03:01:47 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}, "id"=>"222"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 242 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'HH4sEapjM2drnaL5ur5S', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 242[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 222 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Completed 400 Bad Request in 5ms
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f21f9b2b10fba8958afa06df174767aa8aa4798fda581f2f2ec15dcd3149c1cd4b8f4ea939a13d8c59ac7e2ecf1838227bb605813a1eef75f70129b8ba6a079d' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'a480w9y7LQTjCKxJZpJ0' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:01:47', '29aa9a9ffa53c8a48142fb18901a8c6dfdadd825d2e7c39d8c33aa322adb33e917d9abf15a769e85671848c46f27490be727b33749291824d65c9424a6124411', '2014-01-05 03:01:47', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:47', 'testuser', 1, 'PsF1WiRR1tQB0CztIJJ', 'LUp7el2v484xeImOYJ', 'f21f9b2b10fba8958afa06df174767aa8aa4798fda581f2f2ec15dcd3149c1cd4b8f4ea939a13d8c59ac7e2ecf1838227bb605813a1eef75f70129b8ba6a079d', 'a480w9y7LQTjCKxJZpJ0', 1, '2014-01-05 03:01:47')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:47', `current_login_at` = '2014-01-05 03:01:47', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'I3l11sD0ih5PSIooUcE', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 262
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:47', 'Form 13', '2014-01-05 03:01:47', 'form-13')[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"242"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 262 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'oFBpkW1sYBQLUg1wcsq', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 262
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 242 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_inquiries` SET `spud_inquiries`.`spud_inquiry_form_id` = NULL WHERE `spud_inquiries`.`spud_inquiry_form_id` = 242
+ [1m[36mSpudInquiryFormField Load (0.2ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 242 ORDER BY `spud_inquiry_form_fields`.`field_order` ASC[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 242
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 1.2ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b747cb35cab9c2bf25227248aef1dd342003f1ad0af362920095061f59d2f7b54d52f6f5dd4f6134043db598145e5b63ca40748a6099fdaaa36729fbd98e3aa1' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'aJFwuHATve2DBj8x7VC' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m 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 03:01:47', '74c0f672772894d8e0b2d2afc0f3064104311dedee86e8f7b2c240de2e98773da4c18ef5a34cb87a30f693a70296e82e627d59929c02eddd4b18c53328bfba50', '2014-01-05 03:01:47', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:01:47', 'testuser', 1, 'qELycd6y9zu5Aq8MQKCv', 'ZoQKNlwiguEIZsta9Ar', 'b747cb35cab9c2bf25227248aef1dd342003f1ad0af362920095061f59d2f7b54d52f6f5dd4f6134043db598145e5b63ca40748a6099fdaaa36729fbd98e3aa1', 'aJFwuHATve2DBj8x7VC', 1, '2014-01-05 03:01:47')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:01:47', `current_login_at` = '2014-01-05 03:01:47', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'ML1E8ldaUSxrxvs1j4a', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 282[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:47', 'Form 14', '2014-01-05 03:01:47', 'form-14')
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 282 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:01:47', `perishable_token` = 'RafsTOcPRkltE3d21U', `updated_at` = '2014-01-05 03:01:47' WHERE `spud_users`.`id` = 282[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+Completed 406 Not Acceptable in 1ms
+ [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:01:47', '2014-01-05 03:01:47')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:47', 'Form 15', '2014-01-05 03:01:47', 'form-15')[0m
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:47', 'Form 16', '2014-01-05 03:01:47', 'form-16')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:47', 'Form 17', '2014-01-05 03:01:47', 'form-17')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-18' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:47', 'Form 18', '2014-01-05 03:01:47', 'form-18')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:01:47', 'Test', '2014-01-05 03:01:47', 'test')[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:01:47', '2014-01-05 03:01:47')
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2014-01-05 03:01:47', 'email', 122, '2014-01-05 03:01:47', 'test@spudcms.net')[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 122 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:01:47', '2014-01-05 03:01:47')[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 142 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.4ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:27', 'Form 1', '2014-01-05 03:02:27', 'form-1')[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"form-1"}
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.2ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (2) ORDER BY `spud_inquiry_form_fields`.`field_order` ASC[0m
+Redirected to http://test.host/
+Completed 302 Found in 14ms (ActiveRecord: 2.0ms)
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:27', 'Form 2', '2014-01-05 03:02:27', 'form-2')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:27', 'Form 3', '2014-01-05 03:02:27', 'form-3')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:27', 'Form 4', '2014-01-05 03:02:27', 'form-4')[0m
+ [1m[35m (0.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:27', 'Form 5', '2014-01-05 03:02:27', 'form-5')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+Processing by ContactsController#thankyou as HTML
+Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '334c44877394b718254c80946326415cb586aa2617a8a9cd63fe3887d354105f6b16679ae8043c5d1467a74d8448449b888a753b3cdc998669678f82a42b4798' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wE3cHaOSoRn6lHHcuon4' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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 03:02:28', '4c90291c5515fc66a6dc526ccbfd5317e773ac0b4a9733514c53ba248c8c3fee501dd74250083e6306290973883fbe01d2c071dd7f11b18661fd41e8d807d579', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, 'IxsFmCsijskGObdowhcx', 'GvifRcT4jDI3RnpXTS', '334c44877394b718254c80946326415cb586aa2617a8a9cd63fe3887d354105f6b16679ae8043c5d1467a74d8448449b888a753b3cdc998669678f82a42b4798', 'wE3cHaOSoRn6lHHcuon4', 1, '2014-01-05 03:02:28')[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'BE6WVUwbRm9ukqn541Gk', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:02:28', '2014-01-05 03:02:28')[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:02:28', '2014-01-05 03:02:28')
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'n0Vi0jo6RW5VTcu4bU1C', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 2
+Completed 200 OK in 313ms (Views: 1.9ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries`[0m
+ [1m[35m (8.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2ff3c64972caa011269fd03aa6e8fc8fc845a3c6f96309955cf9dff49091394d51ea915602bac36ddbc67af0c3f9e0c632b1ceee58870ac589fbf1c50f7d0059' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YznSvnJ3JMlqWEmqqYs' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:02:28', '69df66b6a4514a2db287fcf84b00ba9cbe8a89ba80c787c6ae5dfa7a6433ec851f37c45173046e104ea095aa8f5932ad216377687aeb7ffdaf635239d143fae3', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, 'Orlsym4QMYojGDiTO1', 'lotN09uDhklhNGiZ9Rib', '2ff3c64972caa011269fd03aa6e8fc8fc845a3c6f96309955cf9dff49091394d51ea915602bac36ddbc67af0c3f9e0c632b1ceee58870ac589fbf1c50f7d0059', 'YznSvnJ3JMlqWEmqqYs', 1, '2014-01-05 03:02:28')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = '3YswQAFlqdSpeltZtfKf', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 22[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:02:28', '2014-01-05 03:02:28')
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"42"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'iRscLSipOUaeincXpfQs', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 22
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 42 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1[0m
+Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 1.0ms)
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1b49837f5141d480c18f229474c51bf986dfa46bb8072a650febdbba7bddb9f2cc63b407b42c3e688d3998f495bfdeaca69fc2236e7a53f157efccb871d4b6fa' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'GquhoXJNeMHFUXvZzj04' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:02:28', '9de384d788c8051f7c3249117173696d08b4d7afd62791520cef74bf0cdaca19dcde4359867814262dd1d3abd1af53e3d20e88b4b698c6cb8aaf7cfb4325f624', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, 'VGTf1tbNWgB7y87IoG', 'qiGv7Ayv1TKNqcl17o8', '1b49837f5141d480c18f229474c51bf986dfa46bb8072a650febdbba7bddb9f2cc63b407b42c3e688d3998f495bfdeaca69fc2236e7a53f157efccb871d4b6fa', 'GquhoXJNeMHFUXvZzj04', 1, '2014-01-05 03:02:28')
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'CAW00kvWthoHIV875mW0', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 42[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'S3AG5wkG7Rj4cA7PTv', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 42[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '81fd54579ef38bf1ac992e2dfc04400bebabb44c80654c569315cdb5a62e0a52a7c628080733ac0b61f8a87621b1f953c43816da53d1be87ebad6e18fffdf4cf' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'GfG60w78WoI62vxp1AV1' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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 03:02:28', '8c02cc3c63f3bef30f38ee4271e5ca0b4d5f9770bf0925b7c5077162a531cc50c2bcedaa6af6127b05f4720bddf4302906a08c3f88339701fb548fa1ec2435f7', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, 'oH22utiv1kswDyRetNU', '6byieWPrYgwNrpChPPaf', '81fd54579ef38bf1ac992e2dfc04400bebabb44c80654c569315cdb5a62e0a52a7c628080733ac0b61f8a87621b1f953c43816da53d1be87ebad6e18fffdf4cf', 'GfG60w78WoI62vxp1AV1', 1, '2014-01-05 03:02:28')[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'wm1Zwa320LNkF8byzfMM', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 62
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:02:28', '2014-01-05 03:02:28')[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"62"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'bdK3EsgwCsNWtEUrxR2', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 62
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 62
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.6ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b5d9f9e57f25247a162efc0b65dfffecf8dd22ba413aaf1e3fd7ef390de296081dfb6abd243153688802e70d5f46470548b482fbd0ebe73bf57d2a31256fc5bb' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'j6wP1O70ihgAJbbnlBl' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT 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 03:02:28', '48f7ddd7c3b8b90bc438c58f000bed0881d1ed9e7351c146329a66c7b171eb5441d5bcbc162b446fbf1ed7bade69868f3add58ae47a7049db1959606ae888fb6', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, 'VRg10N4ci6sMVyeM2DyV', 'KlwUtlNnX62jNtdBeZ9m', 'b5d9f9e57f25247a162efc0b65dfffecf8dd22ba413aaf1e3fd7ef390de296081dfb6abd243153688802e70d5f46470548b482fbd0ebe73bf57d2a31256fc5bb', 'j6wP1O70ihgAJbbnlBl', 1, '2014-01-05 03:02:28')[0m
+ [1m[35mSQL (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'CmGCmZWorpIUFmPtnyT7', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 82
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:02:28', '2014-01-05 03:02:28')[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'V5kt56BgUXmHVvUti2FT', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 82
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '628f90cf6438a5d7504ecf7e5953da117f3bcbf4713ffd969a88af96bc63772bd966746c66f65c9d9fd4c1b4d8e86db3c3d56dc3196110b9f81c58f8153c122d' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OvvjhBP0F3c7lmYUmS' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:02:28', '8016ad74210f4acbb5912a69e0043deb322a661269f34f5f5f589f9bc8ecdf25365656384b4c63f1024c595a0c239a8ea113f834c4de9d81d051843a05ccffd3', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, 'QWAJ5lG4CoekSfR3xFle', 'rNtBUzfYs4qWVsuouXT9', '628f90cf6438a5d7504ecf7e5953da117f3bcbf4713ffd969a88af96bc63772bd966746c66f65c9d9fd4c1b4d8e86db3c3d56dc3196110b9f81c58f8153c122d', 'OvvjhBP0F3c7lmYUmS', 1, '2014-01-05 03:02:28')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'SO20mnBK7gxvzY7ra4l', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 102
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:28', 'Form 6', '2014-01-05 03:02:28', 'form-6')[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:28', 'Form 7', '2014-01-05 03:02:28', 'form-7')
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 102 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'WGK5yqw0Wdt4GP9vfd1', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 102
+Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '96d49f91ae4634b72f54bd56907db4cd9639a6a26618e28f0d70155fbea6ade8e6cd33ec3abf3086c348570bcde11e06bee81b2fab0f284e166e12ca3305c563' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kxCTA9ij7c0r7h5usqu2' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:02:28', '7da96ddd9e932f0e9b4579f5e2037fa1b66d23e3f65a2e48120cc3ba3351771712cca49e3b4024b7a6a85e2ddb9961957d54be668eb0ba0d98e0d6ab31fb048a', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, '55bXeaY6zsZFitSkdV', 'dGcxTwkanWitG1UNeN', '96d49f91ae4634b72f54bd56907db4cd9639a6a26618e28f0d70155fbea6ade8e6cd33ec3abf3086c348570bcde11e06bee81b2fab0f284e166e12ca3305c563', 'kxCTA9ij7c0r7h5usqu2', 1, '2014-01-05 03:02:28')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'xbHbef4rMQteb9kfWHp', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 122[0m
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'XhYjPtDDyHzBP8Z7DVX', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 122[0m
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2995e0307cb411e697ea879398238c958e7bd545d57b02e5316f7d020a7afd8fe7c45cd58aafe260589b865753c6f1433c6c9347604b173cbf529ea1e129245b' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yTL0Fe2QPo3u4NGKp8Q' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:02:28', '94525691a4aa46373f719a95ddd0748670f596a464984aeef6e10b7b8436fceee911423e3b566fe62b518eed8af049263eace3acf85086d69160afa74f867baf', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, 'juXfczVaxoE7AHG792Im', 'BZrWwx3putDUykeE5J8R', '2995e0307cb411e697ea879398238c958e7bd545d57b02e5316f7d020a7afd8fe7c45cd58aafe260589b865753c6f1433c6c9347604b173cbf529ea1e129245b', 'yTL0Fe2QPo3u4NGKp8Q', 1, '2014-01-05 03:02:28')
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'BZZhTsxmX6hPZayupqfB', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 142[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>"Form 8"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'LP9837FHzFWw58OdkU26', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 142
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:28', 'Form 8', '2014-01-05 03:02:28', 'form-8')[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.6ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '218b3ceaceb9925458eeb388c394a498fabf09c5774fecc96aaea8fd79e3b41d1c971d565f14fdd4e857242ea64f3682ea5f8ae5a3f0755a1ede383fee195599' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'IrrLCBhQQhTyZoLsV7fG' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:02:28', '9feee5cf2fa63cac5c213628a79550226c10629e567c65bd05bb5c51974585409c6082f76e1d0b4ac53b1c4ae29f3b01b06d85908374e09305536e28a747c2de', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, 'FISC1AE2Nw6W2xxyEmFl', 'Hk2Yej9xfe9p2KO4w', '218b3ceaceb9925458eeb388c394a498fabf09c5774fecc96aaea8fd79e3b41d1c971d565f14fdd4e857242ea64f3682ea5f8ae5a3f0755a1ede383fee195599', 'IrrLCBhQQhTyZoLsV7fG', 1, '2014-01-05 03:02:28')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = '8VOO4dtpuvwFq794NV9', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 162
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'g01kFXKbTJe1USMK6Mh', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 162[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1[0m
+Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2e7b38794477776c7928192f4471c0a9d86e3528ce7414802b8e1779ea38e15677493b7eb6aaa633a8f2c86552cf7d86e37cb192590c3d7c51d41ec49cca91f5' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '79kj4xJt0J1t9vYgkqn' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:02:28', 'b652cf7a1cb412e9577921f4832501a68241af78f8923c5aa45744e4881cc7b1578be93a33ce8e7c9786b769aa7d1c537dff43cbd19087871855033d99b1d4b7', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, 'tysayIroHDoOuO0LSE7', 'JSckQcfedzc6pKGc7nG', '2e7b38794477776c7928192f4471c0a9d86e3528ce7414802b8e1779ea38e15677493b7eb6aaa633a8f2c86552cf7d86e37cb192590c3d7c51d41ec49cca91f5', '79kj4xJt0J1t9vYgkqn', 1, '2014-01-05 03:02:28')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'l6z3S4KhghyTfx4h80V5', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 182
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:28', 'Form 9', '2014-01-05 03:02:28', 'form-9')[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:28', 'Form 10', '2014-01-05 03:02:28', 'form-10')
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"182"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 182 LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'GLL5uiU9W0jBjNtpdXh', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 182
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 182 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
+Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 1.1ms)
+ [1m[35m (1.9ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3899191d9d6ea657cecc6a89cc64ff49f47d7f87addd7ddb79b321933fa4f5811f60c11804ba6a3d28160ac76f70a856904471817e4ea239a5ffc48b01781f8e' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Q4sqSyT54F9KSeCSKhr' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:02:28', '06d75c40982c52ebd4be3c966f3a7e5b63ab0b34df6d2aca4c4c025a2a20d5dd22341e220ee306c088fab757ad8eb48faa41d80a0b929ac3d3ada14bdeab93d3', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, '0xtFwyd8MKSsX8pMw11', '1OqoE1Fnz3AFnLp0hfX', '3899191d9d6ea657cecc6a89cc64ff49f47d7f87addd7ddb79b321933fa4f5811f60c11804ba6a3d28160ac76f70a856904471817e4ea239a5ffc48b01781f8e', 'Q4sqSyT54F9KSeCSKhr', 1, '2014-01-05 03:02:28')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'vLIEUsdIRXCpP5CYIIha', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 202[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 202 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'QpnlC5ft8frtk6JCEoO', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 202[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
+ [1m[36m (0.8ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '01487a4eb1acbdb9996e7268a1951f28bab52af42fb74645bc4ba15393ddce892b49e61b408d16b020c9f9ca91b68f1c26a02c754323d1524265a7da056f9f26' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'm4gxE1VY5jlgg68VkIOM' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:02:28', 'c3236beafe7b79013cdd3a9a116abe0bc4d427fac689b768379135fa964a4ff735bdde60ae3093bb6b28db63e0bf9a7a80cc9a97d24ae664452fc8c9ff8411be', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, 'WKJ7fi4FcqXwaahgDcM', '4W1YG0XrRZQDEawzsb2o', '01487a4eb1acbdb9996e7268a1951f28bab52af42fb74645bc4ba15393ddce892b49e61b408d16b020c9f9ca91b68f1c26a02c754323d1524265a7da056f9f26', 'm4gxE1VY5jlgg68VkIOM', 1, '2014-01-05 03:02:28')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'IIE3sw4GPDtJ7y4hR6Gi', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 222
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:28', 'Form 11', '2014-01-05 03:02:28', 'form-11')[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2014-01-05 03:02:28 UTC", "updated_at"=>"2014-01-05 03:02:28 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11"}, "id"=>"202"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 222 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = '9gtcOIOjctHTTEy5Su4s', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 222[0m
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 202 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 202) LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 202) LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_inquiry_forms`.`id` = 202[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 15ms (ActiveRecord: 1.6ms)
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 202 LIMIT 1
+ [1m[36m (0.6ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c8db2345532bb33060b9dd8d1c47c0023277605a7eb99961af36619f969172c9b90e2bc5b1809f5b5edfeb89aa02f1e640eae437e3b3687b623074955a7a23b2' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1dzjhe2fufUKZi6ToR0' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:02:28', 'ef1d5ac6a53fec8202a31cb3c0aa91c6f2972b51b3f6aeb14fe74b63d019b5281e9a4d69ba4edd306e6d590bfa0c20d718db9d51555b54340ce8afe342a85f2b', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, 'KybaiR9TaX5yht284hJO', 'BfH3GAF7boQBLnDcIh8', 'c8db2345532bb33060b9dd8d1c47c0023277605a7eb99961af36619f969172c9b90e2bc5b1809f5b5edfeb89aa02f1e640eae437e3b3687b623074955a7a23b2', '1dzjhe2fufUKZi6ToR0', 1, '2014-01-05 03:02:28')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'tNkDEWg5c9xV3zJ7U7Br', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 242
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:28', 'Form 12', '2014-01-05 03:02:28', 'form-12')[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2014-01-05 03:02:28 UTC", "updated_at"=>"2014-01-05 03:02:28 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}, "id"=>"222"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 242 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'NPpDBJoZuEFYyZLEYPP', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 242[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 222 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Completed 400 Bad Request in 5ms
+ [1m[36m (0.5ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '819be8f41d12766fdf4a89385e7aba09846af25c5d9a6fd6ce476043f0de9757bb8ca594d2319182e700ab5aebdaace3f8a0e974f9941b0192c6988f5b3bbdd8' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'AKxLUlo9hzITC62lRZo3' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:02:28', 'bbca52c88e7c960020145f290eb5c81be20d4ba5153c6b092fa004681762adb28e4622942b74740930286c32e86e6c03282e67a8ecd7de9de9cf6db370b17259', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, 'berW7urxQa751nfoESsf', 'vfEfjZWhoQMU6RV6OL9K', '819be8f41d12766fdf4a89385e7aba09846af25c5d9a6fd6ce476043f0de9757bb8ca594d2319182e700ab5aebdaace3f8a0e974f9941b0192c6988f5b3bbdd8', 'AKxLUlo9hzITC62lRZo3', 1, '2014-01-05 03:02:28')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'CScRyCnzYR0fRpAhstWg', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 262
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:28', 'Form 13', '2014-01-05 03:02:28', 'form-13')[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"242"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 262 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'EH1qW1VYBQxCnHEKfZY', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 262
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 242 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_inquiries` SET `spud_inquiries`.`spud_inquiry_form_id` = NULL WHERE `spud_inquiries`.`spud_inquiry_form_id` = 242
+ [1m[36mSpudInquiryFormField Load (0.2ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 242 ORDER BY `spud_inquiry_form_fields`.`field_order` ASC[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 242
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 1.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f71ba3651af5d75b1212544b5bc457a3627f6067e1de9cf41af1858615cb22889970f8e4d915c5a76cb2501d667b2b1e7212b2ba8e72298cfd02fda784e0e797' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'CcQuaX4VBkV6XNIeGszS' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:02:28', 'b229dfadd303952c9508c3454162e78bbc02404e912fd2987c7ef179bd0533ab5db991e22dc5aa11209b9e49251240a28d53183bdc4a15f091952070262bb7dc', '2014-01-05 03:02:28', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:02:28', 'testuser', 1, 'C5vhwuGfPuMqcCV51thl', 'dA5fep8IPqVIlZcM6XrQ', 'f71ba3651af5d75b1212544b5bc457a3627f6067e1de9cf41af1858615cb22889970f8e4d915c5a76cb2501d667b2b1e7212b2ba8e72298cfd02fda784e0e797', 'CcQuaX4VBkV6XNIeGszS', 1, '2014-01-05 03:02:28')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:02:28', `current_login_at` = '2014-01-05 03:02:28', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'XrrPMIRb4oQ8SiHdor8', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 282[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:28', 'Form 14', '2014-01-05 03:02:28', 'form-14')
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 282 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:02:28', `perishable_token` = 'h0ybTekciy4E4N6x3pzY', `updated_at` = '2014-01-05 03:02:28' WHERE `spud_users`.`id` = 282[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+ [1m[35m (0.6ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+Completed 406 Not Acceptable in 1ms
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:02:28', '2014-01-05 03:02:28')
+ [1m[36m (0.5ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:28', 'Form 15', '2014-01-05 03:02:28', 'form-15')[0m
+ [1m[35m (0.3ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:28', 'Form 16', '2014-01-05 03:02:28', 'form-16')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:28', 'Form 17', '2014-01-05 03:02:28', 'form-17')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-18' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:28', 'Form 18', '2014-01-05 03:02:28', 'form-18')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:02:28', 'Test', '2014-01-05 03:02:28', 'test')[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:02:28', '2014-01-05 03:02:28')
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2014-01-05 03:02:28', 'email', 122, '2014-01-05 03:02:28', 'test@spudcms.net')[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 122 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:02:28', '2014-01-05 03:02:28')[0m
+ [1m[35mSpudInquiryField Load (0.3ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 142 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (7.8ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.3ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.3ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.2ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:06', 'Form 1', '2014-01-05 03:04:06', 'form-1')[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"form-1"}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.3ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (2) ORDER BY `spud_inquiry_form_fields`.`field_order` ASC[0m
+Redirected to http://test.host/
+Completed 302 Found in 14ms (ActiveRecord: 2.0ms)
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 2', '2014-01-05 03:04:07', 'form-2')[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-01-05 03:04:07', 'email', '0', 'email', 1, 22, '2014-01-05 03:04:07')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-01-05 03:04:07' WHERE `spud_inquiry_forms`.`id` = 22[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"22"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 3', '2014-01-05 03:04:07', 'form-3')
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-01-05 03:04:07', 'email', '0', 'email', 1, 42, '2014-01-05 03:04:07')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-01-05 03:04:07' WHERE `spud_inquiry_forms`.`id` = 42
+Processing by ContactsController#inquire as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 4', '2014-01-05 03:04:07', 'form-4')[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-01-05 03:04:07', 'email', '0', 'email', 1, 62, '2014-01-05 03:04:07')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-01-05 03:04:07' WHERE `spud_inquiry_forms`.`id` = 62[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"64"}}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 64 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 5', '2014-01-05 03:04:07', 'form-5')[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-01-05 03:04:07', 'email', '0', 'email', 1, 82, '2014-01-05 03:04:07')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-01-05 03:04:07' WHERE `spud_inquiry_forms`.`id` = 82[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"82"}}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 82 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.3ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 82 ORDER BY `spud_inquiry_form_fields`.`field_order` ASC[0m
+Completed 200 OK in 68ms (Views: 44.1ms | ActiveRecord: 3.4ms)
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+Processing by ContactsController#thankyou as HTML
+Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '266b66e8ab1084cd4ce445fe0f24b89af9abcf52770586883fcc7a79faece398f2598dea3204f24ad45c4ccff130fa1fb9289dcfee4a20c7011305a8bd32e40d' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NB6yrwcQgk8CsPasbXk3' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:04:07', '6117262ad29d1e17636c6620c03c92d1edff0b14c503b16657d661af5a2c88bce5baca32828e181a8ab3d5ac888ab765e0269aa93877f206e8512603b541971a', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, 'dlxvSAzXwemTr6hUr3A7', 'JOc20ib2AsiQXLpxEMw', '266b66e8ab1084cd4ce445fe0f24b89af9abcf52770586883fcc7a79faece398f2598dea3204f24ad45c4ccff130fa1fb9289dcfee4a20c7011305a8bd32e40d', 'NB6yrwcQgk8CsPasbXk3', 1, '2014-01-05 03:04:07')
+ [1m[36mSQL (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'FcHyOFkU4uDuZknMfOaI', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:04:07', '2014-01-05 03:04:07')
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:04:07', '2014-01-05 03:04:07')[0m
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'yxnKKO2SDA7BQL2oy9lf', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 2[0m
+Completed 200 OK in 301ms (Views: 1.8ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (8.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '59a0050c69688dbf3227cd6742924c4b1db00808e1e71d45c0a5b305120eaec1e83614969ae1d857b4183f863c4e8eca41afa79aa431a14006e5422259104deb' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'woyyLZxBcv1Z7vFBAUrf' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:04:07', '12c5f8de41865ac785dff1575388212a18a0d3a6b0f37ae4dd1846d8e04d6e808add2f9123e6ddd0c417db9c45b73ad777cd4ac17efed3c69fc21df98404b460', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, 'JNkIcHyIILdOugcAt1lR', 'u7mItJfUAWNZnNM6QSm', '59a0050c69688dbf3227cd6742924c4b1db00808e1e71d45c0a5b305120eaec1e83614969ae1d857b4183f863c4e8eca41afa79aa431a14006e5422259104deb', 'woyyLZxBcv1Z7vFBAUrf', 1, '2014-01-05 03:04:07')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'pDW7rypdPIGZ0xGLZsJ1', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 22
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:04:07', '2014-01-05 03:04:07')[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"42"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 22 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'xsm0GFaUS5ubrCpGBeb9', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 22[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 42 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 42 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1
+Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 1.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3ad5e063cf3550ba7b60c98cdfa6c01c607eb90bfbd540b4b317d83d0c3a98fb1c9221f43a48233d29281c899e22cd4b07489b5711197528bdaa19e71cbd5f08' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kU1aVArVOSdvN158akNA' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:04:07', 'ef9cbac513cc95707e1161179cb6e72587634adf590e0a79e334e489378bc3e5e77a35102f8391df1b43fd307c15cff33192c6e28c844cbd779a87bbe523a919', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, 'mJzIzMTWPKKQ1aY5OqEZ', 'BHQOAqWOM5j9dLFBFJx', '3ad5e063cf3550ba7b60c98cdfa6c01c607eb90bfbd540b4b317d83d0c3a98fb1c9221f43a48233d29281c899e22cd4b07489b5711197528bdaa19e71cbd5f08', 'kU1aVArVOSdvN158akNA', 1, '2014-01-05 03:04:07')[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'bINKQ53flDuEwAdujhqk', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 42
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 42 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'm2Evvg6Z49faR0GXJToi', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 42
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'db0239daa6b018fe632dd7fa7041e7a9afa7707750174840bf9d1668f29066d2523a60a21098b0a308a32a7f63c324d6834886ab4ec6c462d45ffc30ff9ccd43' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ylCWQsShe9wFbOf2Mfam' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:04:07', '4b66bcbd628c76274879bcaa09987f2759a26a536734f56a772fcceba8f9f8c95f3781a33bb72995ddec68f923e36a19c594c39a549d21178c40ed17e0c0a51b', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, '0r1MvN5eY2KPNokG3g4', 'OOwCEFb9C8uFGShMAlw', 'db0239daa6b018fe632dd7fa7041e7a9afa7707750174840bf9d1668f29066d2523a60a21098b0a308a32a7f63c324d6834886ab4ec6c462d45ffc30ff9ccd43', 'ylCWQsShe9wFbOf2Mfam', 1, '2014-01-05 03:04:07')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'gu2hgioAmZunJHAuO2jH', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 62[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:04:07', '2014-01-05 03:04:07')
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries`[0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"62"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 62 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'VN36668RoOPfkCwG0N', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 62[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 62[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 62
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 7ms (ActiveRecord: 1.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries`[0m
+ [1m[35m (0.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7d002f6512dd66003ff9aeb3509540b591f532f7ebdf2f3bd35332b68aabe39b611e1764c55b5636ee68f5d9c609ae6990a2cb04514d3fdc81fd6cb163cecf60' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nYQ8XgBOfVxjiqw4dnh' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m 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 03:04:07', 'c752173e2ea4c2ac27e98808fb33cca83eb9314204054954e57d713bcda85fd319afc74e1e28d7fb76c7e09d315860fbf7d60e48a3fe4707edc327382c6c0cf8', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, 'uXDntXHVj5M0siJvNZn', 'vmzixjAC7sUfRjvgJTFe', '7d002f6512dd66003ff9aeb3509540b591f532f7ebdf2f3bd35332b68aabe39b611e1764c55b5636ee68f5d9c609ae6990a2cb04514d3fdc81fd6cb163cecf60', 'nYQ8XgBOfVxjiqw4dnh', 1, '2014-01-05 03:04:07')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'zOOxTrhwfduA705x76W', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 82[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:04:07', '2014-01-05 03:04:07')
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries`[0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 82 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'vx3Ilvie7gESDz1JYgJl', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 82[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries`[0m
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ad70b5104c56849ae9a1a40184ca1ecc1903950ac71060a3792ac5ddad9ce2abf477f251e344ab365c0dcae90496044ba61cb85c987ed59f6e55372247d5b481' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tne4uOxLNrx1VVWPzAtg' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:04:07', '8a950baaa310efb7084f0f5130a3bcccda92d8ae0fefdd717d22b1cdbfcd2c56231b7e4fbfdc4bafac5eed7622dee8a65408a725852012518d441f49608b2013', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, 'EdGBSecXt2QxFbak8AEp', 'Ws2MELGCWa1nOxXWti5V', 'ad70b5104c56849ae9a1a40184ca1ecc1903950ac71060a3792ac5ddad9ce2abf477f251e344ab365c0dcae90496044ba61cb85c987ed59f6e55372247d5b481', 'tne4uOxLNrx1VVWPzAtg', 1, '2014-01-05 03:04:07')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'Rk9yM0h0XLgjWIiCFgv', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 102[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 6', '2014-01-05 03:04:07', 'form-6')
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 7', '2014-01-05 03:04:07', 'form-7')[0m
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 102 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'gkMVqezGGW0mIJR0t2Rl', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 102[0m
+Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f19332d8d3fb1e2b9bba1dda2d7fe00f47c009e4dc4e62b8e8afb37a1d6cbc126704ced3ebba1e4168aa34480239397480df5e6c7468ec9b3211690698df923c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9vaCXxhUb22BMyEgx' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:04:07', '4c3470ecd0459975ebc6eff1824be837be390d020e3e546c1e3c294a95c1b743b04fde689a6caf8fdee9585d2ca84a777bd88baefe2a8af845603b2d5af08294', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, 'mpKIhzFlpOZu8eAt3THj', 'LJ1xUNtFvAEv3J9ZJ2E', 'f19332d8d3fb1e2b9bba1dda2d7fe00f47c009e4dc4e62b8e8afb37a1d6cbc126704ced3ebba1e4168aa34480239397480df5e6c7468ec9b3211690698df923c', '9vaCXxhUb22BMyEgx', 1, '2014-01-05 03:04:07')[0m
+ [1m[35mSQL (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'QrE0RCPXDtMSLfFPStc7', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 122
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 122 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'CZr42D88moFOfpYKSa18', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 122
+Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cb768e216bd461e0d594fe6277a30c3bbcfc269096783fd6f0ff82bb277f3f4ad352528f089e9b3f946c13f8f110755911bb214fc011156f3c51b4d37ec4b7c8' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QnHhY0Zeyda0ihRtf4BV' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:04:07', 'e9f9919dbc9aefba1dab7f0912775de9ee76aaf9a1f22641d7122b91778245b47821d0522e49434c42075db8e507321a70650936598a67c7a003cb587d49fc4a', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, '9IvF56pw62p2iFmu0pg', 'Sg5f8WGb9SU4UrRQ9ZOX', 'cb768e216bd461e0d594fe6277a30c3bbcfc269096783fd6f0ff82bb277f3f4ad352528f089e9b3f946c13f8f110755911bb214fc011156f3c51b4d37ec4b7c8', 'QnHhY0Zeyda0ihRtf4BV', 1, '2014-01-05 03:04:07')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'yiirZt9khX8xKJ70Fz5X', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 142
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>"Form 8"}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 142 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = '3aTpjrmUsdEZB1PZWL', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 142[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 8', '2014-01-05 03:04:07', 'form-8')
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 9ms (ActiveRecord: 1.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+ [1m[35m (1.8ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f2f4c8c5a11d1b7b8b668f89f3f2d1704bde1f4715b353f0c8120270105e6514f8f69248bd5d47aa03927af503c83aeae41a28b7b01de5fa6c82f03b332be218' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kiWMaqBCgNS1bam1ooBX' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:04:07', '63350ea7f704b04a5197dbf48f34841eb866ce95a6e067d89fc582d15081bd2a5e635eba31fd954226a49b1e0ab883e7e08437a18fd96f3e6e4c5b0ecfb1a0b4', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, 'prE9o9hpMJE6C6vVtENN', 'IJ0sMs3pY6wfsOr2XLBA', 'f2f4c8c5a11d1b7b8b668f89f3f2d1704bde1f4715b353f0c8120270105e6514f8f69248bd5d47aa03927af503c83aeae41a28b7b01de5fa6c82f03b332be218', 'kiWMaqBCgNS1bam1ooBX', 1, '2014-01-05 03:04:07')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'T6xdKxjAaR2WJsdhpnb', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 162[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 162 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'dj1ZVhtzdZqrmXPUaSK2', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 162
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+Completed 200 OK in 10ms (Views: 0.6ms | ActiveRecord: 1.1ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+ [1m[35m (0.7ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '517fd0dc00acf9232ac5ac063e387ae227ca906ca183ea04743158bbc950f27a56269a4284c063c8ec1ff7785385db74d2c85f16534392ead30527ada4896e78' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LvTBLrQwlrVORuyFqCNw' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:04:07', '23ffee69162ea2ea72801e3c880cc58d4375c257017425de86463cbf9121ccd435b42c98577cd5cb50f95aee485211a369f0038134305676e353b483d763d28b', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, 'Gtl8RYcv21JrbSTKbJ', 'gH8oTsnNr4FpG29HMKc', '517fd0dc00acf9232ac5ac063e387ae227ca906ca183ea04743158bbc950f27a56269a4284c063c8ec1ff7785385db74d2c85f16534392ead30527ada4896e78', 'LvTBLrQwlrVORuyFqCNw', 1, '2014-01-05 03:04:07')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'JP9elf7P62H8z8jWNKvY', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 182[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 9', '2014-01-05 03:04:07', 'form-9')
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 10', '2014-01-05 03:04:07', 'form-10')[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"182"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 182 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = '7sXmkVN8iJEJeuCcYSG', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 182[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 182 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.8ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'eb0279fbaa1f3e7bed605cc3a248a0493699a9035c92652518ba3dc7ec8ec5ce9ea7d19ab89544f9146d15bf561d602c266148adb9a27062a1958fb390293014' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Shzn50Gk0WC2L0fKI1M5' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:04:07', '77f4b1ce2b5e052325a2a527afc09103ccad06643448e0cb74aceff118824ba699d453f5274e68af8b11533b23c5df9d224403c31bd0e6b4bf4c2c09d94a9181', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, 'l50OPrgI013fd92XkQBn', 'Ktp7ZCmgoblySBP2nhEW', 'eb0279fbaa1f3e7bed605cc3a248a0493699a9035c92652518ba3dc7ec8ec5ce9ea7d19ab89544f9146d15bf561d602c266148adb9a27062a1958fb390293014', 'Shzn50Gk0WC2L0fKI1M5', 1, '2014-01-05 03:04:07')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'XkME6hNjgH9tCnG5mXHy', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 202
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 202 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'OC0tnRIxiZZLQczJaB6E', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 202
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e5539005e69e959bed7f813f3a34499628f03114d353242ac8677838b5a230bd68865e30f24308c596ffaf679e6a4e595d4c27fb8efc13cfefd4908958bce84f' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'r3onrTVpBh1lHctK10d6' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:04:07', '6d3f80e169acf3de7f0e396001fbd7abfb88df7edea490293e561f4eafc66a049ad0da36f6efcef3e24c219275fc1b177b5204d776c333c4cdfaa38c2d18a16e', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, 'E1cViZp6Apaeq18hWKpa', 'SxmZZ1YL70pCYetJefZs', 'e5539005e69e959bed7f813f3a34499628f03114d353242ac8677838b5a230bd68865e30f24308c596ffaf679e6a4e595d4c27fb8efc13cfefd4908958bce84f', 'r3onrTVpBh1lHctK10d6', 1, '2014-01-05 03:04:07')
+ [1m[36mSQL (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'FXTr64apoBLcahUH7FzW', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 222[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 11', '2014-01-05 03:04:07', 'form-11')
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2014-01-05 03:04:07 UTC", "updated_at"=>"2014-01-05 03:04:07 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11", "thank_you_content"=>nil, "submit_title"=>nil}, "id"=>"202"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 222 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'yxuMXiashoJVIYigY6C', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 222
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 202 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.5ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 202) LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 202) LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_inquiry_forms`.`id` = 202
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 17ms (ActiveRecord: 2.0ms)
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 202 LIMIT 1[0m
+ [1m[35m (0.9ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'bdf3ac02c37d70df5389550a5f7985d6b0c7612362cf69f798e3ff5b1b140dc86a6f426060c4e4576272f243d7029bbc3caa3af079271615e080772c9a6ac451' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mJ780EwZDkDBFvZdrEWP' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:04:07', '17c3efcd9a8c2ff556a5bf5bef2f25579d7adabd6cef2c04ec4c2cd91a79a42a52221bf2b62371b504dcb1d87e8a2fd387b8fdfaf89bf1dd29bf7cb76f78f1b1', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, 'c4BsM3dsiFYpUnZKqm2q', 'BFCMrLQXVuGUKzPnXZY', 'bdf3ac02c37d70df5389550a5f7985d6b0c7612362cf69f798e3ff5b1b140dc86a6f426060c4e4576272f243d7029bbc3caa3af079271615e080772c9a6ac451', 'mJ780EwZDkDBFvZdrEWP', 1, '2014-01-05 03:04:07')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'oXLcE1AFTirwVjTFlC', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 242[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 12', '2014-01-05 03:04:07', 'form-12')
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2014-01-05 03:04:07 UTC", "updated_at"=>"2014-01-05 03:04:07 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12", "thank_you_content"=>nil, "submit_title"=>nil}, "id"=>"222"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 242 LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'DrxTpSRNHBJZypfRRmkv', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 242
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 222 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
+Completed 400 Bad Request in 5ms
+ [1m[35m (0.6ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7c9c2c6d8ee4a9074657f6818d6b6654d9e0cfe91b0ff9bddebf20143a9a074ac8f7b28619f600fc313714cd8f1808b60bb1ff97fda8071b963202cb94bf2a91' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vnYl1ixvH9GhibPAD4o' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m 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 03:04:07', 'bca44fe2b0e18d08de8e8a4e771bc7c2e1a7e7b424d823752595ebb5e836b09b71bfab6e4b9ae494c6672ab1379c73bca0bbda1165e84d9b3a0dab173f0f4478', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, 'nVXEUFamN66eBzK1eKVu', 'XHYGme9O0UfL2qRpWtJ', '7c9c2c6d8ee4a9074657f6818d6b6654d9e0cfe91b0ff9bddebf20143a9a074ac8f7b28619f600fc313714cd8f1808b60bb1ff97fda8071b963202cb94bf2a91', 'vnYl1ixvH9GhibPAD4o', 1, '2014-01-05 03:04:07')
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = '94KOGBPTGhP2xgdkNy7', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 262[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 13', '2014-01-05 03:04:07', 'form-13')
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"242"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 262 LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'upKn4SjijYbyCqKo6sKR', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 262[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 242 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_inquiries` SET `spud_inquiries`.`spud_inquiry_form_id` = NULL WHERE `spud_inquiries`.`spud_inquiry_form_id` = 242[0m
+ [1m[35mSpudInquiryFormField Load (0.2ms)[0m SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 242 ORDER BY `spud_inquiry_form_fields`.`field_order` ASC
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 242[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 11ms (ActiveRecord: 1.2ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.8ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3978606ae4b35a50b456494cb01039c4b640ec6c61ec9416f000c4560503c18e5615e94c2641de9fe5d0607ad1a764579b27911c58e4abc3bf338f548293e476' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5Yl9OCQFkWpMxldhBKVr' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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 03:04:07', '21cc91467a9d97c20edec263d4d8ac2ecb2b56e280a505afc0319c4eec566ba66c5a0cb85aaed42b4bda13bdbecc1d26c5e42b6d3dcc5d0bdfd6bf84f246d8cf', '2014-01-05 03:04:07', '0.0.0.0', 'test@testuser.com', '2014-01-05 03:04:07', 'testuser', 1, 'jdw90DbJGZKBMDLaxZ12', 'RZJimhMGRfU9FZtS25Zj', '3978606ae4b35a50b456494cb01039c4b640ec6c61ec9416f000c4560503c18e5615e94c2641de9fe5d0607ad1a764579b27911c58e4abc3bf338f548293e476', '5Yl9OCQFkWpMxldhBKVr', 1, '2014-01-05 03:04:07')[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-01-05 03:04:07', `current_login_at` = '2014-01-05 03:04:07', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'VsrfpylH0GLeNvhiEpH', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 282
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 14', '2014-01-05 03:04:07', 'form-14')[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 282 LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2014-01-05 03:04:07', `perishable_token` = 'aLBmj5CQsqFbrk4OPOa', `updated_at` = '2014-01-05 03:04:07' WHERE `spud_users`.`id` = 282
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+Processing by Spud::Inquiries::SitemapsController#show as XML
+Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+Completed 406 Not Acceptable in 1ms
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:04:07', '2014-01-05 03:04:07')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 15', '2014-01-05 03:04:07', 'form-15')
+ [1m[36m (0.7ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 16', '2014-01-05 03:04:07', 'form-16')[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 17', '2014-01-05 03:04:07', 'form-17')
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-18' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Form 18', '2014-01-05 03:04:07', 'form-18')[0m
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-01-05 03:04:07', 'Test', '2014-01-05 03:04:07', 'test')
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:04:07', '2014-01-05 03:04:07')[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2014-01-05 03:04:07', 'email', 122, '2014-01-05 03:04:07', 'test@spudcms.net')
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 122 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1[0m
+ [1m[35m (0.5ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-01-05 03:04:07', '2014-01-05 03:04:07')
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 142 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK TO SAVEPOINT active_record_1
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m