spec/dummy/log/test.log in spud_inquiries-0.9.3 vs spec/dummy/log/test.log in spud_inquiries-0.9.5
- old
+ new
@@ -1,600 +1,11148 @@
Connecting to database specified by database.yml
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
- [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
[1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (0.7ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
- [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
- [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiries`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
- [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[35m (2.1ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.5ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.4ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.0ms)[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.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (2.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[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudInquiryForm Exists (1.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
- [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:43', 'Form 1', NULL, NULL, NULL, '2013-06-27 12:53:43', 'form-1')
+ [1m[35mSQL (1.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:01:08', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:01:08')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' 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-1' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:01:08', 'Form 1', NULL, NULL, '2012-12-22 16:01:08', 'form-1')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:01:08', 'Form 2', NULL, NULL, '2012-12-22 16:01:08', 'form-2')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' LIMIT 1
- [1m[36mSpudInquiryFormField Load (0.1ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (1) ORDER BY field_order ASC[0m
- Rendered /Users/davidestes/projects/spud_rails/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (2.1ms)
-Completed 200 OK in 64ms (Views: 11.7ms | ActiveRecord: 3.0ms)
- [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:01:08', 'Form 3', NULL, NULL, '2012-12-22 16:01:08', 'form-3')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:01:08', 'Form 4', NULL, NULL, '2012-12-22 16:01:08', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[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' LIMIT 1
-Redirected to http://test.host/
-Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:01:08', 'Test', NULL, NULL, '2012-12-22 16:01:08', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:01:08', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:01:08')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 16:01:08', 'email', 2, '2012-12-22 16:01:08', 'test@spudcms.net')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.5ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 2 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:01:08', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:01:08')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.4ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.0ms)[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.4ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (1.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '18522b0d75fabec5205de0c6414b93dc673a0c3673223f838827f5fe690edda63ae398104a5ccacca1098246ce2caad90ded25b3983681e1e859a5ad1701575c' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9seVYI6XK4mJUfIzEIo' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:04:37', '87e76d79ebfbd2f94d94d94af803320f5c4186cbc02c555e6ecb4157c0612c197893b945f2648383737f823d5ed954f8ab27ef663fefec40a156e7f811853d4b', '2012-12-22 16:04:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:04:37', 'testuser', 1, 'L0GqTMZwVE5eJjj6Sh', 'Ga8EpEU3m4SQa4tgLfdo', '18522b0d75fabec5205de0c6414b93dc673a0c3673223f838827f5fe690edda63ae398104a5ccacca1098246ce2caad90ded25b3983681e1e859a5ad1701575c', '9seVYI6XK4mJUfIzEIo', 1, NULL, '2012-12-22 16:04:37')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:04:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iJ3rgFiHrsAGY1AxjS4', `updated_at` = '2012-12-22 16:04:37' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:04:37', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:04:37')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:04:37', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:04:37')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/spud/admin/inquiries/index.html.erb within layouts/spud/admin/detail (2.5ms)
+Completed 200 OK in 47ms (Views: 41.6ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:04:37', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:04:37')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:04:37', 'Form 1', NULL, NULL, '2012-12-22 16:04:37', 'form-1')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
- [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:43', 'Form 2', NULL, NULL, NULL, '2013-06-27 12:53:43', 'form-2')
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:04:37', 'Form 2', NULL, NULL, '2012-12-22 16:04:37', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:04:37', 'Form 3', NULL, NULL, '2012-12-22 16:04:37', 'form-3')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:04:37', 'Form 4', NULL, NULL, '2012-12-22 16:04:37', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:04:37', 'Test', NULL, NULL, '2012-12-22 16:04:37', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:04:37', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:04:37')
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 16:04:37', 'email', 4, '2012-12-22 16:04:37', 'test@spudcms.net')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:04:37', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:04:37')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 5 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.4ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.0ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (1.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 'abadef47a46e61113d76847cbc6332bcc751c126c18236cb871c06fdc3d6be65aa38503dadc529596813bf3ec2eab54e123658a0d7bccb349c658b8855122374' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1Y9EKguVTp1spGLAU18' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:06:09', 'a5a38b49f6c87ece659f211e9c57eaaa81d4b98310428735407e5d0f37811a44499f56c0e01e93046601f9b5bef8ed8e2aa78688a9ad0d4d1199a61b953b8fad', '2012-12-22 16:06:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:06:09', 'testuser', 1, 'QbydDzWnmltIHh1RMcgx', 'eUFLlwgXseUKvY43Lfo0', 'abadef47a46e61113d76847cbc6332bcc751c126c18236cb871c06fdc3d6be65aa38503dadc529596813bf3ec2eab54e123658a0d7bccb349c658b8855122374', '1Y9EKguVTp1spGLAU18', 1, NULL, '2012-12-22 16:06:09')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:53:43', NULL, NULL, '0', 'email', NULL, NULL, 1, 2, '2013-06-27 12:53:43')[0m
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:06:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ydNr0S5sI5Di7jIXNZB', `updated_at` = '2012-12-22 16:06:09' WHERE `spud_users`.`id` = 1[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by ContactsController#inquire as HTML
- Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
-Redirected to http://test.host/
-Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
- [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:06:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:06:09')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:06:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:06:09')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/spud/admin/inquiries/index.html.erb within layouts/spud/admin/detail (1.6ms)
+Completed 200 OK in 44ms (Views: 38.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9287d10b608952f766ee6ceb6633bfa807a407b0042690c63b53e2665b7ee63a5d0752596367d24566c45bd52ae924d79e78f96cfb9aada0c91aced399e1812d' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zfyK0yOSguXKm1XpjE24' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:06:09', 'e76907a10fea426a48d2eaf9154362c795736a28ff581b357f8c2f8f350a047a0df851336a4ff862e6b5f955b377fafba16c8562d9cd5c603ac9c38f585dd6da', '2012-12-22 16:06:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:06:09', 'testuser', 1, 'kYnf5E222Lwmk0oOtaIa', 'QZfohd9Mz4sRkXdYTPD', '9287d10b608952f766ee6ceb6633bfa807a407b0042690c63b53e2665b7ee63a5d0752596367d24566c45bd52ae924d79e78f96cfb9aada0c91aced399e1812d', 'zfyK0yOSguXKm1XpjE24', 1, NULL, '2012-12-22 16:06:09')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:06:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'lwxGRMy72lPoVro4VZVf', `updated_at` = '2012-12-22 16:06:09' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:06:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:06:09')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 19ms (Views: 1.9ms | ActiveRecord: 2.3ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1
- [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:43', 'Form 3', NULL, NULL, NULL, '2013-06-27 12:53:43', 'form-3')
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:06:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:06:09')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:06:09', 'Form 1', NULL, NULL, '2012-12-22 16:06:09', 'form-1')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:06:09', 'Form 2', NULL, NULL, '2012-12-22 16:06:09', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:53:43', NULL, NULL, '0', 'email', NULL, NULL, 1, 3, '2013-06-27 12:53:43')[0m
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:06:09', 'Form 3', NULL, NULL, '2012-12-22 16:06:09', 'form-3')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by ContactsController#inquire as HTML
-Redirected to http://test.host/
-Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:06:09', 'Form 4', NULL, NULL, '2012-12-22 16:06:09', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:06:09', 'Test', NULL, NULL, '2012-12-22 16:06:09', 'test')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.3ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:06:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:06:09')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 16:06:09', 'email', 5, '2012-12-22 16:06:09', 'test@spudcms.net')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.4ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 5 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:06:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:06:09')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 6 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.0ms)[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 (1.0ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (1.1ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.4ms)[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.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (1.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '30eb16ae82ed74e05a6548f4f76fd1d892461032673c16294cd5a319c54284eeb6982a322adb509729d89630c85ff04f83578c94a5b4cc84aab51617c33edc09' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Kr62RwpX5GmlxcW0qgLL' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:07:09', '447415a3283952abc6654a6588fd28dc1303866b8f17c27cbd634d68e8511844f695e4031b0370cdc0664017fbe8dfdab1900d3aa9952190fa3e6e79fac1577b', '2012-12-22 16:07:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:07:09', 'testuser', 1, 'Am4gGgHxBwGkdUeZvU5', 'Ef94NH6AVsGDT4A17ff', '30eb16ae82ed74e05a6548f4f76fd1d892461032673c16294cd5a319c54284eeb6982a322adb509729d89630c85ff04f83578c94a5b4cc84aab51617c33edc09', 'Kr62RwpX5GmlxcW0qgLL', 1, NULL, '2012-12-22 16:07:09')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:07:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'PVyg0adoI3lHQbBSqerA', `updated_at` = '2012-12-22 16:07:09' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:07:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:07:09')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:07:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:07:09')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/spud/admin/inquiries/index.html.erb within layouts/spud/admin/detail (1.7ms)
+Completed 200 OK in 48ms (Views: 42.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '599b171ff2cb31a8f497b372987e1af94d2628c77429319e0ef7c2bbac28f12d8363fdd66f34be1a2f90cf04f97786f74efeb38a318db1ce42bdcd9e1ffd2bf8' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OhLKtvgyHkTAv58YPsbZ' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:07:09', '095304887a4a11ed07f9a3c2526f943d6a714df996d2a09532f7268daf515fb2e9e6adfbbb4059ceb4789b3d6b16811eb66b833003e81ac734fdc1377a531a63', '2012-12-22 16:07:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:07:09', 'testuser', 1, 'VmBuKkNzqmed1kSCK4cK', '14hx1QS8hd437rI0kRb', '599b171ff2cb31a8f497b372987e1af94d2628c77429319e0ef7c2bbac28f12d8363fdd66f34be1a2f90cf04f97786f74efeb38a318db1ce42bdcd9e1ffd2bf8', 'OhLKtvgyHkTAv58YPsbZ', 1, NULL, '2012-12-22 16:07:09')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:07:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'aptjM6UCKPfKXszTuSym', `updated_at` = '2012-12-22 16:07:09' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:07:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:07:09')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.3ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 24ms (Views: 1.4ms | ActiveRecord: 2.6ms)
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.5ms)[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 'ce925ce817cc5655f58e0d2b64e9030a100deb390a0e08a1d35e49bb3af3e15faaa1cfc3a9751c88b11d6cfe8646366618066bcb5b04f7d08be652ef4d326a12' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'faDLcN7DtMbEJ6S5ads4' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:07:09', 'ea98e9b3bfb5636a32ca6df56fa189da4e07cff871afe28894c30b823602087be8c11a09fcb62a779041cd2374b5600bd6c4d47628b22da2799154abf5d42a16', '2012-12-22 16:07:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:07:09', 'testuser', 1, 'mxhs7H756rjnMOPkZcy', 'Y0UeKmtJ49SIIFlv5Kp', 'ce925ce817cc5655f58e0d2b64e9030a100deb390a0e08a1d35e49bb3af3e15faaa1cfc3a9751c88b11d6cfe8646366618066bcb5b04f7d08be652ef4d326a12', 'faDLcN7DtMbEJ6S5ads4', 1, NULL, '2012-12-22 16:07:09')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:07:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'U4lKrV5TTPat3hka4D0q', `updated_at` = '2012-12-22 16:07:09' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.4ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:07:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:07:09')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:07:09', 'Form 1', NULL, NULL, '2012-12-22 16:07:09', 'form-1')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.5ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:07:09', 'Form 2', NULL, NULL, '2012-12-22 16:07:09', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.5ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:07:09', 'Form 3', NULL, NULL, '2012-12-22 16:07:09', 'form-3')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
[1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:43', 'Form 4', NULL, NULL, NULL, '2013-06-27 12:53:43', 'form-4')
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:07:09', 'Form 4', NULL, NULL, '2012-12-22 16:07:09', 'form-4')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:07:09', 'Test', NULL, NULL, '2012-12-22 16:07:09', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:07:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:07:09')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:53:43', NULL, NULL, '0', 'email', NULL, NULL, 1, 4, '2013-06-27 12:53:43')[0m
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 16:07:09', 'email', 5, '2012-12-22 16:07:09', 'test@spudcms.net')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by ContactsController#inquire as HTML
- Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
- [1m[36mSpudInquiryForm Load (0.4ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
-Redirected to http://test.host/
-Completed 302 Found in 1ms (ActiveRecord: 0.4ms)
+ [1m[36mSpudInquiryField Load (0.5ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 5 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
[1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:07:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:07:09')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 6 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[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.4ms)[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 (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (1.5ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ad4da2106baa2e88cf36290ba8a501bc035293ab8e68934a1db3db5026a32ddf31126d78042a9acb864523c7ddd428feeb6048f8136122cb822198225de8a4fa' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LcS48vzReX65S66RFj9a' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:07:51', '35b8646ee05b3f20f06fee896f5741e487d1c36eb3d088723b9f4a4677d1807266658849fa90d9b6f86ba2f827f598ab0e45ea1f55416c9b245493d3a7f97b27', '2012-12-22 16:07:51', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:07:51', 'testuser', 1, 'obElvN2nmryo5k5bza', 'OjawqbAbvMSnTguahiL', 'ad4da2106baa2e88cf36290ba8a501bc035293ab8e68934a1db3db5026a32ddf31126d78042a9acb864523c7ddd428feeb6048f8136122cb822198225de8a4fa', 'LcS48vzReX65S66RFj9a', 1, NULL, '2012-12-22 16:07:51')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:07:51', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mhnJtk7em75gTiEwSvpT', `updated_at` = '2012-12-22 16:07:51' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:07:51', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:07:51')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:07:51', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:07:51')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/spud/admin/inquiries/index.html.erb within layouts/spud/admin/detail (1.6ms)
+Completed 200 OK in 43ms (Views: 37.8ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8d4115f8437d3732c7cd184b096854e4d5ba6a23f787e344d895fbc40c5a6ff69ac90777dad006d56909538bec1440fd51ab11cc7418ee667601262e7506aef0' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Wvf5TeD5e5EtlfnOVeRC' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:07:51', '8b62cba142534785319390a75b01bcab5b67c93df8bbf3452ba412bf855a3885ab9675f6afbf73a512d3f956d400b34050ccc625a58b0a85692b075ebaa3e854', '2012-12-22 16:07:51', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:07:51', 'testuser', 1, 's9Hf0Qkpq7aG6wzPQLqK', 'CnqSTiYsrKhGnYv4UsLj', '8d4115f8437d3732c7cd184b096854e4d5ba6a23f787e344d895fbc40c5a6ff69ac90777dad006d56909538bec1440fd51ab11cc7418ee667601262e7506aef0', 'Wvf5TeD5e5EtlfnOVeRC', 1, NULL, '2012-12-22 16:07:51')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:07:51', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rnaNmK1Flz9Amydt60rH', `updated_at` = '2012-12-22 16:07:51' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:07:51', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:07:51')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 19ms (Views: 1.8ms | ActiveRecord: 1.9ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '443eb39c801f2903f3648cc97aa68dd3177aeeb0b898c960b32c75a39deed60594ac6b4ce06d655892727aefc661c95f7b0c142c83b65c6c0b329f867b7c3d4a' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'r0CAbHdxXKVVlCYoSPG' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:07:51', 'c61a2acc93ba5e9d5cc7572f1c2f3237aec5614d97101570bbf1e6fbe346b9b207654f7f2f9bd35c9518a4c0fc36ff4f4757babc572d0d3af075264bca59e03b', '2012-12-22 16:07:51', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:07:51', 'testuser', 1, 'IBOpTGrjZQ0Tk164OTqL', 'x6KCw4EpEIIjJqBrxFE', '443eb39c801f2903f3648cc97aa68dd3177aeeb0b898c960b32c75a39deed60594ac6b4ce06d655892727aefc661c95f7b0c142c83b65c6c0b329f867b7c3d4a', 'r0CAbHdxXKVVlCYoSPG', 1, NULL, '2012-12-22 16:07:51')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:07:51', `last_login_ip` = '0.0.0.0', `perishable_token` = 'UXt485NLKcHbdYrCmCc', `updated_at` = '2012-12-22 16:07:51' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.6ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:07:51', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:07:51')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.4ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:07:51', 'Form 1', NULL, NULL, '2012-12-22 16:07:51', 'form-1')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:07:51', 'Form 2', NULL, NULL, '2012-12-22 16:07:51', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:07:51', 'Form 3', NULL, NULL, '2012-12-22 16:07:51', 'form-3')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:07:52', 'Form 4', NULL, NULL, '2012-12-22 16:07:52', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:07:52', 'Test', NULL, NULL, '2012-12-22 16:07:52', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:07:52', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:07:52')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:43', 'Form 5', NULL, NULL, NULL, '2013-06-27 12:53:43', 'form-5')[0m
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 16:07:52', 'email', 5, '2012-12-22 16:07:52', 'test@spudcms.net')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 5 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:07:52', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:07:52')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 6 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.4ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.5ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (1.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 '7e54232296a67d9c7c0ff46c2eb02ce9cd4b24a5a2233ad92a1bb24bb7f5ba5546d733f66a2e9b7bf3fed3889909b69b423cc3b63418cf8642abac811ac30795' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'X7QWLpWcIwVmcYSF19' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:10:24', 'd4d83ca3da3b5824609425f37c6e21d531faaa4066d2685fbccd0d2ecc74a27e7c691054ff1498739fb6fdeaebab6e05ae5e167f52449b18fc6cffcc3ce810c5', '2012-12-22 16:10:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:10:24', 'testuser', 1, 'VkFGk2H5S1LPXCjEUOy', 'tcmzMYvaSG6AmTv9tN7w', '7e54232296a67d9c7c0ff46c2eb02ce9cd4b24a5a2233ad92a1bb24bb7f5ba5546d733f66a2e9b7bf3fed3889909b69b423cc3b63418cf8642abac811ac30795', 'X7QWLpWcIwVmcYSF19', 1, NULL, '2012-12-22 16:10:24')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:10:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Ndt3rYXQ5UJuk3wKgtA', `updated_at` = '2012-12-22 16:10:24' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:10:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:10:24')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:10:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:10:24')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/spud/admin/inquiries/index.html.erb within layouts/spud/admin/detail (1.5ms)
+Completed 200 OK in 45ms (Views: 39.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:53:43', NULL, NULL, '0', 'email', NULL, NULL, 1, 5, '2013-06-27 12:53:43')
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9e3569f91de50f618f00d1612655cfbeb9468e5d8371d3870a9f3016fec91986b0741b72ab92b974ee5e385749e1ea00d6bd591f472e407bddafd26313139d1d' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OdO5nkzx5OVvQtaj4iI' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:10:24', '628e23a310ae8a1f5fecefa51faef9d19994b495f036f5f2976f5120343c26cd0d2816f3ad4abd09ef0d105a98196c2a7d52ff7365263dfb07c14c13c0ccbbd0', '2012-12-22 16:10:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:10:24', 'testuser', 1, 'nBpRS8rRbe3sCV8j4E', 'l7eVtCxxZAtKOcwlMvLm', '9e3569f91de50f618f00d1612655cfbeb9468e5d8371d3870a9f3016fec91986b0741b72ab92b974ee5e385749e1ea00d6bd591f472e407bddafd26313139d1d', 'OdO5nkzx5OVvQtaj4iI', 1, NULL, '2012-12-22 16:10:24')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:10:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'McojpuzsCMdjzdCewNJ', `updated_at` = '2012-12-22 16:10:24' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:10:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:10:24')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by ContactsController#inquire as HTML
- Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
- [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 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` = 5 ORDER BY field_order ASC, field_order[0m
-Completed 200 OK in 41ms (Views: 0.8ms | ActiveRecord: 1.6ms)
- [1m[35m (0.5ms)[0m ROLLBACK
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 18ms (Views: 1.3ms | ActiveRecord: 2.1ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '123e4d268c8704b8fada27a9f9f1836e1938bc269a3cc684ce188cb29b4c72467154d2be2c03c6deb1ca914e3ab28da3516dd72b1904841d25a1990972811603' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yW1XXwOKMZGuQC78zE8P' LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:10:24', '620bdf9c010bc0fac74f84cfc32ee43e5fc0cd3fbbc819d7948abc97e75012f70486738f9a727d0eb8e19b8514b26a7ebd6ee54938da30210c649910770df8c0', '2012-12-22 16:10:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:10:24', 'testuser', 1, 'IzqEzGQ2jQgq1IF5ZZx', '7Pl4fI4ZRXtKgLTqUPg1', '123e4d268c8704b8fada27a9f9f1836e1938bc269a3cc684ce188cb29b4c72467154d2be2c03c6deb1ca914e3ab28da3516dd72b1904841d25a1990972811603', 'yW1XXwOKMZGuQC78zE8P', 1, NULL, '2012-12-22 16:10:24')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:10:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gcBnAkjyqtSI96mcAUS', `updated_at` = '2012-12-22 16:10:24' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.5ms)
+ [1m[36m (1.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'b7b374b4a39c877d9630176fab65457c607d86c4ff4ab03a7343467e0517332a74498c7e10bdb2e063eced9b2d5ea2c50a36e4a80b229cd4d4f366c7abd4f3de' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zNiyQAqTuB3AfqpNiLG' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:10:24', '37745c7d6a28a24e9889c25364d81b7f786efb601ea0dafc611ad4d1441d85d4505cb3845709a9f553376b8b24d80f5311f859786af36593a0da72a0892a0082', '2012-12-22 16:10:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:10:24', 'testuser', 1, 'w2Vt3hbItXESDkdqo6lt', 'qIJkkFdgsnfubpOQm5', 'b7b374b4a39c877d9630176fab65457c607d86c4ff4ab03a7343467e0517332a74498c7e10bdb2e063eced9b2d5ea2c50a36e4a80b229cd4d4f366c7abd4f3de', 'zNiyQAqTuB3AfqpNiLG', 1, NULL, '2012-12-22 16:10:24')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:10:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'LkhWcx9V5QgzEpmajN', `updated_at` = '2012-12-22 16:10:24' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:10:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:10:24')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.4ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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.9ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
-Processing by ContactsController#thankyou as HTML
-Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '23cc664e82c4549d008323d6404539552308ae082917f5a22d4eb41c50d0e04ae3ef5ee2903fc72c629281dd95e83f15afa92104dc52e8326cfa1f3a4cdd8702' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'auusc5HHaaIoNuSbGTk' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:10:24', '7aee5ac0887a80c108d3e501c4260eec2b55173766046bc542535274b6ff055a5015425df9d4cf867bdef5f146c32ac592d7d4db27451b07f43e72c43ad174b1', '2012-12-22 16:10:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:10:24', 'testuser', 1, 'xtqkLo75Z2Dw5efZs9Sk', 'ozYeNLd81cTx7sBrs', '23cc664e82c4549d008323d6404539552308ae082917f5a22d4eb41c50d0e04ae3ef5ee2903fc72c629281dd95e83f15afa92104dc52e8326cfa1f3a4cdd8702', 'auusc5HHaaIoNuSbGTk', 1, NULL, '2012-12-22 16:10:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:10:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kTUHU3alni2oi0ExsRY', `updated_at` = '2012-12-22 16:10:24' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:10:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:10:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:10:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:10:24')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.4ms)[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.3ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:10:24', 'Form 1', NULL, NULL, '2012-12-22 16:10:24', 'form-1')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:10:24', 'Form 2', NULL, NULL, '2012-12-22 16:10:24', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:10:24', 'Form 3', NULL, NULL, '2012-12-22 16:10:24', 'form-3')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:10:24', 'Form 4', NULL, NULL, '2012-12-22 16:10:24', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[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.3ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:10:24', 'Test', NULL, NULL, '2012-12-22 16:10:24', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:10:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:10:24')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 16:10:24', 'email', 7, '2012-12-22 16:10:24', 'test@spudcms.net')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:10:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:10:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.4ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (1.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 '3e0449664cee3b0ac7ec9d5ff28d2cfb6fb3a0987c4e6ac8d8add56a8e9b4f65f6fefa9e9d07c502e50c7abafec518a69e93e20c74939074e60fded32e4856af' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iiqrFbe2EBDWqTib5vd' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:12:33', '729a248661ab54969d426e9a16dcd7146c36c43eaa281ea96325cdf30e2fc1729fa94e0643acf2ee1108d3998126804532ce3c5dd2444829832ce5d6ee041bdf', '2012-12-22 16:12:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:12:33', 'testuser', 1, '2sXYUSUuWTCSXIpSNRF', 'MAB7I2XJLJXItSZfwzXi', '3e0449664cee3b0ac7ec9d5ff28d2cfb6fb3a0987c4e6ac8d8add56a8e9b4f65f6fefa9e9d07c502e50c7abafec518a69e93e20c74939074e60fded32e4856af', 'iiqrFbe2EBDWqTib5vd', 1, NULL, '2012-12-22 16:12:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:12:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Wjjny1uqiBT3pfdyGxhR', `updated_at` = '2012-12-22 16:12:33' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:12:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:12:33')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:12:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:12:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/spud/admin/inquiries/index.html.erb within layouts/spud/admin/detail (1.5ms)
+Completed 200 OK in 42ms (Views: 36.9ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c7c8c2132120023537afc0566eb36e5cb2428a05530d0410d0924f9c83837b4d50d2c47d8ada52c2c1aca5001b5422e863211d9c2cf6e290026b228b04579c56' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YtvSH0ORlmfN1hoMpZk' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:12:33', 'a74740050afc51d1f8bb529b59764ca5aa2426a5fa135e982e07e9b210b054951268a1cd53e6631cb8db7ddde378a6f23cdee83f12ecda1a2ac82dd36b93f087', '2012-12-22 16:12:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:12:33', 'testuser', 1, 'Vi6Mc1x2pbwhZyegjaL1', 'hWmqvspWHXZMtjpuOHV1', 'c7c8c2132120023537afc0566eb36e5cb2428a05530d0410d0924f9c83837b4d50d2c47d8ada52c2c1aca5001b5422e863211d9c2cf6e290026b228b04579c56', 'YtvSH0ORlmfN1hoMpZk', 1, NULL, '2012-12-22 16:12:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:12:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'OYIxPtDIa3q0LtPlm3QM', `updated_at` = '2012-12-22 16:12:33' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:12:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:12:33')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 19ms (Views: 1.2ms | ActiveRecord: 2.2ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6ba18deb2d9fe7628b98d85d858b318e4aaa59de3acba8d4485ce140681886b2b1bfcb01a5ce9ada62ba10ecd87095309c4e211e8802356d35c877b9a4edf3d6' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Qs6O9FJP1JgMxQZ4bi' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:12:33', '1946158e225cead3cf831da2b31c668ad9f4e577b8403291620fd1da87c1af2908f6ad684e6c66fc8b9dc126db393977b00b42216189f498d87c572e5288f4dc', '2012-12-22 16:12:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:12:33', 'testuser', 1, 'QNrc0XUNlZLxnnrDrKC', 'aNzLjwrGt8EIkH0c6a', '6ba18deb2d9fe7628b98d85d858b318e4aaa59de3acba8d4485ce140681886b2b1bfcb01a5ce9ada62ba10ecd87095309c4e211e8802356d35c877b9a4edf3d6', 'Qs6O9FJP1JgMxQZ4bi', 1, NULL, '2012-12-22 16:12:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:12:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'xo7M1qHrhJ64Ovu4STwy', `updated_at` = '2012-12-22 16:12:33' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.5ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd1a333f9fd98986b22ca97e3640f31c319a15da1df4fb348f5d813c8fb995b2fc3620affbfc7ad7b3b8a223d7f1afbfc9fa7d3c48dbc139ad6213e1634581e6a' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cJRqcmUA9FiKYPYx05x' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:12:33', '2298b16bf65bd4a9d6c180a724ec80d779fe4064d2e1d714f21258164a05649fadb7f1c24ba953a7f97f699a42b92c5ff96658a4a50b03f4a7c513b9d09d84eb', '2012-12-22 16:12:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:12:33', 'testuser', 1, 'LRUDBPwEeP7TwSwwiui', 'xWV0ao5RBvnQny3mIYfk', 'd1a333f9fd98986b22ca97e3640f31c319a15da1df4fb348f5d813c8fb995b2fc3620affbfc7ad7b3b8a223d7f1afbfc9fa7d3c48dbc139ad6213e1634581e6a', 'cJRqcmUA9FiKYPYx05x', 1, NULL, '2012-12-22 16:12:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:12:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rBOMIyh8yTjSjy9nJut', `updated_at` = '2012-12-22 16:12:33' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:12:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:12:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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 (1.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.1ms)[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 '9d1a3598ed3d36b20f8f7ead9f258821a8c66170a42667d95a666652858d49a3265cd48a1ce069d74dfa62861eef2b6aabd091c590ff9e54db840af0b9a54bfb' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Eze0EteJP8T1s4cD8SK2' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '326ae1152dd79003a6bb698c9ba1662ecc8d6870df2b4d9b28ac913c33af10f6efd6adceb9c9a2716e531d778481006f6fbf35700b2cf13973d32d0a8c76a0ef', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'tsjml6xWwrxLhkxvbHCE', 'Rws1I7eRINKyZmzdw8', '9d1a3598ed3d36b20f8f7ead9f258821a8c66170a42667d95a666652858d49a3265cd48a1ce069d74dfa62861eef2b6aabd091c590ff9e54db840af0b9a54bfb', 'Eze0EteJP8T1s4cD8SK2', 1, NULL, '2013-06-27 12:53:44')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '37922e4633d91eae5893ef8cc5364ff8b0627e0b321fe81b928d1e67baa65a39456927f4723753cb6208aa7f13688ee074ef697fa6129fae2dcad6047e25c46a' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'JZl90egoLciV8keHoTMF' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:12:33', '2a8e45d354ac4c86f9d00cd7c3a3091235de8505eb9b9515d0965f08a9566d102642c1b17b506a2d78afe694ba55231bf407904423570aeb66013ba55798da6f', '2012-12-22 16:12:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:12:33', 'testuser', 1, 'Kbit1gEy6fPZWvzWwJC', 'nA80fWdtdJ3jWo49WAM2', '37922e4633d91eae5893ef8cc5364ff8b0627e0b321fe81b928d1e67baa65a39456927f4723753cb6208aa7f13688ee074ef697fa6129fae2dcad6047e25c46a', 'JZl90egoLciV8keHoTMF', 1, NULL, '2012-12-22 16:12:33')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:12:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'N44re3X8a9yn8mBYc2G', `updated_at` = '2012-12-22 16:12:33' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:12:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:12:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '798975cbb0b50b739de568568129bc41bb3ed9d2499ccbfc5b72f7c7626839a2a2f6465b5cc975b6f2dc50e3119becf399b389988d2d188137ea6fd2f76dde84' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mbV6bWBWGHqJ93sKV7' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:12:33', 'ce8c7a29c3e0f7c97c4fcd678a8a7edab6730d9bfba6ecd767f8c90a1356515f7d59d7bff013190ad5b10e73256812a83efcaffb876b0a10c60954d412fb7c5c', '2012-12-22 16:12:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:12:33', 'testuser', 1, 'APAi0mxTboKD7fWN7Ifh', 'u86Ut8ihgbQYFJ9n8U0r', '798975cbb0b50b739de568568129bc41bb3ed9d2499ccbfc5b72f7c7626839a2a2f6465b5cc975b6f2dc50e3119becf399b389988d2d188137ea6fd2f76dde84', 'mbV6bWBWGHqJ93sKV7', 1, NULL, '2012-12-22 16:12:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:12:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'yT6gIAlL75XnWLNHc', `updated_at` = '2012-12-22 16:12:33' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:12:33', 'Form 1', NULL, NULL, '2012-12-22 16:12:33', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:12:33', 'Form 2', NULL, NULL, '2012-12-22 16:12:33', 'form-2')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VjG1hTXEq64hzeNY4PXa', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 1
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:12:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:12:33')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:12:33', 'Form 3', NULL, NULL, '2012-12-22 16:12:33', 'form-3')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:12:33', 'Form 4', NULL, NULL, '2012-12-22 16:12:33', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')[0m
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:12:33', 'Form 5', NULL, NULL, '2012-12-22 16:12:33', 'form-5')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:12:33', 'Form 6', NULL, NULL, '2012-12-22 16:12:33', 'form-6')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:12:33', 'Test', NULL, NULL, '2012-12-22 16:12:33', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:12:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:12:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 16:12:33', 'email', 7, '2012-12-22 16:12:33', 'test@spudcms.net')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:12:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:12:33')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.5ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.3ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.1ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (1.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 'c6d0ccbd49963d1002cd669adf07011578526e11dd25be89d0b13142059319c43e23155cbd1771dc27512c34dcce19f815d8ca3e5aea1430b2937067e8e290ea' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ybCc7QvAUmqFoC9Pwt' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:13:50', '32c07ef5a0fbf892907c32cb83d2905e406aaa587b90bc7ad8dd1fff4e3e097564aff43785f31a70933bcdc95c6e9044619436809cdf39077d46a5494072547e', '2012-12-22 16:13:50', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:13:50', 'testuser', 1, 'tLZ2jOQHvsJ0RXDjawbv', 'TkrJt1N2mj9PdtFPnp', 'c6d0ccbd49963d1002cd669adf07011578526e11dd25be89d0b13142059319c43e23155cbd1771dc27512c34dcce19f815d8ca3e5aea1430b2937067e8e290ea', 'ybCc7QvAUmqFoC9Pwt', 1, NULL, '2012-12-22 16:13:50')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:13:50', `last_login_ip` = '0.0.0.0', `perishable_token` = '0LzGcZZVb58GmC27YM', `updated_at` = '2012-12-22 16:13:50' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:13:50', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:13:50')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:13:50', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:13:50')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::InquiriesController#index as HTML
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
-Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 0.3ms)
+ [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/spud/admin/inquiries/index.html.erb within layouts/spud/admin/detail (1.5ms)
+Completed 200 OK in 42ms (Views: 36.7ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a2293f15b7a835c26d8237c68ce1d9bab5db0183ecc0fa4dad758575145e9e0d3df7cff4c89a5b6cfbb56c1ebde31154ebbee452d699e848d249bc8f188ab2f0' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'JEE0NoyQQ83naTV5NIuW' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:13:50', '84c178a431ef76ee2f4e48ccabdc90a0f830782a12a92e5cbcef551756e99c8325bdc1e654bd2cc6bdc35a9de1dae3d60e3e443ef800f0584db97f8b13c9aee8', '2012-12-22 16:13:50', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:13:50', 'testuser', 1, '39V3gu0wwGPMalIW7Tie', 'aixWz6ViglgmZhnVjx', 'a2293f15b7a835c26d8237c68ce1d9bab5db0183ecc0fa4dad758575145e9e0d3df7cff4c89a5b6cfbb56c1ebde31154ebbee452d699e848d249bc8f188ab2f0', 'JEE0NoyQQ83naTV5NIuW', 1, NULL, '2012-12-22 16:13:50')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:13:50', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EuKalkMxqvtMPoEiBbLK', `updated_at` = '2012-12-22 16:13:50' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:13:50', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:13:50')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.3ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 20ms (Views: 1.8ms | ActiveRecord: 2.4ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '3fd80b8d34afd07cd62ca7c3499ff7cbabf5a6624960eca365fd9dd21418b64f80ff322deaa5e18563f54423b289f4953807ad4bb14f7de0b1f270a988aa6be5' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cTNfYE0vrHqyr45vG3b' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:13:50', '276af33b944b43854180dd54a350e380692e3b2266044ae73feed2baff801ca76540dd1f72ce690cd80ee8687d4ebf51a77036cac9826bd3b7111beaf876e469', '2012-12-22 16:13:50', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:13:50', 'testuser', 1, 'PvZpvQNaVFwpLtt3xql2', 'HZxjW6NHPRQR1NXcrPE2', '3fd80b8d34afd07cd62ca7c3499ff7cbabf5a6624960eca365fd9dd21418b64f80ff322deaa5e18563f54423b289f4953807ad4bb14f7de0b1f270a988aa6be5', 'cTNfYE0vrHqyr45vG3b', 1, NULL, '2012-12-22 16:13:50')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:13:50', `last_login_ip` = '0.0.0.0', `perishable_token` = 'PFmhWWqlqjtIbefXsXb', `updated_at` = '2012-12-22 16:13:50' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'eae054a24eab3e66be15faebbcc8fa052e2853a1d2917e52347eec7f96b133902ff1ea9031cb5af030cfefa1f42ad80ab9b8abedac4d60a0e542611a122950b5' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hwmKLUG3UvGmSNpYSOX4' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:13:50', 'bf46aebe559aa7062bcec0ed12cf945812fb806c8a81444fa1ddff5fd5e04fc38f1f6210c3d259a08ab569093c7f2f8926b3c0096e853bb9574bd570e0e7467b', '2012-12-22 16:13:50', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:13:50', 'testuser', 1, '4A7NLKxgmdLPhCTTAOC', 'KSNUH3Fkb04lNm7e8gL', 'eae054a24eab3e66be15faebbcc8fa052e2853a1d2917e52347eec7f96b133902ff1ea9031cb5af030cfefa1f42ad80ab9b8abedac4d60a0e542611a122950b5', 'hwmKLUG3UvGmSNpYSOX4', 1, NULL, '2012-12-22 16:13:50')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:13:50', `last_login_ip` = '0.0.0.0', `perishable_token` = 'JULt0hIAtGZIrc0zCy4', `updated_at` = '2012-12-22 16:13:50' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:13:50', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:13:50')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
- [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[35m (1.0ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9e4d6e6db97dc5a0aa60ff7c42f9eaa9e04b299ae781aca66e1cdaefca448d8e372194030477d40ecc89eb513b98721d6cf518e3587ab8c0dfafa12ec31da1d0' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'aSfnPL45HJkMU743w6r8' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:13:50', '6cb1ec5034ce5bec86ff7ad5de9f0027001f6b0bc1c1c2754659e046371cab266fa4a1ac8f2c11d0b737b88f19b9aa3e2bba76e163e7c0b051ea2ffc866f23a0', '2012-12-22 16:13:50', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:13:50', 'testuser', 1, 'kIUmhyrlaJm9bUmymtt', '343UefjIqbH5YbLU7pOD', '9e4d6e6db97dc5a0aa60ff7c42f9eaa9e04b299ae781aca66e1cdaefca448d8e372194030477d40ecc89eb513b98721d6cf518e3587ab8c0dfafa12ec31da1d0', 'aSfnPL45HJkMU743w6r8', 1, NULL, '2012-12-22 16:13:50')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:13:50', `last_login_ip` = '0.0.0.0', `perishable_token` = '5HEnfkz86FV5eAjIuc3g', `updated_at` = '2012-12-22 16:13:50' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:13:50', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:13:50')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 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.7ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f6ac28faa914fd13c85faee01ec737ef0f5672ce18403f5fa423f6a2f1ee7564c98dbe543a351af039e5406ff6dc4d5d1583da60712d6e0b3640c59c8e083ae2' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kPG4k7sHWLxNBakS10' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:13:50', 'f235c986257463d31e01fc587d1dce31a812915103e8bdfb572134185ecb3ee8283e4ec55a9a909e591ff3e532a386b12f43007f7e6f156368e0064f3c4b48f3', '2012-12-22 16:13:50', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:13:50', 'testuser', 1, 'dTtTWSTc504dYqxc8FKe', 'NpmatpsVoL5tIH7RD8Wo', 'f6ac28faa914fd13c85faee01ec737ef0f5672ce18403f5fa423f6a2f1ee7564c98dbe543a351af039e5406ff6dc4d5d1583da60712d6e0b3640c59c8e083ae2', 'kPG4k7sHWLxNBakS10', 1, NULL, '2012-12-22 16:13:50')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:13:50', `last_login_ip` = '0.0.0.0', `perishable_token` = 'WRflen15NlfJGtM0p85', `updated_at` = '2012-12-22 16:13:50' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:13:50', 'Form 1', NULL, NULL, '2012-12-22 16:13:50', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' 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-2' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:13:50', 'Form 2', NULL, NULL, '2012-12-22 16:13:50', 'form-2')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9afdd9ebb28c8fff0b130122e517852d31d115959bd1f0e9bf9bd690f7f1631d873a8811eef028c7f5fd37c521774c09cf825b98630857508cedbac197dbbf80' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eoTUNcXPKNXKPOYf' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:13:50', '82a06e801cec1bd4edaa20349b76e4a07a3ae89df7a5b23d6889337aeef0a5cde0a88ac85bbb4cff360272e0d95c148d3cd805328d513a16ae0a78673283b1e7', '2012-12-22 16:13:50', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:13:50', 'testuser', 1, 'z0WvBuYF35cNMo9bMXd3', 'rJUKdruCcHWp5WjXHU0', '9afdd9ebb28c8fff0b130122e517852d31d115959bd1f0e9bf9bd690f7f1631d873a8811eef028c7f5fd37c521774c09cf825b98630857508cedbac197dbbf80', 'eoTUNcXPKNXKPOYf', 1, NULL, '2012-12-22 16:13:50')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:13:50', `last_login_ip` = '0.0.0.0', `perishable_token` = '61GPvxgCa5ffEqRw', `updated_at` = '2012-12-22 16:13:50' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.3ms)
+ [1m[35m (1.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:13:50', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:13:50')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:13:50', 'Form 3', NULL, NULL, '2012-12-22 16:13:50', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:13:50', 'Form 4', NULL, NULL, '2012-12-22 16:13:50', 'form-4')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:13:50', 'Form 5', NULL, NULL, '2012-12-22 16:13:50', 'form-5')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:13:50', 'Form 6', NULL, NULL, '2012-12-22 16:13:50', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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.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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:13:50', 'Test', NULL, NULL, '2012-12-22 16:13:50', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:13:50', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:13:50')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 16:13:50', 'email', 7, '2012-12-22 16:13:50', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:13:50', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:13:50')
+ [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
+Connecting to database specified by database.yml
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.4ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (1.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 '3885db6542b9831ed4fba486dec5057ccc486fe517d3955bb122a3b3fe024cce5dcf2323c3d02226569ce5f9bf818e058508f8c5a33e54f010f2032f03045628' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gWYk9tNKQywdoxp5gbC' LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:26', '07507836ab42cd7b3805921a89fa0f1ac0ced0a9b331289564cb086347d223f6bb7d26c94413cea41a67022012cd9215f5e852554c635f34c9df0408be3dcede', '2012-12-22 16:18:26', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:26', 'testuser', 1, 'i8AkoTDME7dgeJUtwsnw', 'd25sMyIu6Eh6GiYpDG1R', '3885db6542b9831ed4fba486dec5057ccc486fe517d3955bb122a3b3fe024cce5dcf2323c3d02226569ce5f9bf818e058508f8c5a33e54f010f2032f03045628', 'gWYk9tNKQywdoxp5gbC', 1, NULL, '2012-12-22 16:18:26')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:26', `last_login_ip` = '0.0.0.0', `perishable_token` = 'sY9kVW1bFKtJvFnHcdYT', `updated_at` = '2012-12-22 16:18:26' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:26', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:26')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:26', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:26')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/spud/admin/inquiries/index.html.erb within layouts/spud/admin/detail (1.5ms)
+Completed 200 OK in 44ms (Views: 38.6ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '14b1bd42ff96109b7e923f94c258e25d48e1a8b6e652bbca3b25dfe08918bf17a9c1ffb32c5f19b7ffbc83025d14f991405ba22f98c64037eda396192da037d4' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HOjRIKseBa1B26UyqtbF' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:26', '9c32d9219661f227f6122fca5b7028f860a4d1e0628fcd657f355633d2318eff95cb4517a9d345762ae17bc9515f3b603a53b5c96ecd726ef9bbb0d420a1bfa3', '2012-12-22 16:18:26', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:26', 'testuser', 1, 'arca0DCeVDzjFPZC4ly', '85TZXAZDGeMYgbweVPeR', '14b1bd42ff96109b7e923f94c258e25d48e1a8b6e652bbca3b25dfe08918bf17a9c1ffb32c5f19b7ffbc83025d14f991405ba22f98c64037eda396192da037d4', 'HOjRIKseBa1B26UyqtbF', 1, NULL, '2012-12-22 16:18:26')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:26', `last_login_ip` = '0.0.0.0', `perishable_token` = 'xT7f7JNbH0a9AANOPXcO', `updated_at` = '2012-12-22 16:18:26' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:26', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:26')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 19ms (Views: 1.4ms | ActiveRecord: 2.0ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'e375e07f04c1de2e868afd00905baccf86c7fa31486b008c18ffce491c4a8589a513fb676293869d0bd10b48a816cb1d79050b5d793063df9b3a918e9cbf2cbc' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pFwDcuICQVGkqWUFK5Ys' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:26', '35667bed2f343923b367241260db058be10fea324fcc9ba4a4df9daefa3cf086277e52d4ea8751e23bbf6b10fbf3b1890784d96587aec25a6c662dbee3ae9fda', '2012-12-22 16:18:26', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:26', 'testuser', 1, 'GK8KNHyA1ZnSN4Peyhdg', '9xkzzufQcfi1p95wSNHv', 'e375e07f04c1de2e868afd00905baccf86c7fa31486b008c18ffce491c4a8589a513fb676293869d0bd10b48a816cb1d79050b5d793063df9b3a918e9cbf2cbc', 'pFwDcuICQVGkqWUFK5Ys', 1, NULL, '2012-12-22 16:18:26')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:26', `last_login_ip` = '0.0.0.0', `perishable_token` = '7eflYYdsdIQlmYeBvhZw', `updated_at` = '2012-12-22 16:18:26' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.4ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '782f43b804ce5867f87125b2914f2840bd311d205cc1684d826bd5f1f3a48bf51ce9673895ad109405222695dfc0783e59065878b4c7729dda93a0f7cf0901d2' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ibFfPRA0iTJTSEjze4gL' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:26', 'f8b0f28574d6e71bab59278db0fc27c404fd4a232f285ae64d3411d1f62674037f4eb8af82c0bc74dc3837cc05a8390a77c61026e273b46a2fc3aad43995d972', '2012-12-22 16:18:26', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:26', 'testuser', 1, 'icBI2n4RhhtrZahyzH', 'Ajoq4mkfv3x12GDL1VF', '782f43b804ce5867f87125b2914f2840bd311d205cc1684d826bd5f1f3a48bf51ce9673895ad109405222695dfc0783e59065878b4c7729dda93a0f7cf0901d2', 'ibFfPRA0iTJTSEjze4gL', 1, NULL, '2012-12-22 16:18:26')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:26', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gwgoam4HtRKFys2G2mi7', `updated_at` = '2012-12-22 16:18:26' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:26', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:26')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'beffc2123aa84eb043a83bacd495a96deb661fbff04e229c3b03195c595523b41871a6f9a33d503abeae352d21e8d74a792c45f0c5500255eb54bbc9a7a56919' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Txxp1pVdpzWJyEMKSR0' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:26', 'd25bc8137ee771c730b7c393eb486bbb3a63096a5278d1fd8ea807ef87d182a93052f2c605533bd723b203420f8928c76af2725800df8135d91f39760a408ca2', '2012-12-22 16:18:26', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:26', 'testuser', 1, 'qvwHpMFLdMYV2z5QS3', 'nvKv5pHe9lCkUdECBTBO', 'beffc2123aa84eb043a83bacd495a96deb661fbff04e229c3b03195c595523b41871a6f9a33d503abeae352d21e8d74a792c45f0c5500255eb54bbc9a7a56919', 'Txxp1pVdpzWJyEMKSR0', 1, NULL, '2012-12-22 16:18:26')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:26', `last_login_ip` = '0.0.0.0', `perishable_token` = 'd0izGygUolp4eiw1sCra', `updated_at` = '2012-12-22 16:18:26' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:26', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:26')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[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` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4d563370c44b02c7235f971d47a40113f7c4aa24fe8ebf4e78b4b9a189733161a30216db9c719afa30d63dd601a393b340f41bce5e25429c0c4b19d3aa3368ef' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kuTie05dQtAkHWMRDoMk' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:26', '98cb5a96e3aadd16023ca5099e4ddffb55f7bfefdde7b69327d0420815f84a6793f7961c8cdd2fe3162739854a8cbd95366b4439e01ea580202d6fdac784fefb', '2012-12-22 16:18:26', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:26', 'testuser', 1, 'NySm9K9rQqulLNQmx', 'IrkNl3H9sTHOYegeDm', '4d563370c44b02c7235f971d47a40113f7c4aa24fe8ebf4e78b4b9a189733161a30216db9c719afa30d63dd601a393b340f41bce5e25429c0c4b19d3aa3368ef', 'kuTie05dQtAkHWMRDoMk', 1, NULL, '2012-12-22 16:18:26')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:26', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kVp1ptvgcsJ1U0OQS', `updated_at` = '2012-12-22 16:18:26' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:26', 'Form 1', NULL, NULL, '2012-12-22 16:18:26', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' 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-2' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:26', 'Form 2', NULL, NULL, '2012-12-22 16:18:26', 'form-2')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '14521c25be3f0f9787f83093df781f8583378cc0f27797934e8385fc7b59f5dda3aa7c104181928af198151efa15797d68407ee14150f222b27b7ab8a7fd6e92' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '81D7VGoMqhPp2zVk6lX' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:26', 'a5f22dd8b6017e1402b940c8ea7ce2cd734d89cf9e6f357612ab0e5acdb504357af8a2110206be91172db0d11f74348ac95f71fb966928d652d35d028f92f712', '2012-12-22 16:18:26', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:26', 'testuser', 1, 'HARV1mZJcIVopphFu55b', 'zopfjCHrrAHs16cNvlZ', '14521c25be3f0f9787f83093df781f8583378cc0f27797934e8385fc7b59f5dda3aa7c104181928af198151efa15797d68407ee14150f222b27b7ab8a7fd6e92', '81D7VGoMqhPp2zVk6lX', 1, NULL, '2012-12-22 16:18:26')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:26', `last_login_ip` = '0.0.0.0', `perishable_token` = 'aCJxp30NgLBeohcB6VR', `updated_at` = '2012-12-22 16:18:26' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2b7d58a39f4766bd617b9fa169a4c4c46a62d343dae5d09229e766b9fe72e6b31700df4b990c9fd9432aa2d2827439750a328b31df33ae4a0955407f73a80d56' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'K8LXWxL7INEjXDUI48Xn' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '31192e381469bca8eafc3931945dc2cd0b6bf6d737b8e46fc1e55006c70d8467db23944fbf9c23e6c78fe2890e7a8ea79586721f2de9459109f56f643a90532a', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'g8aetp7YYEmfi5j3hH', 'BI3SV0pfBb0EqHJIWs8C', '2b7d58a39f4766bd617b9fa169a4c4c46a62d343dae5d09229e766b9fe72e6b31700df4b990c9fd9432aa2d2827439750a328b31df33ae4a0955407f73a80d56', 'K8LXWxL7INEjXDUI48Xn', 1, NULL, '2013-06-27 12:53:44')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4a0ad6cfa8be4a7940eab87e95715c799e01633965e8e9b2eba13505e419de7aafc87dfff38d56e8497fddc04b5f4a4961d3ecf4ac1b394d06eaf260934905c5' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FsmK4CymqpN5OTq6s5I' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:26', 'd3ca9cb763a852568e93812d0cdb266cf3699a599f616476d2a20d22d97b17f54de9667c538dc2a2d256450bb7d08ffa088175f77f2629fbfcce79d509e1a233', '2012-12-22 16:18:26', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:26', 'testuser', 1, 'Cb1FbwhboOGOtPAv4a5v', 'rNAivKn1RbxfNbfrR7k', '4a0ad6cfa8be4a7940eab87e95715c799e01633965e8e9b2eba13505e419de7aafc87dfff38d56e8497fddc04b5f4a4961d3ecf4ac1b394d06eaf260934905c5', 'FsmK4CymqpN5OTq6s5I', 1, NULL, '2012-12-22 16:18:26')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:26', `last_login_ip` = '0.0.0.0', `perishable_token` = '725ew9y8sn4OGb6AaBjr', `updated_at` = '2012-12-22 16:18:26' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 3"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:26', 'Form 3', NULL, NULL, '2012-12-22 16:18:26', 'form-3')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (1.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7552e24c8022176795db6952030433544e3fe88819f79f29aa1dec8050f4bc9e1f50822c78bfed775396751a429ed18e0b7bba5b0a7e3af3ed456ef72a8b24ad' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'GeG0M5b1nV353oKiJPz6' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:26', '84202d7d0c86cf718b3a19ee1a3edf30596627f60c0aa8bdc81999cbef4963f5154b69f89f7b10edfee8ca1b11db710e5d9b7a0bbb02712201832aa21d4755ed', '2012-12-22 16:18:26', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:26', 'testuser', 1, '2XkZIKKqCCGAU5A1sEu', 'aIcrRuilD8955wDjBMbd', '7552e24c8022176795db6952030433544e3fe88819f79f29aa1dec8050f4bc9e1f50822c78bfed775396751a429ed18e0b7bba5b0a7e3af3ed456ef72a8b24ad', 'GeG0M5b1nV353oKiJPz6', 1, NULL, '2012-12-22 16:18:26')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:26', `last_login_ip` = '0.0.0.0', `perishable_token` = 'yFTxgaUqJts0BNZgI8T', `updated_at` = '2012-12-22 16:18:26' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'eea9b5af090e0797df9ab746f6ce7b2423ed45541caaf063e3a4eba21d856b9685612093398629be83fcc4f3f00ee59314d25f8b510b319f27d6f544ca7b4802' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qfTZQQXHutGRcoOWhr' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:26', '6b8a7c6a384864877eba6cc7db856ca40f9940e50d3cc4c84e08e2e5db9043c0888f9c7ea30ca70ee254eb3e954b8455e7595c03b95e93d5424706d72bc22260', '2012-12-22 16:18:26', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:26', 'testuser', 1, 'laHScVDRHcFmvE3qFRe', '3e8pjf2x8GNWYueJMx2d', 'eea9b5af090e0797df9ab746f6ce7b2423ed45541caaf063e3a4eba21d856b9685612093398629be83fcc4f3f00ee59314d25f8b510b319f27d6f544ca7b4802', 'qfTZQQXHutGRcoOWhr', 1, NULL, '2012-12-22 16:18:26')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:26', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rSt8Ox5OLP7v6iikn8', `updated_at` = '2012-12-22 16:18:26' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:26', 'Form 4', NULL, NULL, '2012-12-22 16:18:26', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:26', 'Form 5', NULL, NULL, '2012-12-22 16:18:26', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.4ms)
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QleIySnXwuCBKr3q', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 2
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '43b9eefa30ebfa35daffbce4279a2e0cfbee73e3c00388f0a08e24addd263a274d91160280a2b119c1e286bdafe4d2d58452c6576fa556b39ddf5fb4749cf4f3' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'baUXEcZepxBS68K5R' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:26', '00b7fcc5204e4b7b69260f97a41a75626f5e76fc2d062e87281fe6be765d67713872d576e56923110dc950bdeee736fbcd7df17a9dc2f740d345182e51748a7f', '2012-12-22 16:18:26', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:26', 'testuser', 1, 'f5M0QiPBePbzAbZx4vbr', 'ROLcJ4yvoZtwLYyaGx', '43b9eefa30ebfa35daffbce4279a2e0cfbee73e3c00388f0a08e24addd263a274d91160280a2b119c1e286bdafe4d2d58452c6576fa556b39ddf5fb4749cf4f3', 'baUXEcZepxBS68K5R', 1, NULL, '2012-12-22 16:18:26')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')[0m
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:26', `last_login_ip` = '0.0.0.0', `perishable_token` = 'IWrpUq8IQH5u1XJAbpso', `updated_at` = '2012-12-22 16:18:26' WHERE `spud_users`.`id` = 11[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:26', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:26')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:26', 'Form 6', NULL, NULL, '2012-12-22 16:18:26', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:26', 'Form 7', NULL, NULL, '2012-12-22 16:18:26', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' 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-8' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:26', 'Form 8', NULL, NULL, '2012-12-22 16:18:26', 'form-8')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:26', 'Form 9', NULL, NULL, '2012-12-22 16:18:26', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.3ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:26', 'Test', NULL, NULL, '2012-12-22 16:18:26', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:26', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:26')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 16:18:26', 'email', 7, '2012-12-22 16:18:26', 'test@spudcms.net')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:26', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:26')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.2ms)[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.1ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.3ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (1.3ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.0ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (1.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'afe28820b0fd2780f568b5462bde4594680078a79f3e18835eb24643518750528436fbbf5eec7f4fc2771831698734039efa02308138d82a8f5536b28af9a557' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'efLq1flFQHBt6LUbLcIC' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:57', '7289f9399993a6f17e0d36a6203a1a6c872fbffe30cf582ab73b98c239b4795b015c8bb65fe4df6b8d2570c8e0eff6643229aa533003db0ef568e2a46f8003cc', '2012-12-22 16:18:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:57', 'testuser', 1, 'L0hAkqe0P5gcSZZGA2', 'FB1xeMnkqZ1J9VLb7TZD', 'afe28820b0fd2780f568b5462bde4594680078a79f3e18835eb24643518750528436fbbf5eec7f4fc2771831698734039efa02308138d82a8f5536b28af9a557', 'efLq1flFQHBt6LUbLcIC', 1, NULL, '2012-12-22 16:18:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'UaXtL3MA1XBtHkuFZpm', `updated_at` = '2012-12-22 16:18:57' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/spud/admin/inquiries/index.html.erb within layouts/spud/admin/detail (1.5ms)
+Completed 200 OK in 42ms (Views: 36.6ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '461af9960f38db85a816b0a7ee95b1c0d4785340c36102db966a33b845a5cfcb7c4de5e23fadf892e7f75d97acde750c9da275c5d508ff9b8a95e8c61cfeac04' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VJ9s9vEFoUxLh4CxytxL' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:57', 'eee7d6a128bcb7030b944a0c284e2d372a442541463de21c7ecb1365b03426bd7e9be7ae170d0b8524d82443a52d30d894bb8d74fc04d6999b7b904d52013aae', '2012-12-22 16:18:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:57', 'testuser', 1, 's6ZWMZIKTyqVttmTpgK', 'IbqnztBTcYQzBPCo5D', '461af9960f38db85a816b0a7ee95b1c0d4785340c36102db966a33b845a5cfcb7c4de5e23fadf892e7f75d97acde750c9da275c5d508ff9b8a95e8c61cfeac04', 'VJ9s9vEFoUxLh4CxytxL', 1, NULL, '2012-12-22 16:18:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'XFKnnwRqRGr2xEPBZ9gD', `updated_at` = '2012-12-22 16:18:57' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
Processing by Spud::Admin::InquiriesController#show as HTML
Parameters: {"id"=>"3"}
- [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
- [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
- [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
-Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.7ms)
- [1m[35m (0.9ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 18ms (Views: 1.3ms | ActiveRecord: 2.1ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'fc4674eef0ccb33d53aebc9411a2e31da3302640a4313f458c746cea62b0091b091862ba4cff2b2cfb0c55fa2cd28c69317dc9b90161d3324e09165f205cf907' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YKlZ0eIScS9UvsTGM6z' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:57', 'd3a2b2b3ac140612a06e40fcfa5760423f2e97499e6f9400a94fbeb5ccba8d280cb9f100a1d9043b18e33c6eedc1f7c0883d4f0c9d8b08cd94a92cb41aaa3ab6', '2012-12-22 16:18:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:57', 'testuser', 1, 'KnKIu325LokbrMCRcH3', 'Zbeegkl4Fp0c0TLtTKJ', 'fc4674eef0ccb33d53aebc9411a2e31da3302640a4313f458c746cea62b0091b091862ba4cff2b2cfb0c55fa2cd28c69317dc9b90161d3324e09165f205cf907', 'YKlZ0eIScS9UvsTGM6z', 1, NULL, '2012-12-22 16:18:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:57', `last_login_ip` = '0.0.0.0', `perishable_token` = '13Ai3Go8JP6pGvtytWMf', `updated_at` = '2012-12-22 16:18:57' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9a9adf0fd4cdae6007d9e63babe59bf9c53a2d1078ac0fa93784c323db850c493d8e59b42e6af7f6bfff5a83dec51ba6b0fa1350a71fafdcb30adbafbd35a603' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8LWaNf0UvdJuOr3GgK0M' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:57', 'efcdba3878d7a7a04b5afdd73065d5451aa0ee328b5af64ccdcb806657771862af45efde211edf0601e025738d3a687ecc870e3746e80a6954ffcd4396098d19', '2012-12-22 16:18:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:57', 'testuser', 1, 'uUujjFyQy2ztHdZHpld', 'QHRYbHKzZVLyu1NsEHP', '9a9adf0fd4cdae6007d9e63babe59bf9c53a2d1078ac0fa93784c323db850c493d8e59b42e6af7f6bfff5a83dec51ba6b0fa1350a71fafdcb30adbafbd35a603', '8LWaNf0UvdJuOr3GgK0M', 1, NULL, '2012-12-22 16:18:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'eT3188l2jsrSBmKypF', `updated_at` = '2012-12-22 16:18:57' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:57')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[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 '50189992d570b0c63621b15ff64fa72de67e6185ea17415b88c1f805ff34451693fadd0a7f379d3dd9d0908dee889963bfd0e11ed65869e77d9f71632a039e7b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0GLUsVZYiNIBRlgfhEB0' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:57', '67f54e17a6143fa373ff9d9803b121a491cd7e49ad9edf2a81969a2a313627fe3a5d56e735eb022bcea8dad3ba84482959056c939c882c4da8c86aa8ea15bd32', '2012-12-22 16:18:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:57', 'testuser', 1, 'Qf1qpIP9RvglJsLTmcGX', 'eAf8s5FPVGDx1wZq51sh', '50189992d570b0c63621b15ff64fa72de67e6185ea17415b88c1f805ff34451693fadd0a7f379d3dd9d0908dee889963bfd0e11ed65869e77d9f71632a039e7b', '0GLUsVZYiNIBRlgfhEB0', 1, NULL, '2012-12-22 16:18:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Yk9e0iXEsc824QpSmCj', `updated_at` = '2012-12-22 16:18:57' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[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` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '80e95bc0c36390a68fd4178b472415eea3aa645994b0377d90a05e5a3fed4f00a67508f02f9c62fa2514e6a4af78558f98177ee361b594b37dbc524c56cd207f' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'L5D2cBASkZnksriNoWhb' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:57', '4bf352d73a7bedff3327984742d3c14ff301d958d9d50379c7a17e20c193a2f56d0ab8178409affcb8f87e3f314b29295493e0d3d54cdf582150cf7863663c45', '2012-12-22 16:18:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:57', 'testuser', 1, 'C0UfHFv5uZmQvw4iaBJq', 'EDgqXmf0yEfBjpRi2cY3', '80e95bc0c36390a68fd4178b472415eea3aa645994b0377d90a05e5a3fed4f00a67508f02f9c62fa2514e6a4af78558f98177ee361b594b37dbc524c56cd207f', 'L5D2cBASkZnksriNoWhb', 1, NULL, '2012-12-22 16:18:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:57', `last_login_ip` = '0.0.0.0', `perishable_token` = '0v1R1m6t8kq7Hs5aBJ1', `updated_at` = '2012-12-22 16:18:57' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:57', 'Form 1', NULL, NULL, '2012-12-22 16:18:57', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:57', 'Form 2', NULL, NULL, '2012-12-22 16:18:57', 'form-2')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cf0907575a3c5a0ecac8a9dd18e466bf458521fbe7889f857d63a0ccf79146c1ebfa4c07d7a137139f3aeeced39bf899881f06b6df9e7c0cc7dd613057bec3c1' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Z1SjlYUiGpKMANNOfJs' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:57', 'a9e6d50b7f00813f006f92ec46e36e80c0a5aec074e6d4a849b4d06bed735dcf9baa18a14f1a091cc23ac6a8cfff9b24f4580826ba13ed5fcfc92e4476408b85', '2012-12-22 16:18:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:57', 'testuser', 1, 'ONno9sWcQ4yV5rB6iaeQ', 'nVgwDkGrn7zd8HVkOVn', 'cf0907575a3c5a0ecac8a9dd18e466bf458521fbe7889f857d63a0ccf79146c1ebfa4c07d7a137139f3aeeced39bf899881f06b6df9e7c0cc7dd613057bec3c1', 'Z1SjlYUiGpKMANNOfJs', 1, NULL, '2012-12-22 16:18:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'lDrUUPX4x36qhV9rHsJ', `updated_at` = '2012-12-22 16:18:57' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.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 'c0c28eba8a1c3f7e66958fb021b09f839433983beba455566c60b46cf16e368fffe4f6a3a202a453e7274f3ba278c12f06180ad99c3f03f7f8477afe41fafd02' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Y6yAaf3YNw2Ei5yj2hTM' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', 'b4e8ee86c5ba04b646349211662eaf0ba389a73007b7482fba4128ceac15b4b333abdc9f01074e0bd2c50f4fb6539d7aa17a317472353e16e41c9669fb67e901', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'iIpGWS0NW7RcIWsBRGBr', 'VaHVPK3iHE0OQOlFkjj', 'c0c28eba8a1c3f7e66958fb021b09f839433983beba455566c60b46cf16e368fffe4f6a3a202a453e7274f3ba278c12f06180ad99c3f03f7f8477afe41fafd02', 'Y6yAaf3YNw2Ei5yj2hTM', 1, NULL, '2013-06-27 12:53:44')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '061b7c35ec37483366f2f1ad5f44610a41504b75f2bcd0c6a236d22ef1b1ac258e84a0b92d470822c88bf1e218df017727ba8716ec97c71cb1db1a4772dea417' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'piV9BdwPcjTPAq4E0iv' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:57', 'e5c45cd82b4fb73e118a767c57735cd5b1b428ca50602fd99fbbd60f19f34a334af7aef4aad612431cd28e60b560529417abd92adbf628bf70177ad96e257686', '2012-12-22 16:18:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:57', 'testuser', 1, 'wtKEExoBaCJ8fJgBFso', 'bxhlXD0NDugb8BBkEFNg', '061b7c35ec37483366f2f1ad5f44610a41504b75f2bcd0c6a236d22ef1b1ac258e84a0b92d470822c88bf1e218df017727ba8716ec97c71cb1db1a4772dea417', 'piV9BdwPcjTPAq4E0iv', 1, NULL, '2012-12-22 16:18:57')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'BfvAj9a6e4O5dXOPGDm', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 3
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:57', `last_login_ip` = '0.0.0.0', `perishable_token` = '8xDa2hpPtIhD7GEN5oS5', `updated_at` = '2012-12-22 16:18:57' WHERE `spud_users`.`id` = 8
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 3"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:57', 'Form 3', NULL, NULL, '2012-12-22 16:18:57', 'form-3')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[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 '148c3878990121f3d2417aeca52fe55a2ec6e9b14f65cabbf8988c9c23c2523ccc31e7f0c935e680c4a169273291a30aba9e654184b78c05fb02db5245e56a69' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lwUHLaL9Di5X9qCurgy' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:57', '3c23c73f5a8502f3c7d6cbefa239de20159403b16e7dffd7f96b5389a8ce686a7b1e1ea53bcf43727e00853b0bae177c5f88bcf2e52057843057bdc69d7a3466', '2012-12-22 16:18:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:57', 'testuser', 1, 'j1yJ0gh1c4bKTxyoYl4p', '0DFSSCuL73lNUfc5D7T', '148c3878990121f3d2417aeca52fe55a2ec6e9b14f65cabbf8988c9c23c2523ccc31e7f0c935e680c4a169273291a30aba9e654184b78c05fb02db5245e56a69', 'lwUHLaL9Di5X9qCurgy', 1, NULL, '2012-12-22 16:18:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:57', `last_login_ip` = '0.0.0.0', `perishable_token` = '8VxhC19PKYYCndAHFK78', `updated_at` = '2012-12-22 16:18:57' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_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` = 9 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'aeed72ee35acb0d968c4396bcba155b7f6d58708ab2ae466019a30c10637a2545848a9ad7691fe4cebd0d3a656ce450065e67270f9595f1038129d69954010c4' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BfumuGfD9Vv73jsa2OOg' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:57', 'a028657d8ab34cde59beb9bf2e83a09772648af324692d4bfa115ece142569878f66c0763201ac317de6eb2d7b31b6cf3013a3527eeaefaacec98ac6ed8ab442', '2012-12-22 16:18:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:57', 'testuser', 1, 'C99iNA01GEoZiqwyHGFt', 'ipir1FWS4DJo4XETf2JS', 'aeed72ee35acb0d968c4396bcba155b7f6d58708ab2ae466019a30c10637a2545848a9ad7691fe4cebd0d3a656ce450065e67270f9595f1038129d69954010c4', 'BfumuGfD9Vv73jsa2OOg', 1, NULL, '2012-12-22 16:18:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ssTaNtqfMyjtdIv2ZrL', `updated_at` = '2012-12-22 16:18:57' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:57', 'Form 4', NULL, NULL, '2012-12-22 16:18:57', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' 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-5' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:57', 'Form 5', NULL, NULL, '2012-12-22 16:18:57', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f15afe3bf6f7329865fc5755f050328ef717a4a23925180decf85ab024104189bb77f831327d8bed2457b6b9e49468b07ed9eb88a549dcae0994d1633c390b0d' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'DWOJXC5ohoxi54VVCc85' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:18:57', '0629ad1fdf0be0b4a529e3e489eabb8a590ff122056f51a169347cfe1fa28e4367eb391d7f3fc7483979826451aa32026831fe9cb4961167956f7619708cf371', '2012-12-22 16:18:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:18:57', 'testuser', 1, 'UD8LRaUNGfZCM8EKsPl', 'Bv5po6JcMZYLjPob85fF', 'f15afe3bf6f7329865fc5755f050328ef717a4a23925180decf85ab024104189bb77f831327d8bed2457b6b9e49468b07ed9eb88a549dcae0994d1633c390b0d', 'DWOJXC5ohoxi54VVCc85', 1, NULL, '2012-12-22 16:18:57')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:18:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rsgAQCDv7rEDeXQuefP1', `updated_at` = '2012-12-22 16:18:57' WHERE `spud_users`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' 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-6' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:57', 'Form 6', NULL, NULL, '2012-12-22 16:18:57', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:57', 'Form 7', NULL, NULL, '2012-12-22 16:18:57', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:57', 'Form 8', NULL, NULL, '2012-12-22 16:18:57', 'form-8')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:57', 'Form 9', NULL, NULL, '2012-12-22 16:18:57', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:18:57', 'Test', NULL, NULL, '2012-12-22 16:18:57', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 16:18:57', 'email', 7, '2012-12-22 16:18:57', 'test@spudcms.net')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:18:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:18:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[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.0ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.5ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (1.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 '670daaa3e80a066eb9f005b0c178487f2bf7682239d0cbc7c1867994d5bd6f37313c08ca36f7630e6130b5859e114102f5d66c4603b1caa3d4990dc4eb13ddfd' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KWSNpKUY1CY6wiL07cr' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:33', '98ca5b7e24f94a993b67ad0ee5f92a137a7963adfe4468cc94eebb2aacc7cb35d9524d532520c15525671ba56deec0a79a9a4aacd912e320688e8fae79c3d65c', '2012-12-22 16:24:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:33', 'testuser', 1, 'zA9JJTgRmtYNhS1ABbR4', 'k2uU8kGOmEh5ZK2vLaqf', '670daaa3e80a066eb9f005b0c178487f2bf7682239d0cbc7c1867994d5bd6f37313c08ca36f7630e6130b5859e114102f5d66c4603b1caa3d4990dc4eb13ddfd', 'KWSNpKUY1CY6wiL07cr', 1, NULL, '2012-12-22 16:24:33')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Oy50axEoY11Scih8cNQQ', `updated_at` = '2012-12-22 16:24:33' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:24:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:24:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:24:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:24:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/spud/admin/inquiries/index.html.erb within layouts/spud/admin/detail (1.5ms)
+Completed 200 OK in 45ms (Views: 40.0ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0da2401435e183caba0ffe6f370199bbe1d7f7c10ee09d7275f46f518785f6f67577e68ddcddafb88bed7c167f4552fa4ce941d11b6b5a44389becc85cc1ff92' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pVIlSjIhAQvNpXIW8riX' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:33', 'c6d3baee01e677e2f16849c41ad88eaae271bb3630efbccfea315e9a2803bac6ae13d4a9474052b6f307170ecce870d1febdaa1ea15f8a7e847aa797b6e1f13e', '2012-12-22 16:24:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:33', 'testuser', 1, 'H2EfDFbo4H0vNEg4nFEw', 'G4iIgGP3O8gITs6flj6', '0da2401435e183caba0ffe6f370199bbe1d7f7c10ee09d7275f46f518785f6f67577e68ddcddafb88bed7c167f4552fa4ce941d11b6b5a44389becc85cc1ff92', 'pVIlSjIhAQvNpXIW8riX', 1, NULL, '2012-12-22 16:24:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'DIN49Qdfd8aYWlFjyllI', `updated_at` = '2012-12-22 16:24:33' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:24:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:24:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 19ms (Views: 1.3ms | ActiveRecord: 2.4ms)
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ef934542096315fef986ca8442bd4e2fe2cfa21469672d8fd59b9e3fcae9a642b7c5ebc07a303d7e7fd4a83bfda24fd5f89ee659f8e3e570aa906b1a4c090300' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'y9kYLcBBBluunlVGGlN' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:33', 'a9c876f967f4bfa64134a5dc5e690c5f0b3b1b1b5e3e838c1582ffb17a4392fa6ca654b90039dbc6619b45d279be22ee00e3cda8eba6aa387fbc6aa3e923d9d9', '2012-12-22 16:24:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:33', 'testuser', 1, 'fjkwTGlbSd5Pnf01HUJ', 'bw8R5d5oMXE6pIqqcks', 'ef934542096315fef986ca8442bd4e2fe2cfa21469672d8fd59b9e3fcae9a642b7c5ebc07a303d7e7fd4a83bfda24fd5f89ee659f8e3e570aa906b1a4c090300', 'y9kYLcBBBluunlVGGlN', 1, NULL, '2012-12-22 16:24:33')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:33', `last_login_ip` = '0.0.0.0', `perishable_token` = '50EW7IOm6G9uiFSJX7dI', `updated_at` = '2012-12-22 16:24:33' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 3 LIMIT 1
- [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 LIMIT 1[0m
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 LIMIT 1
Redirected to http://test.host/spud/admin/inquiries
Filter chain halted as :load_inquiries rendered or redirected
-Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
- [1m[35m (0.4ms)[0m ROLLBACK
+Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'e2df096acd6bd8f14605e6ec5a0dcf24a5752d47a22c092caaf31e45a16d2a52f8c599f4616d79d6b74ab218ebaece120f91ccc20e3edf5cb54e911668850693' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'CasibZB4HViJOJbDX9cJ' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:33', '0c464d63a930cc427139b47fa329574a5f2b97995e3a5f0a102a6f59f7e8cb9bbf815523127af5ea08e24bbda7c9fd10573d807de5521ab74bd29d96a9df3130', '2012-12-22 16:24:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:33', 'testuser', 1, 'k23VbGXISnMAJCwSed17', 'WNIktLTX7G7d3Xuai1Oj', 'e2df096acd6bd8f14605e6ec5a0dcf24a5752d47a22c092caaf31e45a16d2a52f8c599f4616d79d6b74ab218ebaece120f91ccc20e3edf5cb54e911668850693', 'CasibZB4HViJOJbDX9cJ', 1, NULL, '2012-12-22 16:24:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hwTGcFfg8Dr4kdy2qF', `updated_at` = '2012-12-22 16:24:33' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:24:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:24:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (32.7ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryField Load (0.3ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 41ms (ActiveRecord: 33.7ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e250f8ec6dbda6d1981e9117ae3b2d45750b043281786d5baf8ab60cc0dbc2a16c67cb88517d9bd6d34bcb157d6bb894f34e59a36fa1b1bad3439f3620212cc5' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zuE18Lj6XMfZNx2hmViD' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:33', 'd9756f745830dcca334cf20d5dce97fac3e897923a9dbdacd3f5b8f1d8a4d22d565069974e8f345858307d8120fc73cc2f5f2a53de29f2b18a69996f7661ac67', '2012-12-22 16:24:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:33', 'testuser', 1, 'ofKLUazWQjrNd2cSaUTf', 'uCyO5rMfoLkGakRNoO5', 'e250f8ec6dbda6d1981e9117ae3b2d45750b043281786d5baf8ab60cc0dbc2a16c67cb88517d9bd6d34bcb157d6bb894f34e59a36fa1b1bad3439f3620212cc5', 'zuE18Lj6XMfZNx2hmViD', 1, NULL, '2012-12-22 16:24:33')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'tJVqWjwXEfvPzbnCCcOV', `updated_at` = '2012-12-22 16:24:33' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:24:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:24:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c525a5aba45b488b773664a51c3a54f02dfbe791e96a2e67321c7d2a33ec86fa20fd4432a9f5c72fab6978c271be86a08b81a423f32eb8750c77a4c4f540d30a' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'aIISVnl9cMeQB64EOWtI' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:33', '304ff0d9617934f12e5db64b8aac92b9ffe64499e0722e826ca2ccb9df6815759fcf9f95025288b3454d0399ecef905d0b81432d242fe2a6363986d94e2f367e', '2012-12-22 16:24:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:33', 'testuser', 1, 'SZRMNu6WQaqMFKbxE5HO', 'zPTtH9uXTvgGWp0247mV', 'c525a5aba45b488b773664a51c3a54f02dfbe791e96a2e67321c7d2a33ec86fa20fd4432a9f5c72fab6978c271be86a08b81a423f32eb8750c77a4c4f540d30a', 'aIISVnl9cMeQB64EOWtI', 1, NULL, '2012-12-22 16:24:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'uN7VvLQVVdLMO0Shxjml', `updated_at` = '2012-12-22 16:24:33' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:24:33', 'Form 1', NULL, NULL, '2012-12-22 16:24:33', 'form-1')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.4ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:24:33', 'Form 2', NULL, NULL, '2012-12-22 16:24:33', 'form-2')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f47c3f4d4437547cb1250ecdc18925a44b383fe3348e60fc912ce41d03d396c2834786bee9b92b0c2274ab50fcd9c74df54015ebcff80fb397fa05e65a47e76b' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4V0kQ2SIcicHtvG0RJD' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:33', '533cb4cbc1b3b020f95694f12ae15e5a744a65e1d7d8523befeae28762c41f57fe409f07e619df07fe0a67f416e679addc5beb70c0818dd8c0e0fe52b718c321', '2012-12-22 16:24:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:33', 'testuser', 1, 'agSETWQ4beNExU1xzkxH', 'X1Daa3H5TSGCvXrSrfW', 'f47c3f4d4437547cb1250ecdc18925a44b383fe3348e60fc912ce41d03d396c2834786bee9b92b0c2274ab50fcd9c74df54015ebcff80fb397fa05e65a47e76b', '4V0kQ2SIcicHtvG0RJD', 1, NULL, '2012-12-22 16:24:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Ls4azssoS7QGwvUVv8j2', `updated_at` = '2012-12-22 16:24:33' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (1.0ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '93294e13af713e516e1aa75803b4ae5d520d19e68fcb747310c8873297642d13562ca0442cfbc628691a96f0579f3bd4fa19a63d3140beda1934101e7a696f9a' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oUDEqlumhFLJa4VqM0W' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:34', 'a41fedb058018a7ca0819092fccab184c6a0ee33c4a3f3c81105d44211f0b0fb648770b48a30baf59d69d1e539b1e9ea7b90419f307b3a1566984c963852437f', '2012-12-22 16:24:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:34', 'testuser', 1, 'BIH5KkmQKPNdfcc3dtHP', 'kquiSF8gLZtVK3IfTacD', '93294e13af713e516e1aa75803b4ae5d520d19e68fcb747310c8873297642d13562ca0442cfbc628691a96f0579f3bd4fa19a63d3140beda1934101e7a696f9a', 'oUDEqlumhFLJa4VqM0W', 1, NULL, '2012-12-22 16:24:34')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qVs4p4e67N8kU9xey7uY', `updated_at` = '2012-12-22 16:24:34' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 3"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:24:34', 'Form 3', NULL, NULL, '2012-12-22 16:24:34', 'form-3')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8b107c8fee61c307bde2c6f860565f291bd0200266d6026ba008356eec4da88de75172a03b92004c5a48998759ad6cb2b8baa5d6153381efcdce08442275e9d8' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'klk8VnCHoS6LpnWx21d' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:34', '29642a178a8f1308d18dc0b43cde3142a8c7d2e67fa377ceaceb8726b7023b6e76af667cb8709ce3eb3ad2db7f7c4c98285e45742b05dc8574adcb55241d4f1a', '2012-12-22 16:24:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:34', 'testuser', 1, 'hnwhYEJPVrVFPEu5tJoh', '9ev35aRiIs1968BqCa2X', '8b107c8fee61c307bde2c6f860565f291bd0200266d6026ba008356eec4da88de75172a03b92004c5a48998759ad6cb2b8baa5d6153381efcdce08442275e9d8', 'klk8VnCHoS6LpnWx21d', 1, NULL, '2012-12-22 16:24:34')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'FpZQeMTaM2XaVxVg9O2x', `updated_at` = '2012-12-22 16:24:34' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 9 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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_2[0m
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '38daa45452a21b528991c22186d417b7c729d96dc2215f03e6982786e2b0b8505dacfb296734f5490f5a25932adf60521b47c2450d7665ca38874319f58df420' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9DF27kly9umdVcovQSI3' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:34', 'cf186b19a283d7cfa10bf9f9f046a994f19e9c51b9499d47e2e610335ce9fdb4434abceaf04940c0cf2c7f95545f92f571bfe3cd4777cc2dd5579dc4d5589bd3', '2012-12-22 16:24:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:34', 'testuser', 1, 'raNYnJJhOeJtC3Ha7IQz', 'OF8RWpysPSAczMIQk08F', '38daa45452a21b528991c22186d417b7c729d96dc2215f03e6982786e2b0b8505dacfb296734f5490f5a25932adf60521b47c2450d7665ca38874319f58df420', '9DF27kly9umdVcovQSI3', 1, NULL, '2012-12-22 16:24:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'O8JWkcrhR0BAcE4W4Kp', `updated_at` = '2012-12-22 16:24:34' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:24:34', 'Form 4', NULL, NULL, '2012-12-22 16:24:34', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:24:34', 'Form 5', NULL, NULL, '2012-12-22 16:24:34', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
+Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '6eb4440408ffd432c73d756863e3b4b46319d4ae59d67796d1ddcb9c909b9c58b06c9fc623b2d240bdc0b3bac0558523cec851921c8162548367d0cc529efa9c' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dlUBsj9iNkEpDKWgQfZ' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:34', 'c0d22c498de86364cfabef7487d1bd5aa156ea02e31b46ea0dc82761a4a536408fa08f8e1e704d571a1bcf068b7ca1d91f79342a9dd473f6cdef28b1bf258ad2', '2012-12-22 16:24:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:34', 'testuser', 1, 'G2OHr6r8wJW94Pl0vXd', 'goXRWRjleqvMEJash591', '6eb4440408ffd432c73d756863e3b4b46319d4ae59d67796d1ddcb9c909b9c58b06c9fc623b2d240bdc0b3bac0558523cec851921c8162548367d0cc529efa9c', 'dlUBsj9iNkEpDKWgQfZ', 1, NULL, '2012-12-22 16:24:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'n8gSiZkLbrwrQbu9tKz', `updated_at` = '2012-12-22 16:24:34' WHERE `spud_users`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 'cd4a738f28af7c8b85360a31a457d331fac2cdae3ddea3690360f82f554d7becd082d46c0e64fd27c093b85952ec4b6c42601875d3af249c1d44dc73d6a01262' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'f70t8cXPcd542v2fK' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:34', '29f58f1eec9fcc0d147e1580303d098bc9c75bd8cc1d6c792807db8a80c9efb93106de52ed196e44d82bcea279411ec910b6fa413ff6000aa5fad6f377fef4f4', '2012-12-22 16:24:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:34', 'testuser', 1, 'OMnPV1Mo5T29aetxxz3a', 'AThuIr9M1JK8hHb9l2rF', 'cd4a738f28af7c8b85360a31a457d331fac2cdae3ddea3690360f82f554d7becd082d46c0e64fd27c093b85952ec4b6c42601875d3af249c1d44dc73d6a01262', 'f70t8cXPcd542v2fK', 1, NULL, '2012-12-22 16:24:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'OLs0VThvxP5DHEr4leNa', `updated_at` = '2012-12-22 16:24:34' WHERE `spud_users`.`id` = 12[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:24:34', 'Form 6', NULL, NULL, '2012-12-22 16:24:34', 'form-6')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"6", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 16:24:34 UTC", "updated_at"=>"2012-12-22 16:24:34 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-6"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 500 Internal Server Error in 5ms
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.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 'c52dfddbba52df40f09fc3abf68a45e8b54c395251509ecf71177f20dfc5ec9908d499defce19fc69926db742f140869cdb0d45e87a431a58ed87eff2ea75ad0' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'p6B2yfHzF0GTqYb3295' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', 'f7c969bf19f8bf5f18a24be16f17b1a6f7535fa08ccd35169b2d19eb6d64702827f0760f6e45c1579ee77b939935bfdf630f5138699a6444d553ffc9777bfbbb', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'eSjcLCYquVCYvsYhDFnN', 'xdlGl8gswFlAnr82ixwz', 'c52dfddbba52df40f09fc3abf68a45e8b54c395251509ecf71177f20dfc5ec9908d499defce19fc69926db742f140869cdb0d45e87a431a58ed87eff2ea75ad0', 'p6B2yfHzF0GTqYb3295', 1, NULL, '2013-06-27 12:53:44')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '96447bc20ceb4627bfc0214471251a7f1c4ff394210e257635f44695fe51625aa5c2c677fb78625ed7454b9f674fb308e9898e45671a94b031232e786b1cf395' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vgFkaRthdrYWVAxZLKHS' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:34', '1ec19ff6adfe9fe459e2d7d052cb0a7fc9391eb0f6cbbd938fce79dda804cfda05bbb0fe555be6f49b9742a9414593064af94ed87ea4bce09e19a836aca2850e', '2012-12-22 16:24:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:34', 'testuser', 1, 'VXDr96u8Tj2a8NMVcoam', 'ffe2AIrp9Pcp0bRMsd4k', '96447bc20ceb4627bfc0214471251a7f1c4ff394210e257635f44695fe51625aa5c2c677fb78625ed7454b9f674fb308e9898e45671a94b031232e786b1cf395', 'vgFkaRthdrYWVAxZLKHS', 1, NULL, '2012-12-22 16:24:34')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ONbeQzTt67waQsLvoH', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 4
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:34', `last_login_ip` = '0.0.0.0', `perishable_token` = '9k7e6Q8ATvoBWiEww3eR', `updated_at` = '2012-12-22 16:24:34' WHERE `spud_users`.`id` = 13
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')[0m
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' 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-7' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:24:34', 'Form 7', NULL, NULL, '2012-12-22 16:24:34', 'form-7')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"7", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 16:24:34 UTC", "updated_at"=>"2012-12-22 16:24:34 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-7"}}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 7 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 7' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 7) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0dda7aa833e595c7ca9068348526df9213e8046698b0484a6ec8d6a8122e5fbf22e37a9620f70794096f0e346764e5845d2e04929b22728a919c355b72398493' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LQZV6c2svWKYWISwI5yl' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:34', '8a50b762a8eec8e25366b1dd6b15662735e9e5bcd3badbb93de8274c9504db8ef75742c7ccdc24d715279fe38a40f8ff73d08020af160d9fbe62b8c5d78b5d88', '2012-12-22 16:24:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:34', 'testuser', 1, 'EKf6jjaOFixUl8cR1lVf', 'ZyKyrcvaruhdspsu0aHz', '0dda7aa833e595c7ca9068348526df9213e8046698b0484a6ec8d6a8122e5fbf22e37a9620f70794096f0e346764e5845d2e04929b22728a919c355b72398493', 'LQZV6c2svWKYWISwI5yl', 1, NULL, '2012-12-22 16:24:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'WJ3BYMRX7mkKo7c5Uqi', `updated_at` = '2012-12-22 16:24:34' WHERE `spud_users`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:24:34', 'Form 8', NULL, NULL, '2012-12-22 16:24:34', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 8 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 8
+ [1m[36mSpudInquiryFormField Load (0.1ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 8 ORDER BY field_order ASC[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 8
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 14ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '07187bf9f978ab53617f0e921c3525080d366ee50dcb6ae145c1649bf8f1ff7444ddeabe8d18afc15450af466d3d6191e2dac560ac107d0c490059aac0e25117' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'our1xreHqVAUDzrBE6W' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:24:34', 'ef868bb8d56b7d1b1f97472b1332026585941e3e182035861a2901c2721f48a163e38a79a9b4be5f75c4f0e83bd3998d7e303618b263f6a08fe543dcbad9ed5b', '2012-12-22 16:24:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:24:34', 'testuser', 1, 'oZdn3SkaHmYIiwdInJsM', 'Wiva628lrbpFqKJ7MQgN', '07187bf9f978ab53617f0e921c3525080d366ee50dcb6ae145c1649bf8f1ff7444ddeabe8d18afc15450af466d3d6191e2dac560ac107d0c490059aac0e25117', 'our1xreHqVAUDzrBE6W', 1, NULL, '2012-12-22 16:24:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:24:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'oYYV37zEIgNkfvWyUCMb', `updated_at` = '2012-12-22 16:24:34' WHERE `spud_users`.`id` = 15[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:24:34', 'Form 9', NULL, NULL, '2012-12-22 16:24:34', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:24:34', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:24:34')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:24:34', 'Form 10', NULL, NULL, '2012-12-22 16:24:34', 'form-10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:24:34', 'Form 11', NULL, NULL, '2012-12-22 16:24:34', 'form-11')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:24:34', 'Form 12', NULL, NULL, '2012-12-22 16:24:34', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:24:34', 'Form 13', NULL, NULL, '2012-12-22 16:24:34', 'form-13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:24:34', 'Test', NULL, NULL, '2012-12-22 16:24:34', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:24:34', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:24:34')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 16:24:34', 'email', 7, '2012-12-22 16:24:34', 'test@spudcms.net')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryField Load (0.3ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:24:34', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:24:34')
+ [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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.0ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (1.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '46fb561c611d97c8f44ad0e3ded114ac07884944b783fbf0c990c09521a0bbb1a2733883e4bdf03c44fe1e4f7e0c5fcfbb27f94765a8cb44cdb7690a6c019671' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'A8nJM7wybGIhWuoevH' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:05', '5b72b7a611be17943f04e70c869b4dce2bad2fe204c43f3cc51ac3985648f842daea902ee9bd75141907d3d8202283ce6bd413b1d64ae6ad7015f07efac4bdf3', '2012-12-22 16:27:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:05', 'testuser', 1, 'zffgUWKpfvdAuv3KN7P', 'rui3teKGHnsvWHbYrHB5', '46fb561c611d97c8f44ad0e3ded114ac07884944b783fbf0c990c09521a0bbb1a2733883e4bdf03c44fe1e4f7e0c5fcfbb27f94765a8cb44cdb7690a6c019671', 'A8nJM7wybGIhWuoevH', 1, NULL, '2012-12-22 16:27:05')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:05', `last_login_ip` = '0.0.0.0', `perishable_token` = 'uvGEqNGkdWfMB2pSUkyD', `updated_at` = '2012-12-22 16:27:05' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:27:05', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:27:05')
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:27:05', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:27:05')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/spud/admin/inquiries/index.html.erb within layouts/spud/admin/detail (1.5ms)
+Completed 200 OK in 41ms (Views: 36.0ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b21ff5db5d4d7d29db1f2c1ca416feec3279aeb0533518d5bd067ad1928a7b80494c9b75f09a1a76213b925fd8a406317c662529ee3cb4f932e585ea6e30f22d' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XQRsLx9bTo9kfwdK2X' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:05', '0fdf0b1d5b5ac1d5770c61d58e6ee62a543fe5871289170a7613fe9d6386f23b5aa95a8556aff3efba8e017f9344bdacd796d83b643118fa28076fd9bd9f4ff2', '2012-12-22 16:27:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:05', 'testuser', 1, 'M2PpKNRwVD60tqQhxT', 'jwh1gEoqWndgZrCDwKf', 'b21ff5db5d4d7d29db1f2c1ca416feec3279aeb0533518d5bd067ad1928a7b80494c9b75f09a1a76213b925fd8a406317c662529ee3cb4f932e585ea6e30f22d', 'XQRsLx9bTo9kfwdK2X', 1, NULL, '2012-12-22 16:27:05')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:05', `last_login_ip` = '0.0.0.0', `perishable_token` = 'f4Kg59sFX4hszoTw5FRu', `updated_at` = '2012-12-22 16:27:05' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:27:05', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:27:05')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 19ms (Views: 1.3ms | ActiveRecord: 2.4ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '724e90f252fb3b8fcca47f6def5317dd96e0ccd3467c24b922a7be312f3af8969b94cadccf0e616994e0677788df7414f77e423f69fa830eb4310e0a1b6aa6bc' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '2roADWgnyITvylDrd7B' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:05', 'de0b9c64d66663c6b5a4e463d2d5b1bd5f785d053fd3f2a7ef34935243bc089c49f1b08e26b63880fc8f31caf6e137cf57df1a7c01b5a905b76da086bb74fdb3', '2012-12-22 16:27:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:05', 'testuser', 1, '3lvY3vVkNWOXUfQOEpN', 'ik34KKeFuulEczUum1Ov', '724e90f252fb3b8fcca47f6def5317dd96e0ccd3467c24b922a7be312f3af8969b94cadccf0e616994e0677788df7414f77e423f69fa830eb4310e0a1b6aa6bc', '2roADWgnyITvylDrd7B', 1, NULL, '2012-12-22 16:27:05')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:05', `current_login_at` = '2012-12-22 16:27:06', `last_login_ip` = '0.0.0.0', `last_request_at` = '2012-12-22 16:27:06', `perishable_token` = '88brqvQoVbXxsC2bwUzf', `updated_at` = '2012-12-22 16:27:06' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.5ms)
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e9e3e45f5c2bdd862cd63be4838ac03fbbdcf3536546f0ae2ba0365bc79e307bd0f6794f85a94fbca2a519b86165a9d8892d437530f8b5af6c8f4f7945b566ab' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Yp1TMytnLZBYDxCKeMz' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:06', 'f61ab6f7f248cf787640b8e07bd390f0944524b57e831a0363114de3b229ecc7bc33da05ef0a4e00dea847e00b93069f0fd36f733264605ce810fe0c13980aed', '2012-12-22 16:27:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:06', 'testuser', 1, 'gtZNrXSDBmKQIroo1y', 'xuJV6KEiTn7gv0v1mZZQ', 'e9e3e45f5c2bdd862cd63be4838ac03fbbdcf3536546f0ae2ba0365bc79e307bd0f6794f85a94fbca2a519b86165a9d8892d437530f8b5af6c8f4f7945b566ab', 'Yp1TMytnLZBYDxCKeMz', 1, NULL, '2012-12-22 16:27:06')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ndOj4MiRsFXl4tHIu3R', `updated_at` = '2012-12-22 16:27:06' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:27:06', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:27:06')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
Processing by Spud::Admin::InquiriesController#destroy as HTML
Parameters: {"id"=>"4"}
- [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
- [1m[36mSpudInquiry Load (0.1ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (33.1ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryField Load (0.3ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 40ms (ActiveRecord: 34.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '665d9907754f1345387828a57da1368eb7f48d9c792def0a8d2081a1e9d3189b9ffa8d6fee6913d6f8999faa6b9d8e45ccc039fc260dc5dbc8b546ef733385ca' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'boJdv183wsxwnKnWVklT' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:06', 'c1aad3cc56581fd8bc4dc3a596880f946408a79538f97b68362c1173c0a3dbbf7938a8f2b97143fa22e385978ead8488b756e33502f1e2c0796617929301f253', '2012-12-22 16:27:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:06', 'testuser', 1, 'EhaBjvxT4XSBKARg2vhN', 'B53S5tZXeRL3PUELTACh', '665d9907754f1345387828a57da1368eb7f48d9c792def0a8d2081a1e9d3189b9ffa8d6fee6913d6f8999faa6b9d8e45ccc039fc260dc5dbc8b546ef733385ca', 'boJdv183wsxwnKnWVklT', 1, NULL, '2012-12-22 16:27:06')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'KZOZyk1f3U4aB1Vd7fx', `updated_at` = '2012-12-22 16:27:06' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:27:06', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:27:06')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[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` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9f8e1fdafe2f95f20e84891da311bbff5fb4f4a03405f68bd17d23810a9a0ba4379f176d75cfbb80e3eb0c67e9a65fb2eabdb2e134e8b8d7363ff5bdf7ae46be' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PK2xa8boLewjpHoTePp' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:06', 'e7ed619d47f553ac57bef8c77634e752889f53c34d44cb931c5440f95bf9ae660a6de40a41d2475e2ffcf09f49a860fccf239ddfc152b0b3b302927c4b89151a', '2012-12-22 16:27:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:06', 'testuser', 1, 'SqNJ6J1ffmzCbNSWqpp6', 'GyUQtDRYSQ3mePRBFaXB', '9f8e1fdafe2f95f20e84891da311bbff5fb4f4a03405f68bd17d23810a9a0ba4379f176d75cfbb80e3eb0c67e9a65fb2eabdb2e134e8b8d7363ff5bdf7ae46be', 'PK2xa8boLewjpHoTePp', 1, NULL, '2012-12-22 16:27:06')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mDgpz5VXybXc860UIqpP', `updated_at` = '2012-12-22 16:27:06' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.6ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:27:06', 'Form 1', NULL, NULL, '2012-12-22 16:27:06', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:27:06', 'Form 2', NULL, NULL, '2012-12-22 16:27:06', 'form-2')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8ed080e65d7087097e90d8a84f14661df272d56d650bde75df74d7c57e18a4d84b29054584e0b2d36e816d2c51c767b720ab3aabb794d7e3b47b1f5e1af873ab' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6CL9ImaglBLCAUpN8tI' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:06', '6309842d63d62119734fdc7b54fd5a1ea6703ee701e18cadd5e1214877ea3732881d7b4686a5d2ec23f1f554fe7d897a4b6a107c9e7d8162ec69651729cfa4b3', '2012-12-22 16:27:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:06', 'testuser', 1, 'Yivnx1n5hNBH9BPIAJU7', 'oOyEEy71bhFugAg33', '8ed080e65d7087097e90d8a84f14661df272d56d650bde75df74d7c57e18a4d84b29054584e0b2d36e816d2c51c767b720ab3aabb794d7e3b47b1f5e1af873ab', '6CL9ImaglBLCAUpN8tI', 1, NULL, '2012-12-22 16:27:06')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Su0nqOiC1NhQhzHlslI', `updated_at` = '2012-12-22 16:27:06' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '4c2a59943f3ee16db7cd0edf232234a36c676f5d6119612fbe4ea35c40805e3d8e23fe0f6bcabc879e4030b705169a6c8db82a25576a075c24a0ed550d1dda7e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qEw9L05a3MSrr974v4' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:06', 'fa918496686918f07562fe22bf833529a879bb1dff2f69ff52aaa3000ea95ae18bb0856713fff235c00865f6538b248062010753358d5cdda878e5d7285dd09e', '2012-12-22 16:27:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:06', 'testuser', 1, 'Zoe7wOGiAiNIoBDcr9jC', 'EzIWTWS4xdzJl3hgslyY', '4c2a59943f3ee16db7cd0edf232234a36c676f5d6119612fbe4ea35c40805e3d8e23fe0f6bcabc879e4030b705169a6c8db82a25576a075c24a0ed550d1dda7e', 'qEw9L05a3MSrr974v4', 1, NULL, '2012-12-22 16:27:06')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 's0LugAIzOOjs5SmiHQae', `updated_at` = '2012-12-22 16:27:06' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 3"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:27:06', 'Form 3', NULL, NULL, '2012-12-22 16:27:06', 'form-3')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (1.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '71bb6ba18aade7b967d61893ced2fef913f6d2e04bd2c857a3a9e88eed33672f38068bd66c7f92cd93d7592968346433fa67b6cb90cfb789e21a382645fc425b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Bk3l55lAT1QQgoIb1AR' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:06', '09bc8f7f22128acc3e502500449f9b8fb898c8343a506ae3c9d978b7c5d2e24ce7fcf533b34a1e9213ba90333a07de1b046c622af72453c2a7ec73eab3a2cca5', '2012-12-22 16:27:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:06', 'testuser', 1, 'YQOGHGPPMI1pWsrJyWL', '4s1N8iNqfzG89j8VObej', '71bb6ba18aade7b967d61893ced2fef913f6d2e04bd2c857a3a9e88eed33672f38068bd66c7f92cd93d7592968346433fa67b6cb90cfb789e21a382645fc425b', 'Bk3l55lAT1QQgoIb1AR', 1, NULL, '2012-12-22 16:27:06')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YtQPpKd2obBYzJcOGqjE', `updated_at` = '2012-12-22 16:27:06' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 9 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [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_2[0m
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5010a572b1791a12288067a3660b1616042254a43fb0488500c345b94765f74d79872738b38d7244e459ccb4490e022f6571f9bb7afc89fcee7581d70910bc32' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Y6Fg8RT4MszhDoXss' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:06', '78e0a5c26f763df2471f13f82751e9a2552eee951214a5718ae9ab75246801b35903e230e0ce4d45f5bd6179ad620f890cdd129e58eac64ea097f8b477577976', '2012-12-22 16:27:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:06', 'testuser', 1, 'GbA7TDNvgCb6t2azBrxN', 'qZzPFoHGjbzwpBzAtXn', '5010a572b1791a12288067a3660b1616042254a43fb0488500c345b94765f74d79872738b38d7244e459ccb4490e022f6571f9bb7afc89fcee7581d70910bc32', 'Y6Fg8RT4MszhDoXss', 1, NULL, '2012-12-22 16:27:06')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:06', `last_login_ip` = '0.0.0.0', `perishable_token` = '3lNtt4MIMtcboW4QoOsP', `updated_at` = '2012-12-22 16:27:06' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:27:06', 'Form 4', NULL, NULL, '2012-12-22 16:27:06', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:27:06', 'Form 5', NULL, NULL, '2012-12-22 16:27:06', 'form-5')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
+Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cfc4ec2f51b184c7515e06e3a796d73ed50fccc305c88da167e592006d71a0374a497ec9f9514479d73d77e11bcf2915ed46c15bceefc4a45c56a2d7089afd00' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UHVx0V4BIuQFBamMpKy' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:06', 'acb1cdb66ff630a4c0580476f197c5fd72fda480c947024ff4b7273ee4c5d6b40e7a32e04f3f5c3abaf84491ced88a5458e369a445eebeb33fab11000774be97', '2012-12-22 16:27:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:06', 'testuser', 1, 'gsnvrNYtUIYLDS89iTJG', '1KbJQzJWMPkk2zlRyAdG', 'cfc4ec2f51b184c7515e06e3a796d73ed50fccc305c88da167e592006d71a0374a497ec9f9514479d73d77e11bcf2915ed46c15bceefc4a45c56a2d7089afd00', 'UHVx0V4BIuQFBamMpKy', 1, NULL, '2012-12-22 16:27:06')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Nek9b25rKvYKoB9ss', `updated_at` = '2012-12-22 16:27:06' WHERE `spud_users`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'a50cf8d7cdaae7b0bea1e6e1bb93805bae1468f4f07f54e314fad7aca7c3c7508780dfe3da5c4f13f29698ed7eeaa4e09b50feab95c9a9a354006a2a90a6fbbb' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZQ20AA6n5ej01KDSoq' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:06', '779dcfd9031f30ae875cdae45a1f2feeff47139e2ff7b750a668df14124ffcfbffd8e221cf6bf4af416c8af859707c006c9ea92490fe2c3e9ee1d48f486e7666', '2012-12-22 16:27:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:06', 'testuser', 1, 'uxIi7Wy6ImWvx0Qh3b', 'RPOtQ2cY418pHxYfZ0', 'a50cf8d7cdaae7b0bea1e6e1bb93805bae1468f4f07f54e314fad7aca7c3c7508780dfe3da5c4f13f29698ed7eeaa4e09b50feab95c9a9a354006a2a90a6fbbb', 'ZQ20AA6n5ej01KDSoq', 1, NULL, '2012-12-22 16:27:06')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'JBqf3WA4D5waGlEXPaw', `updated_at` = '2012-12-22 16:27:06' WHERE `spud_users`.`id` = 12[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:27:06', 'Form 6', NULL, NULL, '2012-12-22 16:27:06', 'form-6')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"6", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 16:27:06 UTC", "updated_at"=>"2012-12-22 16:27:06 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-6"}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` != 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 'myform' AND `spud_inquiry_forms`.`id` != 6) LIMIT 1
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 16:27:06' WHERE `spud_inquiry_forms`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 49ms (ActiveRecord: 0.0ms)
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd6393c10157cb3ea0d4e83d8b9809ef6cd6926557857468de29be443d083de29cfc83953eb1df3211197ae20a6238c8308f164206fa52621f903dfc5122219bc' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xjZI3ngJwK9lFdwbCNjg' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:06', '5d2879a621fefce18a8f43364f1d5eeac07e3a0c197bf8a817b8ae83705c5388e6bc85c1c78e7c0f396e3a26a77f55b5a9c236873ceacb9e70423e29973f3ce9', '2012-12-22 16:27:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:06', 'testuser', 1, '9j5mHfpkAgYoQuEXDG', 'N1FwYADTMECtLuuqbeBl', 'd6393c10157cb3ea0d4e83d8b9809ef6cd6926557857468de29be443d083de29cfc83953eb1df3211197ae20a6238c8308f164206fa52621f903dfc5122219bc', 'xjZI3ngJwK9lFdwbCNjg', 1, NULL, '2012-12-22 16:27:06')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:06', `last_login_ip` = '0.0.0.0', `perishable_token` = '7mrrwJzXYyEdZv4RwTj', `updated_at` = '2012-12-22 16:27:06' WHERE `spud_users`.`id` = 13
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
- [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' 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-7' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:27:06', 'Form 7', NULL, NULL, '2012-12-22 16:27:06', 'form-7')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"7", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 16:27:06 UTC", "updated_at"=>"2012-12-22 16:27:06 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-7"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 7 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 7' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 7) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e54978db4cd3c124bf1cb4672ad65f05cee130e573a00842ab59fc20967295407b72db9a8e29347f8fb1f775a685515259781b862f5c481673f60aa6d246dd37' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'b8DQrLXmmYYgydgHV5Fk' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:06', '404430d740b799b1878329146f296e133b25158f782ba76d7142f609abac9d9157948ea3ec6607e43d31d28cf97b2be9d38f4acb019809a989cb3137bb962631', '2012-12-22 16:27:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:06', 'testuser', 1, 'BCt0bz7XbGearVSQQHWa', 'INcIL04oe3DZc28sjr', 'e54978db4cd3c124bf1cb4672ad65f05cee130e573a00842ab59fc20967295407b72db9a8e29347f8fb1f775a685515259781b862f5c481673f60aa6d246dd37', 'b8DQrLXmmYYgydgHV5Fk', 1, NULL, '2012-12-22 16:27:06')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'XXQf4z2DUNLvywcxEVY', `updated_at` = '2012-12-22 16:27:06' WHERE `spud_users`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:27:06', 'Form 8', NULL, NULL, '2012-12-22 16:27:06', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 8 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 8
+ [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` = 8 ORDER BY field_order ASC[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 8
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 15ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '805bf903b366814d647558671359377a1f820b0f0cb927d0d16bfc9d75d74a4db1c48309386f3cf448baee9a4d8a1d10d6959140342f00a14f4885f7348cfbc6' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UD2Nu5BbmLc9doCjpScf' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 16:27:06', '8a2c5804f4759b58145ab1d88b23c40258c4be750be47e7021bbc317312c506689fbf7495e97bbc7b48e64933cc9df4f9e908ab22c8b1fa1f8f21582e4a8b870', '2012-12-22 16:27:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 16:27:06', 'testuser', 1, 'D3J3eLu1b2prQGC0Z3DP', 'aaidzlhJJpKRuRuzRk93', '805bf903b366814d647558671359377a1f820b0f0cb927d0d16bfc9d75d74a4db1c48309386f3cf448baee9a4d8a1d10d6959140342f00a14f4885f7348cfbc6', 'UD2Nu5BbmLc9doCjpScf', 1, NULL, '2012-12-22 16:27:06')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 16:27:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mnfwgnVcDE5dMrJdWeP', `updated_at` = '2012-12-22 16:27:06' WHERE `spud_users`.`id` = 15[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:27:06', 'Form 9', NULL, NULL, '2012-12-22 16:27:06', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:27:06', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:27:06')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (1.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:27:06', 'Form 10', NULL, NULL, '2012-12-22 16:27:06', 'form-10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' 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-11' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:27:06', 'Form 11', NULL, NULL, '2012-12-22 16:27:06', 'form-11')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:27:06', 'Form 12', NULL, NULL, '2012-12-22 16:27:06', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:27:06', 'Form 13', NULL, NULL, '2012-12-22 16:27:06', 'form-13')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[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.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 16:27:06', 'Test', NULL, NULL, '2012-12-22 16:27:06', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:27:06', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:27:06')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 16:27:06', 'email', 7, '2012-12-22 16:27:06', 'test@spudcms.net')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryField Load (0.3ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 16:27:06', NULL, 0, NULL, NULL, NULL, '2012-12-22 16:27:06')
+ [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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+ [1m[36m (1.7ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (1.3ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (43.5ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (10.1ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (6.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (7.6ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (9.2ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (9.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (6.2ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (5.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (2.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Form 1', NULL, NULL, '2012-12-22 18:17:48', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"form-1"}
+ [1m[35mSpudInquiryForm Load (1.6ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 90ms (Views: 15.0ms | ActiveRecord: 8.6ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (32.5ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.5ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b3e129a2ec83feb64bda498e2e2322cdb8711042c937072a36cae2505a3fb5533b3e2409e50483fdd34ba1b213cf88c3e933986512598b4ad41441678be152a1' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'l4NNKOwK8LU5r2UGuC' LIMIT 1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', 'bdc164c4b45e92c0bbc4d91449208783bef758af6788aded9bcc9d4ec6f2693ac63fee8c8ef12780f5cfd437b783fefb517a1ec95e302c4d4f3d9ebb500aa833', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, 'jQ1vpfccMa3eSNN7rzK', '7FTI9eGWA4fYIojZKzf', 'b3e129a2ec83feb64bda498e2e2322cdb8711042c937072a36cae2505a3fb5533b3e2409e50483fdd34ba1b213cf88c3e933986512598b4ad41441678be152a1', 'l4NNKOwK8LU5r2UGuC', 1, NULL, '2012-12-22 18:17:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (2.0ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'e3ga4CyHakncxPPJwqm', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:17:48', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:17:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:17:48', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:17:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (1.7ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+Completed 200 OK in 10ms (Views: 3.6ms | ActiveRecord: 1.7ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (2.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[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 'fa1aa4f641e4c22529e224bf6df7fa0916a18234db335ed38067bc35f54b25fcf103ffa4f1d66e36d5630d6e68301a74ee1ac61792e1ab4333fe2e5e6ebbc0b5' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BtfOdesnrDQB5vyAKac' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', '4c5c4c2d27cf05cc83dd7857eb444d35923e191dd7227e8533012e269e7d13b0e8d3e36e7ef9484e1b7470a8bc9472c22ae14ae4b6eff81b36dd43bcde179d2e', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, 'x5jisUfaKxWw0x1pIzR7', 'up2lR6DwW0lw4MXvvE5X', 'fa1aa4f641e4c22529e224bf6df7fa0916a18234db335ed38067bc35f54b25fcf103ffa4f1d66e36d5630d6e68301a74ee1ac61792e1ab4333fe2e5e6ebbc0b5', 'BtfOdesnrDQB5vyAKac', 1, NULL, '2012-12-22 18:17:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QDD4oNAknGAtL3fQSf0', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:17:48', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:17:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 2.6ms)
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'bf4ada1cecf33359f9e6eda57ed7288c9f8c9bd7ccb802247ebb821f84ec7bf18fde33c12fbd51a680e5578712f1de3c331e1965faaea1e44bd39c96c9a9fcec' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'p8qEYsLPuYC5XSlua5k' LIMIT 1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', '366ea1816bf67ae0a41d36dfbd76cbc89ce15bdfe18fa80a369c1e00e37070676cb347124726970bbec7b6875b4667fb06efa8d03fbea7b76b8fce84669aeb71', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, 'oCPn0j9nMjkHF9dyXUO', 'ocKAjOe1kK3p08OfqKh', 'bf4ada1cecf33359f9e6eda57ed7288c9f8c9bd7ccb802247ebb821f84ec7bf18fde33c12fbd51a680e5578712f1de3c331e1965faaea1e44bd39c96c9a9fcec', 'p8qEYsLPuYC5XSlua5k', 1, NULL, '2012-12-22 18:17:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.1ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = '271x7JZglmneDD2FRQG', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 LIMIT 1
Redirected to http://test.host/spud/admin/inquiries
-Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '990c0fbefbfb5824d96942fbd2274a9a81c8d6d27f6817101d5b8dd67eb49b65c898178b1c762811ab431d70c14b6a48cdf845ca429471a688c14de9c1ead26e' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4PvsrnrbrKxgWyhQBgz' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', '181445b18c38219ac5f5a91673dee796ed9fc4b0af4863e6a2070ca25534e0763d1e36b66448d9e9574cf09ded63b7df71454608057fdd065e2b5c1204ae8e87', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, 'mP9T9luHBJ3ssEyLsoz', 'ATRpkkbe8KBViid6eHy', '990c0fbefbfb5824d96942fbd2274a9a81c8d6d27f6817101d5b8dd67eb49b65c898178b1c762811ab431d70c14b6a48cdf845ca429471a688c14de9c1ead26e', '4PvsrnrbrKxgWyhQBgz', 1, NULL, '2012-12-22 18:17:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wX7J3k2bbsEOOvgb5HIy', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:17:48', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:17:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '436bf9ed047a7e4041c498793260d4061acc6e423be9bda3c4c6740e73e049c5825fd07896a70c8977de0b98a790cd5c416af80475c6f7c33f9444e8a9f80067' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VMjcdIzR6cORs7tj9b7' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', '8930c973eadaaa8b0b2d2d9d6bfa0a98412221b0c5c7c4a03f53870e325d813084386e6244ec09fc9c345cf39bc92eb9e39dfbdee66e7bf14901319fdce6ff77', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, 'A1O0LHm0W9Q9BBAh1iTB', 'THasLRGhKG5FH7Epb41', '436bf9ed047a7e4041c498793260d4061acc6e423be9bda3c4c6740e73e049c5825fd07896a70c8977de0b98a790cd5c416af80475c6f7c33f9444e8a9f80067', 'VMjcdIzR6cORs7tj9b7', 1, NULL, '2012-12-22 18:17:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (1.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'RV2xXgz6iGSsax41rg8O', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:17:48', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:17:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '23124349ca7e9f4e4d13d59612e8aabb0dd6f5e36649711a32ed3122437f60b4cb040fc61f60043880b8ef189f8a420e27c50a1eb2320901e561c88181b0df92' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'F6jHe54FQslFNBqEfCE2' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', '055c96ba84052147b28ab1f9c1e63adba3e9ca384e62c0e01af752a15da56140bb781b06d664d8c344bab4c24c96300a44a4316f055d81fc6ebaf2981aa18b42', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, 'un0MuZBuiIhTmoWvvto', 'MxO4beP2Q4ffcAXvF', '23124349ca7e9f4e4d13d59612e8aabb0dd6f5e36649711a32ed3122437f60b4cb040fc61f60043880b8ef189f8a420e27c50a1eb2320901e561c88181b0df92', 'F6jHe54FQslFNBqEfCE2', 1, NULL, '2012-12-22 18:17:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wRCucm6yMW8DHO8muSWC', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Form 2', NULL, NULL, '2012-12-22 18:17:48', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Form 3', NULL, NULL, '2012-12-22 18:17:48', 'form-3')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0ade92c0a5da9afd6f8594110c87569edd7b536799db0fdcd3d4f885c07b2822efdaeb0ff5ca00a79bd8701a70b733df88d70771774ddeb850f3ddbdee63f2cd' LIMIT 1
- [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mdRuCAGMfo7hR6aG1V80' LIMIT 1[0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '40c56f150ea07fdf9caaad27cd41554b447fb60e87991b8e604f0231d85c2dee23913dbec1ca14caa2afe9bd817568527d00e9435865284b450882569e05774f', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'T1gPo8ZQmwtRXjS1H1o', 'iUMakFbI9nR8H2Ndu4M', '0ade92c0a5da9afd6f8594110c87569edd7b536799db0fdcd3d4f885c07b2822efdaeb0ff5ca00a79bd8701a70b733df88d70771774ddeb850f3ddbdee63f2cd', 'mdRuCAGMfo7hR6aG1V80', 1, NULL, '2013-06-27 12:53:44')
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5b93b8940bee6c37e41f3be63f63d6a90bab0779fe58d7717afee8efe041d34dff85bb5cc9c2bf11e73582adcbea942f25c5138708a7d7d6491d71b614d1b3cb' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'n6XDz66UdR69AvTrB2aS' LIMIT 1[0m
+ [1m[35mSQL (1.7ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', '3e37d7962ab025cc433d66913ac38e272f7027351d22ea4540492472cda47528255d0aec61d964be2216e8b535b11d996d2ee5087add20dd9b3ac7e089c25a7f', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, 'lJejxUJZfuWmfToo3', 'quRKE9sWmRKAr1MZKnR4', '5b93b8940bee6c37e41f3be63f63d6a90bab0779fe58d7717afee8efe041d34dff85bb5cc9c2bf11e73582adcbea942f25c5138708a7d7d6491d71b614d1b3cb', 'n6XDz66UdR69AvTrB2aS', 1, NULL, '2012-12-22 18:17:48')
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'o0FOHbs2RhjJsCYxVI4T', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [1m[35m (1.8ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'TrvCMJ8RZjsPJ711kjf', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 5[0m
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'a3e4bde5ec04d140699df1504de1424e1912f808d4d48d76416a10d3e0a393ec7f133bd8670cd06887ede4a8394a5661ca98ca456b14de86639839b73735f474' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XJ9O0KWatW6CVc0rb70r' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', 'b3e300b12ab4abebc55c05d9ba9ce9a0edac5242a66c780f11cc12eb1fbdd783207371d774a1274b15afb7e5448fc8037caf6d70b71f85bde0736d29138271e1', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, 'vMvc7PKerVa52RHqe7W8', 'Hy4u8z029Ffirhs2e9y', 'a3e4bde5ec04d140699df1504de1424e1912f808d4d48d76416a10d3e0a393ec7f133bd8670cd06887ede4a8394a5661ca98ca456b14de86639839b73735f474', 'XJ9O0KWatW6CVc0rb70r', 1, NULL, '2012-12-22 18:17:48')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [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-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')
+ [1m[35m (0.7ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EToUFWWA0mgzFCVRdJ1x', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 4"}}
+ [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Form 4', NULL, NULL, '2012-12-22 18:17:48', 'form-4')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 46ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '24b957042154f675d77d0830acc49323cd79cbea303b4b8ec8e00e90a9d731a21ded74ba2e82655891bd839dda85ea1161c6e0d4000fba48eeb8024e8d38faee' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0OC3uRl2sMow41RIwyuT' LIMIT 1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', 'b7ce49c621f0527e383f37123b638e9d04f0b1db108016cdf72050d504c41c13d9209b6894eae91717d97d500a40fdb617e7876d626a6edad02987c69ac8ca2a', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, 'rTJxW4lcHGJ3LtQ4mNKH', 'pBozzGqGCj1umcxKPiU', '24b957042154f675d77d0830acc49323cd79cbea303b4b8ec8e00e90a9d731a21ded74ba2e82655891bd839dda85ea1161c6e0d4000fba48eeb8024e8d38faee', '0OC3uRl2sMow41RIwyuT', 1, NULL, '2012-12-22 18:17:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (1.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'lvmOAMdtBsXuTnoyOIj', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 9 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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_2[0m
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1fab30b8a90d16f010919191bc242b322e011b48c0dd9e81fbef2055daf35153f0ac41fb2366d79f43a39f4e29631460cfa43cea9d00b03c767692bee45eb105' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'T2Zf6JjezQPEwIsWvMSv' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', '42a2e1645689bffb06bd49ffb1d293fe64a45e70ba7adddcf3fb6a3aaac47545f08871aad4b4f945306bc645784a059a95c0b673db0120cf7f01413f974d5643', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, 'NZErxb49NjI7BDVAEXiA', 'awH72DnoxBpzXSSZt5rV', '1fab30b8a90d16f010919191bc242b322e011b48c0dd9e81fbef2055daf35153f0ac41fb2366d79f43a39f4e29631460cfa43cea9d00b03c767692bee45eb105', 'T2Zf6JjezQPEwIsWvMSv', 1, NULL, '2012-12-22 18:17:48')
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'NPhHz683qeSqbXr8YWWi', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Form 5', NULL, NULL, '2012-12-22 18:17:48', 'form-5')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' 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-6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Form 6', NULL, NULL, '2012-12-22 18:17:48', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1
+Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '69a1d30fa5b811d56ccbaac7916e9a67f6acecc986ede6947ee12766dd5a7be9052d454d7b278eac3174889858079fc1608ecc5e2f61719f2a7a10b834995f1c' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ug8c0yuHh4PI1keQdKM' LIMIT 1[0m
+ [1m[35mSQL (1.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', '3eaa7541f63fc72d5d5db0ac4a03a9f4d125442db852a744cbd0a7b71dc0573f0ce0ec59dcf46a1f4d225876938cffa55f904a1cafc02f36fd2c7e3c5eb0a378', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, 'pJWhmFXyhxWDrKuIqxuG', 'ZvMlrnyLdeznuUT7vswP', '69a1d30fa5b811d56ccbaac7916e9a67f6acecc986ede6947ee12766dd5a7be9052d454d7b278eac3174889858079fc1608ecc5e2f61719f2a7a10b834995f1c', 'ug8c0yuHh4PI1keQdKM', 1, NULL, '2012-12-22 18:17:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = '6mT2EWOEqoRHRPcW2Y5F', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
+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[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7673690e79af1732766f5071dde8b45ce2d45b12059e40166ca36b75e5dd313e991e0307685a6395d4d65e9f3d506d91de01f0aa11d5371a63330047165f0a0a' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lxgCxLX8ZjBmD1h91HWl' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', 'd44a0c6870c726dd9a7e5ae8a4ef457f30fbfb016dde308864f8d6194f92daa69f0f3566be7faa40518229487f53c0b920802f66b4ee541909e1f2f9959adb4b', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, 'Ondm7cURruOe9tUkIRoM', 'KuNl4joRgAUhtousZApn', '7673690e79af1732766f5071dde8b45ce2d45b12059e40166ca36b75e5dd313e991e0307685a6395d4d65e9f3d506d91de01f0aa11d5371a63330047165f0a0a', 'lxgCxLX8ZjBmD1h91HWl', 1, NULL, '2012-12-22 18:17:48')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'g3qjVQryYu3NhvloTH8', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 12[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Form 7', NULL, NULL, '2012-12-22 18:17:48', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"7", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:17:48 UTC", "updated_at"=>"2012-12-22 18:17:48 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-7"}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 7 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` != 7) LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 7) LIMIT 1
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_inquiry_forms`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 14ms (ActiveRecord: 0.0ms)
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 7 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[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 'ecb33d9cdd2ac4829fed046949fdcc56d26bfd5cd6396d31e916878740fbff77c9829ae7f5775b1368a47e2f35fc190886d482edaa14b8273e10cfa02db8f723' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oH2R51DcANGZcrYG9aw' LIMIT 1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', '2bd7d52ce3408871be2f70d27ffe7f7bf06652f850b9d0f784c5d57c0d61b06828dc55d3e6cd60728d4ed35dbb32dcd60527229eca3109568ba84e9a1c7dafaf', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, 'vyyW7bvfvllGVARpeKOH', 'ocEFcwVsmcGjOUk0W1', 'ecb33d9cdd2ac4829fed046949fdcc56d26bfd5cd6396d31e916878740fbff77c9829ae7f5775b1368a47e2f35fc190886d482edaa14b8273e10cfa02db8f723', 'oH2R51DcANGZcrYG9aw', 1, NULL, '2012-12-22 18:17:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (1.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'nCtWwqfAOWyUFRkxyf8', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 13
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Form 8', NULL, NULL, '2012-12-22 18:17:48', 'form-8')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"8", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:17:48 UTC", "updated_at"=>"2012-12-22 18:17:48 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-8"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 8 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 8' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 8) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'eb9e60289a1ffc1bf22613627a078529c5d6b4b798f125f035a7ff7cf06a4c40e062820888b0fb68b7032469a9c0c22c481ff5a6fa004946fc34499c4e9613a7' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '41wqLzxnhyepaNs3YnH' LIMIT 1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', '603a3e9d10b2e2625f055ee868a00b393862543be4b1eb1c6fea24b6740194753300facc9efc99686cafeb2e28854d45e7dbdac6498091bcbe31c74bccf4422c', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, '8U7fhyRHCGF6OVdt5VOK', '5TAag7pbVSL4UnG6KRX', 'eb9e60289a1ffc1bf22613627a078529c5d6b4b798f125f035a7ff7cf06a4c40e062820888b0fb68b7032469a9c0c22c481ff5a6fa004946fc34499c4e9613a7', '41wqLzxnhyepaNs3YnH', 1, NULL, '2012-12-22 18:17:48')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Zp3JXhkc2UQ82HeDXhVF', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 14[0m
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Form 9', NULL, NULL, '2012-12-22 18:17:48', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mSpudUser Load (0.9ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 9
+ [1m[36mSpudInquiryFormField Load (2.0ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 9 ORDER BY field_order ASC[0m
+ [1m[35mSQL (0.6ms)[0m DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 16ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1b362e617b8e8655edc10d7138ff6ac2fe441bae7620aa01727d7602024c55d79dd3d6622e45080f6511fdb1d17eaecc14f894bfecb75564222dc5501ef764e3' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'RBSppgwiGzvd1NCVPjhu' LIMIT 1[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:17:48', 'b90e5661555f60ede547ae84db85c95296c743f5ebd4b345ab4a494756eb0b2e55f49084efada3cac2033d87d968226585a379e3a1761be8190d68257a3a64cb', '2012-12-22 18:17:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:17:48', 'testuser', 1, 'AzdmLC6pxognwCqkzVzz', 'aZQxrcXA9tSkxrn3EvAe', '1b362e617b8e8655edc10d7138ff6ac2fe441bae7620aa01727d7602024c55d79dd3d6622e45080f6511fdb1d17eaecc14f894bfecb75564222dc5501ef764e3', 'RBSppgwiGzvd1NCVPjhu', 1, NULL, '2012-12-22 18:17:48')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.0ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:17:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YrirrIZnOTdgeIYWhrzd', `updated_at` = '2012-12-22 18:17:48' WHERE `spud_users`.`id` = 15[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Form 10', NULL, NULL, '2012-12-22 18:17:48', 'form-10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 15 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 200 OK in 23ms (Views: 21.2ms | ActiveRecord: 0.2ms)
+ [1m[36mSpudInquiryForm Load (0.4ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 500 Internal Server Error in 3ms
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:17:48', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:17:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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 (1.0ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Form 11', NULL, NULL, '2012-12-22 18:17:48', 'form-11')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Form 12', NULL, NULL, '2012-12-22 18:17:48', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.7ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Form 13', NULL, NULL, '2012-12-22 18:17:48', 'form-13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.6ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Form 14', NULL, NULL, '2012-12-22 18:17:48', 'form-14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.9ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:17:48', 'Test', NULL, NULL, '2012-12-22 18:17:48', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:17:48', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:17:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:17:48', 'email', 7, '2012-12-22 18:17:48', 'test@spudcms.net')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:17:48', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:17:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.4ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (1.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 (2.3ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (3.3ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (2.1ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (2.1ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:52', 'Form 1', NULL, NULL, '2012-12-22 18:19:52', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"form-1"}
+ [1m[35mSpudInquiryForm Load (0.5ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 70ms (Views: 8.6ms | ActiveRecord: 5.8ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.5ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5c32a96be915dfa109474777e13a51e7dd0fe025dcb09e2952388f4e917686d1840d2dac6232c499de215d530504b357edc3e8741480d9a229cef6fc0cab4027' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pfcdlfqaaNCysQLw8zB8' LIMIT 1[0m
+ [1m[35mSQL (1.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', '96189fcc425328e0df3e6ceecbf27f599d90513900d9e6afbe5ff4918e65ef1f8138d8cbf39419f5d578b26794356b5f8364565e57ac1b735debdbc2283eafc9', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, '0SL3LagPlWT93eKg1E', 'xLeaSM1LKRIzdC0D2n', '5c32a96be915dfa109474777e13a51e7dd0fe025dcb09e2952388f4e917686d1840d2dac6232c499de215d530504b357edc3e8741480d9a229cef6fc0cab4027', 'pfcdlfqaaNCysQLw8zB8', 1, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.8ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'TTqXfzjAbxWYLk0ypYDk', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:19:53', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:19:53', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:19:53')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'aa4f0db848337ffcff40e0ee7e1ac40a119287bbe2fd5924a44b17989321af6f7fd04c540b40c251967029c8ff020512c6c6431b85dba9d999f27b6a56d4b250' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'IXKDWTGH6RAJNzRwYpsz' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', 'e1661fe221019b75ee17f8bcfded4b62f71912d7fd0fcff67617467d15eb7d128e010a95ecbb6f80059b6b78ff510a981e521e5f8c9b4e54999ab478c44b0212', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, 'Ej0bAQBUHitwMe8ZUbmy', '9sCO7LcWsjPy7gKwYrCm', 'aa4f0db848337ffcff40e0ee7e1ac40a119287bbe2fd5924a44b17989321af6f7fd04c540b40c251967029c8ff020512c6c6431b85dba9d999f27b6a56d4b250', 'IXKDWTGH6RAJNzRwYpsz', 1, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wx0MDQ97QqhJ13jwXnm1', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:19:53', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 2.7ms)
+ [1m[36m (1.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.5ms)[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 '741b86deb526c586db9a3953146ab760af74ebc3d750c4dd62428f4c3785ee4615c2452d767df3141ec772f28718ea61272a6395b8ad98a339bd6a4305f7af0a' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'f6OxrVrW1wNOYdYj4TRX' LIMIT 1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', 'c4e180d23b9aa090387fe2acc8d100715655ae85abb2c2d086050d59e02616d4cb225ec3c3c17c4dde4ade50f91ac6e5a2bd4d4868df6ac4a3828cc33cbfac60', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, '6VkWkGAwxx8TsxaT0Ug', 'IKG3ooCE8ON9RsVDRYIV', '741b86deb526c586db9a3953146ab760af74ebc3d750c4dd62428f4c3785ee4615c2452d767df3141ec772f28718ea61272a6395b8ad98a339bd6a4305f7af0a', 'f6OxrVrW1wNOYdYj4TRX', 1, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.8ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YnGw3insQTedIkthapf', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.4ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.7ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd4e99cdbd967b35e26cfacc8dd9697a626f92142e0707a327d6623c8ec33e962f5241192cfb2d0c9e3fa1d27d94590009dcee4bf3e24a9ab7db5b1b42d604f5d' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bn57LFxnMm8ofzFP2Cmr' LIMIT 1[0m
+ [1m[35mSQL (1.0ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', 'd12f6478e4b3619abfd98eee2827b114ac1a3a579139886c2c2d3a5203b3bcb399869a16c8a61364d989740fe42b82d93be72da0357d9c25274bb508deb0dc29', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, 'qYY6WkS7IjNv8QWfKHhv', 'wkas2mRgVWieyWCJx', 'd4e99cdbd967b35e26cfacc8dd9697a626f92142e0707a327d6623c8ec33e962f5241192cfb2d0c9e3fa1d27d94590009dcee4bf3e24a9ab7db5b1b42d604f5d', 'bn57LFxnMm8ofzFP2Cmr', 1, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = '0PpyibCFNLlYKO5nOF', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:19:53', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '57b88820412326cb173bbb1e91c6543dd5ae7b66691629b3fa59084f19bd512ecb411b1c4b7ec7f80721aeab924b4c30276c69526ab1a3c543e3cef5b9f3e25c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lfhUBWVo53xbTRtqhUF' LIMIT 1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', '592c77d7eff998b2be27f4ad417da20c0368c4ebdaa106b7731f174a95f182689f1ecbddc0ea57b4e7cc3732be49ee698d4fe95334facc078c18b068c4c434a2', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, 'bLGK3XgBLWyFCByKlaQO', 'GvQ2bAiXJforDMoBSOH7', '57b88820412326cb173bbb1e91c6543dd5ae7b66691629b3fa59084f19bd512ecb411b1c4b7ec7f80721aeab924b4c30276c69526ab1a3c543e3cef5b9f3e25c', 'lfhUBWVo53xbTRtqhUF', 1, NULL, '2012-12-22 18:19:53')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (1.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'yhiyQkqY0qrm8bR135f', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:19:53', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:19:53')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+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` = 5 LIMIT 1[0m
- [1m[35mSpudInquiry Load (0.4ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 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[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e1280317632a7e4a1e2f609ca2dec48fb2f053e78d388d654cfb64eb056e733660c76e73073c83a137db6db73dbb697de00638e931aec395d43f034bf1f0e9fa' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bHwYrGwECztTQsu2m9' LIMIT 1[0m
+ [1m[35mSQL (1.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', '8d63af6592349e52a5ec576c896f75a4dc8f5a2d4542abba197984cdfb8106bd8d6d3aa91d68f510c87ba975573b7b334050f69a0040dc0e8f996bd5db6ccd94', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, 'qkA9aCdksAqZfwLAAXw', 'U0dxGfAs7rdTTqKKG215', 'e1280317632a7e4a1e2f609ca2dec48fb2f053e78d388d654cfb64eb056e733660c76e73073c83a137db6db73dbb697de00638e931aec395d43f034bf1f0e9fa', 'bHwYrGwECztTQsu2m9', 1, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GNJag6ynaDxPRvfPpOLr', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:53', 'Form 2', NULL, NULL, '2012-12-22 18:19:53', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:53', 'Form 3', NULL, NULL, '2012-12-22 18:19:53', 'form-3')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '1b3f84a81d24c58d6640573fa4d603df7eaab92fe490ba78051af61655cff8fde6ef229b87668f97a75f62d716116c9593e33d7de4e7ab1c7b3ae194b2e8ebbb' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'aNXNtfIGNJEq8C0Mwl5o' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', '608d1f24d3a6d8289632c35d211d9cbec267c0f9a034c57bb088f210cdcffbe96e222ff4eca9f5e573b62ad83ddc8a34f8f2090f79cdc105ffdc5b31de694e1b', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, '190flqSEbButrhLgjNJS', '94m4ZL5Ctin0OBvWNTH6', '1b3f84a81d24c58d6640573fa4d603df7eaab92fe490ba78051af61655cff8fde6ef229b87668f97a75f62d716116c9593e33d7de4e7ab1c7b3ae194b2e8ebbb', 'aNXNtfIGNJEq8C0Mwl5o', 1, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.0ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'tEjBWTP0NwfkH3Jz7rf2', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (2.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'f0c4a049d0db5e3cb84ad614e837cb3bb57c41b167880a4555f3e43e227703e3dc554b4dac40656b87360a00b44fc6e50f297c665df8cf3de30aded6e6ab45ce' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WSkIqPMPNEATtdix3CXn' LIMIT 1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', '1373fc3e158474b85b55ca06435e14ab35ecf7c2c9efa7889c71a8b64c4afa95f44690273ad74bab2b581141669f5db9dad1f3647fbd168b0a3c3707cbdbfbbe', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, 'pUk0xInygdctADvBl2ON', 'ouiH59mc4NNYLHrGHow', 'f0c4a049d0db5e3cb84ad614e837cb3bb57c41b167880a4555f3e43e227703e3dc554b4dac40656b87360a00b44fc6e50f297c665df8cf3de30aded6e6ab45ce', 'WSkIqPMPNEATtdix3CXn', 1, NULL, '2012-12-22 18:19:53')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (1.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'PWqjrbdZ4iaw9DBbPOjL', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 4"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:53', 'Form 4', NULL, NULL, '2012-12-22 18:19:53', 'form-4')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 47ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'd98558829781e3f412ee14ca8a89682b35d8537abee0951ebdd123774750a2325687be16c546cf1ac445b5ab0bf41ecee0e78a17d762d7ce98e017f35f021293' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'H9zhGsKDq1CK5BEQGYR' LIMIT 1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', 'de74705b25a12da685eabe4bb2daa4887449f60389e7a1d57d0bb6585013021d738d4cab255befff43e40d12d29a5a08d26a1f16735bb3fb42e8bb1ffb668928', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, 'rOHfFUQZWx88P8fWix', 'l28DOjehvO7vgLrmV6z', 'd98558829781e3f412ee14ca8a89682b35d8537abee0951ebdd123774750a2325687be16c546cf1ac445b5ab0bf41ecee0e78a17d762d7ce98e017f35f021293', 'H9zhGsKDq1CK5BEQGYR', 1, NULL, '2012-12-22 18:19:53')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vuuqwgh5fCEvxXNt4cjw', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_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` = 9 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [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.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_2[0m
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ff1497487c5554f17bf497924158f3fe0315d878f8744804fc43f9327741ad65bcc2f64294bfcf294cffa562fd5e3e8eb1bf15ff75a0816820175fdb99502975' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '2fe7l7rdmdIHJTcyXAW' LIMIT 1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', '99e02cd5310fb772715d3da18363bde87f0347c43848fce75a905d12add8022d6acca7f71dd82e9e6de396947311e23aa775cbae6e82c2f2ea067113f4f3ea43', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, 'xYPHtnDv0c4CeUFAbrN', 'ADFOEN6pnhj4C0HMTUaj', 'ff1497487c5554f17bf497924158f3fe0315d878f8744804fc43f9327741ad65bcc2f64294bfcf294cffa562fd5e3e8eb1bf15ff75a0816820175fdb99502975', '2fe7l7rdmdIHJTcyXAW', 1, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Xc3sp8XsjYXdW7A3D', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:53', 'Form 5', NULL, NULL, '2012-12-22 18:19:53', 'form-5')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:53', 'Form 6', NULL, NULL, '2012-12-22 18:19:53', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1
+Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.6ms)
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '48df26656431a1de98ee49f8ac5772c88c9696b3be680862f39bf3f3a79dcad601ed30d6bae7ed24dd89524f750fbc90bbfe9568e4382049697cd2c175863404' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bDXbxNwEgqgYI6se7yIv' LIMIT 1[0m
+ [1m[35mSQL (1.0ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', '5f2dd104971044ba90da6e168f4f47fa3ca63fd3c962e99e70f27c7fae6d2cd71d196caede33b55881af984293ef72dc18e44eaa4cc1949ff65e9c025ce18198', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, 'Rw0eEwoyTZxUCvVwXA61', 'zo10rBqaOh5slXzP3e', '48df26656431a1de98ee49f8ac5772c88c9696b3be680862f39bf3f3a79dcad601ed30d6bae7ed24dd89524f750fbc90bbfe9568e4382049697cd2c175863404', 'bDXbxNwEgqgYI6se7yIv', 1, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'HezhRHfhGcbYwIMk4vfO', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0afadafa172d2f80bbccf5239977e21903ce57cd4fb20f070d1e32b00491cebac5c7a7cc23f11098bb66071d34bc1588bfa132f980498e16de37ceffdaa5008b' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LRResjzK0ldtcZyg1Kb2' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', '5220cba500fd532f74a1c652fb5bfb989187b651a6e799faf0668ebc080bd97000ef1dfc629e86032c96c146e29142d7f32520232437f821041f8dd5936cb1b4', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, 'NQVPyYiQsnPNL8kLT3', 'q6bbZkesBYBgCHTiXLax', '0afadafa172d2f80bbccf5239977e21903ce57cd4fb20f070d1e32b00491cebac5c7a7cc23f11098bb66071d34bc1588bfa132f980498e16de37ceffdaa5008b', 'LRResjzK0ldtcZyg1Kb2', 1, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'eSg58Y7eaYCWmjVdKe7', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 12[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:53', 'Form 7', NULL, NULL, '2012-12-22 18:19:53', 'form-7')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"7", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:19:53 UTC", "updated_at"=>"2012-12-22 18:19:53 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-7"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 7 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` != 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 'myform' AND `spud_inquiry_forms`.`id` != 7) LIMIT 1
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_inquiry_forms`.`id` = 7[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 14ms (ActiveRecord: 0.0ms)
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 7 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[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 'd8f2c08464fd6c9d10b8f5f32070a6994cdb5779a6261f2d5d7f241054f65e07aa03255f7cc14e1af8ccad824c6b1b172e7c890ebf41e8f70374729100958c7e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'H5DrROUSvefdrjTaDt72' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', '676e92e14044513d9b576016e11ad267a75d12f5ac42791d0e5c491fb99505b73667210ca71c3ece4abcae5c93c5bc3834451e9d085b60f6b3106af1701100f3', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, 'reFM6ajtAXV93FTOZpi0', 'GRv6umErijbwIZoSqFk', 'd8f2c08464fd6c9d10b8f5f32070a6994cdb5779a6261f2d5d7f241054f65e07aa03255f7cc14e1af8ccad824c6b1b172e7c890ebf41e8f70374729100958c7e', 'H5DrROUSvefdrjTaDt72', 1, NULL, '2012-12-22 18:19:53')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (1.0ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'DaZ2rKzm3MAjpZ6UG9GQ', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 13
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:53', 'Form 8', NULL, NULL, '2012-12-22 18:19:53', 'form-8')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"8", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:19:53 UTC", "updated_at"=>"2012-12-22 18:19:53 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-8"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 8 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 8' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 8) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5b4604a82080f453f0bd3c4d03f43b700659c60ed954eb522b82c0d348a9141341a23af957b4d495335474208b1b96428f5f6899b97fa98461f0db004a4145df' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'U62VV2xvCYfnXV7vqkD' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', 'b4ccf2fdcef0cd79608db0a2bc0f18bf1e9dcd671d8a50af3bcd4e7c1e00c54433fade510b2c497f9572fb93235fff1363ac216e7b495ecad06962491d7421f7', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, 'HLjU4bT4e7KxEHAyYQbK', 'cSdkpipvGZZtdsRSz9md', '5b4604a82080f453f0bd3c4d03f43b700659c60ed954eb522b82c0d348a9141341a23af957b4d495335474208b1b96428f5f6899b97fa98461f0db004a4145df', 'U62VV2xvCYfnXV7vqkD', 1, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.6ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'AgBjz5YasScX5tFsOUU', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 14[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:53', 'Form 9', NULL, NULL, '2012-12-22 18:19:53', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 9
+ [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` = 9 ORDER BY field_order ASC[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4a3630bd2b0fadcc408956b8ff00db8bbeabc934b07255537d086247eaf7b314f4ecb8974041a588161f0495242e4303e4e3c49b8a99812f7d1dccd6646f0c75' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FeNU9PNi5T70OiqmljQ' LIMIT 1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:19:53', 'f29a8d47ad916fa3c0492df2bf875a9032e6cbbccac57681f2b44b9752f7e6348f4e756cab7876e0b0f600f80099713cc69f262f8a7a6ae0a9e57b6a51210f0a', '2012-12-22 18:19:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:19:53', 'testuser', 1, 'SPk3HBMCuQxMQSUd0u4h', 'Wdoyt9GA4pQJDGcaNZ', '4a3630bd2b0fadcc408956b8ff00db8bbeabc934b07255537d086247eaf7b314f4ecb8974041a588161f0495242e4303e4e3c49b8a99812f7d1dccd6646f0c75', 'FeNU9PNi5T70OiqmljQ', 1, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.1ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:19:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'T1PcvJ9Bhh9FMYfEovUX', `updated_at` = '2012-12-22 18:19:53' WHERE `spud_users`.`id` = 15[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:53', 'Form 10', NULL, NULL, '2012-12-22 18:19:53', 'form-10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 15 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.3ms)
+ [1m[36mSpudInquiryForm Load (0.4ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 500 Internal Server Error in 3ms
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (1.0ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:19:53', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (1.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' 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-11' LIMIT 1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:53', 'Form 11', NULL, NULL, '2012-12-22 18:19:53', 'form-11')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:53', 'Form 12', NULL, NULL, '2012-12-22 18:19:53', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:53', 'Form 13', NULL, NULL, '2012-12-22 18:19:53', 'form-13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1[0m
+ [1m[35mSQL (1.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:53', 'Form 14', NULL, NULL, '2012-12-22 18:19:53', 'form-14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.9ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:19:53', 'Test', NULL, NULL, '2012-12-22 18:19:53', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:19:53', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:19:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:19:53', 'email', 7, '2012-12-22 18:19:53', 'test@spudcms.net')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:19:53', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:19:53')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.1ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (2.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (3.1ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (1.5ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (2.1ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (2.5ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (2.7ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (3.0ms)[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.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:14', 'Form 1', NULL, NULL, '2012-12-22 18:20:14', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.1ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 65ms (Views: 8.5ms | ActiveRecord: 4.7ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.5ms)[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 'fc6c6d82dac642f520f7885ffc8a68dd38cef13615f659d97a85ff4ba6e8929b4f6af1cf21bdb333766ae77d723595e04e0ac88f4b9e665c7dd1127396902acb' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oe4K6FgTz8RRcc3YoMUe' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', '33e56c3d2649866f6367e54dd8481d878856dad02a133ea6c59f63bca7f7f466ad899d3cad7e84f001868066bd7c17cdee0e144704fd476351a84a47a6870b8b', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, '7uMk9Be99OM5ePvJI8fQ', '16NvRFwuWUGJSo1wEHkc', 'fc6c6d82dac642f520f7885ffc8a68dd38cef13615f659d97a85ff4ba6e8929b4f6af1cf21bdb333766ae77d723595e04e0ac88f4b9e665c7dd1127396902acb', 'oe4K6FgTz8RRcc3YoMUe', 1, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'sp2iGBFYeS9bfa0Aon1A', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:20:14', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:20:14', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:20:14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1d6c58fcc7c2647d4c38a63811970d5fdbe6976a23adabac954ed3cd7244488f8561a4197d4d45714d28ce37e01b19e1260d46a851ab7e3bd4d01124b9a34a53' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'H7ISb4XRRzvaSFYcIpx5' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', 'b2487f06be5b234581e7d3596fe20f5741e1ba7095dd09f8abac5b37115060fc1f22c40c0956506152a9b7275abf0988ab76e34476edbee1641a25af2d7d24c9', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, 'O2Aq5ldTjoElGXCDCNoP', 'Vtp0z7gpKUaD8SgUv8Vk', '1d6c58fcc7c2647d4c38a63811970d5fdbe6976a23adabac954ed3cd7244488f8561a4197d4d45714d28ce37e01b19e1260d46a851ab7e3bd4d01124b9a34a53', 'H7ISb4XRRzvaSFYcIpx5', 1, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'PqDoeRoTjd8kQVKPz6Lp', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:20:14', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 2.2ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3113568c0382995a16ddd7063fb5f2911bd6521f6092a06011866c2a3f0196dc747d31676463c2fa0b0d12a30b258d155d219988efe3eeb848be43b0b0ca48f8' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '554D4coJN0lp2k5abMJ' LIMIT 1[0m
+ [1m[35mSQL (1.0ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', 'd758c64c66434b941dd5d4c54e3c6917a8a94d9a2084c346f2a67e2dd1e0a431954d6c5ed55571c6295d33d9a768114df8764ff0f16b5e0296c79c6f86dc6d6e', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, 'KXdUATxmim7pXKi8Urq3', 'WKyxqVdczbDNnYUE5iG', '3113568c0382995a16ddd7063fb5f2911bd6521f6092a06011866c2a3f0196dc747d31676463c2fa0b0d12a30b258d155d219988efe3eeb848be43b0b0ca48f8', '554D4coJN0lp2k5abMJ', 1, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.8ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'SzfQUreyn38gs5IeVvG', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
+ [1m[36m (1.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b595f9b7331ca5039ba01688ab4f4dcf73506ac3e2918ab71c99b54930524e58ebc5c90b8d09ed2d50e0bd9b4cc6366a6909db679d52411b7d9cdefe1ad6f3bb' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oE31mlcj7Wmq1D2anOro' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', '7d75540c2bf169d02a7725e4a6aef690b7a5e618044f00b202d9cd88bbd0487555ae814547fe69ec690a35031e2625fe7debcc7547c807e56887752ddc61fa74', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, '1orFIDJiPoPNvzFPd2MN', '0CIRcdVSMh1bquIg6njJ', 'b595f9b7331ca5039ba01688ab4f4dcf73506ac3e2918ab71c99b54930524e58ebc5c90b8d09ed2d50e0bd9b4cc6366a6909db679d52411b7d9cdefe1ad6f3bb', 'oE31mlcj7Wmq1D2anOro', 1, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.8ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = '5d1wTZ6zJQWVKQELWK7r', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:20:14', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[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 '599b82e8de88b35b30f639ed88cfd4198787b77392501a015a33ef3b7c86981ecb403acd4e378ae52dd11f0bc5aa86143ca0f17eed1bbb4bc2bb6cf49fe9fb51' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FYlI1KEo3Tzly5p2PXjc' LIMIT 1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', '7f5e9eb9329dbcbed67360480476d166610da144e1c8eb5a15ed5ab1cb8e173ba5ac6e8f72ee21f55d94b65fb77d9751f09a9833b26aa354343e5842beacc960', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, 'MDzYTZf5vGyBhGXOdc', '1c1mbER70JU1FoNb8QU', '599b82e8de88b35b30f639ed88cfd4198787b77392501a015a33ef3b7c86981ecb403acd4e378ae52dd11f0bc5aa86143ca0f17eed1bbb4bc2bb6cf49fe9fb51', 'FYlI1KEo3Tzly5p2PXjc', 1, NULL, '2012-12-22 18:20:14')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QbpZoOZBpgIXJIoNA79W', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:20:14', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:20:14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f6dc15ff3244cbe1af74e06614412c3ed25f3c2c9176902e086b8367e4cc439be11236243249e67be237cbad05e5601166c23c0bbdc6e607a77df88cebc90d5d' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'x31d9ILgqmzUeGFI4Js' LIMIT 1[0m
+ [1m[35mSQL (0.9ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', 'ac9a634b2232dc4926096030d35f3d5669bcf33494d53f734f07561707f36f10d285323070ae91538aea82749d6b06d7b19115a1ab3c5e5d022a4dccde1771a1', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, 'vv5JG3fZyapVTg5Wlwg', 'leKEI43XYonNGCe8JmJ', 'f6dc15ff3244cbe1af74e06614412c3ed25f3c2c9176902e086b8367e4cc439be11236243249e67be237cbad05e5601166c23c0bbdc6e607a77df88cebc90d5d', 'x31d9ILgqmzUeGFI4Js', 1, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.0ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = '2pusu8FEBg7TPJ7IqB', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:14', 'Form 2', NULL, NULL, '2012-12-22 18:20:14', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:14', 'Form 3', NULL, NULL, '2012-12-22 18:20:14', 'form-3')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ffddf573e4f821d93afd431c44f87dae750d50164395c7346b88c3b3e65871dc2a61deb959e154de0c6f4623b687cc563e96e0b1e2dc959e8bbeb040075989e9' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'DnIOXwLVod4BpAZvgpDF' LIMIT 1[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', '5b15574f237f116d850fbce83a226f613c323eb51a18e68605240cc08dc5d1917a20f4fc7fa4e1ef0e6a15678c66482f1d5a591cf364568bd1cb2d8f40218598', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, '5uXGbV7YcldH4yqudwP7', '0mr9MLsGdLlYcCprOj1', 'ffddf573e4f821d93afd431c44f87dae750d50164395c7346b88c3b3e65871dc2a61deb959e154de0c6f4623b687cc563e96e0b1e2dc959e8bbeb040075989e9', 'DnIOXwLVod4BpAZvgpDF', 1, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'a6KFfRa7cWljH4O7Vu9T', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '84577ce7a56ab20a6accbdf64e8289452c73480078a3f1833f48797b6010a765977adcbb3a076c0170434103924b0b4dd03261a6760413f3298ed7fe5d6bdaff' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ccJHKXeDcWMt9eQ1ZfJM' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '7edbd7b2e1d8277fcd4fda3a58f9be4e03b076887c7eb83615ba969bc69359c08ab3e20ecaf5d4dad140fdafdf1cf16330c0f1870ae0617421a36972fd35fb25', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'o1VJ8cJq7bkd4hodTwz7', 'vQJEAVTok2IemOW4CJZh', '84577ce7a56ab20a6accbdf64e8289452c73480078a3f1833f48797b6010a765977adcbb3a076c0170434103924b0b4dd03261a6760413f3298ed7fe5d6bdaff', 'ccJHKXeDcWMt9eQ1ZfJM', 1, NULL, '2013-06-27 12:53:44')[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 '02057ec2675186e810f8fb38b6849382fa664fe3b4e9f0fd91750675a91acd257b7fad3cf584823a2083c8094d72a9075f571abe580540e9132c507a7af28ed8' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wekb13XYDu7Jj03JWn' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', 'f0fc28da92f59c5362056b781e19e5336d19da14b964435a6aad3601cd234458d45c3977ad941bbdb68d8fad0c9f615f3557a45b6c91ef237e43624c2cfc0b58', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, 'OXeslBsDruulaVQwE0zh', 'd0sVx2zV264U1awbcJ3x', '02057ec2675186e810f8fb38b6849382fa664fe3b4e9f0fd91750675a91acd257b7fad3cf584823a2083c8094d72a9075f571abe580540e9132c507a7af28ed8', 'wekb13XYDu7Jj03JWn', 1, NULL, '2012-12-22 18:20:14')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'uOBI6y8dcT4NLYeKJFKU', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 6
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'eALyfbROg86XNF2NN5QK', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 8
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 4"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:14', 'Form 4', NULL, NULL, '2012-12-22 18:20:14', 'form-4')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 47ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 6', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-6')[0m
+ [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 'ebdd351672e8a90eff58f4a1c98c1744972cdfa2eb7e5492c0002c12854e9d1b41b057138df2b5709f47519436950c2c0a8fe4b5b223959c521501141569f400' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YtGRsCnYxJiaOQgtOQrK' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', 'f03068cd6b7ea3a411164a57bdfbd21dac670f03c0a730f5a61e1de5553e0c3c2d1a025f2eefd52b499803b7d476a8ea87bb502b37667234e7f5fabe1af8aa3e', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, '9jM0h5oKTk6M6t86rB', 'qfPX7GtdjF0xqZM3hRXG', 'ebdd351672e8a90eff58f4a1c98c1744972cdfa2eb7e5492c0002c12854e9d1b41b057138df2b5709f47519436950c2c0a8fe4b5b223959c521501141569f400', 'YtGRsCnYxJiaOQgtOQrK', 1, NULL, '2012-12-22 18:20:14')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.8ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = '1T2R2n0qEV59cD6bI5Sh', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 9 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [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_2[0m
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '56924a90e4457a3c06f06292d445cc03470b664b040639bc88d8406d79baef82375af404cb813ed72946c63606ab9067301ed893a93b8a90ff8f06ed70658c12' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0PYvJxCxzGu8B211gRc' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', '612a5f9508743c7041fae5cb1a3c56685570cea63e8f3c06a39163d9d4e910aee0226023caba5bda614435644a10803547980766622abb596fdb04151a5e18d3', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, 'fbosWXo3XXXQwfdoDApj', 'H1rNxIWbOxPlxbw9SwbG', '56924a90e4457a3c06f06292d445cc03470b664b040639bc88d8406d79baef82375af404cb813ed72946c63606ab9067301ed893a93b8a90ff8f06ed70658c12', '0PYvJxCxzGu8B211gRc', 1, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.6ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = '4vRYdG5p1xJg1lmAQw', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:14', 'Form 5', NULL, NULL, '2012-12-22 18:20:14', 'form-5')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' 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-6' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:14', 'Form 6', NULL, NULL, '2012-12-22 18:20:14', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1
+Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6d1cb8a92f7f2fd53df98059db95b13389b30e45e1ffc3ebb700e3849b743840c4b69ad64f08efeeb0da1fd54460fc40bd86d790b5d31e2fafb5adbe993a129c' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'JTW8HG7PVrvyR3wAYxy' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', '077358324cee2ab9c049c5dc5dc7b970a5df1bf633e45e2319f4861c292c4ed83173a7e44984873c3a8161685e15948b4b87185d4a2c4ad759a2fbf13cd2797e', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, 'savL0fDqoHyPSaBGBUzp', 'VB4jW5yQx2WQvKPTiI', '6d1cb8a92f7f2fd53df98059db95b13389b30e45e1ffc3ebb700e3849b743840c4b69ad64f08efeeb0da1fd54460fc40bd86d790b5d31e2fafb5adbe993a129c', 'JTW8HG7PVrvyR3wAYxy', 1, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.0ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = '3a76yYm1Fl0jOZkPL4g', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 11[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '109a50f5adfabdd8558d2bf86c1536db9059fb02a7e6f323fee2788bfbd1ea7b927e29ca765e82e40c1bbf4de53845a8ac1c6a6ff9c4be2d5faf1e50435456a0' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tfdzrnKBUmXq404dqK1q' LIMIT 1[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', '7816f63864c45872e1981a5557796bec435d6d5a6c746481bbebe4ca8f966540bb8bf6ac71ffa4f8b862a740c4d3eac08a13ff4e5550adbfcdc2905506562bdd', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, 'If7NzhOl01bXTpWdDXjj', 'luxSy1ROGtr5kO0nXFK1', '109a50f5adfabdd8558d2bf86c1536db9059fb02a7e6f323fee2788bfbd1ea7b927e29ca765e82e40c1bbf4de53845a8ac1c6a6ff9c4be2d5faf1e50435456a0', 'tfdzrnKBUmXq404dqK1q', 1, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.9ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'X0mjTf5jj1eoKbxPxDSQ', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 12[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 7', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-7')
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:14', 'Form 7', NULL, NULL, '2012-12-22 18:20:14', 'form-7')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"7", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:20:14 UTC", "updated_at"=>"2012-12-22 18:20:14 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-7"}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 7 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` != 7) LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 7) LIMIT 1
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_inquiry_forms`.`id` = 7[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 7 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '3c3ade6e676bff4dfea7d51e90e3134b3c57ef5dec678547d2a0a1b2666222ad189c6e07cb12341957d9c711b3901b4883d9a443ed28b6120596af120faca1e8' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XuSeDjgwU2UVrUF5tKX' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', '737360f8315e38576cbdb18c117e70949dbcaabcdd2df88964fcace623347c694f6b81d96a91c085084a88d7565c443fe73070985d3d580f8c2ee1e49eb2df2d', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, 'H0d9eoEIbkO2o4BamnkX', 're4ZswfGDqDLsxh1Uim1', '3c3ade6e676bff4dfea7d51e90e3134b3c57ef5dec678547d2a0a1b2666222ad189c6e07cb12341957d9c711b3901b4883d9a443ed28b6120596af120faca1e8', 'XuSeDjgwU2UVrUF5tKX', 1, NULL, '2012-12-22 18:20:14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = '4rD2qH0E8Z1JYKf9jZK', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 13
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::InquiryFormsController#index as HTML
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
-Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' 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-8' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:14', 'Form 8', NULL, NULL, '2012-12-22 18:20:14', 'form-8')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"8", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:20:14 UTC", "updated_at"=>"2012-12-22 18:20:14 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-8"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 8 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 8' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 8) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 'a16e8ca49a2bf4d0398ffedcac18be4435e9c5f0ea9f7061db06ef36dedb65b3ea69e29d7400668c6cfc6884f251e5e84c78e3d6f52bb46eff9a8616fc0c7b5e' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1h9Zb6riNgo5xIzSdqt' LIMIT 1[0m
+ [1m[35mSQL (1.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', 'cae53c8e0e7fe0d9808a0ac68d6216c64b8c02be0cae809e8843b69276794c5ad9d3552484742ed9ecb0326606a7b538c85a60a5ecae390832ef66099f40ec18', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, 'najME9ZLrOtdvEm1pK', 'cfiq3COlmg6wrSIZgGbp', 'a16e8ca49a2bf4d0398ffedcac18be4435e9c5f0ea9f7061db06ef36dedb65b3ea69e29d7400668c6cfc6884f251e5e84c78e3d6f52bb46eff9a8616fc0c7b5e', '1h9Zb6riNgo5xIzSdqt', 1, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ntjdweXEHn1p3gqHjFBG', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:14', 'Form 9', NULL, NULL, '2012-12-22 18:20:14', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 9
+ [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` = 9 ORDER BY field_order ASC[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '05b0294756dbfdbdb3ee70ce9ff7a9c9efef7913e65323a7b5575a82e5719609692f42e0e9ba19eb2afeec608f3fa7f33f370da606f3fe079ddc95364904c22e' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sk6aEABdfxm6zHLy6mUn' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:20:14', 'c035b0f7ff9fb981423900856f2aa062149701c3134dab07be6daa499c8bf6863fe1d877c13cb0b7a82b3b809ef57f6e3a7ad8733903b6829dfbe59fda3ce153', '2012-12-22 18:20:14', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:20:14', 'testuser', 1, 'Li0u3dhSyPcnyKMam3e', 'dcYNBnSRZA3XELSZcxp', '05b0294756dbfdbdb3ee70ce9ff7a9c9efef7913e65323a7b5575a82e5719609692f42e0e9ba19eb2afeec608f3fa7f33f370da606f3fe079ddc95364904c22e', 'sk6aEABdfxm6zHLy6mUn', 1, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:20:14', `last_login_ip` = '0.0.0.0', `perishable_token` = '6hlyWSBb5OyDlOmqoeaL', `updated_at` = '2012-12-22 18:20:14' WHERE `spud_users`.`id` = 15[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:14', 'Form 10', NULL, NULL, '2012-12-22 18:20:14', 'form-10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[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` = 15 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
[1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.3ms)
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 500 Internal Server Error in 3ms
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (1.0ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:20:14', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:20:14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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.8ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:14', 'Form 11', NULL, NULL, '2012-12-22 18:20:14', 'form-11')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.7ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:14', 'Form 12', NULL, NULL, '2012-12-22 18:20:14', 'form-12')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.6ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:14', 'Form 13', NULL, NULL, '2012-12-22 18:20:14', 'form-13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:15', 'Form 14', NULL, NULL, '2012-12-22 18:20:15', 'form-14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.6ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:20:15', 'Test', NULL, NULL, '2012-12-22 18:20:15', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:20:15', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:20:15')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:20:15', 'email', 7, '2012-12-22 18:20:15', 'test@spudcms.net')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:20:15', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:20:15')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.4ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.6ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Form 1', NULL, NULL, '2012-12-22 18:21:07', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"form-1"}
+ [1m[35mSpudInquiryForm Load (0.5ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 68ms (Views: 8.3ms | ActiveRecord: 5.6ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'becafaae5a5cf1c7f06db5ab5861a30c1b4423845653b72ef726bb5e538a6758991cfc2450a7dbedf4e65426defd1cd2eab0c3e738b15283209aade3df4a38d7' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jdAaB9UasTdByqQrmGpv' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', '5aa392cac2667d8c093ede91c2bf319d1786cd2181f68a9f2266cf061c0910ab3a378085e412bd2d837d0a13c7e5a2a43392ffbf637275d3445028db9ce71948', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, 'UzcqG8vE8xSL8euJU', 'kLVXBZNXyD9BVgjbwG9', 'becafaae5a5cf1c7f06db5ab5861a30c1b4423845653b72ef726bb5e538a6758991cfc2450a7dbedf4e65426defd1cd2eab0c3e738b15283209aade3df4a38d7', 'jdAaB9UasTdByqQrmGpv', 1, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'w0D7AH6qDN2U6FDTqjAp', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '81c10008ad66abf242bb6765ff32993d9530d6015f26c0e1686f447703948f82e1b7ebcb88e802db2bce008ff62782ba93ce7fac3225f426b8443cc324ec30b2' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'DJ9vydbX6czSczm4TF07' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', 'b4a674755de008b4feb82bedb0f1b94e5c559d25c83cee652f2a46f5ee367e981e1390457765c247b11bea7e938d35d67b563b47f896df764df62622eaf99751', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, 'YwPsIrWDk4e0EoXwawp5', '942DNoSGRnyScQR7ZndS', '81c10008ad66abf242bb6765ff32993d9530d6015f26c0e1686f447703948f82e1b7ebcb88e802db2bce008ff62782ba93ce7fac3225f426b8443cc324ec30b2', 'DJ9vydbX6czSczm4TF07', 1, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'T4sLnSBrX6SIYH27Ijr', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 2.0ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'cf764918bc14e7d5d0d518c24fab5789c1efaa920e33436882957f8a9c880a2e77effd9b9a8dfc727063ae15c07304d0da6e3652a4363bf51055a1341d32526b' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '53Q1wz9rXVohu87DCm' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', '8fabb33e9d8f9cac1b6bafec0d77a2fe149fcd8e7b0c0a018fb096a7b59f584851eaffc01cd85966e327b9e5487a761b4da268df85f45428e2100308ae02345d', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, 'j8dyDjjGYGyqBbRKG0Fa', 'LZgv2aDkDONDuX8r3fi', 'cf764918bc14e7d5d0d518c24fab5789c1efaa920e33436882957f8a9c880a2e77effd9b9a8dfc727063ae15c07304d0da6e3652a4363bf51055a1341d32526b', '53Q1wz9rXVohu87DCm', 1, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'XRecNDuFc1FDtmEAHuQI', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.6ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.5ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '00a62472fa867ddd5a6f60ed7c5a22dd351affe5750ee0176f02a7cd9cdd1a682a7f76f46ade3f6140d9ab3dc82536290ac65e40fb2fe16adde790559c4f6b10' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FpE6rUD7TsF4DjGeIT' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', '226fc3c535dbd575c90d89ce1e54ec9e442c4e561ad0d7a780337f895d7de1a4914facefd5da1c94e83287860355cc8cf446fafef261874a1be3a8c474ca3dc2', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, 'pQtorauqlLIRh4F5REL', 'uTIER7160agV8PagOi', '00a62472fa867ddd5a6f60ed7c5a22dd351affe5750ee0176f02a7cd9cdd1a682a7f76f46ade3f6140d9ab3dc82536290ac65e40fb2fe16adde790559c4f6b10', 'FpE6rUD7TsF4DjGeIT', 1, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'TCBLPuIZ0BG0PGsaWqH', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (1.4ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'a5bcbe4be4d9071d0c94658dedc60ed6054b1e6e7f161510bf93917d82baa57cfcebbdb0241c605689ff5bb65b7c4363782c4d2d7962edea69045e06fba4874c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gCwinx7bsREP8hOzDAE' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', 'dee5f468fa5b5769f745422ddac533dad5ab56f238ebb5f7eddb2305f5c239d98f252a7a24b25bb8dd9e119173fd321eb18db47a95880a3e8860e1079dae16c0', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, 'A6AmXjtCXNlqRVL6G0ZQ', 'OXTht4DVN4woddaPf7iQ', 'a5bcbe4be4d9071d0c94658dedc60ed6054b1e6e7f161510bf93917d82baa57cfcebbdb0241c605689ff5bb65b7c4363782c4d2d7962edea69045e06fba4874c', 'gCwinx7bsREP8hOzDAE', 1, NULL, '2012-12-22 18:21:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'O3y6qsuUnC3rh5HrhHB', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'dc6c7e786a74352f50b569d0cfc37b9786644ae25f1afe8fbc54245f2e02748c03561d08bcfef4286ee661561e9af6b89e20bf15900160f2e9aa6583af018edb' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7xOHCgwIFXZkq8cL9As' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', 'afbac0b6ec7a0000d9b2fc2c37d64b061b2bac41a79059abd6ce3fbd3c9e9be843e36b648370024387b76ecb5ad568e66c94b4148da42483a28968b8084c8198', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, 'cKTwx2cNIbePDcYTCfuv', 'XAPlrpfaCSPZuIMlQIpO', 'dc6c7e786a74352f50b569d0cfc37b9786644ae25f1afe8fbc54245f2e02748c03561d08bcfef4286ee661561e9af6b89e20bf15900160f2e9aa6583af018edb', '7xOHCgwIFXZkq8cL9As', 1, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wWuXwb90SzTXdAnccH8', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Form 2', NULL, NULL, '2012-12-22 18:21:07', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Form 3', NULL, NULL, '2012-12-22 18:21:07', 'form-3')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8e15966fef199560136f8d64b35e4cb9c2dcb5b33182bbd236e683822779e169a1552678121822c9e83e2ada5a958a6643f22badcfca6c3d5ac60e38b6fa8f36' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fmmRgtcVuxRXyZ6d9Ndp' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', 'a7c22f0a7fc32fc6247e3ea1fb9b29d07121599296885e7c53449abd03ad559dca52084f39761a2ee0bd2f7b7a53de11bba295902e38a5afb8ad3c855ce634a0', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, 'ybjinix68dzNox2BqQVi', 'aoWBJBjTAVr3MXzJKvc', '8e15966fef199560136f8d64b35e4cb9c2dcb5b33182bbd236e683822779e169a1552678121822c9e83e2ada5a958a6643f22badcfca6c3d5ac60e38b6fa8f36', 'fmmRgtcVuxRXyZ6d9Ndp', 1, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'LRYLZQ4YEtibGl8WMIV', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 'c2fa0f84f34f03ef7f0f5443200e369677a583fc7bd92073841240981264aefd913a51936bff018571e7aa3729c3785d1758f8a448b4ee0dc1d91c41f2b04858' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uxAEtJ7VtNgLJ0HzZud' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '16b9389c9d5d88225b0374556cf1d0fa4d57d838d948c93a8bc9de6a3b1d6395d6f42369376d10a464d0b75881a194670c40d82e194579122ba65b3618f92bb3', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'QcotXbes77MTK3mJSO', 'qm0a1w7Z7CxSSeDj2XBB', 'c2fa0f84f34f03ef7f0f5443200e369677a583fc7bd92073841240981264aefd913a51936bff018571e7aa3729c3785d1758f8a448b4ee0dc1d91c41f2b04858', 'uxAEtJ7VtNgLJ0HzZud', 1, NULL, '2013-06-27 12:53:44')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3d49acff4e826df9111c2697a5e37e2264b8e5b5e815772ad29b0c7bd0ba8c035f50da0fcc696d5b36b9fb50728675c88ac0cc2d732a4f65b68d775945e29205' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mFGr25Kkhz4QDeijiK3E' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', 'a7dd5778ce180c7db66cd7c704f57779a1b4a0c3dedb9652acd5997ea1f1861723137d8074e0ec3a9f9d7e65a1f5beba5a31df99377279ad21611173467d3a65', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, 'UkIE8biIwL5Rp6nB84eP', '0GqakqzSxCnulwcVmaI', '3d49acff4e826df9111c2697a5e37e2264b8e5b5e815772ad29b0c7bd0ba8c035f50da0fcc696d5b36b9fb50728675c88ac0cc2d732a4f65b68d775945e29205', 'mFGr25Kkhz4QDeijiK3E', 1, NULL, '2012-12-22 18:21:07')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'KNIlOx0sYZew0t0Ojy', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 7
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'e0oA5LDjz7ygSiJPkwMT', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 4"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' 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-4' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Form 4', NULL, NULL, '2012-12-22 18:21:07', 'form-4')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 47ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '340a1dc2fd022f3c6b1160b3f791cb361303291752769c403ec1c6b702cbe4940578a833b1dab5edce63446c384fa5d34bbc7d0ca128e974910593eaf119da90' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '58qOAAXTZEb8VTEfHsxG' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', '1f06e96bf543b3712696195d792210b209e99221c3c33d75a9b2044cb5b29ca46a90a60bdd80da80b8cfff24351708cc25570e3704c622dd76a1124a9b143b3d', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, 'ycZ3LIj8VCSV5ocuCE4', 'a94Oaifav7l7bggWXGbk', '340a1dc2fd022f3c6b1160b3f791cb361303291752769c403ec1c6b702cbe4940578a833b1dab5edce63446c384fa5d34bbc7d0ca128e974910593eaf119da90', '58qOAAXTZEb8VTEfHsxG', 1, NULL, '2012-12-22 18:21:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ggmIx242CxDjytTqdtv', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.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_2[0m
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '79dfacc1dfe59250fd7c4bbfb03cf85a459325b9d5103f40ad0d6eefaee08d1a212cf88e2fac9f370efab99a8a4482df0d40e30d9fffd9d1c5966c3116e2a8bd' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fwOpk6u0VVNE3dSdSqb' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', '5c098c25e5ae987a7882cf767c2828fd3f8cf9d5df94aa8b9346e7d477e341f08b49f07c626eb0f16ea438bf8ad33ca47629f0682adf7d830795bb02bfd56ed3', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, 'ShzvbHDmoJNUniTjVwmQ', 'gUdaKvw9r1hF8liHt6fk', '79dfacc1dfe59250fd7c4bbfb03cf85a459325b9d5103f40ad0d6eefaee08d1a212cf88e2fac9f370efab99a8a4482df0d40e30d9fffd9d1c5966c3116e2a8bd', 'fwOpk6u0VVNE3dSdSqb', 1, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'PGX0I7wT2xshjbJpXg5P', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Form 5', NULL, NULL, '2012-12-22 18:21:07', 'form-5')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' 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-6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Form 6', NULL, NULL, '2012-12-22 18:21:07', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2fd1bd353fb4275894dec3addc0332c43bab9e502b28c1b73df99be0c41190c88e32c5e62c91dc49ef199c86ee604478e986f47ffc3713510be52f37118127e0' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nixgzUDG592VwYqOYMVU' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', 'c32f0a29b3b38c70607da25640063a395b9436d72653e0d5ee0294da6b57250e054938275e75f93b17c1deb8b6c0733eb8c3091706ef6846a090782ab3c488b4', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, 'bADjckzCt8jHiuLZGZs', 'LOmjxBwS5fqNoaFhv6wC', '2fd1bd353fb4275894dec3addc0332c43bab9e502b28c1b73df99be0c41190c88e32c5e62c91dc49ef199c86ee604478e986f47ffc3713510be52f37118127e0', 'nixgzUDG592VwYqOYMVU', 1, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'cRaUny4aHmRIiOWaaDs', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7bd17e042e6c3a5a1f216926095eb09a53e569ef5b41060205d84fa0a543d4bbede5cd7bf366a5c446bb6b4e4829929ebcab35abaef4ed4a85489a6dec7c6228' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0fr2gx7DgdVixc75oDrS' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', 'e3251ca28468c34bc642f2c71e4c200991920adf98462c8c39bb78ebf80698106e49aee255c01a744602d0bb70cb61d2cdbe198aeaca226aabf12d421e9ef5b7', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, 'OBi9YTjXkKOacolaiwa2', 'qJuGcdg7Zuv2RxGQjuyE', '7bd17e042e6c3a5a1f216926095eb09a53e569ef5b41060205d84fa0a543d4bbede5cd7bf366a5c446bb6b4e4829929ebcab35abaef4ed4a85489a6dec7c6228', '0fr2gx7DgdVixc75oDrS', 1, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EmUFFjuiSu1oFg25idHj', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 12[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Form 7', NULL, NULL, '2012-12-22 18:21:07', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"7", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:21:07 UTC", "updated_at"=>"2012-12-22 18:21:07 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-7"}}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 7 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` != 7) LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 7) LIMIT 1
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_inquiry_forms`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 7 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'fa34babed1e57b1c864f4b58c007d52b2e5a1d50693e1f3479b4f548198cf7a6fa4e432cde07e8a7c51acbd751dcbaa5ced0c4ab209e8936e95373713eaf30f0' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1MgCxWytgFWZDh7e3oZ' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', '62dbdd4c7e91223c0d3e97e8733a071b065b390cca8d075ca905fc9ab733f053768fc7ede48e9b86b2a9309f143a0c322e0d8d4270aa18fb9fafca48e2e1f496', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, 'E1c3OiH2hbvGuJrOSVWi', 'X1eQL6AkMMNYN1pjcoh', 'fa34babed1e57b1c864f4b58c007d52b2e5a1d50693e1f3479b4f548198cf7a6fa4e432cde07e8a7c51acbd751dcbaa5ced0c4ab209e8936e95373713eaf30f0', '1MgCxWytgFWZDh7e3oZ', 1, NULL, '2012-12-22 18:21:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VorYuOitpHinWiLjr7x', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 13
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' 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-8' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Form 8', NULL, NULL, '2012-12-22 18:21:07', 'form-8')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"8", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:21:07 UTC", "updated_at"=>"2012-12-22 18:21:07 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-8"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 8 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 8' AND `spud_inquiry_forms`.`id` != 8) LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'form-8' AND `spud_inquiry_forms`.`id` != 8) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2facd942ccbb55905c5e26bc57a0073cbfb3c431d779897ad17686da209c75f888cb245a9ae6969551f9c95884235f20d60bfc2596d6afdb7427c2694990e42a' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vyyN1rPdxweb9N1G08' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', 'c24ee17ca08386ae589a0129ae80919c1f9dbcefcf8a97241f01ab4fa6d01070e28b5aed4d18bbfc74844340999fe9d87bb7391254f61d7b69364bd8d315b3a6', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, 'jpUCZ9D359wc5H1csuEF', '7K6B7kG3eXe05CrVvT4D', '2facd942ccbb55905c5e26bc57a0073cbfb3c431d779897ad17686da209c75f888cb245a9ae6969551f9c95884235f20d60bfc2596d6afdb7427c2694990e42a', 'vyyN1rPdxweb9N1G08', 1, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Nk2WUa2J2LPl0EXQzLm', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 14[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Form 9', NULL, NULL, '2012-12-22 18:21:07', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 9
+ [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` = 9 ORDER BY field_order ASC[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '72d0afc64b943facfa58c837d7cfaa625e62867469dffdeddec2b6e0b6d20019f5786b1401d8bcdb0ad5d9a77ee1f14df66a1a05cf3b150c574457d9585bea1d' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mif4m5svLSwDuSz8ei3K' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:07', '8591c8e97dd18c035f7cd734a564169f9b209f80ef9c7fb4f02c6fbd6fb726765bd7808a7ee21e5f4bb91df364b54e53b4c192f95be9a5b8b14393dbb52cc796', '2012-12-22 18:21:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:07', 'testuser', 1, '50pZZxnnXjiTb5roUUi3', 'aaXrme7xlqxBMoldEe', '72d0afc64b943facfa58c837d7cfaa625e62867469dffdeddec2b6e0b6d20019f5786b1401d8bcdb0ad5d9a77ee1f14df66a1a05cf3b150c574457d9585bea1d', 'mif4m5svLSwDuSz8ei3K', 1, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Ohl6TH0lGxFqm5zFEtR8', `updated_at` = '2012-12-22 18:21:07' WHERE `spud_users`.`id` = 15[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Form 10', NULL, NULL, '2012-12-22 18:21:07', 'form-10')
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
-Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.2ms)
+ [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.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.3ms)
+ [1m[36mSpudInquiryForm Load (0.4ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 500 Internal Server Error in 3ms
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Form 11', NULL, NULL, '2012-12-22 18:21:07', 'form-11')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Form 12', NULL, NULL, '2012-12-22 18:21:07', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' 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-13' LIMIT 1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Form 13', NULL, NULL, '2012-12-22 18:21:07', 'form-13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Form 14', NULL, NULL, '2012-12-22 18:21:07', 'form-14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:07', 'Test', NULL, NULL, '2012-12-22 18:21:07', 'test')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:21:07', 'email', 7, '2012-12-22 18:21:07', 'test@spudcms.net')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (3.0ms)[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.0ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.6ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.0ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:33', 'Form 1', NULL, NULL, '2012-12-22 18:21:33', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 66ms (Views: 8.5ms | ActiveRecord: 5.9ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.4ms)[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 '2c42b6ec6b91f4f877a1bd7fd4f4f61040f42bdb5b42ea56933b930281d31ae1d7f1e840ab93891f6d5c8ea4488614dbaee18c56461bdd0b4995bfcbae0e8d3d' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '992wPh1gCNFSpFTE7IO' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', '728fae5d8bf6e94e89e11a3aff1c6d5ddd5990544367be3f8aad0775a429e151f4e52957b35d9f7556adda310f872b39b0fd3f33fb54543152b29c68658e3162', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, 'JunzRLR7QGHbd5K4AOO', 'hO06x6FTh5VWo44MI7jK', '2c42b6ec6b91f4f877a1bd7fd4f4f61040f42bdb5b42ea56933b930281d31ae1d7f1e840ab93891f6d5c8ea4488614dbaee18c56461bdd0b4995bfcbae0e8d3d', '992wPh1gCNFSpFTE7IO', 1, NULL, '2012-12-22 18:21:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'bbGFsQIZNdqHQSAfU89G', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:34', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:34', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:34')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4656b79351d92bb546668d3c8c9fddff2ed6f0cc8782e9981a0bea6390b47cfb8c3178b81d38ba9a55c0da1f0a9e875f6c4cb8011f8420902c7d13ab52e79b76' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dQOwyTdUYjZooheg13' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', '1edae74ce1a1790dc140195a7ada67a1b755e05d852a21b9b5e2b1c5816558908b017c1379b4ffe9908a4e75c634613a901625fe7e69084422dd99a9ccb94a12', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, 'fMTgGT3cF5aBAenig5', 'nfDPwOt5NcOU63tKYpO', '4656b79351d92bb546668d3c8c9fddff2ed6f0cc8782e9981a0bea6390b47cfb8c3178b81d38ba9a55c0da1f0a9e875f6c4cb8011f8420902c7d13ab52e79b76', 'dQOwyTdUYjZooheg13', 1, NULL, '2012-12-22 18:21:34')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GBnbTBk4WYczVri5Io', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:34', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 2.5ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '825b4a894abb6762e85b7593406f936922c518a76491463802949c19ec1050d69f9c31455b21fe0701a844344e857cfee3ac17276e5de340ce6885cd95209a76' LIMIT 1
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1CacOGXZg1v1ILvhmJO' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', 'f2d22c72b6594f065198a3eb4cdb23ce446d20fe2885c78abeea13a88e08937ec2e6df596588bfed4f4fa9b82ea2716cac92dfe61df2f72248410cf33119aa67', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, '88EWDdSeCnBpRNyxULWp', 'gA6SQfwH6qSk0RPBAbeE', '825b4a894abb6762e85b7593406f936922c518a76491463802949c19ec1050d69f9c31455b21fe0701a844344e857cfee3ac17276e5de340ce6885cd95209a76', '1CacOGXZg1v1ILvhmJO', 1, NULL, '2013-06-27 12:53:44')
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'bd7b2682e2255e64f33703e5c8a7c7058024d91279a9958dc4655ffb97009a0715d34ae9e7a740804e7da9c4900fd33f1f46bed7a07c159c28d9ea004a520204' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PsWG2JvZmLPgN5Yjh3rh' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', '77858412010ff3c1fde6594035508c2789cf67fb66b6ac084fa395e222963396adb175e65d18336f0f66d2ad4deb8c2824ba00257d09b2732d93a6d37ef4efad', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, 'F2mEh4E4MtuWTLifWA', 'Ap9nf2MJgEq0X8QVd6ZU', 'bd7b2682e2255e64f33703e5c8a7c7058024d91279a9958dc4655ffb97009a0715d34ae9e7a740804e7da9c4900fd33f1f46bed7a07c159c28d9ea004a520204', 'PsWG2JvZmLPgN5Yjh3rh', 1, NULL, '2012-12-22 18:21:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'jeYPClXLVci1VXynovmQ', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.4ms)
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'ff338b77553b2a4675077563cd02c385b1794b7c4dba813a1a7360bded927f003f9eb6acfc12d243210191f140b56a911989e8fccec9d15ec13586c43e6994a1' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HZDbZVmOtyQKyWH9Ozb' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', '458163b6ab9fb2fd8ac4914194129606c33bd3b8aef90ee6fa09c9bf5bab3c44e9fc726c8dc96e6f535040fb6d05ee6ac228d60e122f37dfc53df17d08bfaac1', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, 'vdBO3gQc7dFjAhEsb8zg', 'L9V1AUKctFAcpVqsNZt', 'ff338b77553b2a4675077563cd02c385b1794b7c4dba813a1a7360bded927f003f9eb6acfc12d243210191f140b56a911989e8fccec9d15ec13586c43e6994a1', 'HZDbZVmOtyQKyWH9Ozb', 1, NULL, '2012-12-22 18:21:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'bzw6T50c5NNUqvb14oJ', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:34', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'b4dd8ff68711b7db3b3e78e4311fc55a9460f421ac191fb584543710cc3d162d76f750f7f3a35b608da06662692c6c8dfc354669d79e2557097a5f2ae3bb82e8' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dCWgvSYQdCESJ1roit3' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', '2120c5b115a428d6c789fa84cc63b810d1d8aa8cb2a48c921b50afef5d840448a316304f70035354fe14adfe9da1b24bffaa8bdcb37c05bcbb9be0812d735a53', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, 'DJpjJjP4ddN47N1V72G', '8BxKLMMLjoux79qwgMLI', 'b4dd8ff68711b7db3b3e78e4311fc55a9460f421ac191fb584543710cc3d162d76f750f7f3a35b608da06662692c6c8dfc354669d79e2557097a5f2ae3bb82e8', 'dCWgvSYQdCESJ1roit3', 1, NULL, '2012-12-22 18:21:34')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Dq6zKOcV99jaCFP2D5aQ', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:34', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:34')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2383d9c41818feb31786f350aaf941b204735daf176dfc73bd4e71ca3ddd2993b179dc42f2953953db44b98f380ce80703b6527300cdbc68892789188724495c' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mzCudfYY0HkuMsFDESkd' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', '9dfa2bef819543cb6db7baac4bd6127c69f64c2466f56e9821ab1e5b9cee14ae6ce2d1f5ef0e52c1bb3541f759ef92f318807f2ee1c17045226a8a43ee043e1d', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, '3fLdvuwxZKVVT99Sf6Q', 'KLDUkohFeuTtlAd8dsSs', '2383d9c41818feb31786f350aaf941b204735daf176dfc73bd4e71ca3ddd2993b179dc42f2953953db44b98f380ce80703b6527300cdbc68892789188724495c', 'mzCudfYY0HkuMsFDESkd', 1, NULL, '2012-12-22 18:21:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = '6mwhZzUZ9Bjeiv54eEgk', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:34', 'Form 2', NULL, NULL, '2012-12-22 18:21:34', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' 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-3' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:34', 'Form 3', NULL, NULL, '2012-12-22 18:21:34', 'form-3')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3d6a74f8dffc6c0ae6f1db0b308605ef139fbd15cfc9a4b7b2504630fc7851a538ca020624b3c8e63e0805066cd791f31be4af6fd10c5c5515aad31d51ca0a0b' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'rrX3cOmMKjXyQnL2Istn' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', 'efc2bbcd0028d1a31158e62d399183169dcec5a0355ffd6b5bf828878b177ed291c7f2572f6e4f638d87cf048c564673827f7bb4a0eef4d57d5537169660d5f3', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, 'p2rbBrAJMBnV7Oa94J9b', 'So2gnJynb3RjJQrMVQtj', '3d6a74f8dffc6c0ae6f1db0b308605ef139fbd15cfc9a4b7b2504630fc7851a538ca020624b3c8e63e0805066cd791f31be4af6fd10c5c5515aad31d51ca0a0b', 'rrX3cOmMKjXyQnL2Istn', 1, NULL, '2012-12-22 18:21:34')
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YarlEBf6CtRidW4BqGu', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EtdENHkcqUfSXjlfRgjD', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 8[0m
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5427f150f9318f1acba7632c99c7d95c944a64d210961aa0b634cce7288e15577b392798c3c8d9cb15977bfbe1cfbe902898fa69552e7b55518aa8218fba30d6' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Gp0OJL6AFF29gWe7jlg' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', '00f3f79bdaef170761db5c68236546d52885d68433f068ba4a831b147a7b55ef28fb7f66925121b755e21690ab7e31ed1bfa448ca7feba188182478553f563d8', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, 'EHLNKoNPz6fiH2xrKL4', 'uBn4dj9wrTDt12XdEOU2', '5427f150f9318f1acba7632c99c7d95c944a64d210961aa0b634cce7288e15577b392798c3c8d9cb15977bfbe1cfbe902898fa69552e7b55518aa8218fba30d6', 'Gp0OJL6AFF29gWe7jlg', 1, NULL, '2012-12-22 18:21:34')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ZbTyQhj2N9wU71bS4z09', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 4"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' 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-4' LIMIT 1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:34', 'Form 4', NULL, NULL, '2012-12-22 18:21:34', 'form-4')[0m
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 48ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (1.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[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 '7b343a081b15026c1423da05502f61424edea52eef05788272deff0564c63fa308ee10be0b83f6cf3a5947432c78338ccbf626ffa1c3d7c3e211c695bb908e8b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5M9vIyLMu7ICDkocfhNt' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', '65f83ababfb1ea752a4b72b1ec8fa5287f4894b5d49c7135bdde0bb869b5301614ef8df5dcc1625e6f9f45f9875d16c4ce1ab55155c2237d0de33628cf1dfd29', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, 'F8c5x8Rxl0uPpZOl0', '82DOUMM6RYeK7l5BXZS', '7b343a081b15026c1423da05502f61424edea52eef05788272deff0564c63fa308ee10be0b83f6cf3a5947432c78338ccbf626ffa1c3d7c3e211c695bb908e8b', '5M9vIyLMu7ICDkocfhNt', 1, NULL, '2012-12-22 18:21:34')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'myTltKXG0gegMb5RXag', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 8"}}
- [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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_2[0m
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 8', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-8')
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '153e965c15299824607655ad972635a71f30a8dedb42df24b168dec23eeb33cba1b23f3007cd9a5b7b176c56d88616a79eeebb1df5adc912d01106a485577464' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qHYneI5iVCaPRLJ155UH' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', '207ac2692750fb7f2121b1b1286fdc29e11596acc7329a945616d737bb936456efd6eb0d971975b119e622d9c6c93111a46646741dc0028a5909382407b1ca19', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, 'OT9tcdGSMutkDOo8cltN', 'puRxs27LR2z8fyJQPg', '153e965c15299824607655ad972635a71f30a8dedb42df24b168dec23eeb33cba1b23f3007cd9a5b7b176c56d88616a79eeebb1df5adc912d01106a485577464', 'qHYneI5iVCaPRLJ155UH', 1, NULL, '2012-12-22 18:21:34')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = '4wL9MeiZFj75Tja6PTY', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:34', 'Form 5', NULL, NULL, '2012-12-22 18:21:34', 'form-5')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' 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-6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:34', 'Form 6', NULL, NULL, '2012-12-22 18:21:34', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '11ae41971f4e9384fdee4735972de0aab354e05d2a2013e3feecbd2e30d9577048b5ff069691096a71c3fca4e9a4893a0c2cf07393131a46f5f6943227e553cc' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'GFCrsiB0Xb8257d6vQ3' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', '81088261dd323796a510c2dd1952a715ee076271d3cae68e2c577d0e3808c3f11335fd57621ee11d58f53d6add310a58c97f1c8913a83d2fe4f72e829d1229d1', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, 'tYAcynn2z0T6jGjT8pT', 's1dxKZCb0MYRpM1pfE1p', '11ae41971f4e9384fdee4735972de0aab354e05d2a2013e3feecbd2e30d9577048b5ff069691096a71c3fca4e9a4893a0c2cf07393131a46f5f6943227e553cc', 'GFCrsiB0Xb8257d6vQ3', 1, NULL, '2012-12-22 18:21:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'nys2xXxSthnI161h6H83', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '55412f763e5e6f75923d11dee04220d124fb582d0b152da68a31b76e4785f857c1605bd9076147ab2d830a8567b962a64869b9377de74c6ffcfd345ad4acd438' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qirgZO018BG9GAohGg' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', '7fcb3b6d8602b8039f96fa82725070a0c96a236783b28745b8d74aea4a686c6240132ef18641e1d61a7de329ef37238fd28ea353c1d50c702c1022abaf6897bb', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, 'nNQPxIblUIMKCEynnLzC', 'OuOi2Yk7CAfDwFw4fMfd', '55412f763e5e6f75923d11dee04220d124fb582d0b152da68a31b76e4785f857c1605bd9076147ab2d830a8567b962a64869b9377de74c6ffcfd345ad4acd438', 'qirgZO018BG9GAohGg', 1, NULL, '2012-12-22 18:21:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kMMpZwcBICB2mlFxS7U', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 12[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:34', 'Form 7', NULL, NULL, '2012-12-22 18:21:34', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"7", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:21:34 UTC", "updated_at"=>"2012-12-22 18:21:34 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-7"}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 7 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` != 7) LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 7) LIMIT 1
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_inquiry_forms`.`id` = 7[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 7 LIMIT 1[0m
+ [1m[35m (2.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'd8fbca22467104e0de870045c33a472576438955203383c9b5ce94c3ac7202b782554b67453c8f9ca3c896cff8b3c0034efe2545010e26bf43b3a1acda06936b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jfRdPjccvERnkZqMwWtE' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', '726233503cffa1bca11b9814f45483ad3a2d1902b2dbc9fa886ac94753fa04a1c635cf706de0a1e6897c102ef948341a56dc15ccdaae7f0d509515c8a946ce3c', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, 'ejXTqzN6bssFlalXYvli', 'NM2cAmyzMahpt7s3TQh', 'd8fbca22467104e0de870045c33a472576438955203383c9b5ce94c3ac7202b782554b67453c8f9ca3c896cff8b3c0034efe2545010e26bf43b3a1acda06936b', 'jfRdPjccvERnkZqMwWtE', 1, NULL, '2012-12-22 18:21:34')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'XEZSQ5hGutYDXYkYFUvj', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 13
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' 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-8' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:34', 'Form 8', NULL, NULL, '2012-12-22 18:21:34', 'form-8')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"8", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:21:34 UTC", "updated_at"=>"2012-12-22 18:21:34 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-8"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 8 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 8' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 8) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '29da295b9aa5139339b3d56bffac5f4dbb2f8c8cea2455b25a613823bc4d998053d521a26891aa5163e13324c82b70b8faa5fb89e8af6403e331408be27fd58b' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'b66JMSuW7Y7VK2yED2yU' LIMIT 1[0m
+ [1m[35mSQL (0.9ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', '87de3f8e9f5e807e259920936a39b510e19f3f50a1ce1eb7f6ec6ea5e21d2ab328d0d84fee236449e48662f53f3a6f4562a105061839abaca3f4789d426623fd', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, '41hzMLtqsp3FKChqbE3', 'NdxztHLISftDgZmQOtlI', '29da295b9aa5139339b3d56bffac5f4dbb2f8c8cea2455b25a613823bc4d998053d521a26891aa5163e13324c82b70b8faa5fb89e8af6403e331408be27fd58b', 'b66JMSuW7Y7VK2yED2yU', 1, NULL, '2012-12-22 18:21:34')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = 'oVNwIZMxnBWjkhkergy', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:34', 'Form 9', NULL, NULL, '2012-12-22 18:21:34', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 9
+ [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` = 9 ORDER BY field_order ASC[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1f93cdaa5ab733f880020c5abfa208457e8d1519e5ea6b1b04879d172401edb5a91186ec71360e8b50ec4705570e77911a8b5ea80fcb6930fbd55f5e3d0450f3' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'X1DJJ5NXf41oUKA5ajkQ' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:21:34', 'f8784efe0a02ea87fe45c452d59cb558578e577d0b11144729dde79dd0f5207cd36fde70fa0e76a00d910fab9e9130c5bb6e7f8a1c42fba3afdc7be6ec936f24', '2012-12-22 18:21:34', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:21:34', 'testuser', 1, 'jlpz2qFcBbDIrx6cauJ3', 'hviyoJgcIwF7qw3K3fwB', '1f93cdaa5ab733f880020c5abfa208457e8d1519e5ea6b1b04879d172401edb5a91186ec71360e8b50ec4705570e77911a8b5ea80fcb6930fbd55f5e3d0450f3', 'X1DJJ5NXf41oUKA5ajkQ', 1, NULL, '2012-12-22 18:21:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:21:34', `last_login_ip` = '0.0.0.0', `perishable_token` = '4K133KMMUDquFJ48YA', `updated_at` = '2012-12-22 18:21:34' WHERE `spud_users`.`id` = 15[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:34', 'Form 10', NULL, NULL, '2012-12-22 18:21:34', 'form-10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (1.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 406 Not Acceptable in 2ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:34', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:34')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:34', 'Form 11', NULL, NULL, '2012-12-22 18:21:34', 'form-11')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:34', 'Form 12', NULL, NULL, '2012-12-22 18:21:34', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' 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-13' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:34', 'Form 13', NULL, NULL, '2012-12-22 18:21:34', 'form-13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:34', 'Form 14', NULL, NULL, '2012-12-22 18:21:34', 'form-14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:21:34', 'Test', NULL, NULL, '2012-12-22 18:21:34', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:34', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:34')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:21:34', 'email', 7, '2012-12-22 18:21:34', 'test@spudcms.net')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:21:34', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:21:34')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (2.6ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.1ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.5ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.3ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.0ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:05', 'Form 1', NULL, NULL, '2012-12-22 18:32:05', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.4ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 67ms (Views: 8.5ms | ActiveRecord: 5.7ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:05', 'Form 2', NULL, NULL, '2012-12-22 18:32:05', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:32:05', NULL, NULL, '0', 'email', NULL, NULL, 2, '2012-12-22 18:32:05')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:05', 'Form 3', NULL, NULL, '2012-12-22 18:32:05', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:32:05', NULL, NULL, '0', 'email', NULL, NULL, 3, '2012-12-22 18:32:05')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '535b864a3d1940e9581feb6756d52ea3cd0ef20b27597911b7c9f6a1f5494a847ade7660c0cb7b8dd2bccf2673279bf4f66705d124e0d63da110407ce1ad9c17' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZlWEhRj6gc3k2uXI2c7' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:05', '76e7f1cc859f0b7885ab302780cbdc2f4bdaf725b2711922013ada7cf633cdc9211df80a2dd9cc16355dc851a228b8c05babe2072551f6530be0b1fa9bbbaf97', '2012-12-22 18:32:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:05', 'testuser', 1, 'kNlStXVSqe4thstqfHEm', 'rbLyc1E6S3cqjK2lv75C', '535b864a3d1940e9581feb6756d52ea3cd0ef20b27597911b7c9f6a1f5494a847ade7660c0cb7b8dd2bccf2673279bf4f66705d124e0d63da110407ce1ad9c17', 'ZlWEhRj6gc3k2uXI2c7', 1, NULL, '2012-12-22 18:32:05')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:05', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GV87QwsJPGyGlmLrzL57', `updated_at` = '2012-12-22 18:32:05' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:05', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:05')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:05', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:05')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'e087f66adc4759bf1291afe617aa12fce625a5d93f5ae2f57c67e6e135760878048f7ef41eb72cac0f589f8c2a9292abacf0b7629b260944a9b17072aa591e64' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fwARQA6p0Eg0SK0GndA7' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:05', 'c08e771878394824e5d93bc2640d9ff3f94a8423b2de7b40c94718b61c5fd09040c875e28e14cfc58853425c480d766dd42d06b0db0b3bfcc6d29bdc7669ed6c', '2012-12-22 18:32:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:05', 'testuser', 1, 'fzPzriIRcCZOxMY7GjvA', 'DkCyPCbGEi87PMZpyx1C', 'e087f66adc4759bf1291afe617aa12fce625a5d93f5ae2f57c67e6e135760878048f7ef41eb72cac0f589f8c2a9292abacf0b7629b260944a9b17072aa591e64', 'fwARQA6p0Eg0SK0GndA7', 1, NULL, '2012-12-22 18:32:05')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:05', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ysCozKE6DFFNodGz04L', `updated_at` = '2012-12-22 18:32:05' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:05', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:05')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 2.5ms)
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9f0f3dea2c1d8c6333e90b9f4451fdef0aa750c13d4acf77d84dfa51274d12d6d54fbbd791ecfa7f79701ff7174d965d5aefb6d85c927a33c8707a43eae18307' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MwH0n1f6nrKqvqdAymy2' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:05', '97dac2cfa216272655dd6180b76a5c4e2c9f0962ddedcfabc02f7c647217f4c02c8563e823e6a7327f3791b6156d91d25daf5b3019902402a03e4133dbd7b9ec', '2012-12-22 18:32:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:05', 'testuser', 1, 'Qc70ds5pY3T6qQ32eNZ', 'OaDkgtoEq7qmN6ZIoX89', '9f0f3dea2c1d8c6333e90b9f4451fdef0aa750c13d4acf77d84dfa51274d12d6d54fbbd791ecfa7f79701ff7174d965d5aefb6d85c927a33c8707a43eae18307', 'MwH0n1f6nrKqvqdAymy2', 1, NULL, '2012-12-22 18:32:05')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:05', `last_login_ip` = '0.0.0.0', `perishable_token` = '3cQu5pZpePsxxqksU6v', `updated_at` = '2012-12-22 18:32:05' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c9d91b8b531a4da77a0a9608a1b8f2919ebcd9157bb9d380c56207883407ce9d159e864a5c56980745076d1a170417277c4cf4e9e09e42b61eea269178f0f20a' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PvOiVa2c9jqVuzdTCEt' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:05', '2672ba1c5683b030029e8dc4e6e5be971b2dc701299ed59ecf51bbb239b1a94d9d574e6ba646472d3539dc4839150ae08f086fbcbe3512e43155e4469a06db92', '2012-12-22 18:32:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:05', 'testuser', 1, 'eqFLOpmAj9A0FLuRAtOW', 'dtRJyIwbbqjvYz9gXRCe', 'c9d91b8b531a4da77a0a9608a1b8f2919ebcd9157bb9d380c56207883407ce9d159e864a5c56980745076d1a170417277c4cf4e9e09e42b61eea269178f0f20a', 'PvOiVa2c9jqVuzdTCEt', 1, NULL, '2012-12-22 18:32:05')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:05', `last_login_ip` = '0.0.0.0', `perishable_token` = '0wGJ5FCBBahfZXwNWmBe', `updated_at` = '2012-12-22 18:32:05' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:05', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:05')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'd653ced24e6b445a46009dd44ba376fb6ff29b51af553ef030f2d853a0dec84614299a072105634356575e5bbb6e92808bfd13c879d404c7f6dfbead39490485' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vagZ0QNqYsTNHm2mWL7O' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:05', 'b56d09e0cd076f92eeb0caf23fdc9f5a0247b21c1b10cd047c035e762f3a0500e451cdddbc75236f334702f4218635b7ba5cf535b20dd69cd362e608f919abfd', '2012-12-22 18:32:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:05', 'testuser', 1, 'WIHTJCJD5xtAPQLuXHX', 'zWpKjZI6mKLmKBqAFXr', 'd653ced24e6b445a46009dd44ba376fb6ff29b51af553ef030f2d853a0dec84614299a072105634356575e5bbb6e92808bfd13c879d404c7f6dfbead39490485', 'vagZ0QNqYsTNHm2mWL7O', 1, NULL, '2012-12-22 18:32:05')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:05', `last_login_ip` = '0.0.0.0', `perishable_token` = 'oN7jJ2bNaNQ020eN7wa', `updated_at` = '2012-12-22 18:32:05' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:05', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:05')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[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` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'ba9208bf264ecb02053be02b2d075ca4f2c615709dc81c0274b669066fb88d48f935f0cebb5d50bc25f9e3d3517af9e4d70826670c6dd4219aa5a8d45aa599aa' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lwRr0wtsroE6rjAyZfno' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:05', 'dc118f820f23f2897d1197769aa43bf301a2ad5794bca87d876378053e49f5ad905539235ef1feb7b91e19c9d51480c9008a895884da3e8111e2f6e7ab7d843f', '2012-12-22 18:32:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:05', 'testuser', 1, 'BAgLBs2t8IhskSay9Zh1', 'PkalBVmt3x60ngyftgOt', 'ba9208bf264ecb02053be02b2d075ca4f2c615709dc81c0274b669066fb88d48f935f0cebb5d50bc25f9e3d3517af9e4d70826670c6dd4219aa5a8d45aa599aa', 'lwRr0wtsroE6rjAyZfno', 1, NULL, '2012-12-22 18:32:05')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:05', `last_login_ip` = '0.0.0.0', `perishable_token` = 'BXrWCTTKpZQRWmlgIcy7', `updated_at` = '2012-12-22 18:32:05' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:05', 'Form 4', NULL, NULL, '2012-12-22 18:32:05', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.4ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:05', 'Form 5', NULL, NULL, '2012-12-22 18:32:05', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
- [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[36m (1.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a94e24ad299a22d57b8fae058a23e7a45b74d6cd88dffd0ebfdac9137e2e4997e170f84bb06dbcd7045b8c1834a522a033cff17c15512318728b409c00248284' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Z2CL6gtB16LqAewxVeZ' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:05', '1a571cc0c48edb30873977d34a9b5aaf7d4315b7a35999d94df2b6abdb348861bd1d9ab5b523eb09083a00d9c339e3df74bb883566800db9cfa1a56651b50493', '2012-12-22 18:32:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:05', 'testuser', 1, 'dBk9gwM6uqNWghkmCWRg', 'ZpdZXsHuSC2gHzxttFM', 'a94e24ad299a22d57b8fae058a23e7a45b74d6cd88dffd0ebfdac9137e2e4997e170f84bb06dbcd7045b8c1834a522a033cff17c15512318728b409c00248284', 'Z2CL6gtB16LqAewxVeZ', 1, NULL, '2012-12-22 18:32:05')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:05', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mGJCUlVk81ZZh5EEUZ', `updated_at` = '2012-12-22 18:32:05' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'd4e31a99b8c988e1dcb074762f00cfaa35db8b4a8a2791cc5fe468fe8366fd6235695b5fa80135f6fa8c2034376da056762ffb408ba0318d89e20493d9cf092f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gmUOrwKMgvGgdQiPi49' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:05', '599e664b306468111d0f7158ed6a58638d2d539ff54795e20a048411b1f62265393b2f885aba1dfe27817f795fafd53447031a8cc8c830a57d707a23df35369f', '2012-12-22 18:32:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:05', 'testuser', 1, 'hhJCwZkU7ViCmmm0A2Dm', '5KI2HEWX8u11ORd9s4y', 'd4e31a99b8c988e1dcb074762f00cfaa35db8b4a8a2791cc5fe468fe8366fd6235695b5fa80135f6fa8c2034376da056762ffb408ba0318d89e20493d9cf092f', 'gmUOrwKMgvGgdQiPi49', 1, NULL, '2012-12-22 18:32:05')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:05', `last_login_ip` = '0.0.0.0', `perishable_token` = '5JwZb0dLj4b8ZUEaopw0', `updated_at` = '2012-12-22 18:32:05' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 6"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:05', 'Form 6', NULL, NULL, '2012-12-22 18:32:05', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '56ae647f761c92d39eb025f2a39a13c4544cb4f6bad0bfdf5bfd29cc1d48287d8733619f8951e3b13efb4375daaec80ab70a2b6f06955a8b97df68fe0a3ff6d3' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bdEyjr7x0JfW2AltTOwa' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:05', 'dbc6e34c71b7728d42485b422390165c4f88398e379cf6fb574e742dab7b13af8923e40de71215cce2a3a6043ac60cd6ce0e2ef19b223cb4dd08e53de8768f64', '2012-12-22 18:32:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:05', 'testuser', 1, 'DzS9igXG3jVMUy9XsfB1', 'zy0bxSvwC7JNRYx90pbr', '56ae647f761c92d39eb025f2a39a13c4544cb4f6bad0bfdf5bfd29cc1d48287d8733619f8951e3b13efb4375daaec80ab70a2b6f06955a8b97df68fe0a3ff6d3', 'bdEyjr7x0JfW2AltTOwa', 1, NULL, '2012-12-22 18:32:05')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:05', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kZiSj9UwW1ecHjIW86w7', `updated_at` = '2012-12-22 18:32:05' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 9 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [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_2[0m
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c3ae7abb43fee7561fbbc9fcf7b2b29ba41bd048eeaad3f682e49693ce55e0cffef816923df84276ad81dc164a1e338d0b6ca43e0864ae6439da3d33f22070b5' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EGU8nXjKOukt1U0luY7x' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:05', '56b8b74032850e7c21b7e447769238b4624e585f545300cd46e8691496e5afb7a6536d92a5327cdc40a203267f2b9cdaac940c8527c92bf130c01ba097332109', '2012-12-22 18:32:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:05', 'testuser', 1, 'QHNBR5x6Or0AlTtpqTXR', '7FkmvrSNgMKkBJwguC', 'c3ae7abb43fee7561fbbc9fcf7b2b29ba41bd048eeaad3f682e49693ce55e0cffef816923df84276ad81dc164a1e338d0b6ca43e0864ae6439da3d33f22070b5', 'EGU8nXjKOukt1U0luY7x', 1, NULL, '2012-12-22 18:32:05')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:05', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Bu1bU3kfXtdjQOsizYCI', `updated_at` = '2012-12-22 18:32:05' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:05', 'Form 7', NULL, NULL, '2012-12-22 18:32:05', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' 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-8' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:05', 'Form 8', NULL, NULL, '2012-12-22 18:32:05', 'form-8')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 8 LIMIT 1
+Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 'f797629c26e7e9509299b20da6b995f2cea30ab8b8cae898d722b2106f2ac7e79a109501c1d7657114b095aba0f91e4c2da0389186c1e4553723986a6ffed4ef' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1k6ZZpAYl2fz8QcnZvHE' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:05', 'badbf6c52afa0820f933c4560e2b7af5b159e4a3bf0cb076fdbf979ec42871bc203f2686e719e0b3e7bc5f5eac495c28a180df47e53f3faaa6943bf0f9930053', '2012-12-22 18:32:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:05', 'testuser', 1, 'OXMb0d79gpsqjcV89MV', 'LxtqRNhE6RDDLRqypSY', 'f797629c26e7e9509299b20da6b995f2cea30ab8b8cae898d722b2106f2ac7e79a109501c1d7657114b095aba0f91e4c2da0389186c1e4553723986a6ffed4ef', '1k6ZZpAYl2fz8QcnZvHE', 1, NULL, '2012-12-22 18:32:05')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:05', `last_login_ip` = '0.0.0.0', `perishable_token` = 'yC7QHEgHRNh7noDGR1Hm', `updated_at` = '2012-12-22 18:32:05' WHERE `spud_users`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2b835fc15975433e825f052ea3ae01a66969b9537013f839af05170faeed668dfd71adcbb52f1113c061cc183280340a7cf6b384275b5a66919ec75fd2f8f724' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1qGTqdT3Bk4wRPMJnETp' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:05', 'bc663b5796c089f3d6826c07a7e0877a251aaff9d035c684340ad0c46075ab914c00fdd1f297723b07d8831ee119efe9a7b0d77bb214007dcd57f74eaf82add9', '2012-12-22 18:32:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:05', 'testuser', 1, 'HenFq2xBBh81UBj7KYIq', 'EyutyycomJu76LVDUDAU', '2b835fc15975433e825f052ea3ae01a66969b9537013f839af05170faeed668dfd71adcbb52f1113c061cc183280340a7cf6b384275b5a66919ec75fd2f8f724', '1qGTqdT3Bk4wRPMJnETp', 1, NULL, '2012-12-22 18:32:05')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:05', `last_login_ip` = '0.0.0.0', `perishable_token` = 'CyYlHnFAkWQd67E1bBS', `updated_at` = '2012-12-22 18:32:05' WHERE `spud_users`.`id` = 12[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:05', 'Form 9', NULL, NULL, '2012-12-22 18:32:05', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"9", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:32:05 UTC", "updated_at"=>"2012-12-22 18:32:05 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-9"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` != 9) LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 9) LIMIT 1
+ [1m[36m (0.4ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:32:05' WHERE `spud_inquiry_forms`.`id` = 9[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 14ms (ActiveRecord: 0.0ms)
+ [1m[36mSpudInquiryForm Load (0.4ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1[0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'bb0f7f8c11592074a931eded090a29ccfeb3897de67df4c85f321d5b237ce21c51de1030c8aa4c8c21e77ab9e5adf8d475f628fcd539fa7b1a1d6ca2b93a04f1' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uAL0PD1EQXhCcZmaPsi' LIMIT 1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:05', '7649b5e2c6d6139d9a1e2a6bf16008b35747bbf5115bd9de960749a0883215da8d1a1c1965b8d96879ffa1a2521344209e9d55c6ef789408318e54eadd6d7d61', '2012-12-22 18:32:05', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:05', 'testuser', 1, '1YnWrYWMXb4vTwlUFK3b', 'OQqdQqgcjGm5hoUnQn', 'bb0f7f8c11592074a931eded090a29ccfeb3897de67df4c85f321d5b237ce21c51de1030c8aa4c8c21e77ab9e5adf8d475f628fcd539fa7b1a1d6ca2b93a04f1', 'uAL0PD1EQXhCcZmaPsi', 1, NULL, '2012-12-22 18:32:05')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.8ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:05', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gq4NqXb4hZ9DeVCfaIkr', `updated_at` = '2012-12-22 18:32:05' WHERE `spud_users`.`id` = 13
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:06', 'Form 10', NULL, NULL, '2012-12-22 18:32:06', 'form-10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"10", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:32:06 UTC", "updated_at"=>"2012-12-22 18:32:06 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-10"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2012-12-22 18:32:06', `perishable_token` = '5Ld4C0b7vk4j0dJ2lOG', `updated_at` = '2012-12-22 18:32:06' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Load (0.1ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 10' AND `spud_inquiry_forms`.`id` != 10) 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-10' AND `spud_inquiry_forms`.`id` != 10) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 'fde4ee76f049710347e74f7d4763431042a72a27b1f3d560beddf5ffc3b13bebd3f6e28fd5f2bf2c7368464b271257d6a091b2b04f846edd61a43a4e0a1b3b26' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XKHFHRrK2nCrcc6NxQlI' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:06', '0951f959a6f0d273cc7ace4064360a093c27922ba761ad2708d694992ed2d5519867eea86e0c5446e00355a5e1cec72ba4e432ff87dba435d94456edb5ac7245', '2012-12-22 18:32:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:06', 'testuser', 1, '00bVToLeYCOuhAUFbQo', 'PRC4WEHxAKhXZPOsp2d', 'fde4ee76f049710347e74f7d4763431042a72a27b1f3d560beddf5ffc3b13bebd3f6e28fd5f2bf2c7368464b271257d6a091b2b04f846edd61a43a4e0a1b3b26', 'XKHFHRrK2nCrcc6NxQlI', 1, NULL, '2012-12-22 18:32:06')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.8ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wo8BN5QG08bCRtzgx4XT', `updated_at` = '2012-12-22 18:32:06' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.3ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:06', 'Form 11', NULL, NULL, '2012-12-22 18:32:06', 'form-11')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"11"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 11[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` = 11 ORDER BY field_order ASC
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '8fc5d73113cefddde930c0275ac12f2af019d0fddd9eed6709f152c93537202350d37494a095855495c1e690bd8192ee748a8cff7128eb87174fa56e6d803271' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1ev6WECyXn7AU4p6f5' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:06', 'b87cc8a2d66db0039096157dbc0e41a966685bb35793a677f2a84299871c632290881cbf281d603ede4bfe09cc3097f41ff32a4dae564d14a863ddea481806de', '2012-12-22 18:32:06', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:06', 'testuser', 1, 'hnITMN1ew7AxkUaV2H6', 'f2cw94QTdxWCKrOfwoLB', '8fc5d73113cefddde930c0275ac12f2af019d0fddd9eed6709f152c93537202350d37494a095855495c1e690bd8192ee748a8cff7128eb87174fa56e6d803271', '1ev6WECyXn7AU4p6f5', 1, NULL, '2012-12-22 18:32:06')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.9ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:06', `last_login_ip` = '0.0.0.0', `perishable_token` = 'lUgJehcHPBG8dvNNanH6', `updated_at` = '2012-12-22 18:32:06' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:06', 'Form 12', NULL, NULL, '2012-12-22 18:32:06', 'form-12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.4ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.4ms)
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:06', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:06')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (1.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.6ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:06', 'Form 13', NULL, NULL, '2012-12-22 18:32:06', 'form-13')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:06', 'Form 14', NULL, NULL, '2012-12-22 18:32:06', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:06', 'Form 15', NULL, NULL, '2012-12-22 18:32:06', 'form-15')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' 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-16' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:06', 'Form 16', NULL, NULL, '2012-12-22 18:32:06', 'form-16')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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.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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:06', 'Test', NULL, NULL, '2012-12-22 18:32:06', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:06', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:06')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:32:06', 'email', 7, '2012-12-22 18:32:06', 'test@spudcms.net')
+ [1m[36m (0.2ms)[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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:06', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:06')
+ [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.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.4ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[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.4ms)[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 (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:43', 'Form 1', NULL, NULL, '2012-12-22 18:32:43', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.1ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 70ms (Views: 8.8ms | ActiveRecord: 4.8ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:43', 'Form 2', NULL, NULL, '2012-12-22 18:32:43', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:32:43', NULL, NULL, '0', 'email', NULL, NULL, 2, '2012-12-22 18:32:43')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to
+Completed 500 Internal Server Error in 0ms
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:43', 'Form 3', NULL, NULL, '2012-12-22 18:32:43', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:32:43', NULL, NULL, '0', 'email', NULL, NULL, 3, '2012-12-22 18:32:43')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Redirected to
+Completed 500 Internal Server Error in 0ms
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 'e1795cd80f75feada96b3b295f0574cf91cee0eb754b8c0f1f0c4f28bb0ce14d69b9a7449d6622bb4f0e94811fde7f65a248ddce5869a94f0116c52ee132b69d' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vPhHlgdnUtXWRkfjt' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:43', '4c3d7f5e8997f36c1d59d79ccd398ffad6567d8e6ecbd248420ca0daf66eba312823487c786187d99aa524ae32f32ae51adc8c165131a9fed376f0631ad8ddad', '2012-12-22 18:32:43', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:43', 'testuser', 1, 'FZqPZIeGZqukoSluiI', 'Ss3uxXVERu8uzkUJX8hL', 'e1795cd80f75feada96b3b295f0574cf91cee0eb754b8c0f1f0c4f28bb0ce14d69b9a7449d6622bb4f0e94811fde7f65a248ddce5869a94f0116c52ee132b69d', 'vPhHlgdnUtXWRkfjt', 1, NULL, '2012-12-22 18:32:43')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:43', `last_login_ip` = '0.0.0.0', `perishable_token` = 'tHYy5pcxOEepaADnsxd', `updated_at` = '2012-12-22 18:32:43' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:43', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:43')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:43', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:43')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '48a6cae0dfeda5addc8d99f5f79ecdc7b82e19c13afdc230f0678ce6e284af4f19090d1d8828f86224aaa1cab5de1ca41bafd158cfad50f7ba7a91bec467957b' LIMIT 1
- [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MiUYDXUQf6BWkwFQUM' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '4a66aae4525b84978057850396b9261fd16fd56c1c7812acbbfc0747edf4a459ab707729b72c96c946a734336d353c338aaa4f5241763d57d36f27ee7ebb7cd1', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, '88Awc8qETczuXOxzi', 's7WasKdzfABw0H3Tqf5D', '48a6cae0dfeda5addc8d99f5f79ecdc7b82e19c13afdc230f0678ce6e284af4f19090d1d8828f86224aaa1cab5de1ca41bafd158cfad50f7ba7a91bec467957b', 'MiUYDXUQf6BWkwFQUM', 1, NULL, '2013-06-27 12:53:44')
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a04253793207fefeeb7ad028d98fd6fd98d2c84e750bcf23c403ce293bca4bc889544facfa4302b9c38a11d241fd57e33b141496cae20d42619e37ac8cba0eb6' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'RfqWcFKsjOXxyXVLqWe' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:43', 'f22a2fb9115e161b9835fc47c1277f631ba071748b43d40442cab935928c72520d3bd12270b8d39ffa84f18a3e59cc917a43580c10c139ec048d70a9d203cc6a', '2012-12-22 18:32:43', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:43', 'testuser', 1, 'DypX1XkE0Cy7Yeqbr24I', '1VusluE0VoUTgmvxmsv', 'a04253793207fefeeb7ad028d98fd6fd98d2c84e750bcf23c403ce293bca4bc889544facfa4302b9c38a11d241fd57e33b141496cae20d42619e37ac8cba0eb6', 'RfqWcFKsjOXxyXVLqWe', 1, NULL, '2012-12-22 18:32:43')
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:43', `last_login_ip` = '0.0.0.0', `perishable_token` = '8u1rPFEViQLkdy7DxYvy', `updated_at` = '2012-12-22 18:32:43' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:43', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:43')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 2.6ms)
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '79b00203bf770d82c8b0939b138d2c6cd1303b728f9e13d4ac2e52ce234d631c767d77e88a7ed264bcfdffc31abb3f84fb9f8b3ca51d2be570afe79605c1d3f4' LIMIT 1
+ [1m[36mSpudUser Exists (1.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nv6mfNxQPxjluVa7f1ke' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:43', 'c0139e649d06f2d47b8a909745b0618452de62b4909b3ed5ed7767cb2d66ae91c343c03057bed4b747b075ce93f7feb5ad4e2f6adda2c3488b734317d8029233', '2012-12-22 18:32:43', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:43', 'testuser', 1, 'hpA2t3s4W41MmPC6NpY', '93ZZNavnH20HGLtFxRlJ', '79b00203bf770d82c8b0939b138d2c6cd1303b728f9e13d4ac2e52ce234d631c767d77e88a7ed264bcfdffc31abb3f84fb9f8b3ca51d2be570afe79605c1d3f4', 'nv6mfNxQPxjluVa7f1ke', 1, NULL, '2012-12-22 18:32:43')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'miPZB6o50qYuoO60fine', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 9[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:43', `last_login_ip` = '0.0.0.0', `perishable_token` = '8OT20zBfeB5OQuhRKzo7', `updated_at` = '2012-12-22 18:32:43' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.5ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd66d304442ab33bcf60feff905f9291c941615a7b97d866388d4b68c2a88d5ff149db80e329f1d3095dcf1b834ef0e4d00c54665b04a73244e6a73dd064e4d66' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jI0sdTAnZqEHwTdvd4H9' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:43', '16000fd5d5904270363b6d758699f4a29e31a456825a01ed7bf0598d8a228d387a33d5a790c6a3a9f54a4fb11ece1251b60108bda32f9f1fb8ed8b9fe5d15571', '2012-12-22 18:32:43', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:43', 'testuser', 1, 'Brr4DUkupz24SeaJ7U9A', 'Kh4vnfyPc2ehpGPYu9W', 'd66d304442ab33bcf60feff905f9291c941615a7b97d866388d4b68c2a88d5ff149db80e329f1d3095dcf1b834ef0e4d00c54665b04a73244e6a73dd064e4d66', 'jI0sdTAnZqEHwTdvd4H9', 1, NULL, '2012-12-22 18:32:43')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:43', `last_login_ip` = '0.0.0.0', `perishable_token` = '2qU9d7ByKV46dXkboUhn', `updated_at` = '2012-12-22 18:32:43' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:43', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:43')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '095de0b175be8577b1a89e07d707c7a318d0ee4c3aecd4d4dedcf9aef39d084b3d2cf5b9c05b9e87b211cf001269d03a37538b74aee7989825a94d17c7c9c304' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WmG1ic5KLBD8fp9Yvbi' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:43', '604e81125e487a750292f2ac9cc262ed4ac75c77f97bf6ad86d84dd73deb553951ddb5e4ebb4b782a874beddb950afa7fbb43bc09ead6154250795d1daa4840c', '2012-12-22 18:32:43', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:43', 'testuser', 1, '0f8344f2UKKxEjAvJHW', 'N4ISntIUZR6fzx396XN', '095de0b175be8577b1a89e07d707c7a318d0ee4c3aecd4d4dedcf9aef39d084b3d2cf5b9c05b9e87b211cf001269d03a37538b74aee7989825a94d17c7c9c304', 'WmG1ic5KLBD8fp9Yvbi', 1, NULL, '2012-12-22 18:32:43')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:43', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qH784sNK9tqfmuld1S0', `updated_at` = '2012-12-22 18:32:43' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:43', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:43')[0m
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[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` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 'b58934e1f0a1b9659b72745e1502bbe7647a114e4964af5ce04b1bceb3b06a6b7b3889f8a978317223cfb643c1d4c212c69ada4ab3dedd235fc113042e903a5a' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4Qj0IJvPZY08FT2k5Oc' LIMIT 1[0m
+ [1m[35mSQL (35.0ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:43', 'efbb890de0a91cc5fd9666464fcbece122ba072896211386cf2cb864eab617941e1c6e141ae4c4783f051b086e90114897318476d6de18317296ccb78a2214ba', '2012-12-22 18:32:43', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:43', 'testuser', 1, '7EqDyJINIR4gUOYQHTCF', 'Uxdkrqtq2XULQVO0K5w0', 'b58934e1f0a1b9659b72745e1502bbe7647a114e4964af5ce04b1bceb3b06a6b7b3889f8a978317223cfb643c1d4c212c69ada4ab3dedd235fc113042e903a5a', '4Qj0IJvPZY08FT2k5Oc', 1, NULL, '2012-12-22 18:32:43')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:43', `last_login_ip` = '0.0.0.0', `perishable_token` = 'zZ4acUdRHtpnfnliDdX6', `updated_at` = '2012-12-22 18:32:43' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:43', 'Form 4', NULL, NULL, '2012-12-22 18:32:43', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' 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-5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:44', 'Form 5', NULL, NULL, '2012-12-22 18:32:44', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2012-12-22 18:32:44', `perishable_token` = 'SlMuGBNVQEk0mOOppjNK', `updated_at` = '2012-12-22 18:32:44' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (1.3ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'e117814f74e73f77ec1f6d252186d0bfc5965080ffe6381e4cf55878169ed4efa791da02f994d35de3f04039ce62ca067e3bd5e0ea20a517355395a9de147aab' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'o7DPh55MusjwRgybd2JZ' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:44', '3ac14af8e8062421baa4f2dc4c2c97bc95df7c3acad7389eecf7e5d0e3521e9f5b2b96014edbee6cd51a37dc4bba65e3ba99901dfc09eed8184ee2c7e6c2e5ad', '2012-12-22 18:32:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:44', 'testuser', 1, '3YkqRbcKRCR4xsl6abme', '2061sUInc4PK3U6Bgrml', 'e117814f74e73f77ec1f6d252186d0bfc5965080ffe6381e4cf55878169ed4efa791da02f994d35de3f04039ce62ca067e3bd5e0ea20a517355395a9de147aab', 'o7DPh55MusjwRgybd2JZ', 1, NULL, '2012-12-22 18:32:44')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:44', `last_login_ip` = '0.0.0.0', `perishable_token` = '2Vu2wW1qflTwEU4vQu4', `updated_at` = '2012-12-22 18:32:44' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4545fc2b253336acf064dc526272ea4c8d76b6bc01916722c9429085646ea6380355f44723f1567ce03aa5349c67f964d0639c5fbb1785391da9abca08a3f150' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bL2AEiVEvUFW7WK303' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:44', 'ce7396de0a3700b2edbc3363359a948848b199cee096bcce77f424daa47d7c9469ef970798649a9231c60f107b60da4cd25fa84f298f62f5fdc90ba8624ebb24', '2012-12-22 18:32:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:44', 'testuser', 1, 'soKC3oeSwkVXr3UcE', 'It73fvFvVPN8ZLjIazS', '4545fc2b253336acf064dc526272ea4c8d76b6bc01916722c9429085646ea6380355f44723f1567ce03aa5349c67f964d0639c5fbb1785391da9abca08a3f150', 'bL2AEiVEvUFW7WK303', 1, NULL, '2012-12-22 18:32:44')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kDqxkdjvaKaNt7nYWyz', `updated_at` = '2012-12-22 18:32:44' WHERE `spud_users`.`id` = 8[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[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"=>"Form 6"}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:44', 'Form 6', NULL, NULL, '2012-12-22 18:32:44', 'form-6')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '40407823314b6b0027262f3c75d749b1c8442aa9ead3474aab149f8498451ffb6713d202319716e607ce16b914811b25e12b5b580ab775cd28b9fb5aaafd77d8' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XdGAzu7q6IHs772zZSMr' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:44', '2084f061a63369431ad0d001696a269561b8b977b2cb9f0a263434ac6e5290d4c5ca7c2a90bd2fbd6934401f1435a1e15959ffb01597a93d20b3a2390cdd5001', '2012-12-22 18:32:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:44', 'testuser', 1, 'FJh4L63um4qmZe84WebB', 'CNEnVmv8h35F6DHmyl', '40407823314b6b0027262f3c75d749b1c8442aa9ead3474aab149f8498451ffb6713d202319716e607ce16b914811b25e12b5b580ab775cd28b9fb5aaafd77d8', 'XdGAzu7q6IHs772zZSMr', 1, NULL, '2012-12-22 18:32:44')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:44', `last_login_ip` = '0.0.0.0', `perishable_token` = '9fIDguvbbtrP2EvfrYH', `updated_at` = '2012-12-22 18:32:44' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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_2
-Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.0ms)
- [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
[1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '9c8ff5e8949525d7cc7b211e53e554d0102b9eebd5b33771e0bec119eb3f2f52488c258cf25fd501801bd3caf738a090bd0bac5c37c5c21ded15f30911d58660' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VwfhoGn4nWlGBM4kV5vJ' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:44', '0b57d340a70082184dab812a3ea25d6b94dbc08fd9c72554886807d0e89ebf287ea4f08e6f237a696be4ae0daa13b4b8c06554c524838db3717f0ef0b41b54b8', '2012-12-22 18:32:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:44', 'testuser', 1, 'tDcpjbMJISMP8yDrUj', 'NHvjKp8ap2IHLlUNIpp', '9c8ff5e8949525d7cc7b211e53e554d0102b9eebd5b33771e0bec119eb3f2f52488c258cf25fd501801bd3caf738a090bd0bac5c37c5c21ded15f30911d58660', 'VwfhoGn4nWlGBM4kV5vJ', 1, NULL, '2012-12-22 18:32:44')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.6ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'JXxgiE95bawu3qkLrao', `updated_at` = '2012-12-22 18:32:44' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:44', 'Form 7', NULL, NULL, '2012-12-22 18:32:44', 'form-7')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:44', 'Form 8', NULL, NULL, '2012-12-22 18:32:44', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"8"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 8 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '831d991ec374b15b1d100a1f07cb23ea677f79de475293f32d4c2d131bc2d38cfe040f0ae0d59a557c324d6e3c61a4df8c56b6102910e0c04065e255b025e6ac' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'F8e5FXsSHepuVJltJ73r' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:44', '9a175b16edda5bf135e3c69b8a532c59482e1a2686b458212e233e75d173f9eaa5be2dba9fabec9d1ae8cab4c3379591e4debb9544fcb6fbe53c72bebdf932a6', '2012-12-22 18:32:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:44', 'testuser', 1, 'TpcadTrfT0apBFCOfhZ', 'SJ8EpYqORU8TcLPOsJQb', '831d991ec374b15b1d100a1f07cb23ea677f79de475293f32d4c2d131bc2d38cfe040f0ae0d59a557c324d6e3c61a4df8c56b6102910e0c04065e255b025e6ac', 'F8e5FXsSHepuVJltJ73r', 1, NULL, '2012-12-22 18:32:44')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YWGsWO8OQPeIHzO9Akb', `updated_at` = '2012-12-22 18:32:44' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 11 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 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 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[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 'f4a2083c961464e77d6df67300c8751feae2bcaa59700e900a5ec6f39b8a7a61672053428479c392b4aa11fad0325d6426340f4523413e1c7f1f8f39267051a5' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'I4nNIl50Wv4vwCjcL5w' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:44', 'd83b17b31a3d276be880c6667a379b55b85e1c4871e973520007fff9bf0e88e4b5d9ef82a4a54f20e7b794555ef07f120f454c7e76b1088e54dce8b5e1ed291c', '2012-12-22 18:32:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:44', 'testuser', 1, 'Qo02bBFxLZ8sYT0fcuE6', '2PUO9N4hlOfcljOMqAo', 'f4a2083c961464e77d6df67300c8751feae2bcaa59700e900a5ec6f39b8a7a61672053428479c392b4aa11fad0325d6426340f4523413e1c7f1f8f39267051a5', 'I4nNIl50Wv4vwCjcL5w', 1, NULL, '2012-12-22 18:32:44')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'slpUYTIvmneC2sLU5k1', `updated_at` = '2012-12-22 18:32:44' WHERE `spud_users`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:44', 'Form 9', NULL, NULL, '2012-12-22 18:32:44', 'form-9')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"9", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:32:44 UTC", "updated_at"=>"2012-12-22 18:32:44 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-9"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 9) 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` != 9) LIMIT 1[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:32:44' WHERE `spud_inquiry_forms`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1
+ [1m[36m (1.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.5ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '69c47b06279618d0db93df59b406544ac5e50815a13d375ba743c71f2d2c490ff93d71c33a3a2209952236985cecec8ff80253b1ce54689fab95689638be241c' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UKbsqhQB0FoUOrIX7r08' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:44', '3842d5a4a40d47bba64538b08a1f62bb219be6d0d4f0a848fb6289bd979fcc023195e0c09081ae5ede98dbedcb8b0a273e9a6fd00dd673fec599ef222a0005a0', '2012-12-22 18:32:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:44', 'testuser', 1, 'WO321z9PrjSjurMBrMD', 'WGQxQIBUol2UT18QM6Fx', '69c47b06279618d0db93df59b406544ac5e50815a13d375ba743c71f2d2c490ff93d71c33a3a2209952236985cecec8ff80253b1ce54689fab95689638be241c', 'UKbsqhQB0FoUOrIX7r08', 1, NULL, '2012-12-22 18:32:44')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.1ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'OXmMEB6spiOuTa9zBZdq', `updated_at` = '2012-12-22 18:32:44' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:44', 'Form 10', NULL, NULL, '2012-12-22 18:32:44', 'form-10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"10", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:32:44 UTC", "updated_at"=>"2012-12-22 18:32:44 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-10"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 10' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 10) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '271e002c9b9b491bb02b3230265d8e497cff8502418248a9ff883cd706c6b13b947ed009dbe72adbafdc960203badd7052ccfbf78779419c659ff3a7dd95ee2f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TbKf2ZuMD8zpo4YlGRi0' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:44', '41e2fbeea489c6515a2496628b532f4c3224a57a84f8009008e83e474beed959117e3177689df2e7ee97da441696490ef9075b5457766372a9f0bb0f136925b4', '2012-12-22 18:32:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:44', 'testuser', 1, 'RHrWEblF2tz4JRgTi9', 'FkABQgTRFMEvbDLsgix', '271e002c9b9b491bb02b3230265d8e497cff8502418248a9ff883cd706c6b13b947ed009dbe72adbafdc960203badd7052ccfbf78779419c659ff3a7dd95ee2f', 'TbKf2ZuMD8zpo4YlGRi0', 1, NULL, '2012-12-22 18:32:44')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.8ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:44', `last_login_ip` = '0.0.0.0', `perishable_token` = '2ntwjg1bNlNVtVCpGVWy', `updated_at` = '2012-12-22 18:32:44' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' 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-11' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:44', 'Form 11', NULL, NULL, '2012-12-22 18:32:44', 'form-11')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"11"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.4ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 11[0m
+ [1m[35mSpudInquiryFormField Load (0.3ms)[0m SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 11 ORDER BY field_order ASC
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 48ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (1.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[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 '6046ed16d325a6b071357dbdde8adf2f6df516849eab0be457ce1d35b151fb1bb76219070987b61e3e66d6fb0495e5b8f30db91548231ae7a5e8e8390055bb1f' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '39TLklvZIaodtAOQUkrj' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '89745face661a29db72e1b8e1df07777d6b885c1dce4cd74a9da3d3544384b3dd35027b785f69579c325eaa75e185c8b4c28a99f108121d060a0ddb2fab6cb69', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'eMA0DMyOxkBDjYs42gJ9', 'OSzXArAwwV27hBSjnIHh', '6046ed16d325a6b071357dbdde8adf2f6df516849eab0be457ce1d35b151fb1bb76219070987b61e3e66d6fb0495e5b8f30db91548231ae7a5e8e8390055bb1f', '39TLklvZIaodtAOQUkrj', 1, NULL, '2013-06-27 12:53:44')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ac9d39d51fdbecb508548cec35829603e20cb9c983733e9b11b33f975e700c0a2a256da5626c4179f31b323cf136df6dab65c0cb43181e560837a19d4a66595e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HyTMJ0ZJW5NrLQJZ80' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:32:44', '9bddea394982c945cf4249261b45a68ce72bc959f440e94437066ac75e34274845837d7933befd9867a87f39af3452db9cb2d54a9e3662a44e64479388f38c41', '2012-12-22 18:32:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:32:44', 'testuser', 1, 'FI2vDL9hGy5wqzA0GL09', 'oTPX4R0IVMXMsxT1d7TF', 'ac9d39d51fdbecb508548cec35829603e20cb9c983733e9b11b33f975e700c0a2a256da5626c4179f31b323cf136df6dab65c0cb43181e560837a19d4a66595e', 'HyTMJ0ZJW5NrLQJZ80', 1, NULL, '2012-12-22 18:32:44')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Cw7ftV6jvY9HhE6LtRh8', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 10
+ [1m[35m (0.9ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:32:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YNuF4O35LEgRcTfKbmw', `updated_at` = '2012-12-22 18:32:44' WHERE `spud_users`.`id` = 15
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:44', 'Form 12', NULL, NULL, '2012-12-22 18:32:44', 'form-12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 15 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.2ms)
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:44', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:44')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:44', 'Form 13', NULL, NULL, '2012-12-22 18:32:44', 'form-13')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 9', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-9')[0m
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:44', 'Form 14', NULL, NULL, '2012-12-22 18:32:44', 'form-14')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1
- [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 10', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-10')
+ [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.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:44', 'Form 15', NULL, NULL, '2012-12-22 18:32:44', 'form-15')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::InquiryFormsController#edit as HTML
- Parameters: {"id"=>"10"}
- [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
- [1m[36mSpudInquiryForm Load (0.1ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 LIMIT 1[0m
-Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.3ms)
- [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[35m (0.4ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' 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-16' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:44', 'Form 16', NULL, NULL, '2012-12-22 18:32:44', 'form-16')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:32:44', 'Test', NULL, NULL, '2012-12-22 18:32:44', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[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.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:44', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:44')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:32:44', 'email', 7, '2012-12-22 18:32:44', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:32:44', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:32:44')
+ [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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.1ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (3.1ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (4.5ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (2.0ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (1.1ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:34', 'Form 1', NULL, NULL, '2012-12-22 18:33:34', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 66ms (Views: 8.5ms | ActiveRecord: 5.6ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 2', NULL, NULL, '2012-12-22 18:33:35', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:33:35', NULL, NULL, '0', 'email', NULL, NULL, 2, '2012-12-22 18:33:35')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to
+Completed 500 Internal Server Error in 0ms
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 3', NULL, NULL, '2012-12-22 18:33:35', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:33:35', NULL, NULL, '0', 'email', NULL, NULL, 3, '2012-12-22 18:33:35')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Completed 500 Internal Server Error in 1ms
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '5d8bf3ea10b98b0eed4764887b92761286941cd666135ab1c2f466442dd758f67e32aa7221671f9293e1507e11859f061f8d0857662634af8e41f176e59e9f9c' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0vot83YakjTBCmmHKi' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', '4c1cb2795328f78058dc40c149cc79bbdfca92d2f5141b0e40b720ae746584b595ec1c2e4e4254dcafa4a82784187d50e376094e0ecf5a1fe9b4843e5fb9a4a4', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, 'Q5W2U41KJ5VG0jJYCF9', 'CUo8FcXmJtaLopAl4FK', '5d8bf3ea10b98b0eed4764887b92761286941cd666135ab1c2f466442dd758f67e32aa7221671f9293e1507e11859f061f8d0857662634af8e41f176e59e9f9c', '0vot83YakjTBCmmHKi', 1, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = '1OVA4UtGOzPtWV78hOQ', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:35', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:35', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:35')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.5ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '13d4d88701202c408028124be56ce5410ea7cb32bd24b58a5334b973ca82fe0c34464324c4eb99d8f24779db0f5c5666a80db12c4f626c69a8d5859ae63ad15f' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pvWclRtQa7VVsbArraIn' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', 'e5575692fdfe3c81f4f16a07ef32120018189862163b19370c5dbcb7a00dec3ea1bd4168ac02679a2b2b4018816c9352ef18ac5e7c342e02dcbec7ccaca61805', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, 'AMcUmZc1e0KTXFLLOeVn', 'JbUOTkTs8YKB7nEZJ97A', '13d4d88701202c408028124be56ce5410ea7cb32bd24b58a5334b973ca82fe0c34464324c4eb99d8f24779db0f5c5666a80db12c4f626c69a8d5859ae63ad15f', 'pvWclRtQa7VVsbArraIn', 1, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hDsoq601zzIdrPQS9ct', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:35', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.1ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 2.4ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c12d90459dad16adb64f53ddad9c873e536477f58b8dec1b6577f50e00b7a89027de3d7ffc55f1539121b14538b0eee1fca12d53705cd0cef678284aea7cd9f9' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ewtwLKPYyg2sh5alho' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', '1ca00b7af8aa760efd318b279350b1881dc79936181c937088dba9f5c7a80d4bac0f49dbcf02f643ee3b9bfcd2b1b52e932c46e60071ccd7168b9ab68d040f94', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, 'HegsvmZJp8HdJoMyhV', 'AUgaY7kxDGj6w6OfjF7', 'c12d90459dad16adb64f53ddad9c873e536477f58b8dec1b6577f50e00b7a89027de3d7ffc55f1539121b14538b0eee1fca12d53705cd0cef678284aea7cd9f9', 'ewtwLKPYyg2sh5alho', 1, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'R7svOCwTVXx2NPrEtTnr', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.4ms)
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '16a0bfef8b0269cda0fa12cc86abd77302d9e42baf54c61b4993407a9800bba494171d0bd1978668a6065b6b71c7554c327b10c689e054871a8d8bc23668a5a8' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0jH2ymr7UldQcgTMU1sA' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', '9ae3d9ca1c3d383f761062fe0d9632f41f763f7710e8743dd3d51a9534c0d4407201ed4475db072bd1e25f8bfb7baedd17ecdf7254587a1c8e87895a66496730', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, 'xwFxZjkAxgzF4LiFKL7q', 'V2omGlYn9JTniLxoryQ', '16a0bfef8b0269cda0fa12cc86abd77302d9e42baf54c61b4993407a9800bba494171d0bd1978668a6065b6b71c7554c327b10c689e054871a8d8bc23668a5a8', '0jH2ymr7UldQcgTMU1sA', 1, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QhdhmFFcUGS0bS5KhcA', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:35', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'e04fbea8a569fc505fafa52e4f0eb48f56118b0daec46055fede3d9365a485e79dd5b898a515552f5da8c126e5f5aff543fef1e7ed160e48d3a9f9838bded1c7' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fUvslrbaSSyhLHiIMAzN' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', 'e1088aa379e98ee592ca479c77c84112b87b61b2793f094c65867ec1bb896336db6463cba2ea802b42f5eebc7bac01a264fadca4f2ba8afd42e5bd5ca1192ee4', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, 'IbTrqncKOry9h05XjRcA', '6tdaO2Tf43D5zVyIYja', 'e04fbea8a569fc505fafa52e4f0eb48f56118b0daec46055fede3d9365a485e79dd5b898a515552f5da8c126e5f5aff543fef1e7ed160e48d3a9f9838bded1c7', 'fUvslrbaSSyhLHiIMAzN', 1, NULL, '2012-12-22 18:33:35')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Jn3NdsyYUpYJfVVftR5x', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:35', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:35')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'af6f7592e853189e6fc09a6e0c17e8c5c07feaa29c403c3d5ef8ecebadc803264bcf2ed8f640a16eb74d57eedb73956eb130b0fecbe9708451bf87f58bc05c13' LIMIT 1
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zamNu8vssjnLAvyPZW6O' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', '8ad54c8e8ad1ff49678c0545499ee9c9572232024e6bcea6472b2005b246ba784b20d9ca8178c318696a8c4ab7505f861ea7ac8fc7e4d859a65ed158a061157d', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, 'KmY3Cgr4rnVUyzwPj8Lm', '2fXcm3skwZPqNGmFgVGC', 'af6f7592e853189e6fc09a6e0c17e8c5c07feaa29c403c3d5ef8ecebadc803264bcf2ed8f640a16eb74d57eedb73956eb130b0fecbe9708451bf87f58bc05c13', 'zamNu8vssjnLAvyPZW6O', 1, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'jZIqUvuPdt9LmtmGQ', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 4', NULL, NULL, '2012-12-22 18:33:35', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' 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-5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 5', NULL, NULL, '2012-12-22 18:33:35', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9065de6b845a86a57d824091001c789eb00b44d81a67fa1411eb3280eb2c1d022f22eb141d7dec372b1af462beb1ce7c679d653e6caa7b099654c46fef8a48df' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'B7Nff4RaoHtWiysZJEN' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', '5969f75b4ef4bc463f0b0c0b585b8d8d3c1a5be12f49ce620bb16189f4a38556613e9f13a359b1e03d730a3557cc7672735ae666e446315e7b470b8547323d03', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, 'YcOO7f0y58WGaVsPafnO', 'WRMb5vhP8VtMzSpcvTJ', '9065de6b845a86a57d824091001c789eb00b44d81a67fa1411eb3280eb2c1d022f22eb141d7dec372b1af462beb1ce7c679d653e6caa7b099654c46fef8a48df', 'B7Nff4RaoHtWiysZJEN', 1, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rbIhFggMvfzKoctTHf', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5af068a807cc5138cb81afa8fb68494767d93bdeb6d29210e1120b746f9f49eb12df887ed35c0919bbf0d59b8252f491b47597842b4d72c6e4b54088d4a2824d' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hSDAGHRh8T9Jk3jTJ1P' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '50fad13feb433bea27e94a6c327d76a55502f8574162d75885a1f0db926a7afa09ada826dc278295058bab662963b445fbf3caf67c4ecb7ed5aa58362c9e8f4d', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, '9tfd3PAlzwSJpxKDE9gS', '3QnYSQV9xGjoN5WZ4mEz', '5af068a807cc5138cb81afa8fb68494767d93bdeb6d29210e1120b746f9f49eb12df887ed35c0919bbf0d59b8252f491b47597842b4d72c6e4b54088d4a2824d', 'hSDAGHRh8T9Jk3jTJ1P', 1, NULL, '2013-06-27 12:53:44')[0m
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '796cd1c99e1e93800cf26c1974e8fd94a3a2274a7e7250c59a09f15a1f4dadd2ac5de826c76da385890b864e84fe37045d218a9e4792e7f0fc0a5a744d2fe7a8' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PQIQ4Gy4c7fGr9v8vPY' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', 'b4d0ddf7bdb41fe729db29354d3b4da9a6dfd8a1d51d7cb09092518e4df62fe1830501104cc9b794a9f4ec7861337745a37d421f886594f9e8da0c0f7b94acc0', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, 'XtuqlDexVctC1YdoHU', 'mXIqvhKXbc802ne1QLRY', '796cd1c99e1e93800cf26c1974e8fd94a3a2274a7e7250c59a09f15a1f4dadd2ac5de826c76da385890b864e84fe37045d218a9e4792e7f0fc0a5a744d2fe7a8', 'PQIQ4Gy4c7fGr9v8vPY', 1, NULL, '2012-12-22 18:33:35')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'LOSTYzedpsL5qfYgslAo', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 11
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'NTmbcEx0azaQtIYFL1OM', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 6"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 6', NULL, NULL, '2012-12-22 18:33:35', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '487d096f4526b587dc1c4fa9d1377da28677ed6cf8320130edd5d8f25242a6ed47ba2130cf7368d67aaaa83a9f78045c161f1c5465ce5ba31856a5f0e81f73e4' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xRIIAeOKIgda75YV2dT9' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', '242f84fa2ce14bd659fb740818e6952ffdc23ae8dcf6b735c87216724929f033a65aa37440114fe4427167ab7ba3bf139d8362580713862a249f0033153d8300', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, '9IWwl7ouyHoH9djiiHvv', 'j96jytNexf4xUWv7G4YV', '487d096f4526b587dc1c4fa9d1377da28677ed6cf8320130edd5d8f25242a6ed47ba2130cf7368d67aaaa83a9f78045c161f1c5465ce5ba31856a5f0e81f73e4', 'xRIIAeOKIgda75YV2dT9', 1, NULL, '2012-12-22 18:33:35')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.9ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = '0VhxYC1cMeKkj6LgpC', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[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` = 9 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [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_2[0m
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '82c4a95371e2202c79a85b759831b7263d3efa908a440eaaa39be2d5faba7d193fef8601ec53c2d7c02d7d81bdf1f85ef8d17b3fbc3e0bdb19d31c35628a8424' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5pw1iSbZs9zifPQGzkg' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', '2d144792aea51b099bb399d0b2f45d5132d058cb84c05626d8150302bcc5c2ab9a1bf8dccb48e29ae1f32e5db0e2d4382135f38d6838dd1d7ffba6f9cda7f0e2', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, '8LIIz2KlQiSTYERNX83d', 'j7SStD0qX5PAT9o2xtty', '82c4a95371e2202c79a85b759831b7263d3efa908a440eaaa39be2d5faba7d193fef8601ec53c2d7c02d7d81bdf1f85ef8d17b3fbc3e0bdb19d31c35628a8424', '5pw1iSbZs9zifPQGzkg', 1, NULL, '2012-12-22 18:33:35')
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'LdRZTbGAloI9zb18u2Ur', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 7', NULL, NULL, '2012-12-22 18:33:35', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 8', NULL, NULL, '2012-12-22 18:33:35', 'form-8')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 8 LIMIT 1
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.6ms)
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4e75b3b9ae0008c44ac832e8d8962f0151fa87f3f8be44b28afd17247c20f47ba962c3beba323c9102d3db7b541409991e3ede2caf321863057dc3d22077f63b' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0yo0QQIdBnRJlFZIWFj' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', '2dfdbce57f9b5778ddb37d78381a61760b3ed7df9414b14db93faf50e1ffb4718a5bf81591f3c902976a5deae38963a420310c842f616d49736e78ea8e28708c', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, 'qIOON0EamGEnhl1bphAC', 'Unk5sE8g4eLJyfZcAEwj', '4e75b3b9ae0008c44ac832e8d8962f0151fa87f3f8be44b28afd17247c20f47ba962c3beba323c9102d3db7b541409991e3ede2caf321863057dc3d22077f63b', '0yo0QQIdBnRJlFZIWFj', 1, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'bDJUvaguoREOGwpqnHJQ', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 11 LIMIT 1
- [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1[0m
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
Redirected to http://test.host/spud/admin/inquiry_forms
Filter chain halted as :load_form rendered or redirected
-Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b7d6222b77cf0f10d8b6f7518f1e71bdeb5a3538c822925c188262d266b4eab5f71bf1224d12e6d8f5aabd2557cbaf6b5e08e477116da249dfcbf71eee88ebd8' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'DklNrmJ28BhmhhLDOhJ' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', '1deb51ec0ceb88993eed3ce05ef06dac672ce3186e4ef95dda261c8e71e65e631a06b3448601d8d373d5ad5451a6179b20e9edc95a92ca2dbf35652b83a74abc', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, 'g32DPZJijPivdLrhXaqx', 'uWAALb8gzVw3yVgMB7JQ', 'b7d6222b77cf0f10d8b6f7518f1e71bdeb5a3538c822925c188262d266b4eab5f71bf1224d12e6d8f5aabd2557cbaf6b5e08e477116da249dfcbf71eee88ebd8', 'DklNrmJ28BhmhhLDOhJ', 1, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'fCVJu79EHl4P0sYxOdN', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 12[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 9', NULL, NULL, '2012-12-22 18:33:35', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"9", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:33:35 UTC", "updated_at"=>"2012-12-22 18:33:35 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-9"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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` != 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 'myform' AND `spud_inquiry_forms`.`id` != 9) LIMIT 1
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_inquiry_forms`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[36mSpudInquiryForm Load (0.4ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1[0m
+ [1m[35m (3.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'a74f6238bf09b85bf212a296103d20456880034c7b69ce364b7032bfb40a723e4ac31a3c948389a1b5da56b02f04bb90778f02aa8e6f173c7f08273d33845cd8' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'U0Jgbx2oeXuJEFVje2sM' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', '59efc9e0d6ab5fc75aeea9d61011ba4bdf159850b9c04c79ea8799a9e57132fae1dbcdde26e78845357b806e751dab8aa757cf2c4a2771c57b3381d3088071da', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, 'hnB8hFmOajMnveSlVUz4', 'ZWaDPu38I9PgPvZwhn5', 'a74f6238bf09b85bf212a296103d20456880034c7b69ce364b7032bfb40a723e4ac31a3c948389a1b5da56b02f04bb90778f02aa8e6f173c7f08273d33845cd8', 'U0Jgbx2oeXuJEFVje2sM', 1, NULL, '2012-12-22 18:33:35')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.7ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'sDGoEpvmMdlB3C2JKX18', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 13
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 10', NULL, NULL, '2012-12-22 18:33:35', 'form-10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"10", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:33:35 UTC", "updated_at"=>"2012-12-22 18:33:35 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-10"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 10' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 10) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '701e0069efb3d3c08d39e23f855ed53224d59c0e94102368dcf0a4720e74e0b287087c09e98daac08914a63abcbf2ef2c698c8a06a85ec5b006cd38b721330cb' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sNIcepLJFtAxu2jgRX' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', '3bbc482e4376ed1ecb0d56f19a9fb0d3aa2d5f898b180ad983c2715387e9f9cbd865171f76fa31d50c5934b393e6deb968e1073bd70559870139a7238b53d46f', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, 'wEP31qIaZKu90fYf8hYe', '0j6hfJKMA9e87Xf9zM', '701e0069efb3d3c08d39e23f855ed53224d59c0e94102368dcf0a4720e74e0b287087c09e98daac08914a63abcbf2ef2c698c8a06a85ec5b006cd38b721330cb', 'sNIcepLJFtAxu2jgRX', 1, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = 'NJYj2t2cCOWP6GfwU', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 11', NULL, NULL, '2012-12-22 18:33:35', 'form-11')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"11"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 11
+ [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` = 11 ORDER BY field_order ASC[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 49ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '353b5f8656f70ff655e9f4c7a1b9e298b671fa5cc07c9864a09c1d3bdb3df381f274dcededa1053906a5616ced21587ba0c2db8c4c8b5d7c5e1364170eb93f0c' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QB6HlWbxSWsZHoweR6x' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:35', 'f450aa9324c6d5813ed492701360ac41a1a20e591d416ccd71394ff061f03015fbd17fa9e4e798a0dbb4e91728190951407db3b6f5addc26b1a5b665f332fd71', '2012-12-22 18:33:35', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:35', 'testuser', 1, 'ep4wJjQwJSHZzdjKcjOL', 'Sx1sEt63f1wGBjKvcplj', '353b5f8656f70ff655e9f4c7a1b9e298b671fa5cc07c9864a09c1d3bdb3df381f274dcededa1053906a5616ced21587ba0c2db8c4c8b5d7c5e1364170eb93f0c', 'QB6HlWbxSWsZHoweR6x', 1, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:35', `last_login_ip` = '0.0.0.0', `perishable_token` = '7M9zyZhdViQleVkspCL', `updated_at` = '2012-12-22 18:33:35' WHERE `spud_users`.`id` = 15[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 12', NULL, NULL, '2012-12-22 18:33:35', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 15 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 LIMIT 1
+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.5ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
+ [1m[36mSpudInquiryForm Load (0.4ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.2ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:35', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
- [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cb6ace23e31c1fd3446d429013cc6f8b315ecca1a4b962a58308e28446211f9dd408a3f452e4f718cbf50d84b5c4b044980d5b83314d01e25cb87a5d11349e81' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'byGmtRsqtAqYZ3bYv44' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '8ee06a4d4a8de8f6d3382319a224cf3a5487e313516a16595d4f49e08ddbaf37f47075d48c95e9970a76d3af8e31f087a0c93570c74f6194e85d6999fe112f26', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, '3zYxxmUOuSrl73dHiGa', 'CACAPaUuBW2PZ1aXSb0', 'cb6ace23e31c1fd3446d429013cc6f8b315ecca1a4b962a58308e28446211f9dd408a3f452e4f718cbf50d84b5c4b044980d5b83314d01e25cb87a5d11349e81', 'byGmtRsqtAqYZ3bYv44', 1, NULL, '2013-06-27 12:53:44')[0m
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 13', NULL, NULL, '2012-12-22 18:33:35', 'form-13')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 14', NULL, NULL, '2012-12-22 18:33:35', 'form-14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 15', NULL, NULL, '2012-12-22 18:33:35', 'form-15')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Form 16', NULL, NULL, '2012-12-22 18:33:35', 'form-16')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:35', 'Test', NULL, NULL, '2012-12-22 18:33:35', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:35', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:35')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:33:35', 'email', 7, '2012-12-22 18:33:35', 'test@spudcms.net')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:35', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:35')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.4ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (3.7ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:53', 'Form 1', NULL, NULL, '2012-12-22 18:33:53', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"form-1"}
+ [1m[35mSpudInquiryForm Load (0.5ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.1ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 67ms (Views: 8.5ms | ActiveRecord: 5.3ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'uGL2hPZNENQvblEE9t31', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 12
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:53', 'Form 2', NULL, NULL, '2012-12-22 18:33:53', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:33:53', NULL, NULL, '0', 'email', NULL, NULL, 2, '2012-12-22 18:33:53')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Completed 500 Internal Server Error in 1ms
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:53', 'Form 3', NULL, NULL, '2012-12-22 18:33:53', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:33:53', NULL, NULL, '0', 'email', NULL, NULL, 3, '2012-12-22 18:33:53')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Completed 500 Internal Server Error in 1ms
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '74261532c097d97fe7e3d967b9bdb9ffe43d2dbbd6a1ad5b775b952aca97993d2ebf69e4eb6aba678d290005ee1f30dbe10ae7e5376591492655cc3a9c783319' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'p0L3WifjmLgo6Z1SImJ' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:53', '34b9ea5a688fee175fbd6f1499bd02c454fd18d7761d04a897db3542d67f3d26fd272db00303b4cf4f4c989f437ae26e8a01f0a62c37adae09fc9dfd301161b2', '2012-12-22 18:33:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:53', 'testuser', 1, 'icEd7h0N9faSjjfHy7', '4akmEHzRyYj7HcnuDGtN', '74261532c097d97fe7e3d967b9bdb9ffe43d2dbbd6a1ad5b775b952aca97993d2ebf69e4eb6aba678d290005ee1f30dbe10ae7e5376591492655cc3a9c783319', 'p0L3WifjmLgo6Z1SImJ', 1, NULL, '2012-12-22 18:33:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'fR24TQTMD5iPOQoKCMK', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:53', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:53', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:53')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'd653c8a89fd1b4e5dba2bb05d91fb753bc339847dfab754a6613da2db9472667dc0fa120373fe8e68fe4f85718685c44e3f1d5a83bae23df5e2da72774c4051b' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TVRWfEw9mnuGSTlTRTn' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:53', 'f09ac7ca78cb28bb64fdbb1ddf85a1c4b0620bd93aecf5f695924cd15e01e0cffd6303bc0eb1e0bf868dc79c3e502ddbf71346e73eb47071642fb6d241a462a5', '2012-12-22 18:33:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:53', 'testuser', 1, 'ZMWgdf0r6ElSaCI5nN', 'tfxhdRDbOzV0EgFjfIBM', 'd653c8a89fd1b4e5dba2bb05d91fb753bc339847dfab754a6613da2db9472667dc0fa120373fe8e68fe4f85718685c44e3f1d5a83bae23df5e2da72774c4051b', 'TVRWfEw9mnuGSTlTRTn', 1, NULL, '2012-12-22 18:33:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:53', `last_login_ip` = '0.0.0.0', `perishable_token` = '3KnPQcbvemk2dy0Aq', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:53', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 2.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '378069a697752929aecf4dbc0e30bb9018a45b32cbdc626b42da0896dfc704efab46261daa4ada5ee18126bf987d29cf48d239b8c8c0615f11e2968e7625f3c4' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BKs544lkbLE5C4B3FHDG' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:53', '3eb4579813c77c2784f02b7bad5780815559e2371750a504ce2ca641b3c89cc3913abc5349bb3c343aeb4a03747f7e9eb655c6068e3d2d3def159a5dc9a48052', '2012-12-22 18:33:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:53', 'testuser', 1, '1BjQnhO6EiUTtgy2c7I', 'ITvu76J4H4kN3nCaYij', '378069a697752929aecf4dbc0e30bb9018a45b32cbdc626b42da0896dfc704efab46261daa4ada5ee18126bf987d29cf48d239b8c8c0615f11e2968e7625f3c4', 'BKs544lkbLE5C4B3FHDG', 1, NULL, '2012-12-22 18:33:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YCGyC8KGLAI4cm0jPx', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.4ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1474e201ae6b8f2d27b6ddd625de5f26c5dbf10e7a80aa6113c1cae23c45a25605bfc2dcdf581d331b5955a393559715d19f88173ff11ae9dbc4324c39d58bc6' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4HvgBk7nNdFWlVrRWeg1' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:53', 'c4c636a9a2e5999a068740eac5d4a3cc1b447943866af4e5bf017c4af08ae4a9985a3bd53eeee0cfd9e17c54927711e36ca8574c4395494d4f4068c9a7532651', '2012-12-22 18:33:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:53', 'testuser', 1, 'xfqcEKRsv3GkSqQvKzZP', 'Tm09NliS9PwwRAr4naj', '1474e201ae6b8f2d27b6ddd625de5f26c5dbf10e7a80aa6113c1cae23c45a25605bfc2dcdf581d331b5955a393559715d19f88173ff11ae9dbc4324c39d58bc6', '4HvgBk7nNdFWlVrRWeg1', 1, NULL, '2012-12-22 18:33:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'LnquCj3bCuxsKutGnVIR', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:53', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '23ebe4055b57ad5dd22088dc4d33d6ab3fedb52523edc1fa4fec191cb866616ba01dbce27128d255cf598df07074639b5a93b6f8b97ad47520ddf40bec199be0' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'o2PvVcmSht3FSE5DXP7' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:53', '7d59d53c36e01cfc38db256c6153b4f4ba1e51e9f0962a523da285e2a790c77f1ffb1d9ed53730ee3f5a8246f33947e9886542278f31fcbd784019f8ff081683', '2012-12-22 18:33:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:53', 'testuser', 1, 'PmK8hWBIhMNHa9Zm7Rz', '0Cc68sLDuhKekt1GJ6', '23ebe4055b57ad5dd22088dc4d33d6ab3fedb52523edc1fa4fec191cb866616ba01dbce27128d255cf598df07074639b5a93b6f8b97ad47520ddf40bec199be0', 'o2PvVcmSht3FSE5DXP7', 1, NULL, '2012-12-22 18:33:53')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:53', `last_login_ip` = '0.0.0.0', `perishable_token` = '44AfSANcRlf6T69yI9M5', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_users`.`id` = 5
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' 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-11' LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 11', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-11')[0m
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:53', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:53')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (34.8ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'bc5d5fbdec766c8b2c7e82b53a310dd4a76556d2171361ca8b408aef61e1917ce363ffa6824648896f011f59b935df3257a3c5d11b29e4fd21b67cc7c00d06a3' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vQ4bslbAmwCxufBwql81' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:53', 'b93bc1c301784ff1d0e826ea47ea6b325525b29b3d9e36ecbd889b6adb0e28dad6578a18fb2ae40efa184664a8a43e8111332baec9724629d8eadd9f7dd68410', '2012-12-22 18:33:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:53', 'testuser', 1, 'NQ9F8L4KMms7cMp8G4HQ', '7sOCQC9DAUahQFQIgBbc', 'bc5d5fbdec766c8b2c7e82b53a310dd4a76556d2171361ca8b408aef61e1917ce363ffa6824648896f011f59b935df3257a3c5d11b29e4fd21b67cc7c00d06a3', 'vQ4bslbAmwCxufBwql81', 1, NULL, '2012-12-22 18:33:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vovAQWP9v513vbUIBxGY', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_users`.`id` = 6[0m
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
-Processing by Spud::Admin::InquiryFormsController#update as HTML
- Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2013-06-27 12:53:44 UTC", "updated_at"=>"2013-06-27 12:53:44 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11", "thank_you_content"=>nil}, "id"=>"11"}
- [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
- [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:53', 'Form 4', NULL, NULL, '2012-12-22 18:33:53', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' 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-5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:53', 'Form 5', NULL, NULL, '2012-12-22 18:33:53', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1
- [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_inquiry_forms`.`id` = 11
+ [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 '7bd4830f1f3b0f19903d2c1f7207abe3935cee19827f8de3af39303f91b6c79c954ef896fdb809d064371a1a0b5fabc694eb9e0aef6d1e55cd35e828302d684b' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'GOJLQFRVWdNds01qgvm' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:53', '09679ae06dc77d498d5692279f6da1c63d652f4a146a43a043cce874da105f4697648a2b233eb8d56be8044c2a840a27500d4764bfa65a9044ecc2ce929cf64d', '2012-12-22 18:33:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:53', 'testuser', 1, 'KCQEtENzKkH4AMNpXqX', 'GDj6RjLOujip74oeDL2N', '7bd4830f1f3b0f19903d2c1f7207abe3935cee19827f8de3af39303f91b6c79c954ef896fdb809d064371a1a0b5fabc694eb9e0aef6d1e55cd35e828302d684b', 'GOJLQFRVWdNds01qgvm', 1, NULL, '2012-12-22 18:33:53')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 's2CcpT6kTSzUzuKe9u5R', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.4ms)
+ [1m[35m (1.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '51068f4e332cb692a1875a596950a8fc00772ba6f7acd537105436b0e7e3b7269282c285b39339a1837aca4e013266ec7cd187a19b95d284ac1a952def1ba96b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TXGMrc8ZmaxCJa6hlWnl' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:53', '6e4843e486e66323867eb1abded170db4e7a7e1d75c00c66b6f08479e6f5016d8c4b61e879ef253b8a2f1b2aef76b1fd40817a588a6893ddd70abce6449c7d9d', '2012-12-22 18:33:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:53', 'testuser', 1, 'DwZyEzSDlahUFu5e7of3', 'jd8hGuPtULQl3gh4tZa6', '51068f4e332cb692a1875a596950a8fc00772ba6f7acd537105436b0e7e3b7269282c285b39339a1837aca4e013266ec7cd187a19b95d284ac1a952def1ba96b', 'TXGMrc8ZmaxCJa6hlWnl', 1, NULL, '2012-12-22 18:33:53')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.9ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:53', `last_login_ip` = '0.0.0.0', `perishable_token` = '3iLRRK1hGgkzsEAxEhCo', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#create as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>"Form 6"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:53', 'Form 6', NULL, NULL, '2012-12-22 18:33:53', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Redirected to http://test.host/spud/admin/inquiry_forms
Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'df781653d41948c3c0600ad66682adef5ffdbe7dddad66946aab1fb15612ef34094b0477d6880c02031bfa7c689c0934862dc789a6116db967c14c9e857a61ce' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BP687JfK2JtWjNEDhN9' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:53', '4b970cc9ca4ca32f079da82cdf0daa8227c678b25f244fd896b96338a86a00e55034132e755cb334e289013eeaf46612f3cb274c3314504a0097975c0a716fd5', '2012-12-22 18:33:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:53', 'testuser', 1, 'uu8rT4SqAw12RgJ0uESQ', '83sr72OKPqb2fSecgjXo', 'df781653d41948c3c0600ad66682adef5ffdbe7dddad66946aab1fb15612ef34094b0477d6880c02031bfa7c689c0934862dc789a6116db967c14c9e857a61ce', 'BP687JfK2JtWjNEDhN9', 1, NULL, '2012-12-22 18:33:53')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.8ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:53', `last_login_ip` = '0.0.0.0', `perishable_token` = '38ApIXMFjlMqeDU1uMl', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_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` = 9 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [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.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_2[0m
+Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a70f5ec6390722aeaa047ff9458aa7b1d9f6d6676865e17d1ebb625b1d3e5f8def531e4a30415b638b2d290786ed15f9b8fdfeb5e5772cb141a957a3033c6695' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zkNNkTclPvnWLuW1KS' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:53', 'a5e2781b463d86a91e2b6100da2f35b27f6aaafaa44d575ea45e8353a27adf8205d0bda1689c1b1e4cdca850b0e3b66019ac7482f7f3aa099fc9cd83ae669235', '2012-12-22 18:33:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:53', 'testuser', 1, 'DBwOKsSAgy68hOKfUO32', 'pbQNAylPjW1iwY7RBT', 'a70f5ec6390722aeaa047ff9458aa7b1d9f6d6676865e17d1ebb625b1d3e5f8def531e4a30415b638b2d290786ed15f9b8fdfeb5e5772cb141a957a3033c6695', 'zkNNkTclPvnWLuW1KS', 1, NULL, '2012-12-22 18:33:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Qc4RS39pnw9oZOcgYmNM', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:53', 'Form 7', NULL, NULL, '2012-12-22 18:33:53', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' 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-8' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:53', 'Form 8', NULL, NULL, '2012-12-22 18:33:53', 'form-8')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 8 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9b9d536bfeb6df4ccf813fa8080033c38c4bef851a4d9142b03cf57524bd5332d767603326b02d2b7884bce21b72177cfa4d1fff01cdd036ff4ae2f98fc5e7b8' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TL52lxAGl3nLP5s6qfXu' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:53', '0420818798294e0c98b732e7fc662ffb7d2cf4b111e32934aff74a2adcc4e13071e13d83e94a910a206b21538b3d755cf6251a1fde8b34a707e1597c1569915d', '2012-12-22 18:33:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:53', 'testuser', 1, 'odk4MVwq1YipPf3JhbZB', 'gnzxPZTeSEUsZI7O9h9d', '9b9d536bfeb6df4ccf813fa8080033c38c4bef851a4d9142b03cf57524bd5332d767603326b02d2b7884bce21b72177cfa4d1fff01cdd036ff4ae2f98fc5e7b8', 'TL52lxAGl3nLP5s6qfXu', 1, NULL, '2012-12-22 18:33:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.7ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GtrrlsjzJ5IZvSf29H', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_users`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
+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[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 'af69fd486e80f874a3af18e9b6d4e648ab62ddd16fe3c6d41e6f7cc4b611a124f855308dbc803aefe59b690b710a43465fa0743df9fe7365723dbe3a18262bde' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NzkHzgRp8mDwSQQzJon' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:53', 'fa68de3575d5335792b5197ce2795a4c152d2faa8f88ad2be9f8ed83f885abbe09b6df8b7888f2944e3254d9d9245a25bbe302375eb61897af3c64373cf866e0', '2012-12-22 18:33:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:53', 'testuser', 1, 'Yow2Ob3l3TWkFbCSzsf', 'A4jwwwg8TfAchB6MYpU', 'af69fd486e80f874a3af18e9b6d4e648ab62ddd16fe3c6d41e6f7cc4b611a124f855308dbc803aefe59b690b710a43465fa0743df9fe7365723dbe3a18262bde', 'NzkHzgRp8mDwSQQzJon', 1, NULL, '2012-12-22 18:33:53')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.0ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hst0Z56wMVmmZBitd1cI', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_users`.`id` = 12[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:53', 'Form 9', NULL, NULL, '2012-12-22 18:33:53', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"9", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:33:53 UTC", "updated_at"=>"2012-12-22 18:33:53 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-9"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` != 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 'myform' AND `spud_inquiry_forms`.`id` != 9) LIMIT 1
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_inquiry_forms`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '51c3b55cf5e31eeaa60669bd4f83da0f2927c1f9ac50dc85a3447ff12d513c098c4b348536185614d361f57e9e3ecc2be565f43745402e8ff58e707641422a1a' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ang8F6u4FduLCcCeGRB' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:53', '2c78414a0269bcbc3dcc237a66359e5787506c1f919d90a6c0b9c7ee39ad8feca715596730df938c7890d986be6879cb764d01ba7d71c26b9b74c2db48392840', '2012-12-22 18:33:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:53', 'testuser', 1, 'ty0PlQjO87kNAGKmP2Z', 'h31pqx97lAV1lTKDBJDF', '51c3b55cf5e31eeaa60669bd4f83da0f2927c1f9ac50dc85a3447ff12d513c098c4b348536185614d361f57e9e3ecc2be565f43745402e8ff58e707641422a1a', 'ang8F6u4FduLCcCeGRB', 1, NULL, '2012-12-22 18:33:53')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:53', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Bi8kKdJYv2nCqRHkWN7T', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_users`.`id` = 13
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:53', 'Form 10', NULL, NULL, '2012-12-22 18:33:53', 'form-10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"10", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:33:53 UTC", "updated_at"=>"2012-12-22 18:33:53 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-10"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 10' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 10) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '05e53e52fe9b52121063480aff9363214705aade469729b8607c638ff7819ef0b1a0423e7cd04e156abd1c199ec24f73ef13a0e02a8cda02cc8cd025d09fc491' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BIfXUDLSKu94KN8Z4N4c' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:53', 'e1db8ec4555923ba4545e25c22153be349e5236fb6ea0d7f159fbdaa6490d73538ff850b0b44a8b2746d2a189d9c0980c9b34ea86138fa43f9e9372f9004130f', '2012-12-22 18:33:53', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:53', 'testuser', 1, 'fnd8ZhPoXRmd1rsiLQ', 'Wwt7MF2xsw6mT7sSToht', '05e53e52fe9b52121063480aff9363214705aade469729b8607c638ff7819ef0b1a0423e7cd04e156abd1c199ec24f73ef13a0e02a8cda02cc8cd025d09fc491', 'BIfXUDLSKu94KN8Z4N4c', 1, NULL, '2012-12-22 18:33:53')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:53', `last_login_ip` = '0.0.0.0', `perishable_token` = '9lFW9P0pPzicNCVGgYTo', `updated_at` = '2012-12-22 18:33:53' WHERE `spud_users`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:53', 'Form 11', NULL, NULL, '2012-12-22 18:33:53', 'form-11')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"11"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1[0m
[1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 11
+ [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` = 11 ORDER BY field_order ASC[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 48ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (1.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f5b6baf87eb811e43be302bcce768955c9a39084e0715df047be4e579f4970ebfad0350e85a2ed3a65d3c32ce952a4d49d09bf800089058675b0d74a1c14480b' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SSaWEWWhQsGRuFx18Uh' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:33:54', '2601111d2369128d295b57b18986ce1548afb4b5824f333c883dcff9e49c799aedf3f0bbbeee6e3859a393b64cbd0f3a6c4d71e3c4e00055d0e38a59b4190ad0', '2012-12-22 18:33:54', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:33:54', 'testuser', 1, 'FGjxKNoAJipOmelTtgj', 'GX7cbwfQRxAzNVqcJsB', 'f5b6baf87eb811e43be302bcce768955c9a39084e0715df047be4e579f4970ebfad0350e85a2ed3a65d3c32ce952a4d49d09bf800089058675b0d74a1c14480b', 'SSaWEWWhQsGRuFx18Uh', 1, NULL, '2012-12-22 18:33:54')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:33:54', `last_login_ip` = '0.0.0.0', `perishable_token` = '4ObE57FgUsNiO8jnM0th', `updated_at` = '2012-12-22 18:33:54' WHERE `spud_users`.`id` = 15[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.4ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:54', 'Form 12', NULL, NULL, '2012-12-22 18:33:54', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.3ms)
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:54', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:54')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:54', 'Form 13', NULL, NULL, '2012-12-22 18:33:54', 'form-13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:54', 'Form 14', NULL, NULL, '2012-12-22 18:33:54', 'form-14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:54', 'Form 15', NULL, NULL, '2012-12-22 18:33:54', 'form-15')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:54', 'Form 16', NULL, NULL, '2012-12-22 18:33:54', 'form-16')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:33:54', 'Test', NULL, NULL, '2012-12-22 18:33:54', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.3ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:54', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:54')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:33:54', 'email', 7, '2012-12-22 18:33:54', 'test@spudcms.net')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:33:54', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:33:54')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.4ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.1ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.3ms)[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 (1.1ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.5ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:31', 'Form 1', NULL, NULL, '2012-12-22 18:34:31', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 63ms (Views: 8.3ms | ActiveRecord: 5.1ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 2', NULL, NULL, '2012-12-22 18:34:32', 'form-2')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:34:32', NULL, NULL, '0', 'email', NULL, NULL, 2, '2012-12-22 18:34:32')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 3', NULL, NULL, '2012-12-22 18:34:32', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:34:32', NULL, NULL, '0', 'email', NULL, NULL, 3, '2012-12-22 18:34:32')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '200afe43b2b9dee2324073ba20ec602b54035bcbd323468101577f2b58d754da5deb17284d283abc7c37d33deb3f7c518b24dcc5ad72bcffb4a9626df43d24ef' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xjE7C0z96PhX3Z2QIQK9' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', '4af2a4530338ec7ccc704da35f720fcc5dbd014eb177c4651d9be35a0f7ae0dd5e251c17c5ba68cb077e51f821644671262c077764ce5f9fa1674101a59ad0e5', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, 'Ylaibb6hZJnIVZCZUGH1', 'Nw1hnyDbeCbK6c6TWSbP', '200afe43b2b9dee2324073ba20ec602b54035bcbd323468101577f2b58d754da5deb17284d283abc7c37d33deb3f7c518b24dcc5ad72bcffb4a9626df43d24ef', 'xjE7C0z96PhX3Z2QIQK9', 1, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'IGm3XsZR7tkqNCnN3sSN', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 1[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:34:32', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:34:32', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:34:32')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '72bb6680e2644a8573fc0b846b2f112944f369b9800452682651bfb2a9a8f96989f23c42d88bb213ee7afd29b243d809144e988481f29a894f2be0f37c75dae4' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'DKyuhOGFGEGPepLIvZ3e' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', '10e1e1a474e7d53d61d41cd74b654393f0ec2dfabc30b600abe99ea4f675a84df88d16f55b52956f430c35d32d737f88e6b45d86e0fd409c8836fc706647fd95', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, 'SzlJr1GZY6UifWgOxT6', '6oy2yg5q6rfhaTmnLmgR', '72bb6680e2644a8573fc0b846b2f112944f369b9800452682651bfb2a9a8f96989f23c42d88bb213ee7afd29b243d809144e988481f29a894f2be0f37c75dae4', 'DKyuhOGFGEGPepLIvZ3e', 1, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vTEnJJ9EfSQ7Jt45xeu', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 2[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:34:32', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 2.3ms)
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '6c6a6a912337f60f34bff7f91710a9a56e989ac1178fb26bd85fa5a63b775bfa5d8cb80751300b84bef77cfe181e16345fb72e94bb0c51b22a4139e034d59755' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'q3BorR7yXuiCYMJmqj4e' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', '981311cf624ef3344268bb4336cd5b1537a8fd669db86ecf8d37b17377f6022b17b466ed43039fa9454b343298108e58a484e56b8eaddecb42a54f2accc74c05', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, 'wJItIKPucCjZyHjorFxI', 'qRxcaSGAKK8U8c089XN', '6c6a6a912337f60f34bff7f91710a9a56e989ac1178fb26bd85fa5a63b775bfa5d8cb80751300b84bef77cfe181e16345fb72e94bb0c51b22a4139e034d59755', 'q3BorR7yXuiCYMJmqj4e', 1, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = '2DnqpgM58Vn2ZpD4crFL', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 3[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 3 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd6a176bfe1b4a21b797a8c46fa3b095749a108a3a1cbd30ec6e92b5662f06de188aaa385a86e30755eb894c453b952fae151cc972b61c346968f28c74a189a0f' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sOw1iRdNS5zjwJNp' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', '36151e63b46c4033d279c21bf8d9e6c851c91266887c3c248e76f17be795e9ef8e3b69828c1ad6215a518692d08c85659230fde53b03c494a84c721c2ccc233a', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, 'V6SiNBZ7pABdKLVyE4r', 'uJAjlQC4RxsUWsoloQWS', 'd6a176bfe1b4a21b797a8c46fa3b095749a108a3a1cbd30ec6e92b5662f06de188aaa385a86e30755eb894c453b952fae151cc972b61c346968f28c74a189a0f', 'sOw1iRdNS5zjwJNp', 1, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'DA5juiPt7xSTWwKzuCS', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:34:32', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8a4fd2faaf5dd0f31ca0c642464a662e5076c396d6813275e7c3e20eabefb6f032db53231b6c7ded6a1938370202351ffc0712b0bea9e18a811b4af1d208f2e9' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1kYD9k3hmFSebNizATw' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', '57b0d2db9fa6169171916a450dac4364b4e4af4029c087be8060daccad00a4c0890f246a8d13c1e6a8ebd8c7b10b4be2449e6eb9fc2bf69f22bd1960f75cda02', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, 'eWWzSrpNCxHLjIu2Q15g', 'zvHwTIszykx2i2xgDxeY', '8a4fd2faaf5dd0f31ca0c642464a662e5076c396d6813275e7c3e20eabefb6f032db53231b6c7ded6a1938370202351ffc0712b0bea9e18a811b4af1d208f2e9', '1kYD9k3hmFSebNizATw', 1, NULL, '2012-12-22 18:34:32')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rfKDWG7EAUTmORuDpps', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:34:32', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:34:32')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'fa5fad81f0a628fdb4ec463cbe873ce6f47eba21be9d0b82266f7170f75388972f1742e9fd0bc056dd738d81895ec7e7eee62710922fe0c5699e7c1f6dc8bea2' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'D4oyj7fH1ZWBnLGxLwS' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', '7de28b6779ef8d97202c39ad7233c4f3f2fe3f29edd57c604bc8f32a2500785a948854b8ab6220bb9385af92c22871dbe7017e78d3053ab75bf43fec238d1c92', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, 'mVXulC3SsuRiLKu3C70', 'eAXefOMi2Anmp3dx8j', 'fa5fad81f0a628fdb4ec463cbe873ce6f47eba21be9d0b82266f7170f75388972f1742e9fd0bc056dd738d81895ec7e7eee62710922fe0c5699e7c1f6dc8bea2', 'D4oyj7fH1ZWBnLGxLwS', 1, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vQRbBq8yMl4t7geY33Nu', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 4', NULL, NULL, '2012-12-22 18:34:32', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 5', NULL, NULL, '2012-12-22 18:34:32', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.4ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.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 'c7ae2cbe336d66c1d02366899ec71856bb17e28b6fe2744ecf6330604380d3fbb660b703688fed23f576058eee37d652a7142bee37a0fc1b3fd7b9da42c8e463' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QpJYz65UL5z1nlOfe5gx' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', 'e5a9a96a9d17e666033848f50d328ab2229c32c6e30c5395f193be20f3b9a36ec24ee9779fdaff349895544dc5bf4dce927a7ae06843b5687cbd97b22c348d5b', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, 'mNVQjrIICwgPB5pA0FpW', 'tpSVf12riIeNqGX28vPW', 'c7ae2cbe336d66c1d02366899ec71856bb17e28b6fe2744ecf6330604380d3fbb660b703688fed23f576058eee37d652a7142bee37a0fc1b3fd7b9da42c8e463', 'QpJYz65UL5z1nlOfe5gx', 1, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wAoL6ytytHwLf6bj6xTA', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms)
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '9a5947c81f5345156a6de67e4357323c95f23a864588e2a1b13946fc5321dc54925e59d0253f569f42310feb6d4f686dbe6333899cb3d87c4a8398c6da6143c4' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MBRJ9pN6E1zFm3BxZksy' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', '389d755608ff0dd4399614c07535705b871dd71ec94b9208f63b70e3a1ab90b6d047765ac68e15fd4fbf9b13167111e66b11ab0098829bb5a940af300f8e638c', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, 'atoJ9iFBfWcJrRMyy7f', 'MD2YQAd0ovg2KvUwZVvq', '9a5947c81f5345156a6de67e4357323c95f23a864588e2a1b13946fc5321dc54925e59d0253f569f42310feb6d4f686dbe6333899cb3d87c4a8398c6da6143c4', 'MBRJ9pN6E1zFm3BxZksy', 1, NULL, '2012-12-22 18:34:32')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'H7wP26ibY4KlIFYAQ8k2', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 6"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 6', NULL, NULL, '2012-12-22 18:34:32', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '15ce3c7f5d498a9c4c78dfe5c53a8ab71123c685953267101bf76e7526e51ac35ac8d8ddd9f456c1067b9ff0107f5e24c491c45813f6e5d95123b564d177e408' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6QIjm1mRMIoRDJrq1ov' LIMIT 1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', '15aead4d4c351d77bccd0d651c5a7555e5be20640ccea85d74ffeb38471a303ac6fafa79c18194d20a95df55175bbf3b4f4d97d66cb5a760da46381c253d5191', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, 'b0lhECG0pMZB1pMy4tEj', 'V2PYJNZ7QnEgfhLkE6Q', '15ce3c7f5d498a9c4c78dfe5c53a8ab71123c685953267101bf76e7526e51ac35ac8d8ddd9f456c1067b9ff0107f5e24c491c45813f6e5d95123b564d177e408', '6QIjm1mRMIoRDJrq1ov', 1, NULL, '2012-12-22 18:34:32')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GHQHYhKVu7VWSQZiSWJ4', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 9 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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_2[0m
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '26078f47e1142966a069b4808cd7ed8733e30bce08e398f72f2e78f7bac1a153306af8815406148ddf5f0eaa903ce9bf53bb6f36bd32300bb911d81c3d8acf26' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YTfoDpx9Jbrw3D08xlL2' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', 'ebb07aea4dd4a317f54add279950547268c94787f31bf7d3c2b247db1bacbb5abb21823d9614c0defe9dc95535cfa2d0bb7ba67cb5431db3fac5b4382cf42bda', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, 'UFdklYMnq9i5vyPAmph', 'CSl4d9DMQXgqAw9MHth8', '26078f47e1142966a069b4808cd7ed8733e30bce08e398f72f2e78f7bac1a153306af8815406148ddf5f0eaa903ce9bf53bb6f36bd32300bb911d81c3d8acf26', 'YTfoDpx9Jbrw3D08xlL2', 1, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.0ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'KfBpphnWDfTS7x7RvB', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 7', NULL, NULL, '2012-12-22 18:34:32', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 8', NULL, NULL, '2012-12-22 18:34:32', 'form-8')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"8"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 8 LIMIT 1
+Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.6ms)
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cde4def68e76d8df810dc28b6fb25fc7fe234cf667964a31731580b513d0eadf61e01c6e0bdb5a53a1521707da18d89bc6c116f6d80c7c284fde6502cb992732' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'epgwCJ4LDpeUBABbRBa' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', 'a8236d7150174ed9728bb78e4090058a1bbb62a7ac2cf828e05e13fda5e4294c1acb8038328fd6a68cca5cf7a1c45d8bc307fa66445cea8f4632d23d8b5e25f3', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'ZVlzezXSvyWq4SMrI4QA', '96OPiOgpIlAdiVAmLp', 'cde4def68e76d8df810dc28b6fb25fc7fe234cf667964a31731580b513d0eadf61e01c6e0bdb5a53a1521707da18d89bc6c116f6d80c7c284fde6502cb992732', 'epgwCJ4LDpeUBABbRBa', 1, NULL, '2013-06-27 12:53:44')
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '83afa1e9ccb04d36b31493aa7a6346a3c94f9b60a5afbcbee0fadb5341cc1a0e3a3da10cec18a46d19527d661cfc01112e80d2943cb01563f42db23a9e897b5a' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'C8fnaY9zB2LJLS3yInjd' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', 'e7d02d52e1af319e371677cecde63f2bbcc9907a4f0c5d94ab8774c8d5ec6f52ed2e71cbe2b505ed29a57f72948f45af62d818583cab4f70e9ade555bd6cb989', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, 'gxeJT8cA4mdUM0OLtzj', 'arTn5F2lqHhIRMB1Vdl', '83afa1e9ccb04d36b31493aa7a6346a3c94f9b60a5afbcbee0fadb5341cc1a0e3a3da10cec18a46d19527d661cfc01112e80d2943cb01563f42db23a9e897b5a', 'C8fnaY9zB2LJLS3yInjd', 1, NULL, '2012-12-22 18:34:32')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MJRJvO8W1xFDnw71gXJ9', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 13[0m
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'anLV3gZJVic0yfeo5ion', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 11[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'de1e1ec63832bb05d5528df6be3468dad0aace7277986d873770ab8920e374643c64c236b361ffe35bb7c694c2a52c0d75c23f7f904c7a56f6fdf9b23bc78916' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UcI7KJ2PmcQkpFG2eqtc' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', '38629c45f380878cb1732ea59e1bb0c530016d2e50bb3b40362f405f6036508f7e1d14fda2800e0f81fec203dcbb012f9e044a0ee073a5cb11390a08e28424e1', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, 'RUDPnBVjpXn3079zmH', 'uu7VLe2uplOOTm0qjdAw', 'de1e1ec63832bb05d5528df6be3468dad0aace7277986d873770ab8920e374643c64c236b361ffe35bb7c694c2a52c0d75c23f7f904c7a56f6fdf9b23bc78916', 'UcI7KJ2PmcQkpFG2eqtc', 1, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'prO74B5xEuthwY6pGGL', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 12[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 9', NULL, NULL, '2012-12-22 18:34:32', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"9", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:34:32 UTC", "updated_at"=>"2012-12-22 18:34:32 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-9"}}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` != 9) LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 9) LIMIT 1
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_inquiry_forms`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[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 '5576cb2a19bdd83744579e146c4bd7953b1c6e2122744eb42cb1713864c1147fd3fff61fa9b6cec338623a1d0deb94922030dbdbdd7f715b6140e2dfd52ee1cc' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Z4i6GX7HYkdTGEQQ3HLl' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', 'f47c50d9624abab08e7f9fd0b097de787cbad8c671d3c6663b0401ec0741da37cbe4dc91e2e24f0df523d967297a46fa6aeced7935a844057d64d5a146099028', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, 'i7tV9gKFaCmKlx1N59', 'RfRl0hxPyBpVWvNBzXQ', '5576cb2a19bdd83744579e146c4bd7953b1c6e2122744eb42cb1713864c1147fd3fff61fa9b6cec338623a1d0deb94922030dbdbdd7f715b6140e2dfd52ee1cc', 'Z4i6GX7HYkdTGEQQ3HLl', 1, NULL, '2012-12-22 18:34:32')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.7ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'L5yNMn4e7Pmw0ePpgGpb', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 13
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 10', NULL, NULL, '2012-12-22 18:34:32', 'form-10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"10", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:34:32 UTC", "updated_at"=>"2012-12-22 18:34:32 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-10"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 10' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 10) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '53ef2859e301c2621026c490a34b578698153f281a9198321469940746e25f9f7410c2e400182c8cb13b415085c05efccf8318fd4383de6966a4c8cdbbdc56d6' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1A9SwR4Arfz6Zca4Eka' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', '828613a37eca3a877d0e247585b655d69960e995514051cec1d301f637f7bf575c1b4d14397722054cb649aa8d27b0c315a870d3acc834006e19de5ba2d5abc7', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, '5FzdSdhiO4dDgdoOI0C', 'uJ4HPk8qMgKlI0oQhzid', '53ef2859e301c2621026c490a34b578698153f281a9198321469940746e25f9f7410c2e400182c8cb13b415085c05efccf8318fd4383de6966a4c8cdbbdc56d6', '1A9SwR4Arfz6Zca4Eka', 1, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kkhMw25MJhPRWHWJYRNO', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 11', NULL, NULL, '2012-12-22 18:34:32', 'form-11')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"11"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 11
+ [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` = 11 ORDER BY field_order ASC[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 44ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'dae977923528b7a8c4ed99bed5d669a1af010b622a14bc51253f81318ebc6b2aaf3391bf1bc94865668d19e6e4dc45b56d177e47933105c705f866dcab6c4980' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'GQ2yiADDHJY0eqxX11' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:34:32', '9ed04caee45c011e3d5eb3defdeb7ce23b99e0153d92efb3d9ad3f69a98a22a06e8ccedcd597acd9b2974308a6ced77ada476917affb6cfb801fc04378a480a7', '2012-12-22 18:34:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:34:32', 'testuser', 1, 'jVmA9yoypjbBvndeoS9C', 't1jYKHGSR8rjpVGnHL', 'dae977923528b7a8c4ed99bed5d669a1af010b622a14bc51253f81318ebc6b2aaf3391bf1bc94865668d19e6e4dc45b56d177e47933105c705f866dcab6c4980', 'GQ2yiADDHJY0eqxX11', 1, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:34:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'TVxdfBSl72FXGfYbYV9m', `updated_at` = '2012-12-22 18:34:32' WHERE `spud_users`.`id` = 15[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
[1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 12', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-12')
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::InquiryFormsController#update as HTML
- Parameters: {"spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2013-06-27 12:53:44 UTC", "updated_at"=>"2013-06-27 12:53:44 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12", "thank_you_content"=>nil}, "id"=>"12"}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
- [1m[36mSpudInquiryForm Load (0.4ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 12' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 12', NULL, NULL, '2012-12-22 18:34:32', 'form-12')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 15 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 LIMIT 1
Redirected to http://test.host/spud/admin/inquiry_forms
-Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
- [1m[35m (2.6ms)[0m ROLLBACK
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 406 Not Acceptable in 2ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:34:32', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (1.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 13', NULL, NULL, '2012-12-22 18:34:32', 'form-13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 14', NULL, NULL, '2012-12-22 18:34:32', 'form-14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.6ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 15', NULL, NULL, '2012-12-22 18:34:32', 'form-15')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Form 16', NULL, NULL, '2012-12-22 18:34:32', 'form-16')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[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
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.5ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:34:32', 'Test', NULL, NULL, '2012-12-22 18:34:32', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m BEGIN
+ [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.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:34:32', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:34:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:34:32', 'email', 7, '2012-12-22 18:34:32', 'test@spudcms.net')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:34:32', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:34:32')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[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.1ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:35', 'Form 1', NULL, NULL, '2012-12-22 18:38:35', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"form-1"}
+ [1m[35mSpudInquiryForm Load (0.5ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 66ms (Views: 8.4ms | ActiveRecord: 5.7ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 2', NULL, NULL, '2012-12-22 18:38:36', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:38:36', NULL, NULL, '0', 'email', NULL, 1, 2, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 3', NULL, NULL, '2012-12-22 18:38:36', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:38:36', NULL, NULL, '0', 'email', NULL, 1, 3, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 4', NULL, NULL, '2012-12-22 18:38:36', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:38:36', NULL, NULL, '0', 'email', NULL, 1, 4, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Completed 404 Not Found in 1ms
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 5', NULL, NULL, '2012-12-22 18:38:36', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:38:36', NULL, NULL, '0', 'email', NULL, 1, 5, '2012-12-22 18:38:36')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.4ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 16ms (Views: 0.8ms | ActiveRecord: 2.2ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 6', NULL, NULL, '2012-12-22 18:38:36', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:38:36', NULL, NULL, '0', 'email', NULL, 1, 6, '2012-12-22 18:38:36')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6", "email"=>"test@test.com"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 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` = 6 ORDER BY field_order ASC, field_order[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'f3571fea07c8f1a190b34097dd55c441b38a359cd284d0830f4889b8b4095b05b72d4a4543770c601e22e0074942799c541904b93ad3e34bb66105dacaf5318d' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Ooud439fuEnxSzVfmuDF' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', '80e883ad117f4946758fd679db4361ca9ffc7eeee7ecf735c8fe79eab7e07c77588b5b40320c28d3531a0de07f171568809ebb9347bcc44ea4648e947032eb73', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, 'MjslvjDZ7ND84U6KSF2b', '85MJx4W7qJwgbz54xhX', 'f3571fea07c8f1a190b34097dd55c441b38a359cd284d0830f4889b8b4095b05b72d4a4543770c601e22e0074942799c541904b93ad3e34bb66105dacaf5318d', 'Ooud439fuEnxSzVfmuDF', 1, NULL, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'x1oPoSnTgiR6G1Z0F2Gb', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:38:36', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:38:36', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:38:36')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[35mSpudUser Load (0.5ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
+Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.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 'e2cafbaaad42a87e343e4684f3c0d21517ac93a1174cabf8590d2dfa25018d67ac7f2a9d6462c556f7fa183d1d66739b87028d34543b38283a839aeb7c81079b' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Fhvb8eMsRQRtsVPl8Kd' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', 'e0ed47486bf9a4628d555b7bf33953f1d82f7f6634698066dfa6572454f249bbe67fd56f44a1c468f7d69e0f291b0a4a091a74f535cc3eccaf16cd3c899bebcf', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'PZidDMzyQBGE4axF6pH', '15oTthErwnhKOY317Sa', 'e2cafbaaad42a87e343e4684f3c0d21517ac93a1174cabf8590d2dfa25018d67ac7f2a9d6462c556f7fa183d1d66739b87028d34543b38283a839aeb7c81079b', 'Fhvb8eMsRQRtsVPl8Kd', 1, NULL, '2013-06-27 12:53:44')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '23231f113238094a0df97e4c6e3a2d14c8df1c331e6b21f73a20a77ee65ab4a633a9c924b54311b348a7ee88ee230af0bc7f6558683cf1eb8d3136bc49e7b917' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9ZwhirEIRRaA0rfq4YW7' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', '00e47d929a7c9da87ecb36aa490eee0263ff61183a5da250fada94d3bb6cb75d4c0aa89c53db554f77becc6bfbab6b7d92ed692b79dd1d6a3b0c8f9776c4a26b', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, 'LqhI5BDWCFS2XaP0Qpb', 'J3KDrTQgg5sn2GW2s0QF', '23231f113238094a0df97e4c6e3a2d14c8df1c331e6b21f73a20a77ee65ab4a633a9c924b54311b348a7ee88ee230af0bc7f6558683cf1eb8d3136bc49e7b917', '9ZwhirEIRRaA0rfq4YW7', 1, NULL, '2012-12-22 18:38:36')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 's7GGacUc5KAA1uRCGd0', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 14
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = '9vZr7g7WwZOfcNHhotv', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 2
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' 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-13' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 13', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-13')[0m
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:38:36', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fbe1b2c712397aa11512cb07fcdb525d862461600db3507b9183ab25c8bfae948b4147cb030d7aedf286154ee23fe908caddf14f69677c6352d8c58e1142d8d3' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'CBqj9VziKVVcXHKZQMx1' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', '89c8da1b71267c74718f832de338d5c84592d62b58bff2486c9033a7fc90844ff4bde491070b2c3465bc1919dcddcf14dd4580758dc5d4965efa4d9870f60119', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, 'mpoGdLhYP4ZwarOFmDo', 'zcKU0PJLEly0FYzzUpVA', 'fbe1b2c712397aa11512cb07fcdb525d862461600db3507b9183ab25c8bfae948b4147cb030d7aedf286154ee23fe908caddf14f69677c6352d8c58e1142d8d3', 'CBqj9VziKVVcXHKZQMx1', 1, NULL, '2012-12-22 18:38:36')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = '3RvWx0Np2IcadIVbgyU', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.5ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.4ms)[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 '2973559dc828741db23a25f5722ff634ef0503d6458bcf04adc76281aa3dd22ee389175a0dcf2b5f83db0b2421ad872d3ad4c65e726237e25a8f750e6aeaed82' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cx5s0GFwX4LTaYSXZcA' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', '0046fc069b72d491b903072caf1ef203942638f6b43d2557af10bcd3e53b7b62b74df54535d3b7670c6e4cfec097ed14f1a8776d1f1fe2f24cc0fc1f436cecd4', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, 'zPhV6A2ckj9p6cOYjzSk', 'hUpUEXH50D5Ir9ko9N80', '2973559dc828741db23a25f5722ff634ef0503d6458bcf04adc76281aa3dd22ee389175a0dcf2b5f83db0b2421ad872d3ad4c65e726237e25a8f750e6aeaed82', 'cx5s0GFwX4LTaYSXZcA', 1, NULL, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'LGvBp3OJhDpvOmhHIW', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:38:36', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f627e153553da13beecaea78b1df7082d655e8afba0ce21a72f58865813db6f8f75cda1774a54fc72b93044bdffd28d39bf7f13da5ec4d7b9889596426d27a06' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Ie2xEZxryPkqTUGEGs1' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', '151b92e3e6264c3308c0fccc17e26253c44f0a194b40f738569ecea33efe20274fde05141671022091eb161c810f0da9efa86b961f5ab5a9d1930f6b81ff9278', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, 'IujQKDzC1NYC158FhOoB', 'UYY0IA8dmL5kFZ9bCSIV', 'f627e153553da13beecaea78b1df7082d655e8afba0ce21a72f58865813db6f8f75cda1774a54fc72b93044bdffd28d39bf7f13da5ec4d7b9889596426d27a06', 'Ie2xEZxryPkqTUGEGs1', 1, NULL, '2012-12-22 18:38:36')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = '673pxphaK3EQG8WiGpa', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:38:36', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:38:36')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '742e0f3b48517b4de2ac05c5d65d1d1ce89e828c1cf5734ff5fc3526264b0feb95c8c2a7cf48313e2fef992cb81cf42b81ffe591b5a373391316ef3c08d40891' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'JV1oBUbSpRj5bh88HqkG' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', 'a5040ab8878d8d40d2f8b10ae140bbb6e153e9eb4275dea6d644b79503601daf59b3ba95a0119345aa35a8b3965c1ec50042a864660924dc76b77f1852d31b71', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, 'e6PaQK3Ggq3k8lyfFMUz', 'gSM1Ru9xvJ7b4tDFRbEx', '742e0f3b48517b4de2ac05c5d65d1d1ce89e828c1cf5734ff5fc3526264b0feb95c8c2a7cf48313e2fef992cb81cf42b81ffe591b5a373391316ef3c08d40891', 'JV1oBUbSpRj5bh88HqkG', 1, NULL, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'PI7Nrejb8gI09aWEHjUr', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' 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-7' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 7', NULL, NULL, '2012-12-22 18:38:36', 'form-7')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 8', NULL, NULL, '2012-12-22 18:38:36', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 6 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '68524d28006e3dc2875519f1ff8115ecb002b04b493256144f3e80df9cdd4cc977676a6d8e0a44ae4d82a449128243655bf2d4724ce27fd8d8503550859276a4' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5sg3ae80DvMlMgNPPn3l' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', '8176dcbbac261437ce28eddc55c3e061d56367ebb81daeddb2f5ec2fe0e9c53e1f25b3e5befcd6123b393bb567e3eee7ef856c27d42b781f8593d1c9600e353a', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, 'KnVEvwLgnbksz3C2kf7I', 'MMQUcduX2Uzv72DU8e', '68524d28006e3dc2875519f1ff8115ecb002b04b493256144f3e80df9cdd4cc977676a6d8e0a44ae4d82a449128243655bf2d4724ce27fd8d8503550859276a4', '5sg3ae80DvMlMgNPPn3l', 1, NULL, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'jWdJQ8gC581Ha7hOk55T', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.3ms)
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cb20813b11bf0bff272c297e7a9b52879fb53952752e9d242f9c6a50d2b0d7d331570c971123aced55f920fe6126a4b26ce5d56bf70cfbdb49ba9c38e64229aa' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OS9DAY1A1t4RvwXT3q3A' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', 'eafc01c8ee54d72d065ec5576084bc09830bc8f4c637367602bacd1f42dca71b3a86bb980d8c0ac925776456be5d118826259f46da1799afd835380bc1a057b4', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, 'F59zz02ZPEEvtBIVbJ5', 'WzI3VOMIoBOfcz8QM27', 'cb20813b11bf0bff272c297e7a9b52879fb53952752e9d242f9c6a50d2b0d7d331570c971123aced55f920fe6126a4b26ce5d56bf70cfbdb49ba9c38e64229aa', 'OS9DAY1A1t4RvwXT3q3A', 1, NULL, '2012-12-22 18:38:36')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rQPBMdnBoHPKqVogd7A', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 8[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[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"=>"Form 9"}}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 9', NULL, NULL, '2012-12-22 18:38:36', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b7855aba46e16ab58c612c1087128fcf48b300f0f758675975858809a32b0167609f705c4a6ee81d37e39d49acbe0504b3378a870597d4bb7bb321717eb7a0b1' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bQOvxM4pml6Lkgmg0REJ' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', '44d619b1a57a913ae3c69feda455fb07a6cfdc3d25c07a1a4ecb80c2ef9c74231850bb7a3b209996db17b1ab9958c1cacbb5bd9f4f7faa75469308c5e38086a2', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, '3IS3dCx7BnfgsBgHIM3W', '7kR9tl3rA7MakCaezeJk', 'b7855aba46e16ab58c612c1087128fcf48b300f0f758675975858809a32b0167609f705c4a6ee81d37e39d49acbe0504b3378a870597d4bb7bb321717eb7a0b1', 'bQOvxM4pml6Lkgmg0REJ', 1, NULL, '2012-12-22 18:38:36')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'sHcYDqfHPcOAmcFJYBnO', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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_2
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '544f4f84d685d2502b1d242504590049be1fb855f6fa430e747d17302065ded890ab4bb29703ac402d7990ce2fe630399dfe227b44eb9944668da081af6b0b9f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PaqNNmhsQOp2YlolUTy' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', '4c4607cdc156a4896fd31508d27cfcc2fde69f36b4b2b3c621f38b6634ce20f84e6e6f47d340918c174149a80fd9c0cf3f9ea764def48fa351509b87f67242e4', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, '42rdIL2WWk86a3L5J0', 'id7pLAhcYYZmYpPLTI37', '544f4f84d685d2502b1d242504590049be1fb855f6fa430e747d17302065ded890ab4bb29703ac402d7990ce2fe630399dfe227b44eb9944668da081af6b0b9f', 'PaqNNmhsQOp2YlolUTy', 1, NULL, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'RZTqZlzqPkVq3xkNA9fG', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 10', NULL, NULL, '2012-12-22 18:38:36', 'form-10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 11', NULL, NULL, '2012-12-22 18:38:36', 'form-11')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"11"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.5ms)
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'd795c11018feb0b6b1f6956418c0c71454b9ae58e5a71782c3e567144600cbdf969de145f16a9813c3c34d3b9d68915adc9429c907d13f55f7e8d91a0b6d8cc7' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'E04gDdb5qZsY064HX' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', 'e41271ec695ba39fa0dce3a39c28f3936c439b4f3e1b899bc76d3dadc6369adcaba281d50ace5529d5f27fdaac78cb8e90ec6e8541e4926a0503c4fd346833e7', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, '4xla7X7437OAv8avA41', 'O5ffncfNs04D23mHdl', 'd795c11018feb0b6b1f6956418c0c71454b9ae58e5a71782c3e567144600cbdf969de145f16a9813c3c34d3b9d68915adc9429c907d13f55f7e8d91a0b6d8cc7', 'E04gDdb5qZsY064HX', 1, NULL, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.9ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'klHzAR1jbznymBypP250', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 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.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'eda5f9fdf09a8d65da3b70eafb6f71e78830dc21ea3e29bb64c044654129e6f1a59608144d0cb981c91755f3f3949b568fe371495d590facb188582f20cf2163' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pmCRcPs7SxJMQCPgz' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', '6467130dfa8b306e3c14cb6a3774177e53a031fe5faf579ff26357eaa5e66e49f3e0e83ba9611423be6b17df20f3ab876b0003f3914db9d3436b4fc0201fdec2', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, '5ZM0jvZ9lamElwL6gNF', 'sEwJEAGNFlEi4nAy3e5', 'eda5f9fdf09a8d65da3b70eafb6f71e78830dc21ea3e29bb64c044654129e6f1a59608144d0cb981c91755f3f3949b568fe371495d590facb188582f20cf2163', 'pmCRcPs7SxJMQCPgz', 1, NULL, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'zOFhej5ZQTw9tw18OP', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' 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-12' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 12', NULL, NULL, '2012-12-22 18:38:36', 'form-12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"12", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:38:36 UTC", "updated_at"=>"2012-12-22 18:38:36 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_inquiry_forms`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '04ab05ab8b2c81a897ab5922bcd3a97838166e189c4704e5f5e9501f4c3762afe97e48fcb25a81b74a3fae86dd7948003e82bb932503131f9e50609466d0b951' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9vrLpYwMlTKCrpv8f9zA' LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', 'dd8076e2a4681bf0682821f640918bda5a9c9f94d7a85717b54378b6f83f2a8cfbdd253212cb20a0b53dda9a25556bbaea2eb8827c8ce7bdb0d9e3b59794d556', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, 'X9RXbIzVk2tdqEJ7hFB', 'YN3zs4E3BNHWFVKcAvS', '04ab05ab8b2c81a897ab5922bcd3a97838166e189c4704e5f5e9501f4c3762afe97e48fcb25a81b74a3fae86dd7948003e82bb932503131f9e50609466d0b951', '9vrLpYwMlTKCrpv8f9zA', 1, NULL, '2012-12-22 18:38:36')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'KyOY74BzELI64gnrfDC', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 13', NULL, NULL, '2012-12-22 18:38:36', 'form-13')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"13", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:38:36 UTC", "updated_at"=>"2012-12-22 18:38:36 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-13"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 13' AND `spud_inquiry_forms`.`id` != 13) 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-13' AND `spud_inquiry_forms`.`id` != 13) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
+ [1m[35m (1.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '31bfce4c0f35f8f72ebb681cafff40230f36f2105e4697a83bd7fc8eb803bc7a91ee08fb1630ecc45bfe8638539e5d0f549c05f400b7687d01118eb14edb3597' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lTqltN4xJYd0jkY12xj' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', '388f03ae2fa80223bb820bbacb6f5aedee8f6d2967829167adf602bfe168a623b55a2754a0ced26e92b0aeaff55d9579ac878844b794113974a1e43557142811', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, 'IDoBMDnHrxw1dnSDDZJe', 'jGExkA1WNoWqeLyNfeu4', '31bfce4c0f35f8f72ebb681cafff40230f36f2105e4697a83bd7fc8eb803bc7a91ee08fb1630ecc45bfe8638539e5d0f549c05f400b7687d01118eb14edb3597', 'lTqltN4xJYd0jkY12xj', 1, NULL, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'BvshSLNFHlsl4vWMngF6', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 14', NULL, NULL, '2012-12-22 18:38:36', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
Processing by Spud::Admin::InquiryFormsController#destroy as HTML
- Parameters: {"id"=>"13"}
+ Parameters: {"id"=>"14"}
[1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
- [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1[0m
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 13[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` = 13 ORDER BY field_order ASC
- [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 14[0m
+ [1m[35mSpudInquiryFormField Load (0.3ms)[0m SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 14 ORDER BY field_order ASC
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Redirected to http://test.host/spud/admin/inquiry_forms
Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
- [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a3fbe47b97c9e655e51ec7c405af50caed46cc2d1ffff562720d3c19402e5839064130cf3b8a093907c0199c5c4f8bd633229264709f7e98e48f12b1c19ad614' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '15Fkvsuw6Ie8GSx7Dt0r' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:38:36', '54f38c2c9754bb557b72a0388d95a077ea83fab448c69708945947d03c857e32e7a8e1a976c79a46c54012f1456bc7f9a8f75752f5c5455f948fb48796cec8b7', '2012-12-22 18:38:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:38:36', 'testuser', 1, 'AhPD8AmrzVEF22eFrryk', 'Tp5fzo8h0VbGcQUEdWr', 'a3fbe47b97c9e655e51ec7c405af50caed46cc2d1ffff562720d3c19402e5839064130cf3b8a093907c0199c5c4f8bd633229264709f7e98e48f12b1c19ad614', '15Fkvsuw6Ie8GSx7Dt0r', 1, NULL, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:38:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ZDfTXaEYXuJcqdy7gAu', `updated_at` = '2012-12-22 18:38:36' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' 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-15' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 15', NULL, NULL, '2012-12-22 18:38:36', 'form-15')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 15 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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.5ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:38:36', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 16', NULL, NULL, '2012-12-22 18:38:36', 'form-16')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' 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-17' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 17', NULL, NULL, '2012-12-22 18:38:36', 'form-17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 18', NULL, NULL, '2012-12-22 18:38:36', 'form-18')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 19' 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-19' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Form 19', NULL, NULL, '2012-12-22 18:38:36', 'form-19')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:38:36', 'Test', NULL, NULL, '2012-12-22 18:38:36', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:38:36', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:38:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:38:36', 'email', 7, '2012-12-22 18:38:36', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:38:36', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:38:36')
+ [1m[36m (0.0ms)[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.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.4ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.4ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (2.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.5ms)[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.2ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (2.0ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:06', 'Form 1', NULL, NULL, '2012-12-22 18:39:06', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 63ms (Views: 8.5ms | ActiveRecord: 3.4ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:06', 'Form 2', NULL, NULL, '2012-12-22 18:39:06', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:39:06', NULL, NULL, '0', 'email', NULL, 1, 2, '2012-12-22 18:39:06')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:06', 'Form 3', NULL, NULL, '2012-12-22 18:39:06', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:39:06', NULL, NULL, '0', 'email', NULL, 1, 3, '2012-12-22 18:39:06')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:06', 'Form 4', NULL, NULL, '2012-12-22 18:39:06', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:39:06', NULL, NULL, '0', 'email', NULL, 1, 4, '2012-12-22 18:39:06')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:06', 'Form 5', NULL, NULL, '2012-12-22 18:39:06', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:39:06', NULL, NULL, '0', 'email', NULL, 1, 5, '2012-12-22 18:39:06')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 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` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 16ms (Views: 0.8ms | ActiveRecord: 2.0ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.4ms)[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.3ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:06', 'Form 6', NULL, NULL, '2012-12-22 18:39:06', 'form-6')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:39:06', NULL, NULL, '0', 'email', NULL, 1, 6, '2012-12-22 18:39:06')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6", "email"=>"test@test.com"}}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 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` = 6 ORDER BY field_order ASC, field_order[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[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 '26143acd76f1ba8287612819258316aa956e516ac0e3371b3771164af3d3bb33e48346b4078e98225201befb1062abb2c850a91b31cafcbab4429e7ff6e1d99c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Tb7ICJtb5WN1ofQYTmv' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', 'e6c1f6336ca801f2eb763ae8f9d7011c5367615e55862af84f33b6e9843addc308bfff5f50b80ad852e8ab0355bfaa69624d000a502aad8a463f16b00509849d', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, 'Ng9fIzNUw9TMuFTMMtv6', 'lhOF9w47Ej3ComEoW03', '26143acd76f1ba8287612819258316aa956e516ac0e3371b3771164af3d3bb33e48346b4078e98225201befb1062abb2c850a91b31cafcbab4429e7ff6e1d99c', 'Tb7ICJtb5WN1ofQYTmv', 1, NULL, '2012-12-22 18:39:07')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = '7ZqYIS3U6IAb1NzKWfl', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:07')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 1 LIMIT 1
+Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'c0290851fcdeba39b1be233e68b2eead72673f1e80581add9dbf82c45b8d221b58fad8e87a4c0f6abb5aff8a896154ad22bfc570693441535b06b2aada63095e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nzNHklgwHSeHwAC0JIN' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', 'f9e077e9af59700765759565be20b7571562e01c614ffe206140ef2b14e9b577fd99f735ff092c92f39b68811d7cba38063d7cd5dd9fa62556af4f72b547c4e9', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, 'FDMZztntCAMB12EOiyT', 'nqMWSLS5gB3SxxUg52Q0', 'c0290851fcdeba39b1be233e68b2eead72673f1e80581add9dbf82c45b8d221b58fad8e87a4c0f6abb5aff8a896154ad22bfc570693441535b06b2aada63095e', 'nzNHklgwHSeHwAC0JIN', 1, NULL, '2012-12-22 18:39:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'myQBCiHK5AIOpb5LfYd', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '709ba403c13bf42dc888e53f3160eee572bd53e4eff68f82cc43fe38c3f9721e936667737751c1460a3b0493249b2574d91510606ab4970d9d6c8de58217763a' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'py3u5Zuy0OIB9zKhyhbx' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '94f1f9e42cf11e2d58cf42ff63ac59518a0ec9e4f714926434db4772e64b27d20c95ebc7af94a465216c4e6a7d590d9956d351bf469bfb7decca994b09baebf9', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'Yn52V9YaS5mioWaXLmPf', 'F5vDgG27EVEIHXuhd5QM', '709ba403c13bf42dc888e53f3160eee572bd53e4eff68f82cc43fe38c3f9721e936667737751c1460a3b0493249b2574d91510606ab4970d9d6c8de58217763a', 'py3u5Zuy0OIB9zKhyhbx', 1, NULL, '2013-06-27 12:53:44')[0m
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '611a682d3703a8012d77de6566142d488d8811341723e0d9d117dbe2d49627cd509a398b25b9035dff018b000afc39f75fc46fa3effb412100a9ed565ddcee40' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'cQMx6KFDVVpuTNC5Kze' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', '97bd83ba37e7cbfb3c4f11fcf98634017ede0b6022a561eb3801efc0fc388fe02cd49196986f305bf6aecfcb6cfb907b83b0775817478a51b112467c4a729ba5', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, 'Yhc37vw4O2CL0BBm0GGu', 'kglzckPEHncUKHbh3pBf', '611a682d3703a8012d77de6566142d488d8811341723e0d9d117dbe2d49627cd509a398b25b9035dff018b000afc39f75fc46fa3effb412100a9ed565ddcee40', 'cQMx6KFDVVpuTNC5Kze', 1, NULL, '2012-12-22 18:39:07')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'oyqiSwh5mHEhlBLOqfw', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 15
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [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.4ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 14', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-14')[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rvioMQSgg6u9o0Akz6', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.5ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0bd52d27d778465d0a59985af1e0b9de485f4fa80a83bbcfa90ae6107265be914b76a71d3a4be23b25d09116ae16855ccd05f642474ea794811fe0e6a7c9b57b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hGRh1cccKuxpEQKKGVnD' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', 'c580c615f13813fce52a68ff560321c09a7823ffe80722b0616a1c8bfafa2809aec4d89fc617ecc39aab90597530ba68398d1f45a6ce8bb83b1387a28494ccaa', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, 'DfPlP0V1TX8uBacB1L9r', 'GKfpiGDYnqNkEHkp6tTu', '0bd52d27d778465d0a59985af1e0b9de485f4fa80a83bbcfa90ae6107265be914b76a71d3a4be23b25d09116ae16855ccd05f642474ea794811fe0e6a7c9b57b', 'hGRh1cccKuxpEQKKGVnD', 1, NULL, '2012-12-22 18:39:07')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Ug0NtYCKpYf6QGPOmb6Z', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:07')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7414fc44e0a641077be19bec4c8b0214a01d22752fb8cde504c65558c17375ca922e210ca29f14c58411b418967c1c686f035d0c9ad63940fd68dd693faf2a17' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PG1zQpA6WOIfRiGhJHyb' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', 'f7cfdef39f34af9d3842139e08065b4b7cb598d527fbfada25b38d8e3e64f3bf2217d7579b6809db3bde7ad67e4f4940030bae4aaa348f469550b97ef2fdb4a0', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, 'DlUNH7vuFDmKCy3jxjBI', 'YzkvWU0aH310YQ5Pav', '7414fc44e0a641077be19bec4c8b0214a01d22752fb8cde504c65558c17375ca922e210ca29f14c58411b418967c1c686f035d0c9ad63940fd68dd693faf2a17', 'PG1zQpA6WOIfRiGhJHyb', 1, NULL, '2012-12-22 18:39:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'OUSIr24B8XLTIqJcMZYp', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'bb75d757c035f3126e60076ba985723b236c7f8fe3e4c04194599ecaad00dec660d11c2dee91be5ecf42afb1a08070557fe59153488a96abaf1267b6f8508f2a' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KmCEhqpHptGFI1o4rs' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', '93902fe7596de42dab8966d8dec19517c0d75cd4343caaf9db4a9ef6423151fe197a3a3a40cf3c465ddb57c76b066248734dc33d5fb214f786a510d84db1041b', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, '4Idk6MXnVL2djlv6Y6', '45vKvBBrgVmTwA0BKbs', 'bb75d757c035f3126e60076ba985723b236c7f8fe3e4c04194599ecaad00dec660d11c2dee91be5ecf42afb1a08070557fe59153488a96abaf1267b6f8508f2a', 'KmCEhqpHptGFI1o4rs', 1, NULL, '2012-12-22 18:39:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'cUFBGmxyGw2LBM7AtV', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' 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-7' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:07', 'Form 7', NULL, NULL, '2012-12-22 18:39:07', 'form-7')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:07', 'Form 8', NULL, NULL, '2012-12-22 18:39:07', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3902f3a5bdb7f8b055a6232995598be5c773ba3616aa0d1b61b19b93924cecede879ca009156011a704efff6e99a4afe32cbb8a61b8cd05de8048f9cf83e5e7b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1dXhDHYx2MIrsIkXU2nW' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', '85f70d2d320d61b2b7c799301bdfecc633db87daab31e542d5e7d8c5cd650f34d04d05a18e41a63a462b1b85a0859e9b9f4687cd5f4c260f755deb46ea77fd0e', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, 'gt5iAoa2FJDtw628E1ko', 'pi6HLUmexUEEJxNdQyF', '3902f3a5bdb7f8b055a6232995598be5c773ba3616aa0d1b61b19b93924cecede879ca009156011a704efff6e99a4afe32cbb8a61b8cd05de8048f9cf83e5e7b', '1dXhDHYx2MIrsIkXU2nW', 1, NULL, '2012-12-22 18:39:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = '5K12rJ4Ha6tqgekLdvIg', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '26b2ee5f8c9fa48a4a68531eb2c9dea4c294ef600d0428fbdab5ce7f4c3bc97f93ad71b1a7caac630eeb4d42a2cecf06ae7015427e3cbc4006b79aa96804b6ae' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vQ2Dt12X7JZ27OJKfJwG' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', '761a045c6563c0b9d9788639934b599fd46211a3399c2d7a174dd16637f18c0055f2bd8ae57788f65b5a28aca9141ba1b20de3c4f74992f1d46c2bafd333f7ee', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, 'tDksa5bRdLNnXfg6tgmM', 'StYwJhL7rQBR5ykY1v', '26b2ee5f8c9fa48a4a68531eb2c9dea4c294ef600d0428fbdab5ce7f4c3bc97f93ad71b1a7caac630eeb4d42a2cecf06ae7015427e3cbc4006b79aa96804b6ae', 'vQ2Dt12X7JZ27OJKfJwG', 1, NULL, '2012-12-22 18:39:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Eg2g7ChFddnrFJXLYd4N', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 8[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[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"=>"Form 9"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:07', 'Form 9', NULL, NULL, '2012-12-22 18:39:07', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '36672357598854ddd1f6205b05981b44901f109eb3932394d5db80c78d29fdcc4f9fd433218716933d1206699d8f88fd25d1945f966365a040c81efa60668496' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WuSQqkdDpVnygWZBm4FY' LIMIT 1[0m
+ [1m[35mSQL (1.0ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', '43a5acd3d65e584aee9e2e9f14c9ed670db76acfd6bbc0349d03159e484f341bb4f8891be7c2d936e2b1a7886bee775a900565492df6d895a96baabee84b4924', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, 'Ac640uqWQgNZsE1nYcAb', 'VZDauCQA6e65Ez4vKsOs', '36672357598854ddd1f6205b05981b44901f109eb3932394d5db80c78d29fdcc4f9fd433218716933d1206699d8f88fd25d1945f966365a040c81efa60668496', 'WuSQqkdDpVnygWZBm4FY', 1, NULL, '2012-12-22 18:39:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'roNz9MsTAOQJQDkgZd6b', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 9 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '38591f16485be6f125cdba0b277f09dbf5bf3639122a03de504ba8883804f0f910991863cfa7164dbb2ccc1ee05b1d8b3269aa32f64a66eb43a22ae9604d1b24' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7mVoC5E9mbS0Vr4a0Q' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', '0465d8801910f4494d6b698122981fa488d4db5b492234fb83e0062116b834c398f2475ce98c29938269ce8c5f39ae6d103b13fce9552300f1142ecf583e9dc0', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, 'psilmwnhlIm3v4g3aFu6', '3DuQxx2GJl35OpwG9xi9', '38591f16485be6f125cdba0b277f09dbf5bf3639122a03de504ba8883804f0f910991863cfa7164dbb2ccc1ee05b1d8b3269aa32f64a66eb43a22ae9604d1b24', '7mVoC5E9mbS0Vr4a0Q', 1, NULL, '2012-12-22 18:39:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dvdDBXS6ZwrMARPpobC', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:07', 'Form 10', NULL, NULL, '2012-12-22 18:39:07', 'form-10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:07', 'Form 11', NULL, NULL, '2012-12-22 18:39:07', 'form-11')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"11"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '07dc28df3fce022bf849597678f6e0736f26bd8910c6ac3700110c56e7a86dc6d3b3bc9719f064f622287af5b00637de049fc38b6c573746c5e298ec42d67787' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pJrdPEnZ7HMuySQzfLSg' LIMIT 1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', '418e84e4cd4114b0aef3e48172636da226c1e5c429388d71757410a77d92ab6f3c34171da69552fbb592dd3a11095cf873600bf540940dc6f5a317bc0b9bd604', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, 'mTFQ9NWTPVteI1weu0wZ', 'oilmTNtREvQTvcIopY3', '07dc28df3fce022bf849597678f6e0736f26bd8910c6ac3700110c56e7a86dc6d3b3bc9719f064f622287af5b00637de049fc38b6c573746c5e298ec42d67787', 'pJrdPEnZ7HMuySQzfLSg', 1, NULL, '2012-12-22 18:39:07')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (1.0ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'CB7OxBZ0IbVqK5fPIuwE', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 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.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 'f365a0002f4e037960f405d4b9f717eda492f820a7d10865e367f83764244d960d8bd9ae0c780ec0f447c192dc3f8dca3e1b3c425104eda0731983384b9318b5' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xy9KPXrXV9poMZ6Ux0vK' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', '072b16b779290a4cd3ef9d1751fe74ba90708205344bf687aefb65be310abb84c8fc3ab1dcc98c6ce432027a01d0e2524fa1c518c6c2d153e55c7e3b7ec93536', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, 'r0tyQan35sijZemuyuFT', 'gSPJetrXgV4a9cfM1u5', 'f365a0002f4e037960f405d4b9f717eda492f820a7d10865e367f83764244d960d8bd9ae0c780ec0f447c192dc3f8dca3e1b3c425104eda0731983384b9318b5', 'xy9KPXrXV9poMZ6Ux0vK', 1, NULL, '2012-12-22 18:39:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vCED1VPmJb7HDNhEf67k', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:07', 'Form 12', NULL, NULL, '2012-12-22 18:39:07', 'form-12')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"12", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:39:07 UTC", "updated_at"=>"2012-12-22 18:39:07 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_inquiry_forms`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35mSpudInquiryForm Load (0.5ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (1.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '04ca0c476c0080723ba6c4d89a494945cc6c7a8bb3d0b543263222716891f1745cfc62a272efd8ce8d52bf7e43f3f1e56b452ccb3693750897f418233a63ee02' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 's8m80Yf31L7gE5brKk' LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', '01dd56d0516a60db20e7012e52b3fb4896ebb36a41930bf7b2c7bad8bfe7ca2a060820858bc4297e1bf1461fb4fe28d7ce2281b91c8af6eef81eb4dc7bfbfbf2', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, 'fiHEIpjJSilZzxkb0c', 'Sh31h4mVLqaC5YURCOG', '04ca0c476c0080723ba6c4d89a494945cc6c7a8bb3d0b543263222716891f1745cfc62a272efd8ce8d52bf7e43f3f1e56b452ccb3693750897f418233a63ee02', 's8m80Yf31L7gE5brKk', 1, NULL, '2012-12-22 18:39:07')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = '1V8pqYq2B5k9sVylEpL', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:07', 'Form 13', NULL, NULL, '2012-12-22 18:39:07', 'form-13')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"13", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:39:07 UTC", "updated_at"=>"2012-12-22 18:39:07 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-13"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 13' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 13) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
+ [1m[35m (1.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '9c18d02539b69cb75c800ec15800ac05a4ffe36065fc9b237de0e985c650f5d37d224827ffd60867803af02f4515551dc01227f961e530785be6ab891efc200f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pAWY1Bwfb1y7CkCfVe' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', '7b2cc835243e59c52985c8e392a3cf1bb1feb676c1c40c0bcb3161c46c7f8de169bdf7011bf16f99e3e6ec3f98955311113522172ef6304bd43ed0655a2e20e3', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, 'zXcF8z1jcKe7CKhnSpg', 'lOvhAYuVLW751chRMNp', '9c18d02539b69cb75c800ec15800ac05a4ffe36065fc9b237de0e985c650f5d37d224827ffd60867803af02f4515551dc01227f961e530785be6ab891efc200f', 'pAWY1Bwfb1y7CkCfVe', 1, NULL, '2012-12-22 18:39:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = '3twAiLNia5Y8hqViPqG3', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:07', 'Form 14', NULL, NULL, '2012-12-22 18:39:07', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"14"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 14[0m
+ [1m[35mSpudInquiryFormField Load (0.3ms)[0m SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 14 ORDER BY field_order ASC
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'da2445088e385c909bd41160bab5f795dbecbafb9945c57581763a74ad092651352ca507859dd0db458bf1925be895635e7e19ea0f1471ebf5c09617748c90bd' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9En2kEN9nDiuCyUwfQX' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:07', 'dbf4c2296acc57d56c678ebbe604629c90d59848259caa5a8a39bced8d377d3352622d89c101e9d17a3eeab718101b41ecab01d75def9eaec0df753f2c4f2831', '2012-12-22 18:39:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:07', 'testuser', 1, 'QLxQFKsakFZqvePWZ1R', 'rbXKgGKJkucJGnQF9bK', 'da2445088e385c909bd41160bab5f795dbecbafb9945c57581763a74ad092651352ca507859dd0db458bf1925be895635e7e19ea0f1471ebf5c09617748c90bd', '9En2kEN9nDiuCyUwfQX', 1, NULL, '2012-12-22 18:39:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Nw2Vor5rDLJptw7ccCy', `updated_at` = '2012-12-22 18:39:07' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' 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-15' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:07', 'Form 15', NULL, NULL, '2012-12-22 18:39:07', 'form-15')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 15 LIMIT 1
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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 3ms (ActiveRecord: 0.5ms)
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
- [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
Processing by Spud::Inquiries::SitemapsController#show as XML
- [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
-Completed 200 OK in 44ms (Views: 42.2ms | ActiveRecord: 0.2ms)
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.3ms)
[1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
Processing by Spud::Inquiries::SitemapsController#show as HTML
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:07', 'Form 16', NULL, NULL, '2012-12-22 18:39:07', 'form-16')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')[0m
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' 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-17' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:07', 'Form 17', NULL, NULL, '2012-12-22 18:39:07', 'form-17')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:07', 'Form 18', NULL, NULL, '2012-12-22 18:39:07', 'form-18')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 19' 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-19' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:07', 'Form 19', NULL, NULL, '2012-12-22 18:39:07', 'form-19')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [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.4ms)[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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:07', 'Test', NULL, NULL, '2012-12-22 18:39:07', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 15', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-15')
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:39:07', 'email', 7, '2012-12-22 18:39:07', 'test@spudcms.net')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryField Load (0.3ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:07')
+ [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.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.4ms)[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 (1.0ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 1', NULL, NULL, '2012-12-22 18:39:58', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 68ms (Views: 9.0ms | ActiveRecord: 4.8ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 2', NULL, NULL, '2012-12-22 18:39:58', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:39:58', NULL, NULL, '0', 'email', NULL, 1, 2, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (1.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 3', NULL, NULL, '2012-12-22 18:39:58', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:39:58', NULL, NULL, '0', 'email', NULL, 1, 3, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 4', NULL, NULL, '2012-12-22 18:39:58', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:39:58', NULL, NULL, '0', 'email', NULL, 1, 4, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 5', NULL, NULL, '2012-12-22 18:39:58', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:39:58', NULL, NULL, '0', 'email', NULL, 1, 5, '2012-12-22 18:39:58')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.4ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 2.3ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 6', NULL, NULL, '2012-12-22 18:39:58', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:39:58', NULL, NULL, '0', 'email', NULL, 1, 6, '2012-12-22 18:39:58')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6", "email"=>"test@test.com"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 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` = 6 ORDER BY field_order ASC, field_order[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5dea197cbf30a38f649a29fe51dfb790e44da5199df94b3027ae27cb53c32f4d6adc72c9aa84f5932a932fab7d686554087a42ed13bff8f90461b3651ca00c6e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'F6Y2oRhgdw7TmtcGdgR9' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', '3cd10cb51880c17473e948c3c15664876bd6738d0f4b639ab67107112b12e210b05caf5634c9d5c88262db257ab497e82de4d6a1a9541c8d4e01ced0d46d263d', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, '0XOKgIncipTrFfM5Q2P', 'mHNSG4dLrjyiCxMMj1', '5dea197cbf30a38f649a29fe51dfb790e44da5199df94b3027ae27cb53c32f4d6adc72c9aa84f5932a932fab7d686554087a42ed13bff8f90461b3651ca00c6e', 'F6Y2oRhgdw7TmtcGdgR9', 1, NULL, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'egZ6NTozTtrRYAk0k3LN', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:58', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:58', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:58')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
+Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '1ba99592b9c41957155e58411c7c695ae89aea44b11942426908a9656dbddac9c72e326dc1f37ef7369cc2c0067e48d7de09d23a26ce65ca17da92e62f781398' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'JLWhVRiqdRpV5g9obNn6' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', 'a3c5f1b0199e033ad2679ccb9d4b556610cfc514114aabbfd57143ec98ee1803f4a76fae1f71b25e7c9cdfcd241cbc31b007221b10f134c8c134256d8458856a', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, 'IjIS2PTp13zhxbPELi', 'UzdptKypVpXvH0IFdb', '1ba99592b9c41957155e58411c7c695ae89aea44b11942426908a9656dbddac9c72e326dc1f37ef7369cc2c0067e48d7de09d23a26ce65ca17da92e62f781398', 'JLWhVRiqdRpV5g9obNn6', 1, NULL, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iiXu88vcsDG8kEPE70I', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' 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-16' LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 16', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-16')[0m
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:58', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:58')[0m
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '35563b746a0f5665810924cf741a4c7a37e5168f4258dd48d087f33d655ae1c0c7f9f7490067674f577162542c890fcfa6c2ba7fdaef887b309abb7e5d0719f9' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EYyy31iTs0ZW06RtIvD' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', '8ed40edc9aff2d67b5bba785826ea618996fb52724bc3ea8be32cc262c1f70e2f2143be762b80162abf699299e3e2d111c1bef59345ba0b224ffe6488274709d', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, 'gM9QKdzCjl4dgwsq2SQ', '47K45xbIzPjeHfzMAt', '35563b746a0f5665810924cf741a4c7a37e5168f4258dd48d087f33d655ae1c0c7f9f7490067674f577162542c890fcfa6c2ba7fdaef887b309abb7e5d0719f9', 'EYyy31iTs0ZW06RtIvD', 1, NULL, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'bz8BVzg4fQ3OklT9VmHE', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.5ms)
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '24eeb5fdad3d86ff114a1d0ca89aa7270d1e5fee2499eb530bf5a6aeb8a13b4479d1c5bf642e479e0458f4264e04907e139de8395549083c86192c17115b7e64' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tfz2nwtukBmDhP8Crff8' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', 'b25b4a7a97a4979f5f38bf26b35dd5a0b003f5bed5fde91045b777040055cc5dbcd8c35245e1449050492147296cacf4b1e5541b089f0c8eccb588c7f52b8dac', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, 'NMC8oh2H2lAo2ve2GF', 'PmIjU2a8Zr91nLCUbgvL', '24eeb5fdad3d86ff114a1d0ca89aa7270d1e5fee2499eb530bf5a6aeb8a13b4479d1c5bf642e479e0458f4264e04907e139de8395549083c86192c17115b7e64', 'tfz2nwtukBmDhP8Crff8', 1, NULL, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'COtA9nQK1xJde3BqTQw5', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:58', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 7ms (ActiveRecord: 1.3ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4016081f2c8bdc9204cbaed627973e7be098d24c0fde2bd1a4b15d911a44813db6230ede5195c69f940ccd58f80ecd3488212c94f93eb0b8823eee5dc1ad677d' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gptbXahybkRwaxIzUPCI' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', 'f0dc49f7c4bd3058698cf0a1bfa787d489b405fd67e9b10218dcc6e28c13ebf4a6e3c3e8f16b77bb7a2364e96fb73199013abe5a6634210623068c77619ca8c8', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, 'xHbtIuQgLoxxntpQyja', '732aWLjdMkjkCJrBgX', '4016081f2c8bdc9204cbaed627973e7be098d24c0fde2bd1a4b15d911a44813db6230ede5195c69f940ccd58f80ecd3488212c94f93eb0b8823eee5dc1ad677d', 'gptbXahybkRwaxIzUPCI', 1, NULL, '2012-12-22 18:39:58')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'tcfEdf7zTFlZkzH904', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1
- [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 17', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-17')
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:58', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:58')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '8f8c377ad937847a58549d4302c4e9ac41a5e38934a0136f9cab396ac85f45f5073b4b295c4072bc42e37f197337a30d2308756afd4d6ed6ef3ded26a2d1e502' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'JFgqc58CJUBm1sYdmyLb' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', '137d449365eead4c2bf60d8766931653e7365232a4ffcfcc15b440bcf279ed67d4be2fa4d21577cd7d9fb245b93b59e5140741ba1a7596858fce1f81f7980d61', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, 'MHi6vDhWoy1j7dV8Xuy9', 'RYhqI9QNyJ2nd54kx0', '8f8c377ad937847a58549d4302c4e9ac41a5e38934a0136f9cab396ac85f45f5073b4b295c4072bc42e37f197337a30d2308756afd4d6ed6ef3ded26a2d1e502', 'JFgqc58CJUBm1sYdmyLb', 1, NULL, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.8ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qNdbiAYJntuciWDG4AFo', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 7', NULL, NULL, '2012-12-22 18:39:58', 'form-7')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 8', NULL, NULL, '2012-12-22 18:39:58', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 6 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '67662c8daac06e62b83630475ba9bea05b09451411150ebd60db80ea3477391ec5b40548a0113a141385cb015e2945b1638ceee6111789e2767d0bdfe4b7afcb' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'B38vv6N4CZNKTrUoW8' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', 'cb7acaa24e854497ee6a41b7b905e556f6c21d59584dedaa626073952840e6fe4ec56cc542b3babf965a38d58798b7eaeab70816c8a3aa9780d794fdb10d7f19', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, 'C4lsr65WAIMjnSnguz', 'PqDV92j6M7goEE6BwdwA', '67662c8daac06e62b83630475ba9bea05b09451411150ebd60db80ea3477391ec5b40548a0113a141385cb015e2945b1638ceee6111789e2767d0bdfe4b7afcb', 'B38vv6N4CZNKTrUoW8', 1, NULL, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rIlNd8CHmSgbs3QgHkVH', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8e7911fe2c15b712d4a98f4b2f69445a8bdb70b89582553f5d1112953666799ebf32cc0cdca80cbf5f3f6202f8ee392f6bc966fcfc609311af0d0f28a3f42e21' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YKO7XPep2vveKFM3Wa4' LIMIT 1[0m
+ [1m[35mSQL (0.9ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', '7a5df6498b4221db7a21a3d0edcecaab9593b4685bc882b079fd576b1a3d1e3fc3ded04e0e635425ded720c2329c5c4c9207848e2c6fc6c5a12f1646bbd93ae0', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, 'HqgCcBFbZE5F3nAIb2u4', 'mTy3Ff94pCIcPOrOSwHf', '8e7911fe2c15b712d4a98f4b2f69445a8bdb70b89582553f5d1112953666799ebf32cc0cdca80cbf5f3f6202f8ee392f6bc966fcfc609311af0d0f28a3f42e21', 'YKO7XPep2vveKFM3Wa4', 1, NULL, '2012-12-22 18:39:58')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rhNK2hvaGH4r4LGoAyJ', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 8[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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"=>"Form 9"}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.5ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 9', NULL, NULL, '2012-12-22 18:39:58', 'form-9')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '14f11de0e8c14d234091b6ac5dd71cdbd348789b5ce11f1c61d7d165f438dc63fe622ad168f37840296f08d3dc6f7111db869f371dbccd9d3a88b7727eec3303' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'D7o6K2UdzAougPvZo6J' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', '12fb0243bfa0660763e66667cb2782daca8f5b8ff1434c32ccaae4eacd9887a55d106c4317107354a06481a8b74db5ab4985b03a082afcee41e7f71605744d47', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, '3vCCf0Pss3ituTsKlyUo', 'zftahY63wN2aj4ExFOkT', '14f11de0e8c14d234091b6ac5dd71cdbd348789b5ce11f1c61d7d165f438dc63fe622ad168f37840296f08d3dc6f7111db869f371dbccd9d3a88b7727eec3303', 'D7o6K2UdzAougPvZo6J', 1, NULL, '2012-12-22 18:39:58')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ASnkKy34mscqJMFZEEav', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'c2d9a3e0db8b1bd302202b6b897c9fdfa96882ddc7ff13be8771cafa33d7ee794bff18ed462d37dde53d08d91472a7b088e297dd217e1607154c6c65be475718' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lGrym3KM8a3AchTNTAH6' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', 'a8cf8af2199ebac18e882bb8b7efd2db0b4b59c2ce9f7c9f821461adc7afe964eba769ef0714d3248ddf8ed3cc6fcc0492bf71365585d0c66534c70d41306e06', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, 'D3g4WGHJTALGL6bm6MR', 'u0S8MmNFyW0Vk6GLU1hH', 'c2d9a3e0db8b1bd302202b6b897c9fdfa96882ddc7ff13be8771cafa33d7ee794bff18ed462d37dde53d08d91472a7b088e297dd217e1607154c6c65be475718', 'lGrym3KM8a3AchTNTAH6', 1, NULL, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'lSwhbzr9wz6VbyP54BkQ', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 10', NULL, NULL, '2012-12-22 18:39:58', 'form-10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 11', NULL, NULL, '2012-12-22 18:39:58', 'form-11')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"11"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.5ms)
+ [1m[35m (1.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '18fa74c99bcaef3bbde5baa1961a2f8626eb1ecc9da9436ecf076c428e0b197fa753f7883e73506360581391165873f661581dd2775f4ab2c382872fee00fa70' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dalohmgsQcCeSi4gsEcE' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', '6f544a9fe445a7afd3f35b8168a466a6ee1357610a497e0273685e8bae1ee82900424b4795e100e6b2824bda80ee92a990e6e2f25a4a9c654881b164c18eefe4', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, 'L0IhGegf7Hot1rpzQnP', 'HU27fjAQF5LaTTOH8g', '18fa74c99bcaef3bbde5baa1961a2f8626eb1ecc9da9436ecf076c428e0b197fa753f7883e73506360581391165873f661581dd2775f4ab2c382872fee00fa70', 'dalohmgsQcCeSi4gsEcE', 1, NULL, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kpmlvpgF3BW0kBoM3hjj', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 11 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 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 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'c60e2296545556886e7cd7e094b42e83bcb638f99c7bef324ab363c504c15b5f856a9f77fdfc779b1fdf0fcaa8ec93724c76da34a910e0cc3073c24e9969e92e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SnKIKKcL9BigCekluty9' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', 'e7241751a2bc5973034652cbbdb895ec8a65eba3866396e1fba1daf454a42f96421738fe871a02ec925f9e795699dc2178a7e9be06dfabd9928eca71ed658fbb', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, 'kNk6IhAakHjZ6zQ3RiLK', 'AHcpay0APzqZWJYaOJp3', 'c60e2296545556886e7cd7e094b42e83bcb638f99c7bef324ab363c504c15b5f856a9f77fdfc779b1fdf0fcaa8ec93724c76da34a910e0cc3073c24e9969e92e', 'SnKIKKcL9BigCekluty9', 1, NULL, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Q7M51RosFzFDdXzKBO8b', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' 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-12' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 12', NULL, NULL, '2012-12-22 18:39:58', 'form-12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"12", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:39:58 UTC", "updated_at"=>"2012-12-22 18:39:58 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_inquiry_forms`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '52b0f68ee996b841c731628ea833887fd8b19011c550566f953f3aece9197573b903c8d89b5f8560133f619e8e7c29abd3e7aa37722481e240a8e1d4e7f8a6ea' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6CQXGyqN5RrpNSwTky4Z' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', '4dc5c6978b377c6eb38e46c8886f246fcec6369c4657f6dc48792b5bb6f2511cd75420766e5d510a235ff4569f5f4b319d96eee27503f0bb4e5a8f3662e574a7', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, 'iWlxYXH4fctt4Zsdk4F', '2zUDJXgQjn6WCdP3n', '52b0f68ee996b841c731628ea833887fd8b19011c550566f953f3aece9197573b903c8d89b5f8560133f619e8e7c29abd3e7aa37722481e240a8e1d4e7f8a6ea', '6CQXGyqN5RrpNSwTky4Z', 1, NULL, '2012-12-22 18:39:58')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ah4cWJQQjqQNGnHFMAz', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 13', NULL, NULL, '2012-12-22 18:39:58', 'form-13')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"13", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:39:58 UTC", "updated_at"=>"2012-12-22 18:39:58 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-13"}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 13' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 13) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
+ [1m[35m (1.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 'f988dde9a323aca4e4f696a5572ef657cee6ece35c1a2ff535957a07399c6a4c967011535c6cd5d78d4c0cb3b209cb7a64ec97532db9a4606651e1f5e2f68ae8' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SEw58SsGjVFAdBsNRp' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', '6351210f3e2248ab29ca2b702c935fedb64cdfe856b0efa1cb10c99f61405a333126965a9684bd930aea8537fb5a7f5d42af5d88d58e931d1a5e41df857aae92', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, 'NrmECHlBSU4QbmY7j3M', '2ol3O84UITrQ6mQvWD5g', 'f988dde9a323aca4e4f696a5572ef657cee6ece35c1a2ff535957a07399c6a4c967011535c6cd5d78d4c0cb3b209cb7a64ec97532db9a4606651e1f5e2f68ae8', 'SEw58SsGjVFAdBsNRp', 1, NULL, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 't8TXNXEDeynPpZYhW5Po', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 14', NULL, NULL, '2012-12-22 18:39:58', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"14"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 14[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` = 14 ORDER BY field_order ASC
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '43449817f5bb4486890f315006bf3e8eb82d8e92720932946c12bdff7788ad9851a4013534943372716267812813579ed49ba89409bbc9eb849a16adc1c151b5' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iA7mrbj7I4nus5EfjBL' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:39:58', '46920fb8e7b4953d66158d66eed80015b6afce7758180921bbd6bd61eb713fc92c4056367c6ee463fecc93436c9113ef86dd5e0a3762d7175f0d5fc75a2ca628', '2012-12-22 18:39:58', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:39:58', 'testuser', 1, 'X3s3WDRRfbE5oDLp4fM', '3JWf7T6DDOPCKnVXrdl', '43449817f5bb4486890f315006bf3e8eb82d8e92720932946c12bdff7788ad9851a4013534943372716267812813579ed49ba89409bbc9eb849a16adc1c151b5', 'iA7mrbj7I4nus5EfjBL', 1, NULL, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:39:58', `last_login_ip` = '0.0.0.0', `perishable_token` = 'tCiI3tPuaJmcbntbYBe', `updated_at` = '2012-12-22 18:39:58' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' 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-15' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 15', NULL, NULL, '2012-12-22 18:39:58', 'form-15')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 15 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudInquiryForm Exists (0.1ms)[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.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 18', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-18')[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:58', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:58')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 16', NULL, NULL, '2012-12-22 18:39:58', 'form-16')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' 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-17' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 17', NULL, NULL, '2012-12-22 18:39:58', 'form-17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[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.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 18', NULL, NULL, '2012-12-22 18:39:58', 'form-18')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 19' 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-19' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Form 19', NULL, NULL, '2012-12-22 18:39:58', 'form-19')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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.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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
[1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Test', NULL, NULL, NULL, '2013-06-27 12:53:44', 'test')
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:39:58', 'Test', NULL, NULL, '2012-12-22 18:39:58', 'test')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
- [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
- [1m[35m (0.2ms)[0m ROLLBACK
+ [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.3ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35mSpudInquiryForm Exists (0.1ms)[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[36mSpudInquiryForm Exists (0.1ms)[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
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m ROLLBACK
@@ -602,375 +11150,6135 @@
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:58', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:58')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:39:58', 'email', 7, '2012-12-22 18:39:58', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:39:58', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:39:58')
+ [1m[36m (0.0ms)[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.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 1', NULL, NULL, '2012-12-22 18:40:33', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 65ms (Views: 8.5ms | ActiveRecord: 5.1ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 2', NULL, NULL, '2012-12-22 18:40:33', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:40:33', NULL, NULL, '0', 'email', NULL, 1, 2, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 3', NULL, NULL, '2012-12-22 18:40:33', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')[0m
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:40:33', NULL, NULL, '0', 'email', NULL, 1, 3, '2012-12-22 18:40:33')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 4', NULL, NULL, '2012-12-22 18:40:33', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:40:33', NULL, NULL, '0', 'email', NULL, 1, 4, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' 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-5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 5', NULL, NULL, '2012-12-22 18:40:33', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:40:33', NULL, NULL, '0', 'email', NULL, 1, 5, '2012-12-22 18:40:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 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` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 15ms (Views: 0.8ms | ActiveRecord: 1.7ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.4ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 6', NULL, NULL, '2012-12-22 18:40:33', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:40:33', NULL, NULL, '0', 'email', NULL, 1, 6, '2012-12-22 18:40:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6", "email"=>"test@test.com"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 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` = 6 ORDER BY field_order ASC, field_order[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '48c1ed0d20b15353fd2c85113da56d867eece0f2eb225d0d4c3dadfe2adae7c103bbcf5de0a85e9ec83ff03b87521960bbdeb6556388019be82281fa1b28d2e0' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'F5kC8AeDq8lGgxuGByb8' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', '436f1a41448a6230dd5d59c748e08faec17297e278ab38b5aac02d9cabe21055f6601942947560c4677a9e1e13323da8cb87d0e904f15885f3f6b99b04216f5c', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, 'fu2ata1K2fUAmowoUwc1', 'dixAQQZ2wDk8VudkKh6L', '48c1ed0d20b15353fd2c85113da56d867eece0f2eb225d0d4c3dadfe2adae7c103bbcf5de0a85e9ec83ff03b87521960bbdeb6556388019be82281fa1b28d2e0', 'F5kC8AeDq8lGgxuGByb8', 1, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Jg5SyfJ5oqHO88ea9rG', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:40:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2013-06-27 12:53:44', 'email', 7, '2013-06-27 12:53:44', 'test@spudcms.net')
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:40:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:40:33')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 1 LIMIT 1
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'da7d3aeda86ea0d0f6833c5b4fd42f752582ee338a174a63613f6ec6490cc08fe139008a3f289e311ec5c3c8f15649c8dc1dd58522d3b81f8a9e803edf30aaf9' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'y85gkAHl8aFk3TBCT722' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', 'd5c695d2c61840c0949458a08d0fab1ee319ef739d10f6c5300b2c5a4140fbcd59c3578dc033e5bfab8461f6913f4b6aa8d091d0f455259bbbe4d9df950ec441', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, 'H2fhQgzJ9laO0cIP4d5', 'xSdm8EWwSvak5maboF9O', 'da7d3aeda86ea0d0f6833c5b4fd42f752582ee338a174a63613f6ec6490cc08fe139008a3f289e311ec5c3c8f15649c8dc1dd58522d3b81f8a9e803edf30aaf9', 'y85gkAHl8aFk3TBCT722', 1, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mQHRKtQQlA1krUXLeQE', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:40:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a3b8a75fb4c37a940f92f24dd8423946885bc6b52d41c31f0338c745941978024c2b303a979e0d0967e9a0d8d5eeb8cb50bd38bb6deea73a5cd16e90307d5072' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'd1M86byaIlcZvAy89CyT' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', 'c3bb74c0023acf1fbceb2bea8467bc60e0468a134fbc1575d180a07ed649e819f98f229d8c673465338f6d9010a593f63925acc661cd729b79fa99ae4e1862be', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, 'qeHf8GkpREkEPpvqMDFi', 'Lqz9F5ymZFcbFF4Kn', 'a3b8a75fb4c37a940f92f24dd8423946885bc6b52d41c31f0338c745941978024c2b303a979e0d0967e9a0d8d5eeb8cb50bd38bb6deea73a5cd16e90307d5072', 'd1M86byaIlcZvAy89CyT', 1, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Ds1G0m1IsDZxMVuEilim', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'c00e33b4ab109b58a17a3506b16bca2bdece322516aca6e589e35cc415c3f35432db0faabafd6d7f6efeead6ae927a327b5cb1346cfcfaebc66f2b65bb92721c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'GAi9y3hH86sTRX8sMeaA' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', 'ee4a30bdc0308f1156eecb80384c9cdc9ff3f64ccc84534f19278f2757db51c72ca9d4a1033bd85c48e5e7b15814eea5fb4c8d10fa4096bceef2c2aabf97aa97', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, '4khOctwDaQ83mINAUj5t', 'nA8QWFGXCEpjYZ6CQN9', 'c00e33b4ab109b58a17a3506b16bca2bdece322516aca6e589e35cc415c3f35432db0faabafd6d7f6efeead6ae927a327b5cb1346cfcfaebc66f2b65bb92721c', 'GAi9y3hH86sTRX8sMeaA', 1, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'O6BgwNOrSUppgrpboR', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:40:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8a3ee878db46d16322ec6b7b7a104bec37b7ad446beee5c3e9c039a7dbb2d0fe9ef3afa463b78dc3ad0f2758914840e235e3280caa18342ad7b7912de606c176' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fP4M2KUGVUYrMkSi5v' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', '2ee4439196249abf0e71d05701446c93c6618061db5395ce7fc5d304405f4d1c76500bf65058778af64d45e67793046db5ac064b389b4a6478457028a902eed6', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, 'AVC40YEGPG4aJLWUv39Q', 'YQrMwthVnUbyZuY6aBw', '8a3ee878db46d16322ec6b7b7a104bec37b7ad446beee5c3e9c039a7dbb2d0fe9ef3afa463b78dc3ad0f2758914840e235e3280caa18342ad7b7912de606c176', 'fP4M2KUGVUYrMkSi5v', 1, NULL, '2012-12-22 18:40:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'w7KVUd1SoLQm59CpVzdY', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:40:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:40:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.1ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '56e125656d62db2bd2328a6ff559d7152a85b16b772ae9685aac1b2f761aced6b8c21763b6d524898669e69529984e288690769142f98e9e0acd0c25110074e2' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hpKbjHLvVBNUjxgIWeYJ' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', '57abcbe243af607f545f61eb385b4631c7bf390bcac2afe36880433ae4ef1fc6b725ea6a82a8115531554a9f18826ac640dd988f4ce60d90539b834a62143e43', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, 'TO8aEDJFcDMsVk7mGkx', '5Vq9f4dRp8YtjkOJ0Ovm', '56e125656d62db2bd2328a6ff559d7152a85b16b772ae9685aac1b2f761aced6b8c21763b6d524898669e69529984e288690769142f98e9e0acd0c25110074e2', 'hpKbjHLvVBNUjxgIWeYJ', 1, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'OgQpIgcTzgx4W26tczEC', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 7', NULL, NULL, '2012-12-22 18:40:33', 'form-7')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 8', NULL, NULL, '2012-12-22 18:40:33', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.4ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '8aadd81c01d74fc1dfdaa88e4dc715698df6ef5a499c24e360b76ecb9ebeec33f9844cdff44b74b3d0c7ed2b1bd5abf8c6d576c2c6e4ec1b1c6f3752b04a8026' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'rO0qCitymLoIJv4htiJg' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', 'eb07922eaebe8b503fd997a610669e07734c32b8c809516b117133243cac8ebe72762409f5091af1d3bb0819f43906a71baf1e1a5724415a831cc770574df370', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, 'hEYwkG84bfpe4O7EoX7', 'irLG69LIeETnuwUlwXro', '8aadd81c01d74fc1dfdaa88e4dc715698df6ef5a499c24e360b76ecb9ebeec33f9844cdff44b74b3d0c7ed2b1bd5abf8c6d576c2c6e4ec1b1c6f3752b04a8026', 'rO0qCitymLoIJv4htiJg', 1, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MdtfCFfLSJxCRcjrYV', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '92d4864cbfd698502cbb98e92a28ee50c403d4c123da413ea1f76f464eb14b71d3771ffa0d6c09c61521b43b90b13b8ff651cdf46a244becba73b519fa93dbd5' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '2gMLaoHTZaGjTCICWuvQ' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', '4b78a34d332d047ee791791bbbe8bd989c6fda49839b9b971e7ccbdc4ccedee137343cdaaae840a2a5e7328e1346ae1b7a7d2e4e21eb1268581de53054c1ac2d', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, 'C2VepBUDlkTkgnBD5QR', '2p4HyvRQ6wu5px4PCyPa', '92d4864cbfd698502cbb98e92a28ee50c403d4c123da413ea1f76f464eb14b71d3771ffa0d6c09c61521b43b90b13b8ff651cdf46a244becba73b519fa93dbd5', '2gMLaoHTZaGjTCICWuvQ', 1, NULL, '2012-12-22 18:40:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ygH5MzLtUTk7V7BXAWhA', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 8[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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"=>"Form 9"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 9', NULL, NULL, '2012-12-22 18:40:33', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e336820572598f33dee7d4f9310de8058950a1ae10a7cc5b8073fcbc73e71bf2b8364387f39fe732e764a15fc386d329f51cb077db55c8c588bbfeccb5e9d49a' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0loknCZetjfMy3DMlFZn' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', 'b29b22cc8267512fa49f4c5f7745d4b58b8ac2991c5730f1760291089638c94b653c060191802cb7cd16bba07374e585b5da10a63d34283ddb91c00ef2b9f9e9', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, 'hBx9GUz0ovAqOOm7l28o', 'wFQID1TyXkHwriSXjgq1', 'e336820572598f33dee7d4f9310de8058950a1ae10a7cc5b8073fcbc73e71bf2b8364387f39fe732e764a15fc386d329f51cb077db55c8c588bbfeccb5e9d49a', '0loknCZetjfMy3DMlFZn', 1, NULL, '2012-12-22 18:40:33')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'tMa6uo2RUl9alf1V8zN', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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_2
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '88d094d814c2dc4c34707e66468d3e477d5004ea1635b945f640cb6fdc3b32817c9a77f662fa5140ddb5c1198bce8eb613e69afc60d623e71f5def488e92c01c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KPMk4rPiBXmqPX2JbZZD' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', '119881cd93cce81db79363d1db8f114be4e691c8b9e83c31c7eb3ae52a0e7b9b87b816dc507d66bcc4a06b8e7a19684507d87dfde9f95fc4eae731ed298c81ec', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, 'nJKo15kqrvQI3rx94Y', 'Bw7Y4PnsJAkJMRQUhyN', '88d094d814c2dc4c34707e66468d3e477d5004ea1635b945f640cb6fdc3b32817c9a77f662fa5140ddb5c1198bce8eb613e69afc60d623e71f5def488e92c01c', 'KPMk4rPiBXmqPX2JbZZD', 1, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'w2Hj4rVq8xBjwF7n8hl', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 10', NULL, NULL, '2012-12-22 18:40:33', 'form-10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 11', NULL, NULL, '2012-12-22 18:40:33', 'form-11')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"11"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'dd350c1a360062d03bdb7aa12d5ea1ed11447c0561a29ec9809b3a2853a81f7f5d7f542e0cfaa0ff36cc87819c0bf3536bfc413cbe5a65340c5c356e9cdbf2a7' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BEdviDs7PkGBLinxosds' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', '7302531677b7475347ce5f1572f82bfcdddc3cc8db1d7f54dd451d8b376db8a8bb91456533f3cbadddb0f6fac5236d4d1acdee8fa2c501c91565357642d402f5', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, 'FIOjJgpj1ILYkOedTU1', 'Dym0sCkEOcapkw8Ahk1D', 'dd350c1a360062d03bdb7aa12d5ea1ed11447c0561a29ec9809b3a2853a81f7f5d7f542e0cfaa0ff36cc87819c0bf3536bfc413cbe5a65340c5c356e9cdbf2a7', 'BEdviDs7PkGBLinxosds', 1, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'KMqQddHrxg0kYGXkHy', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 11 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 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 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '82de9960458c334c2adf4c6e01ff32a742991c30570c73c387028dc13e9da95e7f461888710176d9cca1bcc9b117e9aea4b62866dfdd145b0b5224a71101cbb8' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sqqhB7ATUJHPnSkqRFz' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', 'b1b3cafeb0c9d1baa7bad6a3e5d67b095eb4c93f7b3955783d0204c999badd8eb9982734606db77d3319e92353bdd4cb7f1cd71b7ad737072beea5420d68dd02', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, 'fRXAoZylrA1HMAARXhv', 'Z19uwm4uwSF0GzH8XGs', '82de9960458c334c2adf4c6e01ff32a742991c30570c73c387028dc13e9da95e7f461888710176d9cca1bcc9b117e9aea4b62866dfdd145b0b5224a71101cbb8', 'sqqhB7ATUJHPnSkqRFz', 1, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'DWez0HulDTfnURoYbk0', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 12', NULL, NULL, '2012-12-22 18:40:33', 'form-12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"12", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:40:33 UTC", "updated_at"=>"2012-12-22 18:40:33 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 12) 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` != 12) LIMIT 1[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_inquiry_forms`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '01b4ea59042e61669f6df1e9010d6644b8b11afcb7112c6de71e374b9d347df6312ea0bb456aeeaee2458f479613139d7d797824bd0104cfbe17964592dcd25e' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FmGESoj5kaAp1j8Pdo' LIMIT 1[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', 'acee78aad94e8e402579120624f1b11a80a026cf56233a3c559a259df4a0971c17da6dca312dcfdda750d08d66f2a102f70b341fb311194c152a961e6b9fb813', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, '7YQ1zVup3KEueUMhEOhA', 'Bdmz2ybYrmX89jX3oqfc', '01b4ea59042e61669f6df1e9010d6644b8b11afcb7112c6de71e374b9d347df6312ea0bb456aeeaee2458f479613139d7d797824bd0104cfbe17964592dcd25e', 'FmGESoj5kaAp1j8Pdo', 1, NULL, '2012-12-22 18:40:33')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.6ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hpUGZArEdtzgmKktMBb', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 13', NULL, NULL, '2012-12-22 18:40:33', 'form-13')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"13", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:40:33 UTC", "updated_at"=>"2012-12-22 18:40:33 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-13"}}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 13' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 13) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
+ [1m[35m (1.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0d316105920c373ca5c1fac1a31de1221ad3b7d9ed13e650227b15854853e8936b9d13ad747b97f8a6e43335976f73fc6990f441806c2dd9a35c551a0b393746' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5GAOsgOBJB9IqkhLlO6' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', '13e7964e24b0875ba2a333d9ff8aa0535588d7960ad43c1fc7e3f9161eae0f649dba94f2e17008ba7a044a3718d5618aac3314d62ad381e0ec086855a65d60af', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, 'C0XcmM2gFJEDDKPL2GK', 'yEPpEuXtMipXgyDwU7', '0d316105920c373ca5c1fac1a31de1221ad3b7d9ed13e650227b15854853e8936b9d13ad747b97f8a6e43335976f73fc6990f441806c2dd9a35c551a0b393746', '5GAOsgOBJB9IqkhLlO6', 1, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YoFzO5XImNyDE79NP4', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 14', NULL, NULL, '2012-12-22 18:40:33', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"14"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 14[0m
+ [1m[35mSpudInquiryFormField Load (0.3ms)[0m SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 14 ORDER BY field_order ASC
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '6a775a42b7af7fbae5158de7554d1423e826f122fff7d2f3e2c838fe80beca13386a6a18499fbf576998968559ff72d0927fdba3ac130b95737cab1e841497a1' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uTqdPWVsA82TkAOdexQ' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:40:33', '0ae735b0c5adafb679f49df4ae12fb65acb613130e3397eaa126a23554f12904b72ef527336cc08eebcca999e20e8964eec26042646048a128527ccca711e175', '2012-12-22 18:40:33', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:40:33', 'testuser', 1, 'ItV3nlSAJzKMZPzewps', 'cQW9K3CYdJvSHZqJZYM', '6a775a42b7af7fbae5158de7554d1423e826f122fff7d2f3e2c838fe80beca13386a6a18499fbf576998968559ff72d0927fdba3ac130b95737cab1e841497a1', 'uTqdPWVsA82TkAOdexQ', 1, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:40:33', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iSkqWYjkPM8ekAPGk88i', `updated_at` = '2012-12-22 18:40:33' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' 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-15' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 15', NULL, NULL, '2012-12-22 18:40:33', 'form-15')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 15 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:40:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.5ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 16', NULL, NULL, '2012-12-22 18:40:33', 'form-16')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 17', NULL, NULL, '2012-12-22 18:40:33', 'form-17')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 18', NULL, NULL, '2012-12-22 18:40:33', 'form-18')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 19' 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-19' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Form 19', NULL, NULL, '2012-12-22 18:40:33', 'form-19')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [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.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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:40:33', 'Test', NULL, NULL, '2012-12-22 18:40:33', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:40:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:40:33')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:40:33', 'email', 7, '2012-12-22 18:40:33', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [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-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:40:33', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:40:33')
[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.5ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
Connecting to database specified by database.yml
[1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
[1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
- [1m[35m (5.1ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
- [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (2.0ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
[1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiries`;
- [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
- [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
- [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
- [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
[1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
[1m[35m (0.0ms)[0m SET FOREIGN_KEY_CHECKS = 1
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudInquiryForm Exists (1.5ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 1', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-1')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:16', 'Form 1', NULL, NULL, '2012-12-22 18:41:16', 'form-1')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
- Rendered /Users/davidestes/projects/spud_rails/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (2.1ms)
-Completed 200 OK in 59ms (Views: 10.6ms | ActiveRecord: 3.1ms)
- [1m[35m (0.7ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 68ms (Views: 8.6ms | ActiveRecord: 4.9ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
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' LIMIT 1
Redirected to http://test.host/
Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 2', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-2')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, NULL, '0', 'email', NULL, NULL, 1, 2, '2013-06-27 12:54:21')[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:16', 'Form 2', NULL, NULL, '2012-12-22 18:41:16', 'form-2')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:41:16', NULL, NULL, '0', 'email', NULL, 1, 2, '2012-12-22 18:41:16')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by ContactsController#inquire as HTML
Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
Redirected to http://test.host/
Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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[35mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 3', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-3')
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, NULL, '0', 'email', NULL, NULL, 1, 3, '2013-06-27 12:54:21')[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:16', 'Form 3', NULL, NULL, '2012-12-22 18:41:16', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:41:16', NULL, NULL, '0', 'email', NULL, 1, 3, '2012-12-22 18:41:16')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
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[0m
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 4', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-4')
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:16', 'Form 4', NULL, NULL, '2012-12-22 18:41:16', 'form-4')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, NULL, '0', 'email', NULL, NULL, 1, 4, '2013-06-27 12:54:21')[0m
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:41:16', NULL, NULL, '0', 'email', NULL, 1, 4, '2012-12-22 18:41:16')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by ContactsController#inquire as HTML
Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
- [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
Redirected to http://test.host/
-Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 5', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-5')[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:16', 'Form 5', NULL, NULL, '2012-12-22 18:41:16', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, NULL, '0', 'email', NULL, NULL, 1, 5, '2013-06-27 12:54:21')
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:41:16', NULL, NULL, '0', 'email', NULL, 1, 5, '2012-12-22 18:41:16')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
Processing by ContactsController#inquire as HTML
Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
[1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 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` = 5 ORDER BY field_order ASC, field_order[0m
-Completed 200 OK in 42ms (Views: 0.9ms | ActiveRecord: 1.9ms)
+Completed 200 OK in 17ms (Views: 1.0ms | ActiveRecord: 2.0ms)
[1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:16', 'Form 6', NULL, NULL, '2012-12-22 18:41:16', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:41:16', NULL, NULL, '0', 'email', NULL, 1, 6, '2012-12-22 18:41:16')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6", "email"=>"test@test.com"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 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` = 6 ORDER BY field_order ASC, field_order[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '3843872ef92c255682ef15b8d169c466ae9f7f951b039a3787940343af6fb1b856652edcaa068782a289b8b9676d7975871f34e10e08c5cf7c9e92057f5baea5' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MJkbJOtm9HWLyIBUHK9' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', 'fa555ffb64e46a0c650ab074da89645ef638b3522a4d10348c53f93eb65d00bcdf9b1af37f371746e93e71e3b2d320d1be933683c1edb05389c46ecf33c8c090', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, 'lXbPpKlTBj1lkuSWu50', 'tuCjdcbTzg4qsMkBMuXA', '3843872ef92c255682ef15b8d169c466ae9f7f951b039a3787940343af6fb1b856652edcaa068782a289b8b9676d7975871f34e10e08c5cf7c9e92057f5baea5', 'MJkbJOtm9HWLyIBUHK9', 1, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = '4N16cG7EJaRLycw5w9O', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:41:17', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:41:17', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:41:17')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 1 LIMIT 1
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '443a2b367b2b3ec27cfacbf5dbc97623ccca8075b8b5e7251e8e37691fd2cd41c23951d8a0a0c762a15d306735a10dc6a5ebb6114ea4fd726dee13ee0a7d00af' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eCLIk2e4MYYFgfArrPU' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', 'd50abcc5f0265eff3a64005082125026ecf48d9aa4d196090766116721b16f7d03d9ae6a1951e07c1b35828d1a157fb0fc36a4e26b311a40d5c5fce5eaa2622e', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, 'hybxxsWcCbj1dcLRC1ow', 'dhHZfbLXHLE1juut4zwJ', '443a2b367b2b3ec27cfacbf5dbc97623ccca8075b8b5e7251e8e37691fd2cd41c23951d8a0a0c762a15d306735a10dc6a5ebb6114ea4fd726dee13ee0a7d00af', 'eCLIk2e4MYYFgfArrPU', 1, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MQElZl0F8WL28QNw5', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:41:17', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e62bd05b22040384aefe442ad7e94ff1c71f376debaf104c8a0adccea3d464eff6c19b8ffa6637485c0b67ca8599a3d251f6bc2fe445159abfb2bb546787f2dc' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5KLHjFLKymwqdMbA8sy' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', '7d4ed7cefed92f1cfd7fd62dcdca92ffa3e4096d5a9641351e905f52fbeaeec7318eaadd25a9f81a2fd190fd5d573f25b9ef483bb3e4202537bad93f888767f4', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, '6XvHHVDi972zDu22go', 'VGatxKFMsg9Km061QGZL', 'e62bd05b22040384aefe442ad7e94ff1c71f376debaf104c8a0adccea3d464eff6c19b8ffa6637485c0b67ca8599a3d251f6bc2fe445159abfb2bb546787f2dc', '5KLHjFLKymwqdMbA8sy', 1, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mkxnvvkS9myww2IT90Mz', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.4ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.8ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
-Processing by ContactsController#thankyou as HTML
-Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '62565bc5185987291b72823c58033cc444410a3678ae5d9d7f53bbdb7571209e7c3c20e18547114f494536661d864ba59d1d965e90611201e08c92ca7e23bd84' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'b35b3dBWK2E0OzWmmtMQ' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', '1a1fcf84dbdacd6892318d0fece338ab202fc9a594f38ee20b6b95a7486c19948b09785a0af2ecd15a6d27bc6b41a088c9be46af4dc1b3fd88817b8557a3d2ac', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, 'fzrKF4EpnaH8yGOL1q4k', 'eGNAYSDcWTgSjjljHXt', '62565bc5185987291b72823c58033cc444410a3678ae5d9d7f53bbdb7571209e7c3c20e18547114f494536661d864ba59d1d965e90611201e08c92ca7e23bd84', 'b35b3dBWK2E0OzWmmtMQ', 1, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'IFAwvD1a5kiMSxB8Lu8', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:41:17', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 7ms (ActiveRecord: 1.3ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cf4213c2f003a4408c3ff6a9685dc259a2cdbdd1cfbe3e770288b8915702a6e1c39772cacce0cc7e606c4fb04554a399e23fea305c74c1871349dc6b6f69a753' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FQfO738FAr1jcNU8eIpp' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', 'a417c8f78aec0ea5112fbddbbec66c0adc46f41c56c4ae6fb4f95ce36c24d7dc044c7bed2ede0ba6abdf1b363ad234d999a5dde3fed54709719a694c3827e8d1', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, 'I1l59ohBYCZ8HhKl4nVM', 'cUYhB0Mg0vtYYCWamJKd', 'cf4213c2f003a4408c3ff6a9685dc259a2cdbdd1cfbe3e770288b8915702a6e1c39772cacce0cc7e606c4fb04554a399e23fea305c74c1871349dc6b6f69a753', 'FQfO738FAr1jcNU8eIpp', 1, NULL, '2012-12-22 18:41:17')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MwsuT9Yg3oLpjLO5M5ul', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:41:17', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:41:17')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[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 '30bb99b55b16083dd7ae31886a556bb9e8eea6d03a7044a6880b593efcb86920801de5ff1a6648fc343bca14657227065fe7619fefa7d0198cdafff481f2010a' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LxoxT23zkq2MsrBC2Ni' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', 'efdc107a3fe33dc426f6539df657daa0da9cf30e649e6039a2d661593458dfc70cb3dd6c1e207b1f868856acd1e09d4ae5e5e39c9796876d0892f7ad13267b9c', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, '1LGrKcwlRObpMIvGqxL1', 'CPMzOuN8pmTmhEiJrp4', '30bb99b55b16083dd7ae31886a556bb9e8eea6d03a7044a6880b593efcb86920801de5ff1a6648fc343bca14657227065fe7619fefa7d0198cdafff481f2010a', 'LxoxT23zkq2MsrBC2Ni', 1, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'KBikskAJxbE5uTJbcb', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' 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-7' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:17', 'Form 7', NULL, NULL, '2012-12-22 18:41:17', 'form-7')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:17', 'Form 8', NULL, NULL, '2012-12-22 18:41:17', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 6 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '70fa475c505fc6fd9fc26c9df22f6fd70342ca3c628e597e7dac10a64f9cf1042d11231387b1619440da7d5f63cc56063335a4a20bf44f11702f6f5c852fa4df' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'w5wohyg4cFZevbLXt5o' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', '115ce303d37bda8c528e71f72b812dbdd434b7e547b3107933ebc6ccba4f71dc217cfbc626c742b6854451859ce4870d702b2e466ea0fd39a44f38f84c9dc12f', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, 'hy15tNwNxOU7StJx2q', '5GWIdAPehYN6ivAgYXcU', '70fa475c505fc6fd9fc26c9df22f6fd70342ca3c628e597e7dac10a64f9cf1042d11231387b1619440da7d5f63cc56063335a4a20bf44f11702f6f5c852fa4df', 'w5wohyg4cFZevbLXt5o', 1, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'jgaMOKXLFKzhME7uK', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '801f360357b601c5f46100226b909aedb16f78b07ef4c7225fedb66947fef3312cfa346bbed22fb09432efdd5cc230e85ec90515d9f13105c99338c3c6244678' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OTtW7yk0ol8YKWEsTg' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', 'a738824f72e4c235950f2b4553af298b4789e8631931a2c05ac976209ecfbfb47222e3a2eb2db78c78c5350952516da5acd9b52aceebdc651a3b76c90f81f2b1', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, 'OYPaPUvIgLJXw8v4xxbX', 'AA6GWabGm9CffhuW8U0', '801f360357b601c5f46100226b909aedb16f78b07ef4c7225fedb66947fef3312cfa346bbed22fb09432efdd5cc230e85ec90515d9f13105c99338c3c6244678', 'OTtW7yk0ol8YKWEsTg', 1, NULL, '2012-12-22 18:41:17')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EHK3Xp70Cf4gvz2yVU1A', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 8[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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"=>"Form 9"}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:17', 'Form 9', NULL, NULL, '2012-12-22 18:41:17', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'dac2729f7e421410e57e9b91ac35244f344425123ce1c15182bbcd71fcebfb3cd9ac3225b189824c46a631644562c8c7728ea58ba782da8259a040fe7b1e8852' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FM7E91AnThb76xBt3mpK' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', 'be8be4d972e46abb5130fbeddca62a903ef51aefb3baedb805c9eb16f62c28388c63442fb7be669143877e5b8599c21ec50673944bff9bc91c7ce1bdbc44b1f2', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, 'uxjy0ychd8SWNcfEaunk', 'B2LLlaMMLkK9sf7PMXm', 'dac2729f7e421410e57e9b91ac35244f344425123ce1c15182bbcd71fcebfb3cd9ac3225b189824c46a631644562c8c7728ea58ba782da8259a040fe7b1e8852', 'FM7E91AnThb76xBt3mpK', 1, NULL, '2012-12-22 18:41:17')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 's2qUTWhmZ6sgQUJ0gAzE', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 9 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.3ms)[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_2
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '332ff69a7c4726cdd347d9a4c32c19a33bcc1aa40672b2af5d8cde8dddf4a16fdfdcafbdb2b2030b2f940ef2146fcbc47ecb703d44f87aac5da96ff695d513f1' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9QX2zLzeyDb8jwU6f2b' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', 'a41001238a62009d099472a77451c27e1a833623ce0bf06ad18350606a519be87c34a4ec3d17874c353bb7d15df9d004707de9b7b50fd2b82334a2b56dade2fc', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, '1chaRGl8Whav3wVrAfd', 'hWbz3luRqwhzqXpSXhz', '332ff69a7c4726cdd347d9a4c32c19a33bcc1aa40672b2af5d8cde8dddf4a16fdfdcafbdb2b2030b2f940ef2146fcbc47ecb703d44f87aac5da96ff695d513f1', '9QX2zLzeyDb8jwU6f2b', 1, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = '46BYYucVHrgW4oxW7IG', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:17', 'Form 10', NULL, NULL, '2012-12-22 18:41:17', 'form-10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:17', 'Form 11', NULL, NULL, '2012-12-22 18:41:17', 'form-11')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"11"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2bb195f5d7bc87f784ad55ae02a33d48d5d2531a451fd94e378a79219593d765b48a3076f57de355dd40014fab11739c157ece2ea009e217847d9850c234079a' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wu5T4qdWzgOPBWy5Xb6Z' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', 'f0a5edf88ddd3383b419f022616dd62b70bcd7af009d68d11cb548e7bf17e7f8e10d239ebba9cde8a25627da457b53b2684457c93b7637bb17cbc5d4c46ed71a', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, 'Wp6lIP0NoCA629gyWGGa', 'AKE8KIu3jghOqYiNPih', '2bb195f5d7bc87f784ad55ae02a33d48d5d2531a451fd94e378a79219593d765b48a3076f57de355dd40014fab11739c157ece2ea009e217847d9850c234079a', 'wu5T4qdWzgOPBWy5Xb6Z', 1, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dsJhJLmZp88ppkP8yUln', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 11 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 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 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.1ms)[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 '8521890f8771c335aee9be8d58812be78f235bd61561b2d15921b4ec0136a4bf91704bca9a48430b42916bbb775b45a962e061e654e0334e5cbaa62e7a0ce4ea' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '3fM2pz7XS1USXsCtLk' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '77fa66ae0a0483e33b86d60ba83c02a4b5da72ffb47df634a1c3f93c445b5a03a0db28c13aaef0f3e83ea610000dee25257a3bd63cbe813e753ce37c532708cf', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, '3kttDR9Gl5ETcQjR9v17', '5LpuZ4zhA2oOZG5CSvYe', '8521890f8771c335aee9be8d58812be78f235bd61561b2d15921b4ec0136a4bf91704bca9a48430b42916bbb775b45a962e061e654e0334e5cbaa62e7a0ce4ea', '3fM2pz7XS1USXsCtLk', 1, NULL, '2013-06-27 12:54:21')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cab48b1bde01a84db576f2308af6edd4200e11636c5b23c7f160ca00d7278a4ff4c32727609b4ab794b7fc5199ab8a1f920c9516e07d1cc22a000fa9e409df66' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZBBQ3rqazx9oCY5OouJ0' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', '0394b8e961e21eefcbaed7af9752960f4e37c689cefdcd1a243a7d11d2d7a31482ddd4322fec50324f76ad0a23c07600c5a4a2ab8d14e91d8e58fcdbf7ea3989', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, 'pnPQGJzpBcvbtk0iVyGV', 'nx6qgkuVVsk8bI8ucQey', 'cab48b1bde01a84db576f2308af6edd4200e11636c5b23c7f160ca00d7278a4ff4c32727609b4ab794b7fc5199ab8a1f920c9516e07d1cc22a000fa9e409df66', 'ZBBQ3rqazx9oCY5OouJ0', 1, NULL, '2012-12-22 18:41:17')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = '9MUkQwQVF7oNvXGq7RHf', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' 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-12' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:17', 'Form 12', NULL, NULL, '2012-12-22 18:41:17', 'form-12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"12", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:41:17 UTC", "updated_at"=>"2012-12-22 18:41:17 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'f51hskiBA2KCBySVeB6', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 1
+ [1m[35mSpudInquiryForm Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_inquiry_forms`.`id` = 12
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (2.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '319397d18a24ae277b97cca362f00a1004c3189b3b0b8e18b882db5e36488458d91965e51ff6576988ec5fc4ec2fc85ea9e5f281c7b7229476d8a38d25dd6525' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Himvy2rKmSDme605qPt9' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', '25d2b3393edced511614d4d1cba24834d5d6d56a23a9ad0ca7f368a1f8647a4988e3cc8c27627af1e414cee19b9a2ddc852af29add2a4169eacb0e14ffe42677', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, '3ZSmh0eL8VMvQJ4FsjLh', 'krouWN5FkYUI8o1dzYe', '319397d18a24ae277b97cca362f00a1004c3189b3b0b8e18b882db5e36488458d91965e51ff6576988ec5fc4ec2fc85ea9e5f281c7b7229476d8a38d25dd6525', 'Himvy2rKmSDme605qPt9', 1, NULL, '2012-12-22 18:41:17')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')[0m
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'uEfVZQ4LZCwzyFj3x74', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 13[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [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-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')
+ [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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:17', 'Form 13', NULL, NULL, '2012-12-22 18:41:17', 'form-13')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"13", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:41:17 UTC", "updated_at"=>"2012-12-22 18:41:17 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-13"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 13' AND `spud_inquiry_forms`.`id` != 13) 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-13' AND `spud_inquiry_forms`.`id` != 13) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9d8d3cb5f49a76b068cd8de134237b49d26c58be687f7a65aa09eb71f448216996e23aee62e8402695aca51e82b4e69ba707a629f69fce107e6cc4a082a3ee71' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UWmwnd2XxgkJXADViwwy' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', '0ef423145303447b3d93ddbc391a5a74c37494c202d9466e55ac30ef40863eaa1aed7c9b957435fa1614c7bc3768f44879c01fafa2315c6c210082c36625e2c2', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, 'GmWZq2n9xBIaXSJxdrZl', '2ryVwreSWUiOcMi1beO3', '9d8d3cb5f49a76b068cd8de134237b49d26c58be687f7a65aa09eb71f448216996e23aee62e8402695aca51e82b4e69ba707a629f69fce107e6cc4a082a3ee71', 'UWmwnd2XxgkJXADViwwy', 1, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = '0L7Pg4X6NyRBxcxXWZ', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:17', 'Form 14', NULL, NULL, '2012-12-22 18:41:17', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"14"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 14[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` = 14 ORDER BY field_order ASC
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (1.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '6b3c5bb9363d49eb53889e045023b17a04e4dc231029d1456473a7c4275cb5a720f9c7b221f61163d659242e5952f0ca05f6f01e9c064bc0786a9ea344574005' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'npKR1Hh0Hbm04XQPmyw' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:41:17', 'cadf31197e35a2791e865f1dc51158e199d318e978eda5037a6c376ccfca18f474531f7da907a96ce89d1508ee1fa1201f7e830fe83d9e52aeb92dab93adb60b', '2012-12-22 18:41:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:41:17', 'testuser', 1, 'RWQN13KXLCC5qaqqnkF', '2LlZAPQwLVYJM8UX3uF5', '6b3c5bb9363d49eb53889e045023b17a04e4dc231029d1456473a7c4275cb5a720f9c7b221f61163d659242e5952f0ca05f6f01e9c064bc0786a9ea344574005', 'npKR1Hh0Hbm04XQPmyw', 1, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:41:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'biGdrMBbOnhbgIuurlMn', `updated_at` = '2012-12-22 18:41:17' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:17', 'Form 15', NULL, NULL, '2012-12-22 18:41:17', 'form-15')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[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` = 15 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.2ms)
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:41:17', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:17', 'Form 16', NULL, NULL, '2012-12-22 18:41:17', 'form-16')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' 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-17' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:17', 'Form 17', NULL, NULL, '2012-12-22 18:41:17', 'form-17')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:17', 'Form 18', NULL, NULL, '2012-12-22 18:41:17', 'form-18')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 19' 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-19' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:17', 'Form 19', NULL, NULL, '2012-12-22 18:41:17', 'form-19')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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.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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:41:17', 'Test', NULL, NULL, '2012-12-22 18:41:17', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:41:17', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:41:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:41:17', 'email', 7, '2012-12-22 18:41:17', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:41:17', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:41:17')
+ [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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.4ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (2.6ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (1.4ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.3ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.5ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.2ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:09', 'Form 1', NULL, NULL, '2012-12-22 18:42:09', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"form-1"}
+ [1m[35mSpudInquiryForm Load (0.5ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 64ms (Views: 9.5ms | ActiveRecord: 4.2ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:09', 'Form 2', NULL, NULL, '2012-12-22 18:42:09', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:42:09', NULL, NULL, '0', 'email', NULL, 1, 2, '2012-12-22 18:42:09')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (1.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:09', 'Form 3', NULL, NULL, '2012-12-22 18:42:09', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:42:09', NULL, NULL, '0', 'email', NULL, 1, 3, '2012-12-22 18:42:09')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:09', 'Form 4', NULL, NULL, '2012-12-22 18:42:09', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:42:09', NULL, NULL, '0', 'email', NULL, 1, 4, '2012-12-22 18:42:09')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:09', 'Form 5', NULL, NULL, '2012-12-22 18:42:09', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:42:09', NULL, NULL, '0', 'email', NULL, 1, 5, '2012-12-22 18:42:09')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 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` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 1.7ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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.3ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:09', 'Form 6', NULL, NULL, '2012-12-22 18:42:09', 'form-6')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:42:09', NULL, NULL, '0', 'email', NULL, 1, 6, '2012-12-22 18:42:09')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6", "email"=>"test@test.com"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 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` = 6 ORDER BY field_order ASC, field_order[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[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 '80870ea2194f027b6ce7f5183d31332ea40544f3282e78df5b6b6e4bcd56cdb021630b24c95444b49e99b21d6c8dfed8409b777c2a24a3fac117a1372c1d8dce' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yAoRHvmt7YNHzXzIzuP' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:09', '127a05fe0793c66a02615abb621f5cae93d551544c36aa61b298061000be82cac8e65c0c964ef6154c796e038c8cffade11c2fb514536f8bea921cacad911c77', '2012-12-22 18:42:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:09', 'testuser', 1, 'hURk4wbvOlyMXFWeLEQJ', '8Kl4erDWbDIMTnbHkOpL', '80870ea2194f027b6ce7f5183d31332ea40544f3282e78df5b6b6e4bcd56cdb021630b24c95444b49e99b21d6c8dfed8409b777c2a24a3fac117a1372c1d8dce', 'yAoRHvmt7YNHzXzIzuP', 1, NULL, '2012-12-22 18:42:09')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hefiiwX606RAq3TGo5g', `updated_at` = '2012-12-22 18:42:09' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:09')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:09')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
Processing by Spud::Admin::InquiriesController#index as HTML
- [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
-Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.2ms)
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '4b08d4bf16ee412edab4fdb5d269b3e052aeaaf48a624d279489a2b7c21fa4c554aa1989f1f7e4926b6a0ec6ad02f7438d7a966947b1d1ecce4408ffc3d2037e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '2MiIMxrHztKypG1VXuqp' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:09', '71ae21b81743912b0d404e189c72b893d3987c74da69b9c27489bedcaa5160a887923cbddd8808609729372bb4ff4c5c4d932219f4407676e559c01f31748c3e', '2012-12-22 18:42:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:09', 'testuser', 1, '7dfPnQgQxzg1WPpXjCru', 'AdnwjZOEBfH1SLJzudRF', '4b08d4bf16ee412edab4fdb5d269b3e052aeaaf48a624d279489a2b7c21fa4c554aa1989f1f7e4926b6a0ec6ad02f7438d7a966947b1d1ecce4408ffc3d2037e', '2MiIMxrHztKypG1VXuqp', 1, NULL, '2012-12-22 18:42:09')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'BCWN5tcHMIRKy1dTN8h', `updated_at` = '2012-12-22 18:42:09' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:09')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'fe95c44c4021e454cbfb4f47b3ccf6c4044def7f78aef9c05e166bc943f8c30d26268d98ce065d8b1087cf3c40896d5131359558dc9e2bb7436d36056f0c5352' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mfWvSK1R30imDpy5xpt' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:09', 'df4886228d6c8288f5be005423f9685cfa72bcac9114e8dc95a83001e1c723ce9df4585f9906bb780471e9749ca1b31d37e90310b449a985fa73cf5668f47ad8', '2012-12-22 18:42:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:09', 'testuser', 1, 'Fq9MLbChs93JMPRjZIK', 'ZohqfMGilk5AM9MQ3gSw', 'fe95c44c4021e454cbfb4f47b3ccf6c4044def7f78aef9c05e166bc943f8c30d26268d98ce065d8b1087cf3c40896d5131359558dc9e2bb7436d36056f0c5352', 'mfWvSK1R30imDpy5xpt', 1, NULL, '2012-12-22 18:42:09')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vwnPTjpiBhPVcGTp9fUV', `updated_at` = '2012-12-22 18:42:09' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.5ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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.5ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'dbefc93dfda1c61d0c63042e4da6eb5012420becaab7ae2782467875a9bc57ead001559768b3d62ae50a91be8d7714b41fddc3c9425b850830ffbb253806e06b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YghrSQM1kqT3zCwQCHo' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:09', '686614fcf5bcfe92aa994a36fc17d952262acf24d5e53f8960f973112c2501948734513b85ee987f67f14f1d00b749b17c6d36cb980c1d07522c0ef8d9333bee', '2012-12-22 18:42:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:09', 'testuser', 1, 'TEHJFeS8fWf3wB2ayI', 'hWW6B7mSTXY3j88W9a2C', 'dbefc93dfda1c61d0c63042e4da6eb5012420becaab7ae2782467875a9bc57ead001559768b3d62ae50a91be8d7714b41fddc3c9425b850830ffbb253806e06b', 'YghrSQM1kqT3zCwQCHo', 1, NULL, '2012-12-22 18:42:09')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'N2VrzsQSXLlL11c3AjX', `updated_at` = '2012-12-22 18:42:09' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:09')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '354e50008f73dca507f1ef3c53af542d9a129aa73be08153fa45362c7c135d97c426336370c0fe09935242b8d41911c42124e30c2de00a14742fc7268390b2bc' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yBYbHw6RvTJE00LO8FAM' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:09', '0f0d2e70170cc6d3882a57150becfde8cd686801520683220d63666e8d90fb70cf3dc974fb64f413dd82e7c9bb41b7fffc30537269df77837fc53339099766b6', '2012-12-22 18:42:09', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:09', 'testuser', 1, 'CyPIUZwfVKF8o63p1FV', 'jnusHQw8kdrT8Mk4agOp', '354e50008f73dca507f1ef3c53af542d9a129aa73be08153fa45362c7c135d97c426336370c0fe09935242b8d41911c42124e30c2de00a14742fc7268390b2bc', 'yBYbHw6RvTJE00LO8FAM', 1, NULL, '2012-12-22 18:42:09')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:09', `last_login_ip` = '0.0.0.0', `perishable_token` = 'bQr9WuqOSJqRw19Z9Ziy', `updated_at` = '2012-12-22 18:42:09' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:09', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:09')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
[1m[35m (0.9ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'dd8dade2a004629d17bbbfb752c298779be32f54dd14f611a2b97e8372e03215f3abe3626b75dc3c8f94948d8968b01b868f0f73a487247aeeec5bb0b72d1755' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TgfnVAo4slDMUdHW5YE' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:10', 'c8ff7b57f6336981131d7c9945a351553e32a5e807ccabc73e153152508aadf426ac902d69eafa9522d101a07597d9d609a2edad0010937a96e4a87c5ec673e4', '2012-12-22 18:42:10', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:10', 'testuser', 1, 'A1LoNh0jgJzH5is7Yakk', '92KRh88h7k2oSdzTxM4C', 'dd8dade2a004629d17bbbfb752c298779be32f54dd14f611a2b97e8372e03215f3abe3626b75dc3c8f94948d8968b01b868f0f73a487247aeeec5bb0b72d1755', 'TgfnVAo4slDMUdHW5YE', 1, NULL, '2012-12-22 18:42:10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:10', `last_login_ip` = '0.0.0.0', `perishable_token` = 'KSIhqRjVMDge5Kld7nCI', `updated_at` = '2012-12-22 18:42:10' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:10', 'Form 7', NULL, NULL, '2012-12-22 18:42:10', 'form-7')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:10', 'Form 8', NULL, NULL, '2012-12-22 18:42:10', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.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 '196fe8a878e3dcc91af611e4632557ae53d018963360deac5526751b40da7d3ee6af724cbceb5dcac8f9d7ddde01ce8bf76aa5111aebf7873033871e3791264a' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dutkr2ixjj4ot53LAgL' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:10', 'e1b27df9f13d6fb07c7ed8f12794de12ad57848a762c27945932f7d0d15a7dafd4a77622cd786d3a05c5557f279a97da413b222eb6f77cf34d2deaa3ba8cc79b', '2012-12-22 18:42:10', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:10', 'testuser', 1, '30jSTFKiRQoW1YgJslGx', '3sxCgFb4oZMgoHqwE7hk', '196fe8a878e3dcc91af611e4632557ae53d018963360deac5526751b40da7d3ee6af724cbceb5dcac8f9d7ddde01ce8bf76aa5111aebf7873033871e3791264a', 'dutkr2ixjj4ot53LAgL', 1, NULL, '2012-12-22 18:42:10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:10', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VnVXwKmbCqPa2BVimPU', `updated_at` = '2012-12-22 18:42:10' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b9e12d461b4fc84c4353fc4429fa1a8047fe1b79519ff7a0489f7b13d389668f33006cb3132c56900bb40e6b298c5b99854a30af762f33c700464e0d70ea82be' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'M0kB9pgY2baaqU94I6' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:10', 'e82184d825a4cb31725b61993463d0d9da4cc28d39a7024348131ac4d94df6d23188a5e9b567b5fdb6b4a3dd96f864d1dc28c95ec79dc43baa790ac4a700747b', '2012-12-22 18:42:10', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:10', 'testuser', 1, 'OKO65MIxzsMPV0nOtPp', '2YIs1LK6upOFusvo7du', 'b9e12d461b4fc84c4353fc4429fa1a8047fe1b79519ff7a0489f7b13d389668f33006cb3132c56900bb40e6b298c5b99854a30af762f33c700464e0d70ea82be', 'M0kB9pgY2baaqU94I6', 1, NULL, '2012-12-22 18:42:10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:10', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ICrVwQ6B7VjbPdFRV1jN', `updated_at` = '2012-12-22 18:42:10' WHERE `spud_users`.`id` = 8[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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"=>"Form 9"}}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:10', 'Form 9', NULL, NULL, '2012-12-22 18:42:10', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '39cd027088d7718cc1357d23c1cf60b134db869ad4e3fe6f4880c5ca6769f15adec9e5073dc9b07ab7119b74bb9e1548e160db73eddb837076e944176b0eca2a' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'aU5PWiXgSJURO7nPyq4i' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:10', '6ea10fe83d11c5158a7a9b367f54ab9baa2ec5cec5dbc13b12626cead6b5d6c3981dea8c5f1b3f524eab7d5b8f8af1c426fd21487231e3c3ff80cb47c7e5bde2', '2012-12-22 18:42:10', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:10', 'testuser', 1, '2haGTOMvbWHrFlVsws', '9bpX5xbzWWZxZyt1Kw7K', '39cd027088d7718cc1357d23c1cf60b134db869ad4e3fe6f4880c5ca6769f15adec9e5073dc9b07ab7119b74bb9e1548e160db73eddb837076e944176b0eca2a', 'aU5PWiXgSJURO7nPyq4i', 1, NULL, '2012-12-22 18:42:10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:10', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qGSzpc0kK8cS2FYjucK', `updated_at` = '2012-12-22 18:42:10' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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.3ms)[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_2
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'eb93f2e532e9f631018a76bed3cf16930b2169f6e50ba47fe377ab1e4bf8fa2089f3dbf25681397a9016d98be6b4038bc3fc94a7b0d3d3cf5b4b3380e43939c8' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oFH32WRJWNxkrTucRe8G' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '49933f16715d3c1b3b37e8bc89fbd8cb576f51c96378174f2c55cb449e139ced185f35c9c6d92fe598aad1ccad26abdbd79c64628d89447cf1f60e291666e0b4', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'QOtB61cTAIfBFen5mnC', 'IuLAGASS52OqZJXDA5N2', 'eb93f2e532e9f631018a76bed3cf16930b2169f6e50ba47fe377ab1e4bf8fa2089f3dbf25681397a9016d98be6b4038bc3fc94a7b0d3d3cf5b4b3380e43939c8', 'oFH32WRJWNxkrTucRe8G', 1, NULL, '2013-06-27 12:54:21')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '47e569df78081b6858dd8c3b9627873aa6f1c078b0d637180a9e9d96ad909305cf3ffea8cad3759a8d653c53e03c77791aa0c5474bc1b3289756f88704e4daa0' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sR4n9XbRh5SEXNskLS' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:10', 'd98498fd115a9bf85a1040ab64ebe2ab5e0d8b87a81198187a1de2e9feda510e010a2c5285559b8a0760db55ab5562a4e1aeaf4850cf5e828e8b62d5b6ed297c', '2012-12-22 18:42:10', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:10', 'testuser', 1, 'hz6Q7DiVL92kbLN6JRVW', 'Ob9cmKTP2b9mhB99svG', '47e569df78081b6858dd8c3b9627873aa6f1c078b0d637180a9e9d96ad909305cf3ffea8cad3759a8d653c53e03c77791aa0c5474bc1b3289756f88704e4daa0', 'sR4n9XbRh5SEXNskLS', 1, NULL, '2012-12-22 18:42:10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:10', `last_login_ip` = '0.0.0.0', `perishable_token` = 'WFtwwkskir69QFLoz5vF', `updated_at` = '2012-12-22 18:42:10' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:10', 'Form 10', NULL, NULL, '2012-12-22 18:42:10', 'form-10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:10', 'Form 11', NULL, NULL, '2012-12-22 18:42:10', 'form-11')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"11"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.4ms)
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '28e028c97066d7edc461a79d5f3fa2fd63ae691279225c921e0bdce84e84949be89cad08a53d2198e2af99324d410b022358eafbdf4fa762d9ba80de3384cfd2' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kmKkPWuZpjpf7DpwWr6' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:10', '94a27a007be82f8a34de7365dc569ad3d166bf1c36e3f64bcfc8fc85bf70429e810b0287aec7a00aa1262adead90051a3df401a3c51c9e84cf3aa45a1e3b2556', '2012-12-22 18:42:10', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:10', 'testuser', 1, 'YtkSiOh3mWINBfljbdw', 'QLcaSo0hXdsDzdcqvncx', '28e028c97066d7edc461a79d5f3fa2fd63ae691279225c921e0bdce84e84949be89cad08a53d2198e2af99324d410b022358eafbdf4fa762d9ba80de3384cfd2', 'kmKkPWuZpjpf7DpwWr6', 1, NULL, '2012-12-22 18:42:10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:10', `last_login_ip` = '0.0.0.0', `perishable_token` = 'l0QgPa2Efz27t20EM', `updated_at` = '2012-12-22 18:42:10' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 11 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 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 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c89eba0c637dfb63f777f07556ce079ac36d93883aff27f429a2593f2fcbf20b30349105ab2678d851fa9e68ecd922f95ea22757b648fc7ce1ac0892dd90702e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '21f1ofu3hyav90RXYSS' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:10', 'efa070bc46d2b69d2bace23bd64290fadceadcc19cada4a3e3e00f5771c54ec78292f4a5f02910ed6a70fa6cbc48f83fa121a47a1ac3079b2bba408b6084680a', '2012-12-22 18:42:10', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:10', 'testuser', 1, 'rzJLcYlrgZBUFI5YSKMk', 'tljfjpjw403SzqGBuU', 'c89eba0c637dfb63f777f07556ce079ac36d93883aff27f429a2593f2fcbf20b30349105ab2678d851fa9e68ecd922f95ea22757b648fc7ce1ac0892dd90702e', '21f1ofu3hyav90RXYSS', 1, NULL, '2012-12-22 18:42:10')[0m
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QKugtG0N1zH9IkhLHuIf', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 2
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:10', `last_login_ip` = '0.0.0.0', `perishable_token` = 'NCrsEbXQay4SnQmIafq', `updated_at` = '2012-12-22 18:42:10' WHERE `spud_users`.`id` = 12
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')[0m
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' 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-12' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:10', 'Form 12', NULL, NULL, '2012-12-22 18:42:10', 'form-12')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"12", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:42:10 UTC", "updated_at"=>"2012-12-22 18:42:10 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 12) 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` != 12) LIMIT 1[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:42:10' WHERE `spud_inquiry_forms`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (1.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '31aa33d62c711c3bcf64c7527aa29bd45c83cbe4e1f5aa08ff25c4ebce213c80e98f20ff071fb4e984f28a7989c4beb0bea0edfdbf2485794d21f5d865b96689' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'X2uislLdW4uslHCiHzkP' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:10', 'b79b494c26bb57cbb82579176ade253265376a88842e50c77e0c70323c0ded38ec9c2aa3c6757725592c82db78e58c2d93014609911e2aacff2fc2dc20a0f804', '2012-12-22 18:42:10', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:10', 'testuser', 1, 'YQHkDFdVH4GO6pyblEB', 'fqNGFdrhDLcoWRWx7zK', '31aa33d62c711c3bcf64c7527aa29bd45c83cbe4e1f5aa08ff25c4ebce213c80e98f20ff071fb4e984f28a7989c4beb0bea0edfdbf2485794d21f5d865b96689', 'X2uislLdW4uslHCiHzkP', 1, NULL, '2012-12-22 18:42:10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:10', `last_login_ip` = '0.0.0.0', `perishable_token` = 'q4kHcn6KNrMcZr3GER6b', `updated_at` = '2012-12-22 18:42:10' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:10', 'Form 13', NULL, NULL, '2012-12-22 18:42:10', 'form-13')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"13", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:42:10 UTC", "updated_at"=>"2012-12-22 18:42:10 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-13"}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 13' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 13) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
+ [1m[35m (1.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[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 '16a2f6e1b5038a4902864f1eecdd9729b463dd99a91808890ef66dc7cb6f1e55507419d08ae9bc16b93d8ef40b7590c6093986c7586498ee2461b6866192a12f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ypAe32XrNod2198nmOh9' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:10', '89a68f99a5924eb69152c85bb681367c80aba736a4b935c47c2e3fdbd836438b1fca80ee0eed1b3f2effb1db04143cd3d2e3c0ad3062e6f1aa2c4dbeb1d13b52', '2012-12-22 18:42:10', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:10', 'testuser', 1, 'pM4moIHeHp3eJMe6qkw', 'GMANlzP0Cd5WoqYfCGh', '16a2f6e1b5038a4902864f1eecdd9729b463dd99a91808890ef66dc7cb6f1e55507419d08ae9bc16b93d8ef40b7590c6093986c7586498ee2461b6866192a12f', 'ypAe32XrNod2198nmOh9', 1, NULL, '2012-12-22 18:42:10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:10', `last_login_ip` = '0.0.0.0', `perishable_token` = 'P3nCNLvWW27ef4N0pwMY', `updated_at` = '2012-12-22 18:42:10' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:10', 'Form 14', NULL, NULL, '2012-12-22 18:42:10', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"14"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 14[0m
+ [1m[35mSpudInquiryFormField Load (0.3ms)[0m SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 14 ORDER BY field_order ASC
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '57693d2a2b70eab525f9551f7d2c8458e50dab29d4bebedc99e76f68265ca6519dfade0035df78e382c9f4e5768f033fad7f5e894710fafde15c337f0a9884c6' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eGc7J7kB3AaOAFUsN4hs' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:10', '00840e3348a0f50219eed5d192b4d3d51928023e8f118cbd82b332b6af221f87b3476cf1fa894b692b7c19fa55d558089442c9c79d46f680e44fd68c1b9752b6', '2012-12-22 18:42:10', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:10', 'testuser', 1, 'D02BYyNkclGDXbMPzdzN', 'yuCPCg7bOUiIj3AyuNa', '57693d2a2b70eab525f9551f7d2c8458e50dab29d4bebedc99e76f68265ca6519dfade0035df78e382c9f4e5768f033fad7f5e894710fafde15c337f0a9884c6', 'eGc7J7kB3AaOAFUsN4hs', 1, NULL, '2012-12-22 18:42:10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:10', `last_login_ip` = '0.0.0.0', `perishable_token` = '5vxlFjtnudJiF9bF9Gqa', `updated_at` = '2012-12-22 18:42:10' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:10', 'Form 15', NULL, NULL, '2012-12-22 18:42:10', 'form-15')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 15 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms)
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:10', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:10', 'Form 16', NULL, NULL, '2012-12-22 18:42:10', 'form-16')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' 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-17' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:10', 'Form 17', NULL, NULL, '2012-12-22 18:42:10', 'form-17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:10', 'Form 18', NULL, NULL, '2012-12-22 18:42:10', 'form-18')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 19' 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-19' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:10', 'Form 19', NULL, NULL, '2012-12-22 18:42:10', 'form-19')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:10', 'Test', NULL, NULL, '2012-12-22 18:42:10', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:10', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:42:10', 'email', 7, '2012-12-22 18:42:10', 'test@spudcms.net')
+ [1m[36m (0.2ms)[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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:10', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:10')
+ [1m[36m (0.0ms)[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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.1ms)[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.0ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.1ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[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.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:31', 'Form 1', NULL, NULL, '2012-12-22 18:42:31', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 68ms (Views: 8.9ms | ActiveRecord: 5.0ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:31', 'Form 2', NULL, NULL, '2012-12-22 18:42:31', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:42:31', NULL, NULL, '0', 'email', NULL, 1, 2, '2012-12-22 18:42:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:31', 'Form 3', NULL, NULL, '2012-12-22 18:42:31', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:42:31', NULL, NULL, '0', 'email', NULL, 1, 3, '2012-12-22 18:42:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:31', 'Form 4', NULL, NULL, '2012-12-22 18:42:31', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:42:31', NULL, NULL, '0', 'email', NULL, 1, 4, '2012-12-22 18:42:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.6ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:31', 'Form 5', NULL, NULL, '2012-12-22 18:42:31', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:42:31', NULL, NULL, '0', 'email', NULL, 1, 5, '2012-12-22 18:42:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 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` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 16ms (Views: 0.8ms | ActiveRecord: 2.1ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:31', 'Form 6', NULL, NULL, '2012-12-22 18:42:31', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:42:31', NULL, NULL, '0', 'email', NULL, 1, 6, '2012-12-22 18:42:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6", "email"=>"test@test.com"}}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.5ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 6 ORDER BY field_order ASC, field_order[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.1ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '0c0d431da05e1436a5855f680b5529c0575ecc9b639b2628b9ad747c66b59af0ff35d70f9058f5d77336c799e2d177d65ce25f57ca85b7f3e25defe14e157632' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6vvxXJh0xBBL5EivWQkm' LIMIT 1
+ [1m[36mSQL (2.9ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:31', 'ec22919bc52a58689d1a233c4db87c01b97b25bee0b90536ee0165c9fd855288bd58609e6379b988289477c3c1ffc2f83138739ed67b73cbe4ca97b98e485112', '2012-12-22 18:42:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:31', 'testuser', 1, 'Rw6SqIz5XYkBBS1HedBl', 'ItTXJQ1FIhfXuKGFXl0', '0c0d431da05e1436a5855f680b5529c0575ecc9b639b2628b9ad747c66b59af0ff35d70f9058f5d77336c799e2d177d65ce25f57ca85b7f3e25defe14e157632', '6vvxXJh0xBBL5EivWQkm', 1, NULL, '2012-12-22 18:42:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:31', `last_login_ip` = '0.0.0.0', `perishable_token` = '4yaYMGVv9MRXT6c9Id', `updated_at` = '2012-12-22 18:42:31' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (1.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:31', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:31')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:31', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 1 LIMIT 1
+Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '54bc7cc6649331e6c7a7cf54b8fc4a9866830ce9519a58fe106353d3e85f81772cbe598b8e9bdaee1435bce54c658cc80016446691891d8548d58e47d76260b0' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'AmWn66hDDuEpzJkQzu' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:31', 'c7376b5011bafa2937feb4c8c1b676afc8c24c06de05f1f5f81432372c8deea3bca9ca11ecf29651cb68683da2d81ad586759afd2aec5d2d60907fa893a6df27', '2012-12-22 18:42:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:31', 'testuser', 1, 'Fc5su20vzxg0FPqXMLd', 'F3CKODLALFVahHXar0', '54bc7cc6649331e6c7a7cf54b8fc4a9866830ce9519a58fe106353d3e85f81772cbe598b8e9bdaee1435bce54c658cc80016446691891d8548d58e47d76260b0', 'AmWn66hDDuEpzJkQzu', 1, NULL, '2012-12-22 18:42:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'RWUQIhPQMajtDmF4fou', `updated_at` = '2012-12-22 18:42:31' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:31', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::InquiriesController#show as HTML
Parameters: {"id"=>"3"}
- [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
- [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
[1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[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 '5fb288c5df29da43041c560c6e77c1d5a72c6105b459963973e42abb390ed31a17013d99fa1b2aa5ea8ee9623164f868ff1b34a905462b1a41a90fcfa4d90a9b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'l1gWDzxFon1ZCGj1MQi' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:31', '3a3828c71af3cfc16b7007bf7a38352971fbb37579f2a6be5b1e9f38570b7c7b2f16a734c0e805bcde9de351096ccc39ba6a219748d0c435d191d3631c00a87a', '2012-12-22 18:42:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:31', 'testuser', 1, 'WUYneRO3BlagfevfI7c', 'LqLC9SIFQLzDrX6y4DQ', '5fb288c5df29da43041c560c6e77c1d5a72c6105b459963973e42abb390ed31a17013d99fa1b2aa5ea8ee9623164f868ff1b34a905462b1a41a90fcfa4d90a9b', 'l1gWDzxFon1ZCGj1MQi', 1, NULL, '2012-12-22 18:42:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'BKpQthv7x8UfUXkxf6FA', `updated_at` = '2012-12-22 18:42:31' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.5ms)
[1m[35m (0.5ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '97a1bba1a07cdc32a7017daf831250d737680f838cff50be169900d1b6c655b19ecbfb6e4b54a9c3f53805c29efde97b17dec4663b9bc96636d51e7476aa862f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jj7me0zP1GlPd2fQz1N' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:31', '06cbe46340fc7d847abe7419130855ae2b8c22bcf1454cd085b0224543221f56d5858c6069e5d26c8750adafb0d707101d8854205d9e4feeb6f6abab88442a61', '2012-12-22 18:42:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:31', 'testuser', 1, 'rkrhCSUI1pxnpvuc6ho3', '5RnGwMUbXHSnSGCEXjve', '97a1bba1a07cdc32a7017daf831250d737680f838cff50be169900d1b6c655b19ecbfb6e4b54a9c3f53805c29efde97b17dec4663b9bc96636d51e7476aa862f', 'jj7me0zP1GlPd2fQz1N', 1, NULL, '2012-12-22 18:42:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hZhL6HRzOgQ1yx3B83l', `updated_at` = '2012-12-22 18:42:31' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:31', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2012-12-22 18:42:32', `perishable_token` = 'IRkkrlZVWcGXN396jW', `updated_at` = '2012-12-22 18:42:32' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiry Load (0.1ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 8ms (ActiveRecord: 1.3ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[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 '00aaa2744a1d28760cf06e79e2a63ff7ff3849723a571c648e0fbc911289d5d6983a88d9c0058b193bfb54586c1909c8ad481433f8f82aa68c242980f0a7f2ed' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ldErYjJyOe90WLt2OR' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:32', '2ad841ac4e0d2e114b66980ce8f2589852c8e9f46142aa7f40efa9befe391498b0f26a8411ff026d8eda4373f3e09750f9553d4fd4711c7ad11198b472edeacf', '2012-12-22 18:42:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:32', 'testuser', 1, '9jIEq4pufrR15zEaEpO', 'd2JrXQVFmVDxs84mjv', '00aaa2744a1d28760cf06e79e2a63ff7ff3849723a571c648e0fbc911289d5d6983a88d9c0058b193bfb54586c1909c8ad481433f8f82aa68c242980f0a7f2ed', 'ldErYjJyOe90WLt2OR', 1, NULL, '2012-12-22 18:42:32')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MLyP9lD3FGCTEe8A3k', `updated_at` = '2012-12-22 18:42:32' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:32', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:32')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[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` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5f4b0ea1d71088fe99a0630c2d9f07ec012aa6bcf6cd2e483cfd6a8aa053d738d4901bd2c71cf84cd565565d68d601f3e4d23ee2591c33cf408bd7500e3f0b5e' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NJPBBufItWAP4yazdFd' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:32', '485c925eac31a1cb4414f190d58902dd1cf0808e2d0b5a497f4ea95745d7683572851e88668053e29f9353957027fa1a4560471f294f1c7fb7eccd6e960d8d55', '2012-12-22 18:42:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:32', 'testuser', 1, 'vZJmATtGQ3xaNCpoD8E', 'WuQspSYGI4VHyuTrWTZ', '5f4b0ea1d71088fe99a0630c2d9f07ec012aa6bcf6cd2e483cfd6a8aa053d738d4901bd2c71cf84cd565565d68d601f3e4d23ee2591c33cf408bd7500e3f0b5e', 'NJPBBufItWAP4yazdFd', 1, NULL, '2012-12-22 18:42:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Td46k1oC9hNKqjCpMlr', `updated_at` = '2012-12-22 18:42:32' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:32', 'Form 7', NULL, NULL, '2012-12-22 18:42:32', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:32', 'Form 8', NULL, NULL, '2012-12-22 18:42:32', 'form-8')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '320f049c84c9f987574e775f2ed324cfce917fe59b3af47820c033f4eca06878cda3c0e6d4f9feed55a98ecb020a0bc7dead6e472d461e13d15dbffea305b81b' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FL7Y7F7a3WvmmQoMjl7' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:32', '2336842bad5f645a4281e4bb1b2684e927ba382796961b6c4298cda6647c5059ea409c7018e7698e1c10378c8587004da2238ebe126c5bc6bd1b70486464e3d2', '2012-12-22 18:42:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:32', 'testuser', 1, 'O4gD9u6aDd1Muig0a03', '84OxQzlpzSYpGcZa00FJ', '320f049c84c9f987574e775f2ed324cfce917fe59b3af47820c033f4eca06878cda3c0e6d4f9feed55a98ecb020a0bc7dead6e472d461e13d15dbffea305b81b', 'FL7Y7F7a3WvmmQoMjl7', 1, NULL, '2012-12-22 18:42:32')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:32', `last_login_ip` = '0.0.0.0', `perishable_token` = '8R72uGu96wWtbA4q3KPw', `updated_at` = '2012-12-22 18:42:32' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.3ms)
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '070684750153c8c9f397a6828cb49b2ec7159e9914cf82494db9c4f75ca601afbb9e643951473f04f74001e3f06878e3d3c647cd103f3bcf0fdec56f1650f9d0' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gcvW7f5NsNAYBOpEbL' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:32', '60b282a46b387c902b723c8bcdece3e283ccf2c062f975f339f81f7d3f1866c025caf1b6e4c607a73b38947177f3e86706ceba307827a9c00f6a7111a5561641', '2012-12-22 18:42:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:32', 'testuser', 1, 'mXws95duJ4z742QJfOz8', 'lVzv9Xb1wyql0evLBtt', '070684750153c8c9f397a6828cb49b2ec7159e9914cf82494db9c4f75ca601afbb9e643951473f04f74001e3f06878e3d3c647cd103f3bcf0fdec56f1650f9d0', 'gcvW7f5NsNAYBOpEbL', 1, NULL, '2012-12-22 18:42:32')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'tofyNVEKU80CCUSVKOsP', `updated_at` = '2012-12-22 18:42:32' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 9"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:32', 'Form 9', NULL, NULL, '2012-12-22 18:42:32', 'form-9')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (1.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '83d5ad3eec296ebb10532d9d0e4dd9fcead6f13fdfa17308b721dfdfe57120c46a0d9bcebba62b32300dce3704e4a6deddbd45c7f9fe0df4bfbf692490191ac7' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8fnjO2yuZHZpbW9dRJ29' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '4e98f51fdd5bc14e680f6ab38d097adf679262e25522a7e2852f5c58327689c224486ce10b6ee1c72bbb068228429024f06c2dfaae9b9996158d84cb2260978d', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'IEvCTTf149UBPfHgR7rI', 'GKwdpGhcTZzc3Xcj5l9K', '83d5ad3eec296ebb10532d9d0e4dd9fcead6f13fdfa17308b721dfdfe57120c46a0d9bcebba62b32300dce3704e4a6deddbd45c7f9fe0df4bfbf692490191ac7', '8fnjO2yuZHZpbW9dRJ29', 1, NULL, '2013-06-27 12:54:21')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd9a7f4904b24efb16fbcfe21fa41eb9e4e9aa31f3e801d104243a5a79cc751073ae537d295fce60332eaf1629e653bc2feafd29eb37734e83f1275f3bc60e6ed' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OepEWOv0WDyX5fDc9ReA' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:32', '4a119ed1cfdbbf8b023456a30b8d89a30eed79d7da72c9ec9432915d18400e1ea7927d5a4d60da9a363bea7168ac6e89a3f2b24505a30e53c0d39f69f8774035', '2012-12-22 18:42:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:32', 'testuser', 1, 'xIGfV3rneTuemur8pba', '39VITzJdeceIx9xzyUP', 'd9a7f4904b24efb16fbcfe21fa41eb9e4e9aa31f3e801d104243a5a79cc751073ae537d295fce60332eaf1629e653bc2feafd29eb37734e83f1275f3bc60e6ed', 'OepEWOv0WDyX5fDc9ReA', 1, NULL, '2012-12-22 18:42:32')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gFLixnoa03QHSZUIz3x', `updated_at` = '2012-12-22 18:42:32' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 9 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [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_2[0m
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'xCjYF04Z5ClJ2iZCQZIc', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 3
+ [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.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1f442b65ae5b1c7dac695e810eafb2bb2a6e9c1f1e385aeeb50837c99526a9009e704fda8a28dae260f6b82f729068873bd17a506df920293295485cba668bf3' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'A7E98JBaBECDpnIMjsiX' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:32', 'a396835f0a1d7911e04024ba52059f7da8c5c06e668416e045f03f6575dbc6d8eef0737c5eea1c691eb2a169c3ba47dd5217554ac26dcd3bc62965f7e66d1e6b', '2012-12-22 18:42:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:32', 'testuser', 1, 'wTkk7AKipQyfoxrfV30', '1nVj0ifzExlJd06sQ69', '1f442b65ae5b1c7dac695e810eafb2bb2a6e9c1f1e385aeeb50837c99526a9009e704fda8a28dae260f6b82f729068873bd17a506df920293295485cba668bf3', 'A7E98JBaBECDpnIMjsiX', 1, NULL, '2012-12-22 18:42:32')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'icBByZNehQdmCVazemi', `updated_at` = '2012-12-22 18:42:32' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:32', 'Form 10', NULL, NULL, '2012-12-22 18:42:32', 'form-10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:32', 'Form 11', NULL, NULL, '2012-12-22 18:42:32', 'form-11')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"11"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '00a5d53c2c0cdc9721461f3dcfe2a9e81e76956b1a87b478123f433398fc2eea31320deac9a6c75473d4453f359a4b308f47e0a25e08d8870b5fd7e5680a4d0b' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XL0Dvn1NZdVoAfjHdMp' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:32', 'ca3fbda84c81c41b39d4d8c0d5d6fb5cb3dd4ef36a63f8b28df90f29bba48673a7f4126d4ee9f5d35d11a346e54526c5a34a392d8f2e98f0101def23cf1eb37e', '2012-12-22 18:42:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:32', 'testuser', 1, '3Sihq34oDRU7zYH0GC1d', 'CiJmEDBw16lpPmWVBc49', '00a5d53c2c0cdc9721461f3dcfe2a9e81e76956b1a87b478123f433398fc2eea31320deac9a6c75473d4453f359a4b308f47e0a25e08d8870b5fd7e5680a4d0b', 'XL0Dvn1NZdVoAfjHdMp', 1, NULL, '2012-12-22 18:42:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:32', `last_login_ip` = '0.0.0.0', `perishable_token` = '2CYtA5My9huxVPfFo', `updated_at` = '2012-12-22 18:42:32' WHERE `spud_users`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 'dcbf4a71c1df1dd2aa91ec0f987f6d7f97db7588c36e00e3d28f7ee7db13bfdfe49651dae37302901bb0a4ea0251563793447be01b96db2dfb03ee67ec798adc' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nArRGbidX36HXc9VyZ4n' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:32', '5e0e8645319d172ff95c2ef1eed3cc940668cba99987637a3859f2ed6c2fd929e65963f6bb33a7237ea516c19d38da286e336df5e8c56d103ea6e76f3f99f962', '2012-12-22 18:42:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:32', 'testuser', 1, 'ExdNhr7yUBWDvTCRbA3', 'RxcSPrcJR4fzSwnSmbH', 'dcbf4a71c1df1dd2aa91ec0f987f6d7f97db7588c36e00e3d28f7ee7db13bfdfe49651dae37302901bb0a4ea0251563793447be01b96db2dfb03ee67ec798adc', 'nArRGbidX36HXc9VyZ4n', 1, NULL, '2012-12-22 18:42:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'O2zD56evP4ne9fBDdTgB', `updated_at` = '2012-12-22 18:42:32' WHERE `spud_users`.`id` = 12[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:32', 'Form 12', NULL, NULL, '2012-12-22 18:42:32', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"12", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:42:32 UTC", "updated_at"=>"2012-12-22 18:42:32 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` != 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 'myform' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:42:32' WHERE `spud_inquiry_forms`.`id` = 12[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1[0m
+ [1m[35m (1.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '2da883ed83b67c516ca04a1c41fd09b3be7154be30ecf5005c213934ba1756c3d66000d5b863cf158165eeefca9335aab30ff01036d067136160122b65f18f77' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '968XBJLppjxh8Coj2rz' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:32', '2a407b926ba0ee428a0b46f86c34c2b2805999ea0885a58f0c62eeb34cccff9d8e599079bd7a6fa6d6a7c4acfe17feb694bb3522e3b330945ba3d55a0d338459', '2012-12-22 18:42:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:32', 'testuser', 1, '9AzqOKvEoIfVVJkLBIGB', 'CryfEjfzrOLNb1nwqTe', '2da883ed83b67c516ca04a1c41fd09b3be7154be30ecf5005c213934ba1756c3d66000d5b863cf158165eeefca9335aab30ff01036d067136160122b65f18f77', '968XBJLppjxh8Coj2rz', 1, NULL, '2012-12-22 18:42:32')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'DpYYaetbOsD5JBZsk4B', `updated_at` = '2012-12-22 18:42:32' WHERE `spud_users`.`id` = 13
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:32', 'Form 13', NULL, NULL, '2012-12-22 18:42:32', 'form-13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"13", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:42:32 UTC", "updated_at"=>"2012-12-22 18:42:32 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-13"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 13' AND `spud_inquiry_forms`.`id` != 13) LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'form-13' AND `spud_inquiry_forms`.`id` != 13) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'abf2fbdd93f9ac8762e084153321f44ca0192589369baed34a89faa8cb279a43d0c705568c86c066123de0b43a82656ab5b5e7112a990f450e5b8674fc26e96d' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hH5xMbjyotFr2gZVPJa' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:32', '0aca274140e96b9dc934e078fa1f2f56273c0721973214bded1c87b3661a70780540f1b579e9875ff906be4143d8b99810ceba7237bdc95debf3ef3a2c413795', '2012-12-22 18:42:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:32', 'testuser', 1, 'TDnqemW2ZCM6Np9Z5z', 'Dh5GYwwUZ2CtcXbDG44t', 'abf2fbdd93f9ac8762e084153321f44ca0192589369baed34a89faa8cb279a43d0c705568c86c066123de0b43a82656ab5b5e7112a990f450e5b8674fc26e96d', 'hH5xMbjyotFr2gZVPJa', 1, NULL, '2012-12-22 18:42:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'XY9k73eoXgabQjr1q31', `updated_at` = '2012-12-22 18:42:32' WHERE `spud_users`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:32', 'Form 14', NULL, NULL, '2012-12-22 18:42:32', 'form-14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"14"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 14
+ [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` = 14 ORDER BY field_order ASC[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'dd81ad1d97405d0dde5722d1db2ac82def872b51b6d3567c63b9d8fa3157467c4a9600a6c0eb3054990ae1eadf8ad11ab1455891cc11b25a49b523e986e4697a' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UWxFKwU9dIRUfcBrOe7P' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:42:32', 'ddb85628cf4f9ddd505a3b32a7f77171d905dc8cefa7ca41da175a62a24bb4a71ce0e7f220fd0e359812d4232aa66b12d0f252ba9f885b793ad043f1e3a36d0e', '2012-12-22 18:42:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:42:32', 'testuser', 1, '1kK8YUgyu6mLAajzhaQ', '7Lnu8Sk1f3OgfJP56q8S', 'dd81ad1d97405d0dde5722d1db2ac82def872b51b6d3567c63b9d8fa3157467c4a9600a6c0eb3054990ae1eadf8ad11ab1455891cc11b25a49b523e986e4697a', 'UWxFKwU9dIRUfcBrOe7P', 1, NULL, '2012-12-22 18:42:32')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:42:32', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VEhLQgTHXvGdhzYyK7U', `updated_at` = '2012-12-22 18:42:32' WHERE `spud_users`.`id` = 15[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:32', 'Form 15', NULL, NULL, '2012-12-22 18:42:32', 'form-15')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[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` = 15 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.3ms)
+ [1m[36mSpudInquiryForm Load (0.4ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:32', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' 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-16' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:32', 'Form 16', NULL, NULL, '2012-12-22 18:42:32', 'form-16')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:32', 'Form 17', NULL, NULL, '2012-12-22 18:42:32', 'form-17')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' 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-18' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:32', 'Form 18', NULL, NULL, '2012-12-22 18:42:32', 'form-18')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 19' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-19' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:32', 'Form 19', NULL, NULL, '2012-12-22 18:42:32', 'form-19')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:42:32', 'Test', NULL, NULL, '2012-12-22 18:42:32', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:32', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:32')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:42:32', 'email', 7, '2012-12-22 18:42:32', 'test@spudcms.net')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:42:32', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:42:32')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[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 (0.8ms)[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.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.6ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.0ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:23', 'Form 1', NULL, NULL, '2012-12-22 18:43:23', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 66ms (Views: 8.5ms | ActiveRecord: 5.1ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 2', NULL, NULL, '2012-12-22 18:43:24', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:43:24', NULL, NULL, '0', 'email', NULL, 1, 2, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 3', NULL, NULL, '2012-12-22 18:43:24', 'form-3')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:43:24', NULL, NULL, '0', 'email', NULL, 1, 3, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 4', NULL, NULL, '2012-12-22 18:43:24', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:43:24', NULL, NULL, '0', 'email', NULL, 1, 4, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 5', NULL, NULL, '2012-12-22 18:43:24', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:43:24', NULL, NULL, '0', 'email', NULL, 1, 5, '2012-12-22 18:43:24')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 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` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 2.1ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 6', NULL, NULL, '2012-12-22 18:43:24', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:43:24', NULL, NULL, '0', 'email', NULL, 1, 6, '2012-12-22 18:43:24')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"email"=>"test@test.com", "spud_inquiry_form_id"=>"6"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 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` = 6 ORDER BY field_order ASC, field_order[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[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 '391aab3b3b3f09306426c32f1472bc552bdb06db8f05a3af6d01db7ff400b2e8437701ba624a16c73c1fc6958e21d8bdc0780ba021090e8a6935b37cb6318c96' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KwbLyD890g7wMSk5TMUf' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', '8e865dcc47828234fbc46dfa73197e96f7dcff20533795136888583efabdd1b4f7f96bef6cd1c84c636ed07004648e8540c626d795b4ae953901c416d0223e2e', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, 'Kq6jlQrzt4sv9LHO5K4Q', 'lDXuXMYYBXCc4OQAweVB', '391aab3b3b3f09306426c32f1472bc552bdb06db8f05a3af6d01db7ff400b2e8437701ba624a16c73c1fc6958e21d8bdc0780ba021090e8a6935b37cb6318c96', 'KwbLyD890g7wMSk5TMUf', 1, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'WcYwDU2DVMZU0AkCJjw9', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:43:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:43:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:43:24')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 1 LIMIT 1
+Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '438b65bdd6650520d5ac03ddee3ca217af19ca1dd618c9a3cc9cc4f7af8b6f78ce9abd1a1817fb57f45e7a44db0c0825419ef4e3494d44f9bac647fe56d1d2ea' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ixzhhlDOYRMY9JroW8EU' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', '3fec933c45fc4b28d422bd04e5448cfb5d00cce2339f5e1749cb1120920d0b6bd971892e97bcdc22a66c25cfe8d310dc462d5382468d1afb2c9edf3cd7710de3', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, 'SdaeefOO5At9bHCaAV9', 'tAobmn9OLtqUHJJOzae', '438b65bdd6650520d5ac03ddee3ca217af19ca1dd618c9a3cc9cc4f7af8b6f78ce9abd1a1817fb57f45e7a44db0c0825419ef4e3494d44f9bac647fe56d1d2ea', 'ixzhhlDOYRMY9JroW8EU', 1, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'fHCAhIniW6vQtp66HJ', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:43:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '618347d072695aa67afba7fbe39f8ee2b69bcfd7b923fdd9f9f39fbe575c0283fa32c9a13af05515843705072cc9c81ab149ab404a03ffbe3f9f36ffb7a1acbd' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MMCNgzkiRTnKx8dI9Qkl' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', 'bdbb3e90826bea5c19738c21b53048cd3990596335d65800b58dc6851349b7cd5f08a6261ec7f8f7c434cdcb57e19348c55f5dcb0384f2d8ec064f87e4688c66', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, 'LINsg1284D7PUVXPYjL4', 'yNqrOmzQe2ydlToFuoR', '618347d072695aa67afba7fbe39f8ee2b69bcfd7b923fdd9f9f39fbe575c0283fa32c9a13af05515843705072cc9c81ab149ab404a03ffbe3f9f36ffb7a1acbd', 'MMCNgzkiRTnKx8dI9Qkl', 1, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'R5Ju9jVF2sdg14x9Id1U', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
- [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 LIMIT 1[0m
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.4ms)
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a15aa2dc85bdd750040cef04163d7657e85aae6cc5b70f07933ef77aa7a6b5d55edad12940db8083b6aa359b421071ac54169c7680f7a5da1c7ebe0eab42ad7e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Cr6cpR9CNOd3e0Esli6' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', '5b6d20228d43ad75ea78d875c190e5b9c7eecda5724d5946706178866e6ec19e63e32aed0e9d40c3af6e497763edce5daaf8aa86705c63bab24fa7d820157133', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, 'TN6DCXUllb19F34lXevt', 'OGCzAYj7NlPPAeMKTOqz', 'a15aa2dc85bdd750040cef04163d7657e85aae6cc5b70f07933ef77aa7a6b5d55edad12940db8083b6aa359b421071ac54169c7680f7a5da1c7ebe0eab42ad7e', 'Cr6cpR9CNOd3e0Esli6', 1, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iJj48B8yHp4K4QOpOfwK', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:43:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5be6716eca032e59bb2c518a3afa7e8ff87db21a731f17c4e58e7a3917057082dbe50c9f2eac7b2ec076e7fc6e63af4e4b43368dc8f1c9c44b5abb11e1295951' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BSd6E39Vd5G2camupOWG' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', '15a7fb7080d2f0a92b5cced3f17112a95437e81f5ea7176978953cde4d3e248c88bfddc6957b0bb70ddf317884e90283962ef4327d4383a45e8d318dc6c3aaeb', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, 'HDiWDaphMY3WEC2HUy52', 'TInnBEudcZAmuunOXXMw', '5be6716eca032e59bb2c518a3afa7e8ff87db21a731f17c4e58e7a3917057082dbe50c9f2eac7b2ec076e7fc6e63af4e4b43368dc8f1c9c44b5abb11e1295951', 'BSd6E39Vd5G2camupOWG', 1, NULL, '2012-12-22 18:43:24')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QzAc5BIe9Db0jjYkjNr', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:43:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:43:24')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
- [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.8ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '2b24d3c56097f1a215381691e9ebdfab2b16b1f8211ff8132c9416fb8ea4f945e6c81327f354b45e414639325488537f50100b4df6f039f26bce8291fe1d9729' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jma4XgyqVnUn3xLfy0g' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', '33779249ae799da97938329c2da6a09a0bd39fc5161ffefdb2651cd2c82ac7e374c76164d94a881a8ee54becdd9e4009ca8170f60cc3323c1d9a9c066df7f86c', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, 'xOY5CH1r1aN8aHnpMH', 'AEAzYlNDx4slZMrmOYw', '2b24d3c56097f1a215381691e9ebdfab2b16b1f8211ff8132c9416fb8ea4f945e6c81327f354b45e414639325488537f50100b4df6f039f26bce8291fe1d9729', 'jma4XgyqVnUn3xLfy0g', 1, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'xtDMMOxsoFk7sNaZZNvo', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' 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-7' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 7', NULL, NULL, '2012-12-22 18:43:24', 'form-7')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 8', NULL, NULL, '2012-12-22 18:43:24', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.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 'd274481c12722fb3c610b23a502135cd22ac5b5ec2776340787248ea7d34b8d60c02d839dbde812a91984ff4e919ea1c6b4c1e8a0235d5443c4e7b2ebc27e348' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iSwU67kjeRU86ARrbN2' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', '54cffd070590ee96043a24fcefbad530ef6c0169d7d5988bc5f0531fbbfdeda2fa1fe4440edc6b02212e43c89fe2cba22320e74682caafdd47c0c6d3f39ca749', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, '4OLMgbAYbKV9irQGVFPZ', 'PNkRqGAtci2gSdsycl', 'd274481c12722fb3c610b23a502135cd22ac5b5ec2776340787248ea7d34b8d60c02d839dbde812a91984ff4e919ea1c6b4c1e8a0235d5443c4e7b2ebc27e348', 'iSwU67kjeRU86ARrbN2', 1, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'u0EmECGoYYyJYYcY2Bwh', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a7bd7f92d57a35f63b5b4429ffa76fa434e409d81fb53b5d354d1a98b276fa32b9007531ced659c77c97bb5027ae26fcae8c1600aff5bb8c7bc630345d4e8e7c' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zN9WE6wpGSC7YHI0D' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', '05c034238afdb6509eb370f36b6ed4bc19acb912bac2bb5c37637288e68b80ffb923eb0a0c3b28c11081505753e521495f14c810f54351c79991b24357d11450', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, 'x0hoO1cSyWFQI1RcNcxA', 'mOUnNzc26Atyq43afH8Y', 'a7bd7f92d57a35f63b5b4429ffa76fa434e409d81fb53b5d354d1a98b276fa32b9007531ced659c77c97bb5027ae26fcae8c1600aff5bb8c7bc630345d4e8e7c', 'zN9WE6wpGSC7YHI0D', 1, NULL, '2012-12-22 18:43:24')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wgs3vifwBaMXLkgg800', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 8[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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"=>"Form 9"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 9', NULL, NULL, '2012-12-22 18:43:24', 'form-9')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 15ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9003908c2aa68224bf92979578496ada140cf28fc663ddf91a381f751bfc41a6b849d1fdb1ce096fe83539c2617a7c1ea484c2bbcc300323b4d8d0df56b8c5a8' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'orwQj6aPjVEQ8CwhKy5' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', 'a3654c316d15d9f2163ac14796f88b3bb20d19f73c88acbde8b280e134468ac2de84b6a67f71ef5642a429e92670491c8d975f58ffc1a8a2e4d25473bb5c914e', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, 'PUePFgS2JUn0mR1k5U', 'vPDP1oBhjs49woAgV4M', '9003908c2aa68224bf92979578496ada140cf28fc663ddf91a381f751bfc41a6b849d1fdb1ce096fe83539c2617a7c1ea484c2bbcc300323b4d8d0df56b8c5a8', 'orwQj6aPjVEQ8CwhKy5', 1, NULL, '2012-12-22 18:43:24')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Sye3fvnqpfp0oz7lhc6e', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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_2
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.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 'cdde7dabe8ad481f282584468ae55043e2a53072fe48a5008edf067ee6ecba0175fd6c5dc76f8b76a36cbf38f94dacf8d7b24305b328f5b1e192b5a2a47b9588' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dhgqzPZMc8U2tXy3hrs' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '465710f68c0a3ed62a016678337e553240e1285a0692df57797bdd3f76160f3ee86f0c59d395dea5c3d9f043edda1835319894cef4a9418affbfa10e91b1ab92', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'vRtbxgivf0c0zGQCbuC', 'pMBR6Mdi7N3keyu52I6', 'cdde7dabe8ad481f282584468ae55043e2a53072fe48a5008edf067ee6ecba0175fd6c5dc76f8b76a36cbf38f94dacf8d7b24305b328f5b1e192b5a2a47b9588', 'dhgqzPZMc8U2tXy3hrs', 1, NULL, '2013-06-27 12:54:21')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '538f94c2133c1d16876fe1b51dee612222027317e30dff5d1ab93e698ff2987e1e584451e0ae9542a344ec839ef2e47a7f96a55aa16be0540f9f3280d5f42330' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bH12POQvR28RQuYtT7MA' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', '7c1c8fba32b8d07a89dd4d2aabfe3ba232605e8cb32ba48ade3b7c509a7daa0c35fc49a04bfd660c445137d09466f9fcc8f1ff6dc6c0342237113460799719e8', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, 'k7oiNzXF5WTmuEEf1uE', 'knjtSCL50VwUJyMnpzu', '538f94c2133c1d16876fe1b51dee612222027317e30dff5d1ab93e698ff2987e1e584451e0ae9542a344ec839ef2e47a7f96a55aa16be0540f9f3280d5f42330', 'bH12POQvR28RQuYtT7MA', 1, NULL, '2012-12-22 18:43:24')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'tQD81S0IivPgjNvDHvf', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 10', NULL, NULL, '2012-12-22 18:43:24', 'form-10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 11', NULL, NULL, '2012-12-22 18:43:24', 'form-11')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"11"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.4ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.6ms)
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'a5ef15db36d3244d69508c902fe474266c3d9b9cfd81d6a27565d8a056101b4b6de55d482cd58ca9a2746f80cc57260121e80b6e0bcd2c207bdbe7e3652a424e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'GtSlFo0sy5rf8WkbMFzk' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', '9a9ae3579d83befcd190a61970407cbddae83f865666826a0dd9b4803388f348f4e922e6c6e75cce2a6ee2a3e3f8437346c7e5035465af7af0dcbd8efe97251e', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, 'RFHT6vIRj0HzZH0LhFuj', 'uE8YiikP8trWyqo0D1J5', 'a5ef15db36d3244d69508c902fe474266c3d9b9cfd81d6a27565d8a056101b4b6de55d482cd58ca9a2746f80cc57260121e80b6e0bcd2c207bdbe7e3652a424e', 'GtSlFo0sy5rf8WkbMFzk', 1, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'F1iPFCDqkDPr6RQZIBVi', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 4
+ [1m[35m (0.9ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ZyIGgcb6wQHSlwn7ti3', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 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.7ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '27789aab7a2b94cf6ff46e981347fd68027d3248a0d2e966a8486978c3716ab462cd6471b9147f980dcddf9867b0ee285639bde4805ad08d8f514e39edb51470' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hsUCbEdI3tmzUnEQhFoK' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', 'ab1f2642f1695273af0bb04c3e5a6bf321a27b96df52c960bacdce08c48072edece8f715840ab06aee06a2331b0b0837f4f36663c1d4a62be464ad016654a568', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, 'UsrFV6JTTeY6g0snGDO', 'W4P0q6ZqnxFfQAxiekd8', '27789aab7a2b94cf6ff46e981347fd68027d3248a0d2e966a8486978c3716ab462cd6471b9147f980dcddf9867b0ee285639bde4805ad08d8f514e39edb51470', 'hsUCbEdI3tmzUnEQhFoK', 1, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mxGj4knVCUJwlvpH2Li', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 12
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')[0m
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' 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-12' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 12', NULL, NULL, '2012-12-22 18:43:24', 'form-12')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"12", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:43:24 UTC", "updated_at"=>"2012-12-22 18:43:24 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_inquiry_forms`.`id` = 12
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (1.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '00cacf58fbfd70f35dc518793e57ebe9b1f8ee8af9f1583a9cb635b10022ae09db2896eeb91f60aff82b713e304cb08b3d1825b07e2da87697f5967b215579ef' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tVeGtiBMtgUBSHRypRgD' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', '72d9bd87b2bfeee54531db95a4b56c2140916369c50088a393ca4bb024eaa090f5a9a8ecb9d45e8fef142ab19b95d6333b38892575ba78346ae1c964447f48f4', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, 'uDSm9NItjCQMUXEmQzYf', 'FMOJlPxMRljcBZ9bW5U', '00cacf58fbfd70f35dc518793e57ebe9b1f8ee8af9f1583a9cb635b10022ae09db2896eeb91f60aff82b713e304cb08b3d1825b07e2da87697f5967b215579ef', 'tVeGtiBMtgUBSHRypRgD', 1, NULL, '2012-12-22 18:43:24')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = '4rbPN2lHPp1R8zERC4oO', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 13', NULL, NULL, '2012-12-22 18:43:24', 'form-13')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"13", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:43:24 UTC", "updated_at"=>"2012-12-22 18:43:24 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-13"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 13' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 13) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7725804f3be692a8ab50f0ca583368d0e1e7084014f244b3087b32b31b53b4a5162dd5eb6cb062cb4854a21f74dba935977eec733eb8119610b4eeb8efc3ea55' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NWFnLuFh2jEoOkt2LSw' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', 'ffa9c3946d7e9e8c04bdc5b5e30d5b855322774587ca9ba3ad9b2cea9069553f5c3d7be85d888c9ec30108bdec66b4709b2e47370d655eb3cdb1c93801de2d43', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, 'AYIdEihrefujpgzIl', 'xUQPiA0j3Eu58FL7e8TQ', '7725804f3be692a8ab50f0ca583368d0e1e7084014f244b3087b32b31b53b4a5162dd5eb6cb062cb4854a21f74dba935977eec733eb8119610b4eeb8efc3ea55', 'NWFnLuFh2jEoOkt2LSw', 1, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'WU5VFLVF2FyIaELjztEN', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 14', NULL, NULL, '2012-12-22 18:43:24', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"14"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 14[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` = 14 ORDER BY field_order ASC
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd28fe93ff5ce9e2b2dbf1f63e563f63c2ea79b37ae4accd45429508909d0b2eb448449e665123449f0e18c4e03ae892036c0bd2432bcd7e36715c02d684829e8' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wbqkNQXIfWFwdEndWzJ3' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:43:24', 'a3512f2ec3ada41bbc7e0ef552e913af96cdbefe8cec4e438a425bca0e7e223d718f964c89bbafc5931964763ac689597108239ad2adbca18483be722b5cb816', '2012-12-22 18:43:24', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:43:24', 'testuser', 1, 'xCDQowMuKDA7aNPXaMA', 'n1lk1NqDDKGpgHXezbG', 'd28fe93ff5ce9e2b2dbf1f63e563f63c2ea79b37ae4accd45429508909d0b2eb448449e665123449f0e18c4e03ae892036c0bd2432bcd7e36715c02d684829e8', 'wbqkNQXIfWFwdEndWzJ3', 1, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:43:24', `last_login_ip` = '0.0.0.0', `perishable_token` = 'L90eEKcNpM3bAFX5lQ7S', `updated_at` = '2012-12-22 18:43:24' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' 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-15' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 15', NULL, NULL, '2012-12-22 18:43:24', 'form-15')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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.7ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.2ms)
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:43:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 16', NULL, NULL, '2012-12-22 18:43:24', 'form-16')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' 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-17' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 17', NULL, NULL, '2012-12-22 18:43:24', 'form-17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 18', NULL, NULL, '2012-12-22 18:43:24', 'form-18')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 19' 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-19' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Form 19', NULL, NULL, '2012-12-22 18:43:24', 'form-19')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [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.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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:43:24', 'Test', NULL, NULL, '2012-12-22 18:43:24', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:43:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:43:24')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:43:24', 'email', 7, '2012-12-22 18:43:24', 'test@spudcms.net')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryField Load (0.3ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:43:24', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:43:24')
+ [1m[36m (0.0ms)[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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[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 (2.6ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (1.9ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.2ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.7ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (2.7ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:12', 'Form 1', NULL, NULL, '2012-12-22 18:44:12', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.1ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 68ms (Views: 8.8ms | ActiveRecord: 5.0ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:12', 'Form 2', NULL, NULL, '2012-12-22 18:44:12', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:44:12', NULL, NULL, '0', 'email', NULL, 1, 2, '2012-12-22 18:44:12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:12', 'Form 3', NULL, NULL, '2012-12-22 18:44:12', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:44:12', NULL, NULL, '0', 'email', NULL, 1, 3, '2012-12-22 18:44:12')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:12', 'Form 4', NULL, NULL, '2012-12-22 18:44:12', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:44:12', NULL, NULL, '0', 'email', NULL, 1, 4, '2012-12-22 18:44:12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:12', 'Form 5', NULL, NULL, '2012-12-22 18:44:12', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:44:12', NULL, NULL, '0', 'email', NULL, 1, 5, '2012-12-22 18:44:12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.4ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 1.9ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' 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-6' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:12', 'Form 6', NULL, NULL, '2012-12-22 18:44:12', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:44:12', NULL, NULL, '0', 'email', NULL, 1, 6, '2012-12-22 18:44:12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"email"=>"test@test.com", "spud_inquiry_form_id"=>"6"}}
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.4ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 6 ORDER BY field_order ASC, field_order[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_2[0m
+Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.1ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'f9e0f5c59e264d7b532e17d465b9bcdd8dfd190e54f2d74cc2def3fe075eb6b37274f598db38c20b5fb66d02e19f547e11f1b6996699b53cfef3265d9a300eeb' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uadC7tCbFoOx4uyZ9uO' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:12', 'be58a154a2c24609f3b54e7f01b665538717afc24b0315cb1c187cda254542b97270eb101255831395231af239fe885e8f301375de5303b88c9029c3b23d46ec', '2012-12-22 18:44:12', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:12', 'testuser', 1, 'EMD1oHcwrevi8lzeQR', '5Mq3agCHxzA6BIvygBf', 'f9e0f5c59e264d7b532e17d465b9bcdd8dfd190e54f2d74cc2def3fe075eb6b37274f598db38c20b5fb66d02e19f547e11f1b6996699b53cfef3265d9a300eeb', 'uadC7tCbFoOx4uyZ9uO', 1, NULL, '2012-12-22 18:44:12')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:12', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dgk6Evn3z3MYrzRhkS4', `updated_at` = '2012-12-22 18:44:12' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:44:12', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:44:12')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:44:12', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:44:12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
+Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.4ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e2478a349b57896c87ac1da4bb7ce7409744d6041f945eb1fae13f95a58d49096a4ea4117a059e545255a354d521a3f632fd476d2ba979e7698759d289981a0c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eQjqVVm7yuwU4EDK5ggF' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:12', '1ab041b98ea45335c95cd7364d87595a5f82616d54333d47ce9d510f607e696691397ab47217be395338a1e2f46e2e533966653c181ed390aa4eea6c803401fd', '2012-12-22 18:44:12', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:12', 'testuser', 1, 'BjmlqIt6Vjn58s3sPA0v', 'qpnyJ1ovSgfosZG9Xs8R', 'e2478a349b57896c87ac1da4bb7ce7409744d6041f945eb1fae13f95a58d49096a4ea4117a059e545255a354d521a3f632fd476d2ba979e7698759d289981a0c', 'eQjqVVm7yuwU4EDK5ggF', 1, NULL, '2012-12-22 18:44:12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:12', `last_login_ip` = '0.0.0.0', `perishable_token` = 'N1GdDpuDYG9R5gYc9OO', `updated_at` = '2012-12-22 18:44:12' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:44:12', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:44:12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.7ms)
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '06b96a733aa847cd35e82f9f740110ab38a838d49980d9fd09a4630ffe8d52eebbd841d24ea6f122237f89e79201fb25d2be9d705fe0e2d50a144a6dfb0d8b5d' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'CHe4eqwZZ3curLK0mCOD' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:12', '4676505dc204b11382c7fea305c9ee8376b09bc5627fb7edcb6492ba22c10ae7d39df00f9c26794e1e789531d9aa8232fccadc473950ae7c3b735ce4b55a9d49', '2012-12-22 18:44:12', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:12', 'testuser', 1, 'nOIV25ZzDcsvXOMG3rRX', '4RYjT93XPveTRA5UC', '06b96a733aa847cd35e82f9f740110ab38a838d49980d9fd09a4630ffe8d52eebbd841d24ea6f122237f89e79201fb25d2be9d705fe0e2d50a144a6dfb0d8b5d', 'CHe4eqwZZ3curLK0mCOD', 1, NULL, '2012-12-22 18:44:12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:12', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EGuooSAYuZ70wfljK0', `updated_at` = '2012-12-22 18:44:12' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.6ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[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 '90e82b09c4e9193a34c4920fb30ea0ae82ab29277d74c58352e57da3265df7d380f50acc0869466fef841d8718d1dd58c9f6d8ce34c3790d5d824eacc6ac85f4' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xu0fpp5BTCgpfThTuTgf' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:12', '802b7414fee249c8338138882bd5bc2058c9034f3f3aadc954b32c1279036768bd18078bfe23d42f2423cdff49e032d84f632a6a9e2f4e667166545ad581e95e', '2012-12-22 18:44:12', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:12', 'testuser', 1, 'JPZZXwMDb7vlz0L442r', 'VA2BupNvT6b5TOKlBbq', '90e82b09c4e9193a34c4920fb30ea0ae82ab29277d74c58352e57da3265df7d380f50acc0869466fef841d8718d1dd58c9f6d8ce34c3790d5d824eacc6ac85f4', 'xu0fpp5BTCgpfThTuTgf', 1, NULL, '2012-12-22 18:44:12')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:12', `last_login_ip` = '0.0.0.0', `perishable_token` = 'nrRyW43v6YBHYqdsYg3r', `updated_at` = '2012-12-22 18:44:12' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:44:12', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:44:12')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
Processing by Spud::Admin::InquiriesController#destroy as HTML
Parameters: {"id"=>"4"}
[1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
- [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
[1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
Redirected to http://test.host/spud/admin/inquiries
-Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
+Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fe659d7462b9f8ce6813b2e7ab8dec4ab761f3d79770a090c9f9e30451186a2d4ee49dfe8679ddd6863fe099cf2914e3a9450d03a348cb6fa0d23f3bbabef609' LIMIT 1
- [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'n7DB9YoDssrKiCYt2H' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '93eefff9b64c0ef740585d072e799184e7dfa017e855c4801db6a4c72ef690b33f5583d8500d4dbdc5e9b16e78146634fcdd67b54badfc693f003704d5a962c3', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, '7epBflks38DDpX3gqac', '58n3YaXqGFdOKGVappz', 'fe659d7462b9f8ce6813b2e7ab8dec4ab761f3d79770a090c9f9e30451186a2d4ee49dfe8679ddd6863fe099cf2914e3a9450d03a348cb6fa0d23f3bbabef609', 'n7DB9YoDssrKiCYt2H', 1, NULL, '2013-06-27 12:54:21')
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hkXNqoKoTM2AS7X3c7z', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 5[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6c83732b4efc97d2a99ef75a1e56e2946a4bb2e2f85538c938c454744f508f38c8b375f2b1132e2ecc240dd01a41d96942f9a7d3b4517a190d439d99488efc49' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KpW32EXy2qLuybp4fsQ' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:12', '80d0538ae503d914b3e40038506ab228fcf8e6e88bd180368e4451f79259c07e667fb26cbcc9a1f5b89fb366e18c40cfb8a191bd71cd5f971f875aef32af2787', '2012-12-22 18:44:12', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:12', 'testuser', 1, '5yropjG2Apk8cd3tM', 'P4Rm6KJanYECdykr6s', '6c83732b4efc97d2a99ef75a1e56e2946a4bb2e2f85538c938c454744f508f38c8b375f2b1132e2ecc240dd01a41d96942f9a7d3b4517a190d439d99488efc49', 'KpW32EXy2qLuybp4fsQ', 1, NULL, '2012-12-22 18:44:12')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:12', `last_login_ip` = '0.0.0.0', `perishable_token` = 'G4QVE2EgcP4eHXa6mjH', `updated_at` = '2012-12-22 18:44:12' WHERE `spud_users`.`id` = 5[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:44:12', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:44:12')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[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` = 5 LIMIT 1[0m
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
[1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
Redirected to http://test.host/spud/admin/inquiries
Filter chain halted as :load_inquiries rendered or redirected
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
[1m[35m (0.6ms)[0m ROLLBACK
- [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.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 'd07f39a9c6ab3140cb83642bcbf211799d2d183cd7aae64368c407e7a6050b9810eb55ec2a6b37bbe2612899942908d4593a9bd2f007b361c588bed032406ea5' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kQ3vBVgSfpnuM4lbQsFJ' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', 'f35361666c74baef39e2cf042bd0689ce4ffaa1b395670287d2edd9036916605b05d8183f7a1f51d03d7abb33a05bf0366ec4d5c41934b2b8629cebf3a9e7bb3', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'XFvZWGFnWp8ljoceSN9I', 'oGmAqzU5OlMDCUKxrKtT', 'd07f39a9c6ab3140cb83642bcbf211799d2d183cd7aae64368c407e7a6050b9810eb55ec2a6b37bbe2612899942908d4593a9bd2f007b361c588bed032406ea5', 'kQ3vBVgSfpnuM4lbQsFJ', 1, NULL, '2013-06-27 12:54:21')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '226a0c272332bd692e9a67874e82d04969a5397381e5b79df774ff9a804af16408648b510c326854fd9331621483c80615b71f4519c54ed8289866a539aee89e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'pASjRk9OhBs4PWNOXo' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:12', '5219ac8da2c46b46cea581bc55ab3e2f406bb8db3dbf3e5f60633d5c00777c078bea20732400361a776182ee1ab84483160b8c868378277b50d37ddf4754cd2c', '2012-12-22 18:44:12', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:12', 'testuser', 1, 'kUomNtOWn6bVmXdsBoka', 'wOPsDHftxzgUzkRtzW', '226a0c272332bd692e9a67874e82d04969a5397381e5b79df774ff9a804af16408648b510c326854fd9331621483c80615b71f4519c54ed8289866a539aee89e', 'pASjRk9OhBs4PWNOXo', 1, NULL, '2012-12-22 18:44:12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:12', `last_login_ip` = '0.0.0.0', `perishable_token` = 'i643MMNWLT4Tbp7QrQm', `updated_at` = '2012-12-22 18:44:12' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' 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-7' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:12', 'Form 7', NULL, NULL, '2012-12-22 18:44:12', 'form-7')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:12', 'Form 8', NULL, NULL, '2012-12-22 18:44:12', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
+Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'bf9f2eda600c44cd06118934d72b41154c11187fc21e7eea4f0ba2649967af273512a3b1ef6a07fc02f571edda44c65a1894e10fbb1637a280da0ea3fa75f3de' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0YaDHxxNEIE5lbhy9n' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:12', 'c018856c6299f84583857cd0ef15c3b14299dfefc35c3fc16744cf5412abfc5b6ccebee6141c94fae1fc7fd2519bfaefa8830a17bdb3c56c6f5c76c0434e3ffc', '2012-12-22 18:44:12', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:12', 'testuser', 1, 'gpgKXeqFwu2OIBqieDFN', 'nYJ7QDHUhNLNT3fC6rbH', 'bf9f2eda600c44cd06118934d72b41154c11187fc21e7eea4f0ba2649967af273512a3b1ef6a07fc02f571edda44c65a1894e10fbb1637a280da0ea3fa75f3de', '0YaDHxxNEIE5lbhy9n', 1, NULL, '2012-12-22 18:44:12')[0m
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gEsgQHz8g4dT75KHkT', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 6
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:12', `last_login_ip` = '0.0.0.0', `perishable_token` = '2k6yaN96KTZYmyiZuG4', `updated_at` = '2012-12-22 18:44:12' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
+Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '67f11eecb279a1c286f69a3a6942fac02f9c2209b17bf3a6ba771a54d0b9506fbb4d73b241b415426b8bfac2b721eeff500b8c0d6b641eafe27611bd3de4b469' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '3hvL0VTWqurvOcjXHoWL' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:12', '9220457a44b2f9cf1152f697da34534a1b5d0ec277f478dfbe9d097da57a39af133e718973c4c4cdcb2c949376bb2a59e14b979ea0ae60d2e38ffd01ad973771', '2012-12-22 18:44:12', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:12', 'testuser', 1, 'JkuPkc48324LSKf7MPLT', 'CkgZTPJ0CW0XonXfP2ff', '67f11eecb279a1c286f69a3a6942fac02f9c2209b17bf3a6ba771a54d0b9506fbb4d73b241b415426b8bfac2b721eeff500b8c0d6b641eafe27611bd3de4b469', '3hvL0VTWqurvOcjXHoWL', 1, NULL, '2012-12-22 18:44:12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:12', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ikz4mK5t8nFVZYOV7XSj', `updated_at` = '2012-12-22 18:44:12' WHERE `spud_users`.`id` = 8[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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"=>"Form 9"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:12', 'Form 9', NULL, NULL, '2012-12-22 18:44:12', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1ae9e262e9f30b8ed5ed4ebe2390bc928ec94d61aafc471aabe5d69924c077e26994f8ef5b76024e66a4949e6493a96e36fd4e53cef12cbea4c3eff55050f617' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eJak7fc3q2l0AXJK2aTN' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:12', '5a7c39e353e957086d42e81c748e4f00f702346bb1dd263b84b7da20a096e1be193e90a558a7cb6914bcfb89bc236125112be8fb299c07714856c2a9d96225b2', '2012-12-22 18:44:12', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:12', 'testuser', 1, 'R0gjwOgGIy6GtDCEJzwo', 'QQiHtEauhzgvQvVtoRm8', '1ae9e262e9f30b8ed5ed4ebe2390bc928ec94d61aafc471aabe5d69924c077e26994f8ef5b76024e66a4949e6493a96e36fd4e53cef12cbea4c3eff55050f617', 'eJak7fc3q2l0AXJK2aTN', 1, NULL, '2012-12-22 18:44:12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:12', `last_login_ip` = '0.0.0.0', `perishable_token` = 'doJf9urASGtnsHiaPUON', `updated_at` = '2012-12-22 18:44:12' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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_2
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ae131499850b1591d77d9e5e0e106276dbefce8ddf92db7fa81c3220b8b31b20ffca6f40e060709f125fa5d5ffb1fb89e094e7ec57105dff08ba4514d71d818c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'RCt6pziBG8G3DE8J0Lt' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:12', '6289b285eaaa7bc8f0dac01948b5bf0be40399ca2cef40906133abb75241c34808ff879181e7c2adb99506cccd029b67e06c4b32ef54bd450bd13da1ac7d893b', '2012-12-22 18:44:12', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:12', 'testuser', 1, '09zEMuXYlWSHaKwgVe', 'ctxYFolYcNEyt1uzDtLl', 'ae131499850b1591d77d9e5e0e106276dbefce8ddf92db7fa81c3220b8b31b20ffca6f40e060709f125fa5d5ffb1fb89e094e7ec57105dff08ba4514d71d818c', 'RCt6pziBG8G3DE8J0Lt', 1, NULL, '2012-12-22 18:44:12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:12', `last_login_ip` = '0.0.0.0', `perishable_token` = 'P6K0aprupI1P2rlfVUiQ', `updated_at` = '2012-12-22 18:44:12' WHERE `spud_users`.`id` = 10
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 6', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-6')[0m
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:12', 'Form 10', NULL, NULL, '2012-12-22 18:44:12', 'form-10')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 7', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-7')
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:12', 'Form 11', NULL, NULL, '2012-12-22 18:44:12', 'form-11')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
-Processing by Spud::Admin::InquiryFormsController#index as HTML
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
-Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.3ms)
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"11"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.6ms)
+ [1m[35m (1.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c25e5bdf6fed34648b0c34a6f070478e1ecbba4c0d786a1bbc6d2fd9eace560cbe08f0b815c75575c544192bda8f5f9232e238cd0319b1108a8bffb5be392e7a' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'L7qcbxnHPmS21042WDlP' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:12', '0256e14f313d8c98f132f567482dfb80dbbdcf13868a6a7c96f254efbb614fec1c1ded739a9a09deb8cacb82902bcc18672ddd2501809ca11ad80053109e4960', '2012-12-22 18:44:12', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:12', 'testuser', 1, 'aQuEPgkA6F4irbMBYvR4', 'h6DQsqiga1qZ4ZqZCLaC', 'c25e5bdf6fed34648b0c34a6f070478e1ecbba4c0d786a1bbc6d2fd9eace560cbe08f0b815c75575c544192bda8f5f9232e238cd0319b1108a8bffb5be392e7a', 'L7qcbxnHPmS21042WDlP', 1, NULL, '2012-12-22 18:44:12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:12', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ECJ2ZPc0I2AFsnBsvdyV', `updated_at` = '2012-12-22 18:44:12' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 11 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 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 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[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 'fd3cb295f0c0dad9df23eeb1f5c3fc26254ddc5576024d99cb9e46ea45caff94f0c5ece4712e318fdd14e0ff524a12ae63fc155364f2ce1542f8a08a8707e80c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8doXhh3vh8GPJgm0WQv' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:12', '4c19c3ae4941c189dd9a702ba4348d327588f1f9a1c875b27013a970add4e770f0d24960e182f78903eeb8831ef154d085e5bdf6fa0d6e1588a6ec8fb1a7e8fe', '2012-12-22 18:44:12', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:12', 'testuser', 1, '8P8JD4KtC1PkKsKEH', 'vc5E0pHu6QQ4RDzFblg', 'fd3cb295f0c0dad9df23eeb1f5c3fc26254ddc5576024d99cb9e46ea45caff94f0c5ece4712e318fdd14e0ff524a12ae63fc155364f2ce1542f8a08a8707e80c', '8doXhh3vh8GPJgm0WQv', 1, NULL, '2012-12-22 18:44:12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:12', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ySTFYGKnKTf27QCgLDDY', `updated_at` = '2012-12-22 18:44:12' WHERE `spud_users`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' 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-12' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:12', 'Form 12', NULL, NULL, '2012-12-22 18:44:12', 'form-12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"12", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:44:12 UTC", "updated_at"=>"2012-12-22 18:44:12 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 12) 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` != 12) LIMIT 1[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:44:12' WHERE `spud_inquiry_forms`.`id` = 12
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 14ms (ActiveRecord: 0.0ms)
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '67fe30f4c7b3babf06c6ea1d3e472023c2cf88393d3790d5a69a99937d4f168b46fd155e172054895f67e989231d845a4daa3bb907ab2b114e082655ffd84eec' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'U88RnvoOieacfzB9ukFJ' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:12', '4035ad3ecbd71d977a44c1a521d58be3f962f31f4d581a69fe3f97a343b5e8f19537dbb62f8735a94b3d56f09b2399ec1c95aa1151c689bd652a10013f6dde3d', '2012-12-22 18:44:12', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:12', 'testuser', 1, '4OEiUFaXhNc2BdWDUNk', 'pq4xmuluKaxptIsmrIsn', '67fe30f4c7b3babf06c6ea1d3e472023c2cf88393d3790d5a69a99937d4f168b46fd155e172054895f67e989231d845a4daa3bb907ab2b114e082655ffd84eec', 'U88RnvoOieacfzB9ukFJ', 1, NULL, '2012-12-22 18:44:12')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:12', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ZIf3XbDx8d69StsFdPt', `updated_at` = '2012-12-22 18:44:12' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:12', 'Form 13', NULL, NULL, '2012-12-22 18:44:12', 'form-13')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"13", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:44:12 UTC", "updated_at"=>"2012-12-22 18:44:12 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-13"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 13' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 13) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
+ [1m[35m (1.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '7cafb741a7faf3855ef4fc0db062c1aae9b4aa618ec31e384bcd90d8bfca719184684b43015189aaccd0e8aa27fee56971b9acf0ece86011cc1bcf093f38a35f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kac5GueqNzAazL379uMq' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:13', 'f3b84960500df044fd4a10ada85bd3e31af19efe541ef730eb42f5fe57fc6abe3c3dba265091094069aef18741b7b188202b7dc9a4472bac6568b5cd93ae0613', '2012-12-22 18:44:13', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:13', 'testuser', 1, 'i2LhLO5yCQaWtzwq7N71', 'HFdLl0JPzu7qtENbgPD0', '7cafb741a7faf3855ef4fc0db062c1aae9b4aa618ec31e384bcd90d8bfca719184684b43015189aaccd0e8aa27fee56971b9acf0ece86011cc1bcf093f38a35f', 'kac5GueqNzAazL379uMq', 1, NULL, '2012-12-22 18:44:13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:13', `last_login_ip` = '0.0.0.0', `perishable_token` = 'P9xGaFbyrteer9zPzzPR', `updated_at` = '2012-12-22 18:44:13' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:13', 'Form 14', NULL, NULL, '2012-12-22 18:44:13', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"14"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 14[0m
+ [1m[35mSpudInquiryFormField Load (0.3ms)[0m SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 14 ORDER BY field_order ASC
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e70ec79586d3d4eec9d23347df939aad3a396373220e14ab4e8ed56c46b4d6f1bfbafe63aeaf5e417c1be189b63fc7d76b113e70ac4c436efffaf0045fe0c93c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'J37vLIjTA5i7RBPH6e' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:44:13', '6fec1178e4f3fe87ebb37f54c43909b18378b446f5df9dbe49d4c12e388da1fd5dae89cfa80982a1f17468ba36065146b7486f3aab0d65ad9d2ac165ccfcee29', '2012-12-22 18:44:13', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:44:13', 'testuser', 1, 'DvDPN6J4lre4RkmI2y6I', 'VM0KALInUBD1Bv6VKXA', 'e70ec79586d3d4eec9d23347df939aad3a396373220e14ab4e8ed56c46b4d6f1bfbafe63aeaf5e417c1be189b63fc7d76b113e70ac4c436efffaf0045fe0c93c', 'J37vLIjTA5i7RBPH6e', 1, NULL, '2012-12-22 18:44:13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:44:13', `last_login_ip` = '0.0.0.0', `perishable_token` = 'SFxsWVPXrk4azIfBzFL', `updated_at` = '2012-12-22 18:44:13' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:13', 'Form 15', NULL, NULL, '2012-12-22 18:44:13', 'form-15')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[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` = 15 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:44:13', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:44:13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:13', 'Form 16', NULL, NULL, '2012-12-22 18:44:13', 'form-16')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' 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-17' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:13', 'Form 17', NULL, NULL, '2012-12-22 18:44:13', 'form-17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:13', 'Form 18', NULL, NULL, '2012-12-22 18:44:13', 'form-18')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 19' 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-19' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:13', 'Form 19', NULL, NULL, '2012-12-22 18:44:13', 'form-19')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:44:13', 'Test', NULL, NULL, '2012-12-22 18:44:13', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:44:13', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:44:13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:44:13', 'email', 7, '2012-12-22 18:44:13', 'test@spudcms.net')
+ [1m[36m (0.2ms)[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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:44:13', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:44:13')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryField Load (0.9ms)[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.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.4ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.7ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.2ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.4ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.0ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:36', 'Form 1', NULL, NULL, '2012-12-22 18:45:36', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"form-1"}
+ [1m[35mSpudInquiryForm Load (0.5ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 67ms (Views: 8.6ms | ActiveRecord: 5.5ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:36', 'Form 2', NULL, NULL, '2012-12-22 18:45:36', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:45:36', NULL, NULL, '0', 'email', NULL, 1, 2, '2012-12-22 18:45:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:36', 'Form 3', NULL, NULL, '2012-12-22 18:45:36', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:45:36', NULL, NULL, '0', 'email', NULL, 1, 3, '2012-12-22 18:45:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:36', 'Form 4', NULL, NULL, '2012-12-22 18:45:36', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:45:36', NULL, NULL, '0', 'email', NULL, 1, 4, '2012-12-22 18:45:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:36', 'Form 5', NULL, NULL, '2012-12-22 18:45:36', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:45:36', NULL, NULL, '0', 'email', NULL, 1, 5, '2012-12-22 18:45:36')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 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` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 2.1ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.8ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' 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-6' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:36', 'Form 6', NULL, NULL, '2012-12-22 18:45:36', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:45:36', NULL, NULL, '0', 'email', NULL, 1, 6, '2012-12-22 18:45:36')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry[spud_inquiry_form_id]"=>"6", "spud_inquiry[email]"=>"test@test.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '27d7ee1090e2cce06965478c414a9f844998530c9e7e1711a20a300e251d2250935e6e31936325a16e20f7707e651161c3cab4eacd991db40db8d2a6ba05d4b1' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EHk8zJmmlVz6tN782gy' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:36', '6f51f9d7d9619cd8dc018c7546eedede9e17aa02d9965d842629ea3100fe836ca6ea7dd9bdfff38e14e8451b3c68ac7334a1df9fd043ea68ccdfffb3949a9575', '2012-12-22 18:45:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:36', 'testuser', 1, '90v2URxg8od8ku56QHxj', 'CnRqqHCQTlsVES2TpPBu', '27d7ee1090e2cce06965478c414a9f844998530c9e7e1711a20a300e251d2250935e6e31936325a16e20f7707e651161c3cab4eacd991db40db8d2a6ba05d4b1', 'EHk8zJmmlVz6tN782gy', 1, NULL, '2012-12-22 18:45:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rSO4bQWwNtjkXYnu8ten', `updated_at` = '2012-12-22 18:45:36' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:36', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:36', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:36')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
+Completed 200 OK in 7ms (Views: 2.0ms | ActiveRecord: 0.4ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '147baa9fa32851761a18d1023ee50787bbd79285fb3f12626d32cc6c113dc20927f3df428422f8fed490b606b8342b72c250fcd08918d066719d361489665386' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZSffxwKC8WCQ62DHXjO8' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:36', '7e7dac1cad75f1c3cf94d797be0fd0ecd398f255a2e643c41c49d8d1b883f4069c3de4165d33e6f152ac48b597b449e9f018b518e3e34a59a3a1a9319538b505', '2012-12-22 18:45:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:36', 'testuser', 1, 'YgoEDwJ0Y77MQzGWVbY', 'YtJ7y4loEupFL7HVvut8', '147baa9fa32851761a18d1023ee50787bbd79285fb3f12626d32cc6c113dc20927f3df428422f8fed490b606b8342b72c250fcd08918d066719d361489665386', 'ZSffxwKC8WCQ62DHXjO8', 1, NULL, '2012-12-22 18:45:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'FLZbr2HsDH15f7Zu7Y6O', `updated_at` = '2012-12-22 18:45:36' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:36', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.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 '07ed2582c0c26d3a46c343ac61608f748e79ad8b764795de88d95c392849aa9b1efacdef7ff09511c4dae66acc4c0cd9216eefe0d06e8c3c5c3fff7e27e33aae' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Y3memzBJGntFSPkJBXqM' LIMIT 1
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '56cff70abb055fa33764682ee4a28a7d0903d11d2abdb9fc65a5bb3e87e02aee5180e3a7ce6ed99e2222fd4805ce0abecf92454f8276ea17552f93151bdd7c3a', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, '9qgPfXu8W5mnjvpMkODI', 'Nxy3YLnVSjgm77BAABBS', '07ed2582c0c26d3a46c343ac61608f748e79ad8b764795de88d95c392849aa9b1efacdef7ff09511c4dae66acc4c0cd9216eefe0d06e8c3c5c3fff7e27e33aae', 'Y3memzBJGntFSPkJBXqM', 1, NULL, '2013-06-27 12:54:21')[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b8a36b07de79c1b9ec05ac6cf689aa98e2cc1ece5d98c0567959e6bc3ddfebec7fdea966b1e3f12653db5d5a32add8b13373cdcf7f613fa38dd97f8d96d4ff40' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WuKAo0tTU34bc9OW52d' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:36', 'b10cb50092075e9d3dd6ce3887a4c2ab54bc17462dc78b82cccb0843ad2e5674fefd2c59071266ecbaa512ce40a3ddf83fe2ffa0424b9489c1545e43dc26c5a8', '2012-12-22 18:45:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:36', 'testuser', 1, 'KsRsiZ7DDCKsZyrrnHBs', 'iOgISOHQuFbNrwruBzG', 'b8a36b07de79c1b9ec05ac6cf689aa98e2cc1ece5d98c0567959e6bc3ddfebec7fdea966b1e3f12653db5d5a32add8b13373cdcf7f613fa38dd97f8d96d4ff40', 'WuKAo0tTU34bc9OW52d', 1, NULL, '2012-12-22 18:45:36')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'efy3LC8VkoP4goEvaL5', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 7
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rQ1hgUZNfwz4mZexxtl', `updated_at` = '2012-12-22 18:45:36' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.5ms)
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ee4fc485ac0473997c2d87434f67982ff5e42dbaa9053db6143e2d14efab5154466cc3e9044f21074a5c7fa0246acdbad941906d6438d78bdca4c1e34d9041ce' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Q0hss79Bp7jOIQk1cAY' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:36', '962da2f65bdf8c13ba1c4045ae9de91026b598cec7189dc401aca97be7b090f4b5e59b70c73720e56e125a01c3b85ba55f327ec886bd888815d2bcb59a723157', '2012-12-22 18:45:36', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:36', 'testuser', 1, 'gxuPfOfRL129kmTR3S', 'Uodns6RLHkplxyYRJRet', 'ee4fc485ac0473997c2d87434f67982ff5e42dbaa9053db6143e2d14efab5154466cc3e9044f21074a5c7fa0246acdbad941906d6438d78bdca4c1e34d9041ce', 'Q0hss79Bp7jOIQk1cAY', 1, NULL, '2012-12-22 18:45:36')[0m
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:36', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dnPlT1dfn6AbxISFUSQ', `updated_at` = '2012-12-22 18:45:36' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:36', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:36')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `last_request_at` = '2012-12-22 18:45:37', `perishable_token` = 'VHxtWOfPUQXyULunLCr', `updated_at` = '2012-12-22 18:45:37' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT 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` = 4
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 8ms (ActiveRecord: 1.5ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (1.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '3233deec9b8eeec1f81c2df2602cfac1e4493ad63f56b2aa9582a56f54813b037cd17d3a8388ebebcf5910ab5b7ea0641750d29eaed7cceb6a9b96ac716207b1' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wNlsjPrVuXcaiPWDXHeG' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:37', '87da3d6bc4889af7430a6941fc8e6664ea04e198c72b53b350ba56dfc9a938f4a41a6c8ff06c347fd09b1d5c0240e90804c780feccc9d209ed27a0583fd8e5a5', '2012-12-22 18:45:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:37', 'testuser', 1, '2fxaKdv248JuiBrucau', 'iCNRxHViCD3uXKkt7HG', '3233deec9b8eeec1f81c2df2602cfac1e4493ad63f56b2aa9582a56f54813b037cd17d3a8388ebebcf5910ab5b7ea0641750d29eaed7cceb6a9b96ac716207b1', 'wNlsjPrVuXcaiPWDXHeG', 1, NULL, '2012-12-22 18:45:37')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VP8XjM02nu9Lku7zoRuv', `updated_at` = '2012-12-22 18:45:37' WHERE `spud_users`.`id` = 5
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:37', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:37')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"23532"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8eabdda378cf4cf18d60231366bd52f5698c06ca7ed844cda13280abe1ab727d697e3d1bc00d1c014e70b2cd336b31a2f0f36763aeb0a7d846a15fbf1a611785' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qD91oiSlgJaJMSEoFsI0' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:37', 'd1a95548d83b01136ae31bb63015678f74b0b6b740dd22fc64bbe8d19c86ab3a6a978482da03edda1c0c6ffda1feb8cbac45f5cbc7ba194e1e74ccf2c74d99f4', '2012-12-22 18:45:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:37', 'testuser', 1, 'xW1TcGiW1u7bESF8bvN', 'DhcgPlyO0jOJRNVdA', '8eabdda378cf4cf18d60231366bd52f5698c06ca7ed844cda13280abe1ab727d697e3d1bc00d1c014e70b2cd336b31a2f0f36763aeb0a7d846a15fbf1a611785', 'qD91oiSlgJaJMSEoFsI0', 1, NULL, '2012-12-22 18:45:37')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Yqe0uMn6ZM3SYHEW9C', `updated_at` = '2012-12-22 18:45:37' WHERE `spud_users`.`id` = 6[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:37', 'Form 7', NULL, NULL, '2012-12-22 18:45:37', 'form-7')
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
-Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.2ms)
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:37', 'Form 8', NULL, NULL, '2012-12-22 18:45:37', 'form-8')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e744445f904ed3198f02386ea3028a1f3540fdf4d922643ae3da845f2cca48936c9af07138405162488cea958a0f8cd3022c15a5e7ca9dc114e74f95c7b072ba' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HMJ9MUW1jrOwNMU4WzU' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:37', 'e4b67649bd0ca52d323499c73aab3805b347228edd07c4596d9ae2944dbb8662eccbcb0e468dbebc2a2f3e360a0510743e55bd527fe1e9bc1237ca67ad4372d8', '2012-12-22 18:45:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:37', 'testuser', 1, 'au6mDqmtBAPkygZd9LwW', '95Lp9zewebYgS83WCG', 'e744445f904ed3198f02386ea3028a1f3540fdf4d922643ae3da845f2cca48936c9af07138405162488cea958a0f8cd3022c15a5e7ca9dc114e74f95c7b072ba', 'HMJ9MUW1jrOwNMU4WzU', 1, NULL, '2012-12-22 18:45:37')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'uorqIMiBuYAeonh5FcOm', `updated_at` = '2012-12-22 18:45:37' WHERE `spud_users`.`id` = 7[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#new as HTML
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.3ms)
+ [1m[35m (1.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '9c29e3c397399de39d26750f2fc487ea534499f1afcd740e8e5d826a899999db452076267d60cfde6d536cfbae912550da3b23a2b9a2c003117b78760f8573f0' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'axTkdhd8AAPqnCbUdgb' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:37', '684827941b96f6e828248796576187ba6875afcd123a5f490b1f26af43f32e30eabd9459dc4d8bff3cd21bfdc7400f20273ec1ecdd3b55a3ef80a9930dc3999b', '2012-12-22 18:45:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:37', 'testuser', 1, '7ZeEspjGPoGSNUtcF6d', 'SsxBfc6vGHsp5xcOVZq', '9c29e3c397399de39d26750f2fc487ea534499f1afcd740e8e5d826a899999db452076267d60cfde6d536cfbae912550da3b23a2b9a2c003117b78760f8573f0', 'axTkdhd8AAPqnCbUdgb', 1, NULL, '2012-12-22 18:45:37')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ZgaIDrZt1eR0XmtwJEz', `updated_at` = '2012-12-22 18:45:37' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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 9"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' 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-9' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:37', 'Form 9', NULL, NULL, '2012-12-22 18:45:37', 'form-9')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (1.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7849345ffc6b1cb58668dc0e360c42632b0ce07559882eaf9d53c5e64f17bcfc2d77c0d761074e03335b59bdba4fc1b354dd1e3c26f96bf5728747b89a50f6b7' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KOTxItHbsNB1cjgSlttc' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:37', '838db8f25eef740248fd2519bb56af14011e96e50669f9708a2d040acf7d3111189a7704430bcc6bc3f7c8467bcb0d5c2959652bf7828d8a711f3175f8bac276', '2012-12-22 18:45:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:37', 'testuser', 1, 'cJz6Gwa8h01moYZ135Z1', 'xrytMzDP5UEAB0Fb0YS', '7849345ffc6b1cb58668dc0e360c42632b0ce07559882eaf9d53c5e64f17bcfc2d77c0d761074e03335b59bdba4fc1b354dd1e3c26f96bf5728747b89a50f6b7', 'KOTxItHbsNB1cjgSlttc', 1, NULL, '2012-12-22 18:45:37')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'TU35E8wJ9FS0NqUa5vrL', `updated_at` = '2012-12-22 18:45:37' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 9 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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_2[0m
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7290b9f377ba2b5cea2796a060dc034dc76dd284db8475e729ef5f75c24e4c7a8bc970ef4458486d0eac7d3e2ef791e2882bb030f6a0ef12e40023a9b646fcc3' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jWRREEGZ5s8Gzz4tXsnV' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:37', 'bbfcbe5d384558184d10356879e6f5016c2c047d46a13177f7bb61e07d9cf4633a269c65dd528186a604aaa39717ece61599bb3f50a3f9c503f89661d306a1d1', '2012-12-22 18:45:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:37', 'testuser', 1, '6H5Oz25nkCYh1D2BzaNy', '1cKJs0YjDnTA2Fh1kpF5', '7290b9f377ba2b5cea2796a060dc034dc76dd284db8475e729ef5f75c24e4c7a8bc970ef4458486d0eac7d3e2ef791e2882bb030f6a0ef12e40023a9b646fcc3', 'jWRREEGZ5s8Gzz4tXsnV', 1, NULL, '2012-12-22 18:45:37')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:37', `last_login_ip` = '0.0.0.0', `perishable_token` = '6q48EOnLZzVcnO1LBFB', `updated_at` = '2012-12-22 18:45:37' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:37', 'Form 10', NULL, NULL, '2012-12-22 18:45:37', 'form-10')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' 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-11' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:37', 'Form 11', NULL, NULL, '2012-12-22 18:45:37', 'form-11')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"11"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ded4e31c0ae0042e2c81150db2be758b864b61d8fa1c02e0c5ed0bdbaa27a4c70780fcd681fb2cf3fd6b655a43665003e075806e3be1601e287e9784f61700f7' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'GSJtnsHT8YElzD3CbFmw' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:37', '00b0ac74ae224c0b1a4c1542b824bc8f48341491a34ea4b124d31713e07c1a3a6b2d2e678852ceca3a15489461c89d8f0b12cced26c5cfdad3f782ace0550b8e', '2012-12-22 18:45:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:37', 'testuser', 1, '0G5JyoSUCh1fGrXHWj', 'nUnNkuQLfAWZ3O0mkj7', 'ded4e31c0ae0042e2c81150db2be758b864b61d8fa1c02e0c5ed0bdbaa27a4c70780fcd681fb2cf3fd6b655a43665003e075806e3be1601e287e9784f61700f7', 'GSJtnsHT8YElzD3CbFmw', 1, NULL, '2012-12-22 18:45:37')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gaPB1lNDjksNYS09eE2', `updated_at` = '2012-12-22 18:45:37' WHERE `spud_users`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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` = 11 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiry_forms
+Filter chain halted as :load_form rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '400b7b1c9a00674db6b98aebf80f26ec106e60508cdb336da75720085a12155579509622af9f91c27e6385a48d3749a3b1be87befb284bb8a3cc2f5afd71cf14' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xX4H7ZnBwfmKuXOTi7CC' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:37', 'd901bc3fd08a8a55d1e08659dd83447190be99c09e1596b51ab22a0ff33f6bb087e94eb736fd3e178abc8a828e6c5e4d3ed618846f5bc205d1f4ff52aed82573', '2012-12-22 18:45:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:37', 'testuser', 1, 'eyh3uSwSeE2ZmLDNyJDe', 'dQAWBynKREAB1P6NMdjo', '400b7b1c9a00674db6b98aebf80f26ec106e60508cdb336da75720085a12155579509622af9f91c27e6385a48d3749a3b1be87befb284bb8a3cc2f5afd71cf14', 'xX4H7ZnBwfmKuXOTi7CC', 1, NULL, '2012-12-22 18:45:37')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'PR0Lzm4IySK8wZfC3KY', `updated_at` = '2012-12-22 18:45:37' WHERE `spud_users`.`id` = 12[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:37', 'Form 12', NULL, NULL, '2012-12-22 18:45:37', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"12", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:45:37 UTC", "updated_at"=>"2012-12-22 18:45:37 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` != 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 'myform' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:45:37' WHERE `spud_inquiry_forms`.`id` = 12[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1[0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[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 '1188ee5d6cff5c6b1f229ddf296677cd9c1e751464126380ef4d2a22f0ba335642be2898d04ae173af2e5e26ff63195764f5f9bee061dd154cc685e55617960a' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QKHvfRSzs0UGudpaK3h' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:37', '95bae543c7faa691a4218fe5bedebea54fc51b4fd57d184c513fa2d29a734a6fe88b90822b751d812b04c21c0939c9a1d79b492b57e406d9262b67ea4abed103', '2012-12-22 18:45:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:37', 'testuser', 1, 'Pv5uLwXZttzxxpe7uhC', 'S8THHENYwsFqS4nec', '1188ee5d6cff5c6b1f229ddf296677cd9c1e751464126380ef4d2a22f0ba335642be2898d04ae173af2e5e26ff63195764f5f9bee061dd154cc685e55617960a', 'QKHvfRSzs0UGudpaK3h', 1, NULL, '2012-12-22 18:45:37')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:37', `last_login_ip` = '0.0.0.0', `perishable_token` = '6e8FwQ3AoRkUvTx9IDZ', `updated_at` = '2012-12-22 18:45:37' WHERE `spud_users`.`id` = 13
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' 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-13' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:37', 'Form 13', NULL, NULL, '2012-12-22 18:45:37', 'form-13')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"13", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:45:37 UTC", "updated_at"=>"2012-12-22 18:45:37 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-13"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 13' AND `spud_inquiry_forms`.`id` != 13) LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'form-13' AND `spud_inquiry_forms`.`id` != 13) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 'b403ec494c5263ceed39ef5a1bac6f98c038a1988c46d61c235300c2972771bd9735df5f4b7385e6834ea4d61eb48b5a4445b86c5da324c94be6b06ffeadbd0d' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'i0d3xa9kJsr60ljDdJXB' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:37', '660e50ca44e634115d1f5d74b1b9a7bc229dc58b88ecb164a9f99d6cde3624d677c07ff620678523328558d73fe27cdf43159d0ba97a555ace7c55712ac7464c', '2012-12-22 18:45:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:37', 'testuser', 1, 'EsYL70gpe7fhsSD9BZD', '48IxwmOrJUb0BHa1FS1m', 'b403ec494c5263ceed39ef5a1bac6f98c038a1988c46d61c235300c2972771bd9735df5f4b7385e6834ea4d61eb48b5a4445b86c5da324c94be6b06ffeadbd0d', 'i0d3xa9kJsr60ljDdJXB', 1, NULL, '2012-12-22 18:45:37')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qhVoutlurOExRv1YqB', `updated_at` = '2012-12-22 18:45:37' WHERE `spud_users`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:37', 'Form 14', NULL, NULL, '2012-12-22 18:45:37', 'form-14')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"14"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 14
+ [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` = 14 ORDER BY field_order ASC[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
- [1m[36mSpudUser Exists (0.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 '8ba7695e817b81df771d0887c771e459a463b116061b87a76c27ecba70f09615114d67af2883db8b4ec097feda90e0b86f1a17eb00f4b6d73bd2047d637af7a0' LIMIT 1
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Sg4mDQPuMlIu0k80U' LIMIT 1[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '73e32c0afbefa87ac33e0da2a6992fcef4345fd0c69fd667d3a57590f9d03d46fe3983755a7226bb23ea9751301923f24c2f692980cb03005ed5f5a58e973c57', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, '8xAYEultGxMl43y42bOn', 'j9CsMFhzIXAf1y3Btd46', '8ba7695e817b81df771d0887c771e459a463b116061b87a76c27ecba70f09615114d67af2883db8b4ec097feda90e0b86f1a17eb00f4b6d73bd2047d637af7a0', 'Sg4mDQPuMlIu0k80U', 1, NULL, '2013-06-27 12:54:21')
+ [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 'f1198509c8621f03900420d929fbe8d51295bd3a09b7ad87216f16b505c65265e98c7193a993a5a7cea54ff0e98466cd8d86547ee68b9292bfe13eb447a43a2f' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Y9BDh2yXamhQ2yDv8IwF' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:37', '52c0cc3cdaa1159ffd908c95766ddb8a17ccd7894adbb1e235d6afd9b53e1b864028f727d6cf1e91ef0fd0797eeb9d1e4b5a19e5f9991f8f06ed9aead810f4b0', '2012-12-22 18:45:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:37', 'testuser', 1, 'FgeuS9AbVqw9GJ72Xe', 'aja6oUqJ36u9Iv7KlBI', 'f1198509c8621f03900420d929fbe8d51295bd3a09b7ad87216f16b505c65265e98c7193a993a5a7cea54ff0e98466cd8d86547ee68b9292bfe13eb447a43a2f', 'Y9BDh2yXamhQ2yDv8IwF', 1, NULL, '2012-12-22 18:45:37')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'NZjLQCXIv9QhQxKUh07A', `updated_at` = '2012-12-22 18:45:37' WHERE `spud_users`.`id` = 15[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:37', 'Form 15', NULL, NULL, '2012-12-22 18:45:37', 'form-15')
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 15 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 LIMIT 1
+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.5ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
+ [1m[36mSpudInquiryForm Load (0.4ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:37', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:37')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' 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-16' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:37', 'Form 16', NULL, NULL, '2012-12-22 18:45:37', 'form-16')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:37', 'Form 17', NULL, NULL, '2012-12-22 18:45:37', 'form-17')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:37', 'Form 18', NULL, NULL, '2012-12-22 18:45:37', 'form-18')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 19' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-19' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:37', 'Form 19', NULL, NULL, '2012-12-22 18:45:37', 'form-19')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[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.3ms)[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
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:37', 'Test', NULL, NULL, '2012-12-22 18:45:37', 'test')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:37', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:37')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:45:37', 'email', 7, '2012-12-22 18:45:37', 'test@spudcms.net')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:37', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:37')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+Connecting to database specified by database.yml
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.3ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:48', 'Form 1', NULL, NULL, '2012-12-22 18:45:48', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 68ms (Views: 10.2ms | ActiveRecord: 5.2ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:48', 'Form 2', NULL, NULL, '2012-12-22 18:45:48', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:45:48', NULL, NULL, '0', 'email', NULL, 1, 2, '2012-12-22 18:45:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:48', 'Form 3', NULL, NULL, '2012-12-22 18:45:48', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EvpV0cpdmHx3smjpJX38', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 8[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:45:48', NULL, NULL, '0', 'email', NULL, 1, 3, '2012-12-22 18:45:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:48', 'Form 4', NULL, NULL, '2012-12-22 18:45:48', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:45:48', NULL, NULL, '0', 'email', NULL, 1, 4, '2012-12-22 18:45:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:48', 'Form 5', NULL, NULL, '2012-12-22 18:45:48', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:45:48', NULL, NULL, '0', 'email', NULL, 1, 5, '2012-12-22 18:45:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.4ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 2.0ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:48', 'Form 6', NULL, NULL, '2012-12-22 18:45:48', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:45:48', NULL, NULL, '0', 'email', NULL, 1, 6, '2012-12-22 18:45:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry[spud_inquiry_form_id]"=>"6", "spud_inquiry[email]"=>"test@test.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'b3c996e3020b4ee0d94cc9d40fac4128659bbb18d8aeefa599cf6b74bc6164c5acfc30e16136493321eb0c0fc6d31aaa4dc12e8e41e98d1a8b73d757af8f5401' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FgvZTddpkqyqzr6DDYf' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:48', '6da3b0b12c144bf229bdf6e9a1ebaf3aafd0c51925415522635d2df8e027fc51b558d7d482bcc33d5b68f3e3837621e8146cb37f35e136f2b8d287cf71fbac60', '2012-12-22 18:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:48', 'testuser', 1, 'nqIODDEhh3sRpaGCHgf3', 'cTfCVgpLnUyroARSchZ8', 'b3c996e3020b4ee0d94cc9d40fac4128659bbb18d8aeefa599cf6b74bc6164c5acfc30e16136493321eb0c0fc6d31aaa4dc12e8e41e98d1a8b73d757af8f5401', 'FgvZTddpkqyqzr6DDYf', 1, NULL, '2012-12-22 18:45:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:48', `last_login_ip` = '0.0.0.0', `perishable_token` = '9YwTYa0FoeuMamJxDKhn', `updated_at` = '2012-12-22 18:45:48' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:48', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:48', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:48')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 1 LIMIT 1
+Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'fcd7a893820c86554874e1e9daf71d9acc1e26ca8e60eaa047b7b1825310f4ec546494c5e3be2a64e7f461ba1fe2189d7132510405996802f18f4ad6ef88b748' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'aYAXGe0VsHI5fp8Icufj' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:48', '2db6c950c8b7da590e8c465ffb79a1d92f564031f2da9e134c7cba40fb04cf6382a7dab53e3a6bc11f60723d36b8d36a1c1e3a5a16cc7fdc32cc306313417571', '2012-12-22 18:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:48', 'testuser', 1, 'VtCYzC62RFQZNdPMBE3A', 'u1pfwFkdLQ9NXYSD2ibC', 'fcd7a893820c86554874e1e9daf71d9acc1e26ca8e60eaa047b7b1825310f4ec546494c5e3be2a64e7f461ba1fe2189d7132510405996802f18f4ad6ef88b748', 'aYAXGe0VsHI5fp8Icufj', 1, NULL, '2012-12-22 18:45:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:48', `last_login_ip` = '0.0.0.0', `perishable_token` = '3Mur9h4e1BAMZsNJqAo', `updated_at` = '2012-12-22 18:45:48' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:48', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '062a52449193d40d729e37e4622ff3afd6e2b56348bf6f45930b13145ab15f9a8e367e54e7bda17a5f79a85ca0cff6121aa5e9f5e7b0b0753d80416b0cedeb12' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hyRS0hSzludUD4WNXCZ1' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:48', '6e8b90853e00ce35e5ce661ad68f8497d3a659df7b7e151518442ec3c75cf9d755b0320cd80363c3dfbfa2feb57dad2f21f086d525713ddd762f45169d9a5ac4', '2012-12-22 18:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:48', 'testuser', 1, 'UThIY6ubbE3Bj4paEf', '99OBDzX4N2LF6pRk90tW', '062a52449193d40d729e37e4622ff3afd6e2b56348bf6f45930b13145ab15f9a8e367e54e7bda17a5f79a85ca0cff6121aa5e9f5e7b0b0753d80416b0cedeb12', 'hyRS0hSzludUD4WNXCZ1', 1, NULL, '2012-12-22 18:45:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'bAeEvWdYLL9MMMzOk3c', `updated_at` = '2012-12-22 18:45:48' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.6ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '86027e60aa45d91ace4c229dba5c59eebe80cb48f511c0df8781f6e665d7dde527b88fe1daed52509efbac6ef267e4ece4eb09cdbc35f54e6765dc6037036bd6' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'v2yubV1yb19pXD2dfHA' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:48', '6f50c31ddd9c820a9607d0532d66f79af96547331d3fa8b0a922df4ab8454217e09cf2c59fc7948ad335e9d50ba29c03437bf191bbdb2fcc84ab55e5cc6638ed', '2012-12-22 18:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:48', 'testuser', 1, '0enc38cYfIEYitLgpQ', 'ufd0JadtJ9S3FW7T8rip', '86027e60aa45d91ace4c229dba5c59eebe80cb48f511c0df8781f6e665d7dde527b88fe1daed52509efbac6ef267e4ece4eb09cdbc35f54e6765dc6037036bd6', 'v2yubV1yb19pXD2dfHA', 1, NULL, '2012-12-22 18:45:48')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.6ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'j5Yr7iBLztMhyywpibrr', `updated_at` = '2012-12-22 18:45:48' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:48', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'efcca6b9a2f62438bb24db25bdf51844072310621c43cf790b0283405bddb01bdee1f2f26fe2ee3a60137669e65b65d7023ac6eaf204fd6c83175d82763c85a7' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fAMsG1XAD5nRzI2CAG0R' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:48', 'e94ee09e94d4d333de24f1dd8ef2132c4c3bb57fc271c9ec58a5e3ca12680befaefd866522f86cf7fd153307e08c6de6bbe10b99124661e94ba4372ab48dd2f8', '2012-12-22 18:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:48', 'testuser', 1, 'VzRdHLLG9QWwQ1HNg6Qf', 'pjHufYZeBQPHgLejfJZj', 'efcca6b9a2f62438bb24db25bdf51844072310621c43cf790b0283405bddb01bdee1f2f26fe2ee3a60137669e65b65d7023ac6eaf204fd6c83175d82763c85a7', 'fAMsG1XAD5nRzI2CAG0R', 1, NULL, '2012-12-22 18:45:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'xRc0wLLe9OmGveBTnZNb', `updated_at` = '2012-12-22 18:45:48' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:48', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '7de1ec15b86df8ea282bc1ef046f99ec2ce340a80b0f0f971bdf5a6ef8184ab995500273c656a935b6082ef7f8f98058984bb3e5a4d7dc8288e8d66bcdfaae60' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ji5gzO5FKJ6KLMqRHOmk' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:48', '6f16a32223fe98be9373ebe7027067a17f32f780e352fee89cff66ff1f1f465bbf474d2814673edbbc23b82d825ce2bff4d4823f7309452fd255d228fb316c27', '2012-12-22 18:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:48', 'testuser', 1, 'pqMNnNJeHN0jvRJ5Y16P', 'RAaNIK5ACdw98uROXCbl', '7de1ec15b86df8ea282bc1ef046f99ec2ce340a80b0f0f971bdf5a6ef8184ab995500273c656a935b6082ef7f8f98058984bb3e5a4d7dc8288e8d66bcdfaae60', 'ji5gzO5FKJ6KLMqRHOmk', 1, NULL, '2012-12-22 18:45:48')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.9ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:48', `last_login_ip` = '0.0.0.0', `perishable_token` = '3M6BkFjMESzuE7Yq2', `updated_at` = '2012-12-22 18:45:48' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:48', 'Form 7', NULL, NULL, '2012-12-22 18:45:48', 'form-7')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:48', 'Form 8', NULL, NULL, '2012-12-22 18:45:48', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
+Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c3769f1d019e12d77a396a10699982d9ed7ff332d5693cad986ecc9b963eb6b3b81487337a8a9e00e00263b87b37efc77aad5b4c994c7617d53402773145364c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xodlwDnyPwJ5uNJleXK' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:48', 'de1621f3d0ba6f07772b29f306b45e7b4bc53b2b516fb180cb33e6dfa34738ec1ffe6d95a3af93fcc8ec46d866200e75a5403a5f3f173028d4c8f39174ad6863', '2012-12-22 18:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:48', 'testuser', 1, 'tq030Ue0xrdIoLmCMF1', 'AVWuI3NHQFtEHY1wHGQ', 'c3769f1d019e12d77a396a10699982d9ed7ff332d5693cad986ecc9b963eb6b3b81487337a8a9e00e00263b87b37efc77aad5b4c994c7617d53402773145364c', 'xodlwDnyPwJ5uNJleXK', 1, NULL, '2012-12-22 18:45:48')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hvP4lMZkBOvn8HO893', `updated_at` = '2012-12-22 18:45:48' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '61c856a3b6fcff91045ea9ba6dc104ba8e7023ad5a9fda082c2dd38bc8b1130471dc2707ae3472a25c4be18fa1c9973094f52cbf78eec96b4d27284fad2883d9' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZvIW4AtpVOfmjMTfOgW2' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:48', '55125aa80cbc31a8d221b6a8fd04446e0972729c93291592e60d1b9696730b3ab470966e556daf89d166e7e84143e33201a6d305362b8dbfa7d5f9ec9db1a958', '2012-12-22 18:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:48', 'testuser', 1, 'LlsmVvRtzpLdh1CAjTgF', '83tBwRW9pzCFNR0vf2a', '61c856a3b6fcff91045ea9ba6dc104ba8e7023ad5a9fda082c2dd38bc8b1130471dc2707ae3472a25c4be18fa1c9973094f52cbf78eec96b4d27284fad2883d9', 'ZvIW4AtpVOfmjMTfOgW2', 1, NULL, '2012-12-22 18:45:48')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'zPevSMtEHlauyWi82sG7', `updated_at` = '2012-12-22 18:45:48' WHERE `spud_users`.`id` = 8[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[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"=>"Form 8"}}
- [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 8', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-8')
+ Parameters: {"spud_inquiry_form"=>{"name"=>"Form 9"}}
+ [1m[35mSpudUser Load (0.5ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:48', 'Form 9', NULL, NULL, '2012-12-22 18:45:48', 'form-9')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
Redirected to http://test.host/spud/admin/inquiry_forms
Completed 302 Found in 14ms (ActiveRecord: 0.0ms)
- [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (1.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8215c09fdc1bb74a1716dc32f07769b765519364fe3c4f2daae7e4fb3f40bdcf80c35599228d911a01e281dd40e2d14192e76d3f2a3325a7e31ade435c4fc3eb' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UmLk3tgDu4Lhwu4y5D' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:48', '82d6772f42f9576d1ccae6ba09eea7679ad0c342d22b065dbb91c9f70e8bbdb5d7dbe74789bdc53e508c63c43e9ba404b4875d93bcef18c695902c95a3209e1f', '2012-12-22 18:45:48', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:48', 'testuser', 1, 'ogSOU0fNcZuFQKV0xN3Y', 'ZGKKzBOzGewXPZ7SquZ', '8215c09fdc1bb74a1716dc32f07769b765519364fe3c4f2daae7e4fb3f40bdcf80c35599228d911a01e281dd40e2d14192e76d3f2a3325a7e31ade435c4fc3eb', 'UmLk3tgDu4Lhwu4y5D', 1, NULL, '2012-12-22 18:45:48')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:48', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wuEcivwM7VHECsofzD', `updated_at` = '2012-12-22 18:45:48' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 9 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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_2
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 'd743c86dbf167635a16159b40ef4d4b9c7101a24ccef76d8cabcbb48efac97d22ad380ead5494ebc775ec0549df2b0ca0faae0d4877ae395fee2da3edfafb208' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6zBgHsuOny2emaMvV1c' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:49', 'c1c5b31338a3d980960da0025f8ab9aecec9c0b92859f8150c0619421802c57cba5ba35898ae87e82d403160f58b86a20fe85b91820474f95deb6541e8d012aa', '2012-12-22 18:45:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:49', 'testuser', 1, 'SSmBBLTMVnHBb9UYpQi', 'vDFGJ8d3olHqqPrJfEZ', 'd743c86dbf167635a16159b40ef4d4b9c7101a24ccef76d8cabcbb48efac97d22ad380ead5494ebc775ec0549df2b0ca0faae0d4877ae395fee2da3edfafb208', '6zBgHsuOny2emaMvV1c', 1, NULL, '2012-12-22 18:45:49')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'otTHuCSf8kuMwIk1cTC1', `updated_at` = '2012-12-22 18:45:49' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:49', 'Form 10', NULL, NULL, '2012-12-22 18:45:49', 'form-10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:49', 'Form 11', NULL, NULL, '2012-12-22 18:45:49', 'form-11')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"11"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '9e09e5d5863e6896af4026f19314bea2446eb3dc9c46492092d0b84d1724b0b999957828597437112d0d62f34cf3a6b00b3437dcc8756f6a12ef362d3d13d05b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'GoBfjZ0svW6anuaeOrTm' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:49', '93029f4aa3f8bbc07bf8862d6f6ce3315510eeaf59b7a29d50e8a19d4c2658042eeaa8a99f88e66bdfa9bed8ea3fd762067c8f4513c96c08b8aecff22e822994', '2012-12-22 18:45:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:49', 'testuser', 1, 'oIXsc9S9vGcJ5StRsc7F', '7D2SttQrhIKkSvOubbW', '9e09e5d5863e6896af4026f19314bea2446eb3dc9c46492092d0b84d1724b0b999957828597437112d0d62f34cf3a6b00b3437dcc8756f6a12ef362d3d13d05b', 'GoBfjZ0svW6anuaeOrTm', 1, NULL, '2012-12-22 18:45:49')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ig4A2DXrIE2U8vNpVBYB', `updated_at` = '2012-12-22 18:45:49' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 11 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 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 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ebfc5f9380303984773e134b13f4e980dcb0f2a4f891e8df10c810f5490feef56ece6fe07d743262cd1a95e32c8dc85fedead61d8d43cbc45d4d07af82735395' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 't6WrT8UtqEVEmNokLV2d' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:49', '3fc4d9434ef21eff8811e93469a8dd5979084964f5b512a820050b24fe9af2fde44e0a05f4a90bcf5d8fe328f611ead101c04e683a391267237c5818e619c4de', '2012-12-22 18:45:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:49', 'testuser', 1, 'fzcEKueBLKV6hnMEDJiM', 'jQvhcOsCVLIpmVDqDxo', 'ebfc5f9380303984773e134b13f4e980dcb0f2a4f891e8df10c810f5490feef56ece6fe07d743262cd1a95e32c8dc85fedead61d8d43cbc45d4d07af82735395', 't6WrT8UtqEVEmNokLV2d', 1, NULL, '2012-12-22 18:45:49')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'J5QKCgpuIKF9lO3iOsL', `updated_at` = '2012-12-22 18:45:49' WHERE `spud_users`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' 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-12' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:49', 'Form 12', NULL, NULL, '2012-12-22 18:45:49', 'form-12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"12", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:45:49 UTC", "updated_at"=>"2012-12-22 18:45:49 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:45:49' WHERE `spud_inquiry_forms`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (2.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 '119b6552d6a17702e402b0cb9ae7e1d3dfdd19b0e05e83e7440b8c5f39fa5d6f6ed4ca505a9f73afa61e47156bde58f75c0352b86bf11c0d057fcc5e61898d42' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'o6Iz8Cb1pKDqBNUyxMcL' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:49', 'f0a6d7ebb5bf3083174ce3f3517237a9debd291b7cef9da787c464765469ca3f6f4226bf5a8fed909ca3d1c2eb9ba1d52b28b056a2ea431d58a658867b2ec04a', '2012-12-22 18:45:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:49', 'testuser', 1, 'mXGIVtavizQPR5f49ARn', 'gzMzSVm9P3TwZEjQGNl', '119b6552d6a17702e402b0cb9ae7e1d3dfdd19b0e05e83e7440b8c5f39fa5d6f6ed4ca505a9f73afa61e47156bde58f75c0352b86bf11c0d057fcc5e61898d42', 'o6Iz8Cb1pKDqBNUyxMcL', 1, NULL, '2012-12-22 18:45:49')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kkv9maZOd9gx8tqyEWk', `updated_at` = '2012-12-22 18:45:49' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:49', 'Form 13', NULL, NULL, '2012-12-22 18:45:49', 'form-13')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"13", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:45:49 UTC", "updated_at"=>"2012-12-22 18:45:49 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-13"}}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 13' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 13) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 8ms (ActiveRecord: 0.0ms)
+ [1m[35m (1.6ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[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 'e46fffff5b01d955a389af32d6e56fd2797b9aa6e0c30feb29115322dba59dd61601dfcfcab79a5d795c9e597fe26459c7f3c82379d0719a79670c6bf0c4e508' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'C49VY5tVzau5tiVPqw' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:49', '3b4435827363371828873c1a966a7a21552068702d48391f1b88956857264f1c2db1f1e68de1add7d9e974912d2e06a43079bac504c3fd54b1792d683bd7828c', '2012-12-22 18:45:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:49', 'testuser', 1, 'z5lNPO0eS0AzhxRu5rqz', 'ndhaRVFOneDfWglEUMk', 'e46fffff5b01d955a389af32d6e56fd2797b9aa6e0c30feb29115322dba59dd61601dfcfcab79a5d795c9e597fe26459c7f3c82379d0719a79670c6bf0c4e508', 'C49VY5tVzau5tiVPqw', 1, NULL, '2012-12-22 18:45:49')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'yqkWp715u5eUgSrNKuRV', `updated_at` = '2012-12-22 18:45:49' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:49', 'Form 14', NULL, NULL, '2012-12-22 18:45:49', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"14"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 14[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` = 14 ORDER BY field_order ASC
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (3.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 'ed82545ecaf6a26843b677ea9badf0271e2aa70a63af472843210c1d11f0e24ac6e7580927aa76f63f5e5e62d5c2faaaf19900e91dc57c7ba0944ff9a095262e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EnUUEFi3s5x7RcqFDHu4' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:45:49', '59c7d491b67c77255a0eef23b2fcfb9770c986a75968aa718801e99ef708fb00706841362c0c299b412c872f343103ca1ed4331bb2e3473bce8c7f5d42cb0aa5', '2012-12-22 18:45:49', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:45:49', 'testuser', 1, 'i1xD0RBQZw7FSAFHkSo', 'kj3D3wHmZzjsQurIf0M', 'ed82545ecaf6a26843b677ea9badf0271e2aa70a63af472843210c1d11f0e24ac6e7580927aa76f63f5e5e62d5c2faaaf19900e91dc57c7ba0944ff9a095262e', 'EnUUEFi3s5x7RcqFDHu4', 1, NULL, '2012-12-22 18:45:49')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:45:49', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vxNzA2iDGvvP3o9gf4X', `updated_at` = '2012-12-22 18:45:49' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' 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-15' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:49', 'Form 15', NULL, NULL, '2012-12-22 18:45:49', 'form-15')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 15 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.2ms)
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:49', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:49')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:49', 'Form 16', NULL, NULL, '2012-12-22 18:45:49', 'form-16')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' 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-17' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:49', 'Form 17', NULL, NULL, '2012-12-22 18:45:49', 'form-17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:49', 'Form 18', NULL, NULL, '2012-12-22 18:45:49', 'form-18')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 19' 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-19' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:49', 'Form 19', NULL, NULL, '2012-12-22 18:45:49', 'form-19')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:45:49', 'Test', NULL, NULL, '2012-12-22 18:45:49', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:49', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:49')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:45:49', 'email', 7, '2012-12-22 18:45:49', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:45:49', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:45:49')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryField Load (0.3ms)[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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.3ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (0.8ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.0ms)[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.8ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.5ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.0ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:07', 'Form 1', NULL, NULL, '2012-12-22 18:46:07', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.1ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 67ms (Views: 8.6ms | ActiveRecord: 5.2ms)
+ [1m[35m (1.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:07', 'Form 2', NULL, NULL, '2012-12-22 18:46:07', 'form-2')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:46:07', NULL, NULL, '0', 'email', NULL, 1, 2, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:07', 'Form 3', NULL, NULL, '2012-12-22 18:46:07', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:46:07', NULL, NULL, '0', 'email', NULL, 1, 3, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:07', 'Form 4', NULL, NULL, '2012-12-22 18:46:07', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:46:07', NULL, NULL, '0', 'email', NULL, 1, 4, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' 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-5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:07', 'Form 5', NULL, NULL, '2012-12-22 18:46:07', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:46:07', NULL, NULL, '0', 'email', NULL, 1, 5, '2012-12-22 18:46:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.4ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 1.8ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:07', 'Form 6', NULL, NULL, '2012-12-22 18:46:07', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:46:07', NULL, NULL, '0', 'email', NULL, 1, 6, '2012-12-22 18:46:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry[spud_inquiry_form_id]"=>"6", "spud_inquiry[test]"=>"test@test.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'c1c05601bdacdc7fbb33384ec7702e022502f6aa0625879bc084cfde8ff0f3fa15de886bd52e65779b28d32175aad232e2564add1252d5a08f2f42aef4ea7f07' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'C7LHN4wJocHmY5rCGuf' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:07', 'c680f0cdf7f99c5735659df959c42714713a04ef0d100c466fe87bf3c186ffb99e249f47f5663da84bc3bf39ecdc7e1eb7b8b6d8141a39fc1ed99f211010b6d5', '2012-12-22 18:46:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:07', 'testuser', 1, 'v406HG72KYfmRA8Vgn5', 'kU3mWGMHcsLPD7sZpbn', 'c1c05601bdacdc7fbb33384ec7702e022502f6aa0625879bc084cfde8ff0f3fa15de886bd52e65779b28d32175aad232e2564add1252d5a08f2f42aef4ea7f07', 'C7LHN4wJocHmY5rCGuf', 1, NULL, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'j4X66DMZyBdugt6QnOMs', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:46:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:46:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:46:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
+Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '204690a177d1759323b8eef6531934235d9e35dd2af9435ca9b03484293fdc88e7ecb4d89ad12c82fb7af42622cd33bc215b29517e1374c4f9530d418a59ccfb' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0ELly7y15M1rGbwcOYO4' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:07', '17e826b57023349fcc2100364a2998e887882ddcdd269489aa5d6150eab544c8ea6ddd1175f90cce1099c69bb650bb2baa1a2cf0ffd5a273292ef4d46b886038', '2012-12-22 18:46:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:07', 'testuser', 1, 'QxbP9aW8bAMT2HmnCINW', 'xJqswwLFIGNzHRtAN9D', '204690a177d1759323b8eef6531934235d9e35dd2af9435ca9b03484293fdc88e7ecb4d89ad12c82fb7af42622cd33bc215b29517e1374c4f9530d418a59ccfb', '0ELly7y15M1rGbwcOYO4', 1, NULL, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:07', `last_login_ip` = '0.0.0.0', `perishable_token` = '16ijd35p4cf7wcMaPxm4', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:46:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.4ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.9ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '386fbd91393d5fdfeb30306986690c14898179ed9811b02d67762df15ee8607b0a272c6a1d4f9b4e3a81fcebd29b57e90e3e474fb32d902a56898d02d27b6378' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Xg8hDWBYGKLmi29RTt7O' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:07', 'a12ed100230a2d2c8cae65119725baba6edb0c54102b8cacaeeb632ca753938b7e3035ca4ba724035a431284098540a63c1412fc8792d51401f4db3b086af1fd', '2012-12-22 18:46:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:07', 'testuser', 1, 'JOhbyzoeeNPWl7Fa9Yob', '4FDMTL0AhAVaAzOxMhUa', '386fbd91393d5fdfeb30306986690c14898179ed9811b02d67762df15ee8607b0a272c6a1d4f9b4e3a81fcebd29b57e90e3e474fb32d902a56898d02d27b6378', 'Xg8hDWBYGKLmi29RTt7O', 1, NULL, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'JfK2alrEu5egVK7ghLu', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.5ms)
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'd82d11751c33a9aa7930bd3e420a524c508e1e41f293d7fb6b5fbef6c1fee75801d145e20c70aae7a243161bdf9072c15188896945c71db6087399fe953d4d1f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BcILD0UdLbK3SJHWimPE' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:07', 'bd205e7aa9b35715af880fca32bc14cc5fa59478700093fa172b9b22355e49de01f59edc13269f2e6052dd43c21efe2471ac6a6a40eaf3f2c05a0b3a591aaa82', '2012-12-22 18:46:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:07', 'testuser', 1, 'txULbOukphHRnOCTucL', 'IhAcyEG2EOdv2PyLd9D6', 'd82d11751c33a9aa7930bd3e420a524c508e1e41f293d7fb6b5fbef6c1fee75801d145e20c70aae7a243161bdf9072c15188896945c71db6087399fe953d4d1f', 'BcILD0UdLbK3SJHWimPE', 1, NULL, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'eV5XKkOWdydOnTvLELT', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:46:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6524891b31607a88deec7ae0c4ecc9276cc781f33cd5dcb9b476cfffe171cf12daa0052b24928fc3e21fbdeddda17b3e7671a27fa90474a748e929c254a6e3e4' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uM5JJJ7W2iYDeCrg5nU' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:07', 'e4d928e41d0ec47268ac0dd1f88c6db2d631c00a11f7658ec9cef62a202d8775bc7057a56e3cb56f6b4ebfac34af5b9101c0d4b5915770c9f52c301f4fcdfa92', '2012-12-22 18:46:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:07', 'testuser', 1, 'liWd329LcDpTztpn29lz', 'bDdSAQfEKfiV5eWincBS', '6524891b31607a88deec7ae0c4ecc9276cc781f33cd5dcb9b476cfffe171cf12daa0052b24928fc3e21fbdeddda17b3e7671a27fa90474a748e929c254a6e3e4', 'uM5JJJ7W2iYDeCrg5nU', 1, NULL, '2012-12-22 18:46:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'E80aAgLfXSUGFwvqMvu', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:46:07', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:46:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '4b1cb721ca6455777a44ec18af13159253d169c63d4588e783babeaf8ebd72d8b061fd816002fa1897fcff70edd131af7fdbe7f8308a592e5301e27d4946264b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5SYsg8FqrwucC0mD5J2Y' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:07', 'ac1f9bb83807097c67b5252e609f381cc65bc1745742ae1be60f734ae9eacf1f15e744acbc6b22a77527d52b22b29960150421ebd5bfee052ad2dbc8fcb8f4be', '2012-12-22 18:46:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:07', 'testuser', 1, '0Zd6hv5vCIha9zoE0LY', 'vrJfmYn32uxCL9g73WaV', '4b1cb721ca6455777a44ec18af13159253d169c63d4588e783babeaf8ebd72d8b061fd816002fa1897fcff70edd131af7fdbe7f8308a592e5301e27d4946264b', '5SYsg8FqrwucC0mD5J2Y', 1, NULL, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:07', `last_login_ip` = '0.0.0.0', `perishable_token` = '63CZIZH8ljS4gCAW8yXp', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' 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-7' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:07', 'Form 7', NULL, NULL, '2012-12-22 18:46:07', 'form-7')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:07', 'Form 8', NULL, NULL, '2012-12-22 18:46:07', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'bebe1c217a914e5cdeb3941a5b9caeeb744013f6f0af623868b34cd4782f54404e9c13bda2bfd29cebc1f8470d19ef251698e28d18123eec32acc1cb1a2ed682' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'COTi30yoLcoqSAXIsVlN' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:07', 'e6e872650e5ff7d1da87ddecae36a7e3941436e3442e1b36e40869b778ea0cea13762620ea3d0a76c976e3b246b0f41feaa76de3e1e0505325f7d2b89f3932da', '2012-12-22 18:46:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:07', 'testuser', 1, 'Jj11yKBMuNqF6QFUJixT', '9Wf9hiZkPhWZaxI4rFv', 'bebe1c217a914e5cdeb3941a5b9caeeb744013f6f0af623868b34cd4782f54404e9c13bda2bfd29cebc1f8470d19ef251698e28d18123eec32acc1cb1a2ed682', 'COTi30yoLcoqSAXIsVlN', 1, NULL, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'S9BSJEvZpGimDOXU6fkh', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '6000c6f3402b54b4b9c1eb0703017ce1aff5011fea6b65f4c0e997f13acf918da243c0a7f1eb5050476af75c2eadb2519e8aca5ea5d407af6bddebd07069ecd2' LIMIT 1
- [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XFDcd4ah6L2aPTGvMvS7' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', 'dc0514b74feaa915062cbeb04dede198b4aabb213410979668ec121d236d9d5ea02cc1406b3d753faa170a0f5e9eab29c1ef3bfce87efe15fadb9a893e5556ed', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'v7DJvo0m0uc7O6qKc1H', 'JTvaBkeyQM9Cjzwugmu', '6000c6f3402b54b4b9c1eb0703017ce1aff5011fea6b65f4c0e997f13acf918da243c0a7f1eb5050476af75c2eadb2519e8aca5ea5d407af6bddebd07069ecd2', 'XFDcd4ah6L2aPTGvMvS7', 1, NULL, '2013-06-27 12:54:21')
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e9787b26cc71919b3d46158b91912b13e0457a74da964ec8de39bde127eefb68b6ef0a81411d98560a2ecdf75ef4d1142254cf93b2defb5bc3f899cd841ae0c6' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nyiJB9K2xInh8zm1YEv' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:07', 'a3a1febb8c4a41ceebf9b0a3bb18f39f0f77b3437aeb922fbb804a13e19a467f82d583b951c5880eb83bc85761c8007252a99b0764cb9713c2423b1448ab651e', '2012-12-22 18:46:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:07', 'testuser', 1, 'yl6UgXK2V5zubu63Wa', 'AQ0doS7DyBEqM55Hve2', 'e9787b26cc71919b3d46158b91912b13e0457a74da964ec8de39bde127eefb68b6ef0a81411d98560a2ecdf75ef4d1142254cf93b2defb5bc3f899cd841ae0c6', 'nyiJB9K2xInh8zm1YEv', 1, NULL, '2012-12-22 18:46:07')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ZiCmAawJmnW7Kkgr7l', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 9[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'NuOSExR3ZQXj788nGF', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_users`.`id` = 8[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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 9"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:07', 'Form 9', NULL, NULL, '2012-12-22 18:46:07', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5ccf7357d76249d665b1e4602955c1d08780b8e87cc05e2eea8bac7f62627eaa44df8c5c9a76ad99d2eb22baa600ba78e617981c4e72facf4175fe98bba72b81' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XZnwLElWzxUMsfhqHY' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:07', '83a20dded24cdee351cca024355eabc31ec4b31e06a9b784b6e7c3d3a16d60f062608aac4b2de90ecee98ec17944b8e55df0868357c44d41045de9186ce853e6', '2012-12-22 18:46:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:07', 'testuser', 1, 'kVd1dnToWAEHNwkX6HY8', 'nVbp1gBN3CChj4myLs7', '5ccf7357d76249d665b1e4602955c1d08780b8e87cc05e2eea8bac7f62627eaa44df8c5c9a76ad99d2eb22baa600ba78e617981c4e72facf4175fe98bba72b81', 'XZnwLElWzxUMsfhqHY', 1, NULL, '2012-12-22 18:46:07')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'SY0xww4NoQY4p8N4bgq', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[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` = 9 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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_2
-Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 0.0ms)
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd49867c90e1f9ea296909ce32d79f8cf6c618cf0455e7c77eb8baec4f1cd3f1536ca0bfa2e2674fa1c0b63ccb0184d8dce4c82c42073a3a860d5e9a57aa42043' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'tV4ci1AZUVstzheTiFd' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:07', '9a1dc558461388d61fd93f9681afefc76eef90d73ea818464918c15e0a0c29c9e0d61ebbae1516ac8b29a2991996f766b8c0fa69029b381c1a1a84321bf67465', '2012-12-22 18:46:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:07', 'testuser', 1, 'MAOEGKsjNnzkVms47n3n', 'iFjfNpXMszpAXbKtm7BT', 'd49867c90e1f9ea296909ce32d79f8cf6c618cf0455e7c77eb8baec4f1cd3f1536ca0bfa2e2674fa1c0b63ccb0184d8dce4c82c42073a3a860d5e9a57aa42043', 'tV4ci1AZUVstzheTiFd', 1, NULL, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'f0OxCy23zWcJLaSjRyt', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:07', 'Form 10', NULL, NULL, '2012-12-22 18:46:07', 'form-10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:07', 'Form 11', NULL, NULL, '2012-12-22 18:46:07', 'form-11')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"11"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.4ms)
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fed75b86b74e2806495c88c4ea24318bddf0243cee858bdf0928fd152bbaa8521cc2284d1079c54ca9c3ac546054164e071ed65fbfae62e5b8190700bb5352a6' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'P3dYHm091UbPgeebpkQp' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:07', 'c7ca77538c7b28b720bef22ef3d33492a7382ebe46fb886ac5b07b2f876c6535e63da5a821c86ac53b16daf32e291f02343e23c20d759bb3d739da94970c9c8b', '2012-12-22 18:46:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:07', 'testuser', 1, '0DhaCmUcleHguAirpUQv', 'DfG9tZpw378GXYMbams', 'fed75b86b74e2806495c88c4ea24318bddf0243cee858bdf0928fd152bbaa8521cc2284d1079c54ca9c3ac546054164e071ed65fbfae62e5b8190700bb5352a6', 'P3dYHm091UbPgeebpkQp', 1, NULL, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GxMOzDXaHXDtDlVGN9Qv', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 11 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 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 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4a3a285a2d530fa8cd91bdf8f8b012b9010bba5a2f80366357ec53e3ff4ca1b884e9d98161f2fe7d6b218900e66cd83eff05be1701ba78dd4129a945abb0de75' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'qfnfPm31J0f5dMQBUHkS' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:07', '6d979b4f70e2d9c54256d5567f7f54fb1047b17adc75852801f7bdf4648fd6caa020345541583965e0aa2fe221b589c0b5dd244960478a80a0e71fdcf22d3621', '2012-12-22 18:46:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:07', 'testuser', 1, 'cDuF0S8ptpnHJmt5BAo', 'ouZRmwrc5mYFSeFfP76g', '4a3a285a2d530fa8cd91bdf8f8b012b9010bba5a2f80366357ec53e3ff4ca1b884e9d98161f2fe7d6b218900e66cd83eff05be1701ba78dd4129a945abb0de75', 'qfnfPm31J0f5dMQBUHkS', 1, NULL, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'a5RVHosw9G7zarnLaGdA', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_users`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:07', 'Form 12', NULL, NULL, '2012-12-22 18:46:07', 'form-12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"12", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:46:07 UTC", "updated_at"=>"2012-12-22 18:46:07 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_inquiry_forms`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
+ [1m[36m (2.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '52a2355985122d98731063a997558f4488314c8ba8ee30b7c6720850ac9311541dc742592c3f9d709df54a5d3699a314a71fb5f0c83eb3e60e46f69d8b6010ab' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '3AsFNON53ju1PK3hw2I' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:07', '22a617f3de99d4d6541fc2a4629d1bf08c52e1eed4b1e2a5b189f126ec0dfe9de393132cd473f227efdc55ba05751c813c734da764c2f963f3221937197eb5de', '2012-12-22 18:46:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:07', 'testuser', 1, '4LWAqyINcgNBUMhefP6I', 'uzTyETVtYKkP4ucVNBfs', '52a2355985122d98731063a997558f4488314c8ba8ee30b7c6720850ac9311541dc742592c3f9d709df54a5d3699a314a71fb5f0c83eb3e60e46f69d8b6010ab', '3AsFNON53ju1PK3hw2I', 1, NULL, '2012-12-22 18:46:07')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YdhKIf7e0z1udvzBlfXY', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:07', 'Form 13', NULL, NULL, '2012-12-22 18:46:07', 'form-13')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"13", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:46:07 UTC", "updated_at"=>"2012-12-22 18:46:07 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-13"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.5ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 13' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 13) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 9ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '01388a331910c2079c784bbeb9e638d0c9d1a40636ff499d3ce9a9422442c3a763f4bf8d6484ca40f3a9b2d9fce952357391d62fb59ce21d76521a6fce0d2607' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Hy1wfnrmna4mlG2wPbg' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:07', '51ba7997fa37ddbc85209a51756129111e1e36145c77dbb654b61aa82f0669487bd7d292d1516cd7617a84ecb2fcbdee93263d9b58e2cfda6685d976785385db', '2012-12-22 18:46:07', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:07', 'testuser', 1, 'QgNR1xJaaphiH2drTXX', '6FEPeRYS8ourHQf5fuh', '01388a331910c2079c784bbeb9e638d0c9d1a40636ff499d3ce9a9422442c3a763f4bf8d6484ca40f3a9b2d9fce952357391d62fb59ce21d76521a6fce0d2607', 'Hy1wfnrmna4mlG2wPbg', 1, NULL, '2012-12-22 18:46:07')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:07', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ltTby6O8bGhrvdPxMxd3', `updated_at` = '2012-12-22 18:46:07' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:07', 'Form 14', NULL, NULL, '2012-12-22 18:46:07', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"14"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 14[0m
+ [1m[35mSpudInquiryFormField Load (0.3ms)[0m SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 14 ORDER BY field_order ASC
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4d6a1e6c14bc65f122b04e3c54f6c258dea70bd11524ecae508bbfda1ef126d4529e35a0649d0721b0ea4e96b08593621ffc611d365b4cabef643fbe0b45e87f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oOnyG6RMbzhJqEGbsoLl' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:46:08', 'd958361d7de8329cb214b221477e9551a49e0e1bd5f1b1476d62d3551346f53871de19624ebaf24d49db86317185159af3004ee98e66984a687be477ad5503a2', '2012-12-22 18:46:08', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:46:08', 'testuser', 1, 'zeJmq8RE7J5odOz0M7EQ', 'Vg8LBsXunWiswYhrS80', '4d6a1e6c14bc65f122b04e3c54f6c258dea70bd11524ecae508bbfda1ef126d4529e35a0649d0721b0ea4e96b08593621ffc611d365b4cabef643fbe0b45e87f', 'oOnyG6RMbzhJqEGbsoLl', 1, NULL, '2012-12-22 18:46:08')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:46:08', `last_login_ip` = '0.0.0.0', `perishable_token` = 'CCzYjH6Hekl0NOiocn1T', `updated_at` = '2012-12-22 18:46:08' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:08', 'Form 15', NULL, NULL, '2012-12-22 18:46:08', 'form-15')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[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` = 15 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.3ms)
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:46:08', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:46:08')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:08', 'Form 16', NULL, NULL, '2012-12-22 18:46:08', 'form-16')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' 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-17' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:08', 'Form 17', NULL, NULL, '2012-12-22 18:46:08', 'form-17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:08', 'Form 18', NULL, NULL, '2012-12-22 18:46:08', 'form-18')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 19' 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-19' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:08', 'Form 19', NULL, NULL, '2012-12-22 18:46:08', 'form-19')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:46:08', 'Test', NULL, NULL, '2012-12-22 18:46:08', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
[1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:46:08', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:46:08')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:46:08', 'email', 7, '2012-12-22 18:46:08', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:46:08', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:46:08')
+ [1m[36m (0.0ms)[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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (0.8ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.7ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.8ms)[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.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:30', 'Form 1', NULL, NULL, '2012-12-22 18:47:30', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 68ms (Views: 8.6ms | ActiveRecord: 5.2ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 2', NULL, NULL, '2012-12-22 18:47:31', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:47:31', NULL, NULL, '0', 'email', NULL, 1, 2, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 3', NULL, NULL, '2012-12-22 18:47:31', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:47:31', NULL, NULL, '0', 'email', NULL, 1, 3, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 4', NULL, NULL, '2012-12-22 18:47:31', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:47:31', NULL, NULL, '0', 'email', NULL, 1, 4, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 5', NULL, NULL, '2012-12-22 18:47:31', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:47:31', NULL, NULL, '0', 'email', NULL, 1, 5, '2012-12-22 18:47:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.4ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 1.9ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'a194132b73b7a6bb34ef5e5e3e66c30ecfd775606d0956ca5b6b556d382287194be81ad1da6b0e336c50d2a86d4e7055376482e7cfc0290e6823ce78df80716b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'q2sFdkXiTjqAql1oL4' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', '25f7d99c891e3433db701aa397e9900a740284e04d21f8c036096b85011e4a9f2536a8d4b7b4cd8b03135e2a79e4d02d46156eee5ffff2b5418e2f7b2410aff7', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, 'eBB4mPxPjNVVlZF1vmk', 'hEWGZYL6zrJCMP4NgH', 'a194132b73b7a6bb34ef5e5e3e66c30ecfd775606d0956ca5b6b556d382287194be81ad1da6b0e336c50d2a86d4e7055376482e7cfc0290e6823ce78df80716b', 'q2sFdkXiTjqAql1oL4', 1, NULL, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'WTsXHw8wpFITVRJgtr8J', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:47:31', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:47:31', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:47:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[35mSpudUser Load (0.5ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
+Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.5ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4c3b0dc62523c29ccae6a1eebdedcf7617b7fd4b6a8c433d9f663b4147daf6e57b41c74cb2095e6e381060e82cbb8af1efb58a4b8289cd6bab1c2a9f3478f8c2' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QVvZFwkbf4OkWy00Z76' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', '6fe4d3e994a33d4c762835951730caad1cd3d3e7de9b1e08fe5bf638ff4903ccf8ca828e83fcd3aa2985305b741bed28ae4129532234e1af72542885860e57a7', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, 'wm1bt4t5Yw2Pnhkf2RlS', 'M5r4aJvNxi83qbFNuQHX', '4c3b0dc62523c29ccae6a1eebdedcf7617b7fd4b6a8c433d9f663b4147daf6e57b41c74cb2095e6e381060e82cbb8af1efb58a4b8289cd6bab1c2a9f3478f8c2', 'QVvZFwkbf4OkWy00Z76', 1, NULL, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'OgjgQ3d3jiR4Ll0cdmw9', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:47:31', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.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.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2ccd369311c7d0b76dadfd2500660dc6b10fdd5f03bacbf513015a7ff0decd9abe162d8ed46fefd8348c564bb97a914321d4fa4d03b02713b1ae6f211ee6d9ca' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8JNZ4hSDJs9p7S8A0h6' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '56bfb4bc2a708b52af3ea87feacad4297c17054ec36c273eff5aee6bc34c1c639f38cf8d1357388a80f307528a8f3597c44db4bd15e23c536c95cceae499d13d', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'rxDX7TJH0aZDkCjYiCZZ', 'HSWySmCmdPMN0s9srV4M', '2ccd369311c7d0b76dadfd2500660dc6b10fdd5f03bacbf513015a7ff0decd9abe162d8ed46fefd8348c564bb97a914321d4fa4d03b02713b1ae6f211ee6d9ca', '8JNZ4hSDJs9p7S8A0h6', 1, NULL, '2013-06-27 12:54:21')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9da90514869d5fa448e7f046692085bf7230d9a38ca759d1dca9cdb8db382c1e15eace830d1c51356dd1f861bd2418010240f811e6eb1b0fcf9287037958fbe7' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zYEaHiIW8mBSdyBgHi2h' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', '533c0f646e82e0563e7c32008bca3b4d42e0b4e0a204c8fcced5612a281216383daea4d77a64f9e6c3a20cfec4022a719b9478e70d0dfdb135d1735bd982cdfe', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, 'hmJbVer8kxeEu6cDsO', 'bSo73mONXMUAr7OXk1i9', '9da90514869d5fa448e7f046692085bf7230d9a38ca759d1dca9cdb8db382c1e15eace830d1c51356dd1f861bd2418010240f811e6eb1b0fcf9287037958fbe7', 'zYEaHiIW8mBSdyBgHi2h', 1, NULL, '2012-12-22 18:47:31')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'o50EHPtQ0a5oQtOs3ICT', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 10
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = '503lzbHPomHn3J7fwYy', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.5ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7b162dc8c33f1df0d8ca44f4deb08b84909cb5bffc67078f4bbd04bf20445d8558687f4be74f3041d71b8e6e94098f7d419acf6deaf2601ee63de256a9f0a13d' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'w0dypgsxJm7xA9skx6A' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', 'f7a2aa3e863dc46541fe8c123a0f76064e82585541f47336679149ac24bb8f02d96222b28e99d941a2106aedddc2dcd1c11f7d69660046e30713bdacb785e56c', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, 'P4iepx3rjU1bz2N4aSpH', 'N65wRn0GJTUhl8cElFs', '7b162dc8c33f1df0d8ca44f4deb08b84909cb5bffc67078f4bbd04bf20445d8558687f4be74f3041d71b8e6e94098f7d419acf6deaf2601ee63de256a9f0a13d', 'w0dypgsxJm7xA9skx6A', 1, NULL, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mOoaf3ZxRc8oHSBDMVxS', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:47:31', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.5ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.3ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 42ms (ActiveRecord: 1.7ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fe252690c8cdc9fc2140e6af9178492759a2868b30cffe16ae11d7ccccfcfbe853eede5e86667b68fd30e298952a3611131a6c531e65fabc8f43ce7e5fb4e995' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'p26c5Z9SUyemYzwfoz' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', '9e25e2c9cc00264b0e4723fdb5f5d8704ab42d2fc8eabd3ace23c9c600d964b23e8f78fb9f37c1e4ef01ad09ed7c418d24950b05ac8104c6c1a13248937acb15', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, 'AGBD7lojMP3fFKPLdIJS', 'rJ21f1vkf7ZkMWiCIsG', 'fe252690c8cdc9fc2140e6af9178492759a2868b30cffe16ae11d7ccccfcfbe853eede5e86667b68fd30e298952a3611131a6c531e65fabc8f43ce7e5fb4e995', 'p26c5Z9SUyemYzwfoz', 1, NULL, '2012-12-22 18:47:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'xaMOlKlMtjuoJTfy3ed', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:47:31', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:47:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'c7aa3644a0854077c4d615c5683f8d947b51c66b212626b18f3a929cfd7fc91c5bcce3922446ca2a0fc6405d968cffd98d11f23fa194f229f32c63b95c2df3f9' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sUly0YHWwtTzDV97mda' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', 'be2ca2072058438a38983d667f25824701aa030be15f8f1cd16df3ea1184e747ab7f50f997edd501781d05f0ac657f5efe7cf9e82637a5179e119ff3f7542c8f', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, 'J0L9GSzU7TKubvltg7oz', 'M2ozQRXFZOyzkwiy8B5x', 'c7aa3644a0854077c4d615c5683f8d947b51c66b212626b18f3a929cfd7fc91c5bcce3922446ca2a0fc6405d968cffd98d11f23fa194f229f32c63b95c2df3f9', 'sUly0YHWwtTzDV97mda', 1, NULL, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ivT8Wgi7TKoHmc5V6Ml', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 6', NULL, NULL, '2012-12-22 18:47:31', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 7', NULL, NULL, '2012-12-22 18:47:31', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.4ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fc0461ea09e69147eff3aa4ef6f2dc632830e9a9deb930438443555cda7258b8e3a0f5f2ce907095b0999c7ab2e73eb1c09e7aeff197d24bcb3e7151f650c754' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'RYAhDdOVN2alICabour' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', '50bb4e3b540b94604dccea80afa31087807447b3023e21c9ccc9ac639b2cfdfc710fe4548a86ad810530db7163ad421d3934533b1b4b249e4c6063cf67ed8111', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, 'LmmF2BBgOFpDnKzS9cgC', 'PjTQvZzua3GTkTsjpv2S', 'fc0461ea09e69147eff3aa4ef6f2dc632830e9a9deb930438443555cda7258b8e3a0f5f2ce907095b0999c7ab2e73eb1c09e7aeff197d24bcb3e7151f650c754', 'RYAhDdOVN2alICabour', 1, NULL, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qYygG2KkypCn6kQYb85', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c97050040332d4d4aab40b1d90fe145a9dff114525b6a79242e6351eceddee2a5a09773d40df2391153db94e9881f4f3b6f62002fd4286c6c58307fbb6f31423' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5TNiQWryj3aJVd0yjQ8Q' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', 'bc8eba073b24edd1191d7dd0aef3b7c55eced29aa9b3d9eaa255a0198a4aab93b1f7f4e2f971c9af4688e08377e753572f040de2fc95ab659fcf84c855d19779', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, 'mIdaGxOBGuEbTQjNmJ5', 'vRZfmOcq4Ky5SNe4bn6L', 'c97050040332d4d4aab40b1d90fe145a9dff114525b6a79242e6351eceddee2a5a09773d40df2391153db94e9881f4f3b6f62002fd4286c6c58307fbb6f31423', '5TNiQWryj3aJVd0yjQ8Q', 1, NULL, '2012-12-22 18:47:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Eq8oNIsYCNndvW5RiN9u', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 8[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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"=>"Form 8"}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 8', NULL, NULL, '2012-12-22 18:47:31', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (1.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '7460abfaa263e449e2470b54844c0736fecb6d9671d3b8353bfc225972ae9af7bb39d0605cd93b379ad5d8c5af0decc63d9434e28b66a79b1c0d64755e3591e5' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'CsSkKEN7rYpHvS55MWk1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', '5734909768d5116ddb881f020772d882e79e4e326bf39dc50ba5137e5bc2125ab8e1d12df430a0cb45a498592fc77849d5aba88d3431fd3b66b172d592fde8a2', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, '2zFK5cFSX6nYQdvNrz', '2bGZsshLfMDlLCZyu2NJ', '7460abfaa263e449e2470b54844c0736fecb6d9671d3b8353bfc225972ae9af7bb39d0605cd93b379ad5d8c5af0decc63d9434e28b66a79b1c0d64755e3591e5', 'CsSkKEN7rYpHvS55MWk1', 1, NULL, '2012-12-22 18:47:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qJezOEJ6VHRLvlPsFK7', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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"=>nil}}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.2ms)[0m ROLLBACK TO SAVEPOINT active_record_2
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '9632be998900575bf4406ec76f38044f97a71fc0cb21da91ffb9af6d645292d39f50b0236b677926a6041f9cbb832a957072ee76211619b7c26b347cf897eb1f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6tmZQOqnvrM5S7kHMzk' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', '0e40b3795545104d1e416b79b6d25d0fac3e5a2593af55506b448d7a85a175b86936c52927d439cab1ea1c4ecc7f896c6aede159e75a063f7e0e938acc880171', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, '5WH3Cu7kIpkIYrjhmd', 'WQG6liqvPl5IEpinpx4I', '9632be998900575bf4406ec76f38044f97a71fc0cb21da91ffb9af6d645292d39f50b0236b677926a6041f9cbb832a957072ee76211619b7c26b347cf897eb1f', '6tmZQOqnvrM5S7kHMzk', 1, NULL, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mRpLZyKbAjD4Bbs1PBc', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
[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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 9', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-9')[0m
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 9', NULL, NULL, '2012-12-22 18:47:31', 'form-9')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1
[1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 10', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-10')
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 10', NULL, NULL, '2012-12-22 18:47:31', 'form-10')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
Processing by Spud::Admin::InquiryFormsController#edit as HTML
Parameters: {"id"=>"10"}
[1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 LIMIT 1[0m
@@ -978,267 +17286,3757 @@
[1m[35m (0.6ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.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 '0852c6ed9ea74414bcb64c1ca00fdb561e2379abc5b731641c59a6cd28fb958aeeb16ca35ed33ff1b6b18366af4a208ee1f436dedd11ee7b52a0c48618ff40de' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YUYlp1R6krdibLPCLhp4' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '126a8998d5a22e40ed121fd45ae81295b4460df5fb4e5d52dd856fb864d67949236b9747502e52e3a2da2638c1d37b884d1bc9323add186565f276b9fb38310b', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'sjWS9eNMTPFF0GVL6RNQ', '1X61NFvXmj6HFcOIhRNx', '0852c6ed9ea74414bcb64c1ca00fdb561e2379abc5b731641c59a6cd28fb958aeeb16ca35ed33ff1b6b18366af4a208ee1f436dedd11ee7b52a0c48618ff40de', 'YUYlp1R6krdibLPCLhp4', 1, NULL, '2013-06-27 12:54:21')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e42623aaadaf79d933842a3c219e473a7a21f58f9d562659dc9607f93c6095e90f3cdb674927e573576ec10d38114e9ef02fcc282062155c1a69d229ad8755f7' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PoiwlmWf6KkqkOQM3w' LIMIT 1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', 'fa989101e71a1e37ad4c75c46fead89323b34b34c7e1dacd04031b32812c60f40ec3980ec059a4c184dd6eb7acf81f7b40037e7bae5f04bf8efc4cd9d0be3bb5', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, 'BPaGb9lmeVoeLGyq7qKs', 'pk3jcCtD6aVvzs0Mi', 'e42623aaadaf79d933842a3c219e473a7a21f58f9d562659dc9607f93c6095e90f3cdb674927e573576ec10d38114e9ef02fcc282062155c1a69d229ad8755f7', 'PoiwlmWf6KkqkOQM3w', 1, NULL, '2012-12-22 18:47:31')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'FjuEBxDbiHhSIKRiUN7e', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 11
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'SuaWwqhvsQfzAfpwjtcR', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 11
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 11 LIMIT 1
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 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.4ms)
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.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 '7788a04d424de7287a46049985d557010de0c8f035ed90b5ac3a058fd7f971443dab5d65ae944229167234944a2227a04968f644d64d5cd3c4be698b2895f754' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'F87j4IfktH6v4OHSJI7G' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', 'e40dae2c2e74e30d1d9916ae25b1f6bbda6316f97ab82f01a6f4b27d9414f3f271c07ef179868384b306dd159b0c72fbf5fb5b282b9bb1a8b09d6da969cb0842', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, '7gQiN402VMqqtYT8PhW2', '4KijJ3BZ68Y9xj4zQUi', '7788a04d424de7287a46049985d557010de0c8f035ed90b5ac3a058fd7f971443dab5d65ae944229167234944a2227a04968f644d64d5cd3c4be698b2895f754', 'F87j4IfktH6v4OHSJI7G', 1, NULL, '2013-06-27 12:54:21')[0m
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'cdee5126bf6fcbb52b3448104ba6458354395ac74a035575d8fa582cb610a1a5ede53e42876a56270dbddb5483bd7cb864d64b01b09a9afa251a638cbba4e024' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'a1ouW16GiVgYLCND9avD' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', '92e6b4f0742d1c6c856d18dc97d9907fe756161c31e66ffaf530ea81cb2c89c11478b5574a2d3725f2cfa54491f130951a811691e7ab0dceba474b48634466d6', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, 'PHrk0MTFn3yGsGAscJa', '6aW5FGvjbAISxDqaM', 'cdee5126bf6fcbb52b3448104ba6458354395ac74a035575d8fa582cb610a1a5ede53e42876a56270dbddb5483bd7cb864d64b01b09a9afa251a638cbba4e024', 'a1ouW16GiVgYLCND9avD', 1, NULL, '2012-12-22 18:47:31')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'LGft931DN6BClrHq1KVu', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 12
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'pcHefgF8P0cSGDlUWx', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 12
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 11', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-11')[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 11', NULL, NULL, '2012-12-22 18:47:31', 'form-11')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Processing by Spud::Admin::InquiryFormsController#update as HTML
- Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2013-06-27 12:54:21 UTC", "updated_at"=>"2013-06-27 12:54:21 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11", "thank_you_content"=>nil}, "id"=>"11"}
+ Parameters: {"id"=>"11", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:47:31 UTC", "updated_at"=>"2012-12-22 18:47:31 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11"}}
[1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
[1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_inquiry_forms`.`id` = 11
+ [1m[35m (0.2ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_inquiry_forms`.`id` = 11
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
Redirected to http://test.host/spud/admin/inquiry_forms
-Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
[1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
- [1m[36m (4.5ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudUser Exists (0.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 'ea62d1d369ac0ec5a2457f67a54fdca08d332e2efdd347e61db7ed18781f766b828a2959bffb25cda27f18b1c403d323a2184282da67226655ead778528ad8c5' LIMIT 1
- [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QPRdCZC8xI8XC3kb4tXa' LIMIT 1[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', 'cf841c06287c0c2f26242390eacae4bce555b2dd25917ca4ce8c4464fab880d52c2f1179cff1b2eae6ef6b1f53af36672d74dd9085f811deabce62af5e3812c6', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'kzdYw1IcW1qhooTMeYM', 'KRZuQ4m96Bt37WBS9uc', 'ea62d1d369ac0ec5a2457f67a54fdca08d332e2efdd347e61db7ed18781f766b828a2959bffb25cda27f18b1c403d323a2184282da67226655ead778528ad8c5', 'QPRdCZC8xI8XC3kb4tXa', 1, NULL, '2013-06-27 12:54:21')
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '59c7541f390fb633cb1fc7e9142ce2cc4278e43c31e7d961bfacbf42991bcad1ee28d68c9f1c422ca4aa5254045a99843f8daf0c8d8d24767bfdd06c2efd5edd' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UpPSMsZwO9uS76lAFLX' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', 'd201a20cb7023e5c3b9c4a40952d2e037bdc2efe0bfc4fb713b37655eea7612006f983be9728725fd9a2cbb6723060a4c7d60d45793ce7f826641b274d76c480', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, '7Po6Mzyb1Iav4HzE74QB', 'P5TwIq9MReI5P3jgpsEN', '59c7541f390fb633cb1fc7e9142ce2cc4278e43c31e7d961bfacbf42991bcad1ee28d68c9f1c422ca4aa5254045a99843f8daf0c8d8d24767bfdd06c2efd5edd', 'UpPSMsZwO9uS76lAFLX', 1, NULL, '2012-12-22 18:47:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = '2ANklAnZsxXKdqIvkvN', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 13[0m
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'sh2yuS0aZji4sESfBlTF', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 13[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
[1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 12', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-12')
- [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 12', NULL, NULL, '2012-12-22 18:47:31', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
Processing by Spud::Admin::InquiryFormsController#update as HTML
- Parameters: {"spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2013-06-27 12:54:21 UTC", "updated_at"=>"2013-06-27 12:54:21 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12", "thank_you_content"=>nil}, "id"=>"12"}
+ Parameters: {"id"=>"12", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:47:31 UTC", "updated_at"=>"2012-12-22 18:47:31 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}}
[1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
- [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Load (0.5ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 12' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
Redirected to http://test.host/spud/admin/inquiry_forms
-Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
- [1m[35m (0.4ms)[0m ROLLBACK
+Completed 302 Found in 44ms (ActiveRecord: 0.0ms)
+ [1m[35m (1.3ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.0ms)[0m BEGIN
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
[1m[35mSpudUser Exists (0.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 '40d6a076583a5afead8883566057d554949c6175dc58346323e1a161bad80f9f52a12f06d1a3e14df4665718da5c8e42a17e36fdc43305d729b7b714fdd2903d' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'j4enk5yeaMQ3dvu6FtPC' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '1c9029858a0cec45ca0421c5203fd893a3ff8b1f393bc2aea308aadb77f0ca6be11c0f616f2d9d75ea6a9748f4a49bde01399735a5db5df5d47e4df580d702b5', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'Nu9EmFjZoC2KenvGvVG', 'AB0VSz9YFk4wCGlmIcrv', '40d6a076583a5afead8883566057d554949c6175dc58346323e1a161bad80f9f52a12f06d1a3e14df4665718da5c8e42a17e36fdc43305d729b7b714fdd2903d', 'j4enk5yeaMQ3dvu6FtPC', 1, NULL, '2013-06-27 12:54:21')[0m
- [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'A6TrbfZNBGNi3qWf3Vy', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 14
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b795b8b24fed3a068636ceb9c71d4e53e3fe9472e032557d693c39c2e971147ccaa3e12e2ec62706d18d3d9cf58bcf775d5a96583ef74721406b7ad0b7a0c4f6' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eNO7aq888eTvRpLfYD1g' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', '3568b6fe667e0aa0100c3e6a9fc38fc90d00d6f3216710e096024ec6e48cf76bffd31140b284b53f162e0abead4c0ec6255e9b13d2b22f0f14b04620bae6d731', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, 'cCBv6kIwxz5YKkLju5xW', 'l0xHCTfZKFHSJ8SZLZB', 'b795b8b24fed3a068636ceb9c71d4e53e3fe9472e032557d693c39c2e971147ccaa3e12e2ec62706d18d3d9cf58bcf775d5a96583ef74721406b7ad0b7a0c4f6', 'eNO7aq888eTvRpLfYD1g', 1, NULL, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'HbNZcpmSxdwDeJn46Bdr', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 14
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' 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-13' LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 13', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-13')[0m
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 13', NULL, NULL, '2012-12-22 18:47:31', 'form-13')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
Processing by Spud::Admin::InquiryFormsController#destroy as HTML
Parameters: {"id"=>"13"}
[1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 13[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` = 13 ORDER BY field_order ASC
+ [1m[35mSpudInquiryFormField Load (0.3ms)[0m SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 13 ORDER BY field_order ASC
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
Redirected to http://test.host/spud/admin/inquiry_forms
-Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (2.6ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '67a62e4672f9475aa837ea77beeb428ef6c02300b3200b3e010c021c90912edce06096203db208209660e79423bcf399e20d3bd6c1a4f135ce6948dd919e2d0e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SxoLqzSenVTn1EoTnN9' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:47:31', 'b4d07a4b813bc7d05c75ddb2f7983be788298422cd4d6f6917f81adb12c24d37fc250f8239e7a091098faee727e37c62acb84145c0c6a6d6affd8eac8de6d9a5', '2012-12-22 18:47:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:47:31', 'testuser', 1, '4gReGxqcnaPS6khzRH8j', 'p5Rgo6YxIKR8o42kIFyS', '67a62e4672f9475aa837ea77beeb428ef6c02300b3200b3e010c021c90912edce06096203db208209660e79423bcf399e20d3bd6c1a4f135ce6948dd919e2d0e', 'SxoLqzSenVTn1EoTnN9', 1, NULL, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:47:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'SrEcMf1RDHD4h9FjvfG', `updated_at` = '2012-12-22 18:47:31' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 14', NULL, NULL, '2012-12-22 18:47:31', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 15 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.3ms)
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:47:31', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 15', NULL, NULL, '2012-12-22 18:47:31', 'form-15')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.4ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' 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-16' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 16', NULL, NULL, '2012-12-22 18:47:31', 'form-16')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 17', NULL, NULL, '2012-12-22 18:47:31', 'form-17')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' 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-18' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Form 18', NULL, NULL, '2012-12-22 18:47:31', 'form-18')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:47:31', 'Test', NULL, NULL, '2012-12-22 18:47:31', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:47:31', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:47:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:47:31', 'email', 7, '2012-12-22 18:47:31', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:47:31', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:47:31')
+ [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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.4ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.9ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (7.2ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.2ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (0.6ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.2ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.9ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 1', NULL, NULL, '2012-12-22 18:48:57', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"form-1"}
+ [1m[35mSpudInquiryForm Load (0.5ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.1ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.5ms)
+Completed 200 OK in 66ms (Views: 8.7ms | ActiveRecord: 5.1ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 2', NULL, NULL, '2012-12-22 18:48:57', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:48:57', NULL, NULL, '0', 'email', NULL, 1, 2, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 3', NULL, NULL, '2012-12-22 18:48:57', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:48:57', NULL, NULL, '0', 'email', NULL, 1, 3, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 4', NULL, NULL, '2012-12-22 18:48:57', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:48:57', NULL, NULL, '0', 'email', NULL, 1, 4, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 5', NULL, NULL, '2012-12-22 18:48:57', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2012-12-22 18:48:57', NULL, NULL, '0', 'email', NULL, 1, 5, '2012-12-22 18:48:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 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` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 17ms (Views: 0.9ms | ActiveRecord: 2.1ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by ContactsController#thankyou as HTML
+Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '69d40ad2d6abbb16cb8af9b0e8c47f3eb6027f2244d7347d7673f57fe9594c194a582a9e9b25dbe0f832bf17c932970d0faca3fa208f06ae5db25fb65bb3217a' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5PaNuF0XnPWgVfEC2Rnv' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', '8a329d27c37ae8352d02a4fde714f83965beecdceefea11587739e3467b1bf57b95effd7ac336e5535bbce9edb33f4ffedff49dbd9399b9a39cc71eac8908e89', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, 'stA7hPAPtle74LJ5iq', 'vnHtRf01of06XomLB7Bj', '69d40ad2d6abbb16cb8af9b0e8c47f3eb6027f2244d7347d7673f57fe9594c194a582a9e9b25dbe0f832bf17c932970d0faca3fa208f06ae5db25fb65bb3217a', '5PaNuF0XnPWgVfEC2Rnv', 1, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GGZ5sBqD17D08qaM9wJB', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:48:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:48:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:48:57')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
+Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.4ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '29101266358e6af90e01c71d11a3e1555873ee7ccef36f65e63a15177005cf3ccf73ff541ad88d05dc6b5740f40aad41eea8526a0ca0b5804b8567d33af75d03' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Kb5aabwZcFzLZ00Lod1L' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', '44ba3476747bf8653409261492ed42caa1c1ceaab23aef15eb669153fee1c58ed1786e246dc7ade173e7e665accdb43f2d0d5911160aa2aed8ca79f887a99830', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, 'LnkJ8uh6MukXJTOd16Oj', 'zo6MXxKf6XsTT9dHwpLx', '29101266358e6af90e01c71d11a3e1555873ee7ccef36f65e63a15177005cf3ccf73ff541ad88d05dc6b5740f40aad41eea8526a0ca0b5804b8567d33af75d03', 'Kb5aabwZcFzLZ00Lod1L', 1, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'SRrED1blpc3MC9ZAIIR0', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:48:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
[1m[36mSpudUser Exists (0.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 '9ac2da380e20c4580c1152d5c62390b93d8c4a62d2a6249c4afef44d60d628cbf3c6e02b06480cf015218472ea962c84176d727ea9d2ebb484260f8d82af451b' LIMIT 1[0m
- [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'B4TqehVeUlPECuVzYd0E' LIMIT 1
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', 'd6753d976a4086959b5c27e1b969030780d2613a129be46911cefccba41450635c2a94d2a0a14bee2a8d3a42aa3534641de15f2fbe612176345881d509d16043', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'yBTBblWuR5gwXJvg3lN', 'shCYWsLDD9SpZ2P9jZUL', '9ac2da380e20c4580c1152d5c62390b93d8c4a62d2a6249c4afef44d60d628cbf3c6e02b06480cf015218472ea962c84176d727ea9d2ebb484260f8d82af451b', 'B4TqehVeUlPECuVzYd0E', 1, NULL, '2013-06-27 12:54:21')[0m
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'aeb9ff436402d58641ff012adab969065abf7a7fc188c984c21c79fe98319d54e5f692550df263dc18f708c23b9d066f8eaaf4f7259d82fa0f780da2b980900e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'da9FetulJMZvZYBYDgF' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', '734f2f7c7f820667717203036ef33e75a71f39c236ed78c0943c823f20d2f5335533ff07d45dc838dcc6e81bc978be5ad7884e8515a5d8f28914c391585e0bb4', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, 'HlMLCfTGyuWDsMb9B24', 'sNQWiMCeKxkFsC2SIsTI', 'aeb9ff436402d58641ff012adab969065abf7a7fc188c984c21c79fe98319d54e5f692550df263dc18f708c23b9d066f8eaaf4f7259d82fa0f780da2b980900e', 'da9FetulJMZvZYBYDgF', 1, NULL, '2012-12-22 18:48:57')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rlOVgS4lpPVrv81Xzad', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'oQsAMu7ASAcYwXxCyb9S', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 3
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 14', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-14')[0m
- [1m[35m (19.7ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'dc22a823b478c669bb738c663d97f0fb267d9d840dafa30ec63affbddf7ec8c8afe75bc73c92303d85f20cb4e1c2519dae88d407776a682f9eb744e8c1a75140' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '6HDRHXZIzKWDO6ZMox0' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', '994592f8f3322b499037077019f4fee1a20e706ca22c9554bba5c5b7e087869e98c29783379e4cdadb0521e780dffe05a494a4777cf4ddc5c2bd0584aa12838c', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, 'XJKPt2gFfUfAzCxA3zfs', 'XHsTF4o7Qae6rs260kK', 'dc22a823b478c669bb738c663d97f0fb267d9d840dafa30ec63affbddf7ec8c8afe75bc73c92303d85f20cb4e1c2519dae88d407776a682f9eb744e8c1a75140', '6HDRHXZIzKWDO6ZMox0', 1, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VTOwHDdMBQrYx9Sl6N9J', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:48:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 43ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4e9eee3e21c8e13837968051baa2990594867b0a93f6a2f842653b8f60ca690d3904192e26b06a6f2a4c4ca0369d5ae2dd6d22be9c1e546937dce8acfa176865' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OBkmOK51CgkeYXrDkhtU' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', '8526b382af21166a996b0f1c2fce0f100e8222b2118fd7c348f3eee7a2d4d033a88fe3670172956554684039f0513a86296e6ca803753b9efa88a6dc660ac6ff', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, 'TBeqYCI1Vez0fXNf84Do', 'ZRcudEtIHTzIepLiinX', '4e9eee3e21c8e13837968051baa2990594867b0a93f6a2f842653b8f60ca690d3904192e26b06a6f2a4c4ca0369d5ae2dd6d22be9c1e546937dce8acfa176865', 'OBkmOK51CgkeYXrDkhtU', 1, NULL, '2012-12-22 18:48:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'tqUP5IKro6EDuEIZyjoN', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:48:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:48:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 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.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'fe7a3ec3b00ff95136afaed28c0428cab4613c8782c6b5b6192660d63ec8e3f68620f8376fe4470d936eff03a0d20dfb08f0da17c9548c13046aa067bfaa9e19' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'S0couyuAEYfVf30weE' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', '6fcbd4c7c3c3f50f16e229bc90d58b49a0d47c7d22e845820ee168818710da3196711f4d6d1d8b14ea1277611082a373ce499379784b6bd23ccb8e7d7bfa16a9', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, '6XjwAykMBbA3wKfFODHe', 'rsqpd5WdjDxWk4pCfxBk', 'fe7a3ec3b00ff95136afaed28c0428cab4613c8782c6b5b6192660d63ec8e3f68620f8376fe4470d936eff03a0d20dfb08f0da17c9548c13046aa067bfaa9e19', 'S0couyuAEYfVf30weE', 1, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = '7bmkAM4VCjuNFDRvnLc', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' 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-6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 6', NULL, NULL, '2012-12-22 18:48:57', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 7', NULL, NULL, '2012-12-22 18:48:57', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.4ms)
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '8f10e1f85fd2fdd6b9da7a7295d7983ee21f7e57993d22d7d2ce1b3e9a6f62dd3c54d2a8236d6efd82173c705bb76ee152c05e12295de6eebce1506635b8c4ea' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '07hfk6eAQfUoHvbg7gQ' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', 'd377e338a9fb53e91b0ca8164ee8f79370958c67af4b17d17aff01eeeeaf0ca05b3f110f26ecf0b52206e4b742d77ed2f6c020d260833d3df45b5c9f38dcb26f', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, 'LwrrBFSHHJxulQY92xL', 'pxx8TulbyK43oZQixQB9', '8f10e1f85fd2fdd6b9da7a7295d7983ee21f7e57993d22d7d2ce1b3e9a6f62dd3c54d2a8236d6efd82173c705bb76ee152c05e12295de6eebce1506635b8c4ea', '07hfk6eAQfUoHvbg7gQ', 1, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iKcZMOcduzY82L2GZQe3', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
+Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8a240be19e189a616620554a83d809c294a28353f1ba3cf15d528a04714855db507ef5a093abf6b103666094b8ebac9e40b0b06ee0fcd604c83314ad07086f76' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'olmlzHxtyS4OKployHVo' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', 'f9059a1a15f69da2c069c2b8fc8b885e396cbd17b8614d11923f2ca25597d588ff68824b40272efc35be39a9c2c263512df78770657fa48043761c6c66987d0b', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, '4LolJJodbBY3JEJSC9S', 'Nn6luW76SgCJxbMkM7', '8a240be19e189a616620554a83d809c294a28353f1ba3cf15d528a04714855db507ef5a093abf6b103666094b8ebac9e40b0b06ee0fcd604c83314ad07086f76', 'olmlzHxtyS4OKployHVo', 1, NULL, '2012-12-22 18:48:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'k7CoTw2Ij0vkVDJdk7', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 8[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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"=>"Form 8"}}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 8', NULL, NULL, '2012-12-22 18:48:57', 'form-8')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4ae0edf2193a19299da5d5215c31ed790f70f0b2e82918d3fde63130adeaaa8e64e65a2d63b947aa8ef6b3ede7790e243f55187339b41f6135a5b3e8063dbb65' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9F4WwiKgzAZmOtr8E519' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', '6382f9907197e70a974a9dfa9bb2651631992cf8b11af5f071fff0a0ee72f5b81996e47e7cd8ce27189065741d99a7d6cf582dbd83a5f0310d24828b78962303', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, 'i43xYwq0XuoGu90C1e6Z', 'Fr93ktQtfrtIVLXgGYBf', '4ae0edf2193a19299da5d5215c31ed790f70f0b2e82918d3fde63130adeaaa8e64e65a2d63b947aa8ef6b3ede7790e243f55187339b41f6135a5b3e8063dbb65', '9F4WwiKgzAZmOtr8E519', 1, NULL, '2012-12-22 18:48:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Llajhch2HpULwucNOx', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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_2
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6035a87a4d08f5438fa329839dd2e9fcdae1d001db673ce5d01ee1095cbb262ffe0916c1d3bba845d8b2d6c456579a7db29f494c3a949c12844baa22940c2eb9' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UBMFnZo5Q9n14qIM3lep' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', '3591b547a85f76a5154d19561709afaa1cc056901d45380cd77de278520300656b475c203cdd700ca325650c13b7f1094586b40122da09cf7b8ad554e894bde4', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, 'eWpwS0jNuFYyu52pXvf', 'Da9WI1ycEc4qaBkjPJK', '6035a87a4d08f5438fa329839dd2e9fcdae1d001db673ce5d01ee1095cbb262ffe0916c1d3bba845d8b2d6c456579a7db29f494c3a949c12844baa22940c2eb9', 'UBMFnZo5Q9n14qIM3lep', 1, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vNShBJdGjBsW38km7jp4', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' 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-9' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 9', NULL, NULL, '2012-12-22 18:48:57', 'form-9')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 10', NULL, NULL, '2012-12-22 18:48:57', 'form-10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"10"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.6ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '5133ef3dbd11b2c586b0d161f0674358250169f7c920e26d4979845ff408f5386920a34e58a302155f8477f59ed98547d2d5259782565632f13a2657039aa182' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'bdT5slwxmp3h1266yf5' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', '3e9b0c4e94dca551ea8d2eca2e2c1adfc17c7cc10156d2eb1105d3e08922a5640ed813583922ea0315c35faaded71c9215feebc615e0c7176738f993a256eefa', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, 'OgmUgW9US7P8dMtOcc7m', 'luMgqkULDceU6Mp11aKl', '5133ef3dbd11b2c586b0d161f0674358250169f7c920e26d4979845ff408f5386920a34e58a302155f8477f59ed98547d2d5259782565632f13a2657039aa182', 'bdT5slwxmp3h1266yf5', 1, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'kVHzgmsCJwAlRpUxpDvp', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 11 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 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 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '33641a93528307283adf929723b403686402e2c2b7e80fd2112025e7a272664f713a24f68831ab27db4f2f8e79e5c618141c4cdfbbc36de2eccea38b99d280a8' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NnNPV7TrTX6gP7OBALTW' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', '9de36728dabab2cd48ff40db7592afa57ca03f4772656c91a1d6d0827340965271c0e55cad4ead7b62e86411d6bfedd8b30f5541ca5cb1d7be9cc74c691e9c3c', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, 'SA4HkIT9OoJmCXPGNt', '8emxMkfHzigqnxbqbZi', '33641a93528307283adf929723b403686402e2c2b7e80fd2112025e7a272664f713a24f68831ab27db4f2f8e79e5c618141c4cdfbbc36de2eccea38b99d280a8', 'NnNPV7TrTX6gP7OBALTW', 1, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = '3Q5Z7dPK8PgGNRsjxQth', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' 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-11' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 11', NULL, NULL, '2012-12-22 18:48:57', 'form-11')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"11", "spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2012-12-22 18:48:57 UTC", "updated_at"=>"2012-12-22 18:48:57 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11"}}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_inquiry_forms`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f5587773d631cf1fa645b37ab625684c0ba5dffb977a84dde9d883aeff86ebf3e954c5f75acf7604846e349c4aabe1157a5f16c9e1eabe45555a0803d03f6080' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jlQfGx3z4QdEstIk890H' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', '42243fab509b009c688f371c2a2bb3ccf1acc425fdb786fb912216b83870185927f69a8b053e337d7122af17970935533c7da567ac0e8e904bea2c76aa83098e', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, '4ZrootxMpUj2FBUJUbvN', 'DdRqlNTSdP74VioksI', 'f5587773d631cf1fa645b37ab625684c0ba5dffb977a84dde9d883aeff86ebf3e954c5f75acf7604846e349c4aabe1157a5f16c9e1eabe45555a0803d03f6080', 'jlQfGx3z4QdEstIk890H', 1, NULL, '2012-12-22 18:48:57')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = '8RjHWe9wfhtH8vprnAp', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 12', NULL, NULL, '2012-12-22 18:48:57', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"id"=>"12", "spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2012-12-22 18:48:57 UTC", "updated_at"=>"2012-12-22 18:48:57 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 12' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '4e5108113476b699057baefa046cfcd73ed6801f782eb4e7c887ea1f8253370bee49a9a013e62e5d0f232801531830e9705680122c2dfee59556a960dd5dd28c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nvaYiAYMmQ6JvFewXqzw' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', 'a2011cd9adb7aed43d925c8616b9f4af1c7e6f693db62d847edb5a3e88f20fab88c11590064e6b2637abd93cfa69d410cf4c3cbca9c85ac4bd6010a1b513373a', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, 'AdnYM090cEXIhsf0DFfm', 'PRttK9uhGCLC1cQb4wQm', '4e5108113476b699057baefa046cfcd73ed6801f782eb4e7c887ea1f8253370bee49a9a013e62e5d0f232801531830e9705680122c2dfee59556a960dd5dd28c', 'nvaYiAYMmQ6JvFewXqzw', 1, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = 'IzoM33faM9XcsCCyROyR', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 13', NULL, NULL, '2012-12-22 18:48:57', 'form-13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"13"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 13[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` = 13 ORDER BY field_order ASC
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'ae6c486c790d2401e9daa28d9cd2fab7457d4db73bce337ccc269b982fcf28743d933d98e3a5d66217ae2fd809a8761d05cfbabb81e768581813d5a1dd60307c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'I9L7jNPb3w05V1MXOQw' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2012-12-22 18:48:57', '72d369f917de566f0f916e83da877e082116f9eab7d44d9ecbde76ea755eaf81c2265a81b79078d59da052debbec7fe255d7246c1de27f0c7e5bc9c383f5e83e', '2012-12-22 18:48:57', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2012-12-22 18:48:57', 'testuser', 1, 'VTD2yYTAD239UofRANF', 'gZA4aKEGSkElSkfPpOJ7', 'ae6c486c790d2401e9daa28d9cd2fab7457d4db73bce337ccc269b982fcf28743d933d98e3a5d66217ae2fd809a8761d05cfbabb81e768581813d5a1dd60307c', 'I9L7jNPb3w05V1MXOQw', 1, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2012-12-22 18:48:57', `last_login_ip` = '0.0.0.0', `perishable_token` = '6KAh8YAjuvvGXjDhdH8', `updated_at` = '2012-12-22 18:48:57' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 14', NULL, NULL, '2012-12-22 18:48:57', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 15 LIMIT 1
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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.4ms)
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.4ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.4ms)
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
-Completed 200 OK in 38ms (Views: 36.4ms | ActiveRecord: 0.2ms)
- [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:48:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
-Processing by Spud::Inquiries::SitemapsController#show as HTML
- [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
-Completed 406 Not Acceptable in 2ms (ActiveRecord: 0.3ms)
- [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 15', NULL, NULL, '2012-12-22 18:48:57', 'form-15')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' 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-16' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 16', NULL, NULL, '2012-12-22 18:48:57', 'form-16')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 17', NULL, NULL, '2012-12-22 18:48:57', 'form-17')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' 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-18' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Form 18', NULL, NULL, '2012-12-22 18:48:57', 'form-18')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2012-12-22 18:48:57', 'Test', NULL, NULL, '2012-12-22 18:48:57', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:48:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:48:57')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2012-12-22 18:48:57', 'email', 7, '2012-12-22 18:48:57', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2012-12-22 18:48:57', NULL, 0, NULL, NULL, NULL, '2012-12-22 18:48:57')
+ [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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (2.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (1.5ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (21.9ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (59.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (15.1ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (10.0ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (8.9ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (6.4ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (6.1ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (7.8ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+Connecting to database specified by database.yml
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (0.9ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (6.5ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (3.5ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (4.3ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (2.3ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (2.4ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (3.4ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (3.8ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (2.5ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (1.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:16', 'Form 1', NULL, NULL, '2013-02-14 14:30:16', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 82ms (Views: 44.1ms | ActiveRecord: 6.4ms)
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:16', 'Form 2', NULL, NULL, '2013-02-14 14:30:16', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:30:16', NULL, NULL, '0', 'email', NULL, 1, 2, '2013-02-14 14:30:16')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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 (1.0ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:16', 'Form 3', NULL, NULL, '2013-02-14 14:30:16', 'form-3')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')[0m
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:30:16', NULL, NULL, '0', 'email', NULL, 1, 3, '2013-02-14 14:30:16')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:16', 'Form 4', NULL, NULL, '2013-02-14 14:30:16', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:30:16', NULL, NULL, '0', 'email', NULL, 1, 4, '2013-02-14 14:30:16')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:16', 'Form 5', NULL, NULL, '2013-02-14 14:30:16', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:30:16', NULL, NULL, '0', 'email', NULL, 1, 5, '2013-02-14 14:30:16')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.9ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 20ms (Views: 1.0ms | ActiveRecord: 3.6ms)
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by ContactsController#thankyou as HTML
+Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cc1129cb9112e9f3142368f1673411c74f2505f81a266a039feba4c51f90b11a6bff0ad3b952c794b842078f17177718ae6196f9e34ea430d437b9f42362cbe3' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QcONt3owSomjODot6BIj' LIMIT 1
+ [1m[36mSQL (1.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', 'fcaa9d078008ba5eafc0ec020be3ad1843216861b52a0ba10eac4c9d9716f1d660710ef6024595e0a0193dd6225a10e56f18ee423bcc4ba9a473b173db76c1d0', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, 'mlA6V3Hlfgyj9Q6glUw', 'Y2lFYc5POK44KrzaBCsr', 'cc1129cb9112e9f3142368f1673411c74f2505f81a266a039feba4c51f90b11a6bff0ad3b952c794b842078f17177718ae6196f9e34ea430d437b9f42362cbe3', 'QcONt3owSomjODot6BIj', 1, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (1.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = '7NPmibAMBhCU87Bbhht', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:30:17', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:30:17', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:30:17')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[35mSpudUser Load (0.6ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
+Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 0.6ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3564ee2ff2276b6286918d895c69c5b3608664828b143f051d0a9f229764f52c85c05d5c849922fc86e49179d60b59f602764d08bc7a6e41357f724d32c39a46' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oRKeXAbakeK6PGXyKBg' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', 'ba9c00527f02ea11306dddcc17b8bc9303568a8d4dcec70df98903548435ce712f7303a1b07aa7ffde8ca846a9638014d9dbcee71025b7ee35d5613ba8f0de8c', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, 'wbyM83QywOOrggsJM6FG', 'rV8A433ewinLK4mAeOM', '3564ee2ff2276b6286918d895c69c5b3608664828b143f051d0a9f229764f52c85c05d5c849922fc86e49179d60b59f602764d08bc7a6e41357f724d32c39a46', 'oRKeXAbakeK6PGXyKBg', 1, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'TQqtJjz9TQ8sUsJG5cYt', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:30:17', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'efd86f4ec5cd1960b26e39a4ae4f3828fe2de27156f792f32da78110bcd15aec0d1a0b030557bb531c53a528efdcaf1f23107f6d26b9ea3247e947124bd6e015' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'IZ8e630jqW0qXXm75eSt' LIMIT 1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', '83acec2b9440b37ae341d486bbc5d9367ce453f38fa5932d8eb028ec20604c2ea195042624396cd3cd480244c1ee3a47fdb59a5d9f532faa80f8b81006d80b10', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, '1Jn4toVf0SvfRwtmWgG', 'sNa1JyvtYRhzCxGd0bs', 'efd86f4ec5cd1960b26e39a4ae4f3828fe2de27156f792f32da78110bcd15aec0d1a0b030557bb531c53a528efdcaf1f23107f6d26b9ea3247e947124bd6e015', 'IZ8e630jqW0qXXm75eSt', 1, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EVoZC4JL0GQjY2Xd4qwH', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudUser Load (1.0ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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: 1.3ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '18a87cd8bf0ab82f4d9b1097c7f2c944c5bb924775881cc0c97fa097e95b8aa4de2f728bf0c72131305a6f0c00c8147fdf319c02325114b73dcfd62e9be2cbc4' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lUGCXJqXrXutRVixIrsD' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', '70361ee87ded7bd1889a2ed1c913f32d0bc63e453372369a661f1a7cd2e2f48f9146cb899573d4a6cffdd98705a9ee1499dcccbd6c5c7625557cebdb12c0e256', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, 'vnZ5gnhAM5vbLzT54oy', 'QwzIkv3uHXYCBbzc9LfK', '18a87cd8bf0ab82f4d9b1097c7f2c944c5bb924775881cc0c97fa097e95b8aa4de2f728bf0c72131305a6f0c00c8147fdf319c02325114b73dcfd62e9be2cbc4', 'lUGCXJqXrXutRVixIrsD', 1, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.8ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = '3OlaDdluiqlkDmwieqw', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:30:17', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '4f13778ba6b39f46b5d67a95b98e6e59fe8b8775bf6a23a8ae8daaafd740ffff235ac299b042ff7b21bffc3ef6ac022c9d27a7a0ad25e789fbd8155d6b569362' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dgsjF2CJ6dL8PhWm0WXa' LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', '58bbdad7ca4a84b38717283e4f9facd4d049e7de803d5df41dbe06a2e20f78b74dfb4c0cf67dc649b025aac7abbb7d579a9ef2507e592bbb9f720eddc81e2fd6', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, 'DCP3QAQCDTpxjCl3I', 'fwzqccazVyLTELgvAOk', '4f13778ba6b39f46b5d67a95b98e6e59fe8b8775bf6a23a8ae8daaafd740ffff235ac299b042ff7b21bffc3ef6ac022c9d27a7a0ad25e789fbd8155d6b569362', 'dgsjF2CJ6dL8PhWm0WXa', 1, NULL, '2013-02-14 14:30:17')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (1.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'yBSm6FyjWP0yLNZ0a4J', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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:30:17', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:30:17')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 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.5ms)
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '649042032e2c80f7b4c190dad781aef95cfbe5dc9b47354ded8db3d71fdb18ac9285f942d7bb7dba6518766ee4c91161b298f6720ffbdb7dbbd58f10f0d0b2d2' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KDtMyzYelJIF2mKPWFtK' LIMIT 1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', '0e12ad373e6298c52c5e8508da42eb34b34d2789485b1490d6b6eae049a0ba7b2fdc361a7da2ec957a678e2caf3114c8b99df5791eade5ebbf01685b6148514f', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, 'gQMiWVfPORTgEvr9DEj', 'njDcsBKtT6G3zd83NySa', '649042032e2c80f7b4c190dad781aef95cfbe5dc9b47354ded8db3d71fdb18ac9285f942d7bb7dba6518766ee4c91161b298f6720ffbdb7dbbd58f10f0d0b2d2', 'KDtMyzYelJIF2mKPWFtK', 1, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'jStClgB3GpOaheRIjFK4', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:17', 'Form 6', NULL, NULL, '2013-02-14 14:30:17', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:17', 'Form 7', NULL, NULL, '2013-02-14 14:30:17', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '479977bb7c6d935769fea8c8adc803643fb8bcbed2bf27f65df89b3b779a928cd577c26cbaba109f5bdfbea7209afd9d8775df3b7646ec54eac9432e8be3097b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UKmKW14gBVMKBD1KQCp' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', '2a95beb93ffd20369fdad2e79265c73cb6959112bba1fdb366e775933789b88439174bb98141cbba1d1db0420bcb5acad1f490bbeb839b18de583e1700d17880', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, 'cr2MsyR6Zb9AXc0nxTL', 'FzVNjsPt9hGpcT1652Bz', '479977bb7c6d935769fea8c8adc803643fb8bcbed2bf27f65df89b3b779a928cd577c26cbaba109f5bdfbea7209afd9d8775df3b7646ec54eac9432e8be3097b', 'UKmKW14gBVMKBD1KQCp', 1, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (1.1ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'PqZjQvcyIPM6owcd3RCg', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c075b87505924ce44852afecbd7a61bf4d9c5c0dfa5c526dbbe17ad48a9b25de2245a50f41b8e4008eb2f16e164e4b65171226840b0381a00bb995b36fca59cd' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5H2JnyZEt8hQEQZpLZ0' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', 'b35e856c3cf02b950a1e34ed6f0643f574c3366f6014c3aa3fdc1395dfc254551bacd07d3954cf657f869ed451808782f3429120fb9677017244f2521ef86c10', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, 'e8r2GlhuGpc8voFkW8OQ', 'RUEMc2BMWSNRFZVOUca', 'c075b87505924ce44852afecbd7a61bf4d9c5c0dfa5c526dbbe17ad48a9b25de2245a50f41b8e4008eb2f16e164e4b65171226840b0381a00bb995b36fca59cd', '5H2JnyZEt8hQEQZpLZ0', 1, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.8ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Z0gx4XAqrYC9O3jJeQct', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (1.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'eb288261c15d93e37f41f262d11c9636d86607532024b356776bf500aaed3408a3bf054b95a61080b865b6de243040741bd204e47de2212151582e3d255d9ca7' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UuociwPdkau8s2K2mdNC' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', '812d036ecc047d23b350cc44a9ba10723b787bef05cb722a590110ffd4350f7eb0a0ef00bbb8eb9be8ae8262ddbea32d632746ff0a1ebbbe86d56646624943bf', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, 'O5IRpJKkKhp6AL5npYl2', 'MeDxtgJRHF1wArZdnWW2', 'eb288261c15d93e37f41f262d11c9636d86607532024b356776bf500aaed3408a3bf054b95a61080b865b6de243040741bd204e47de2212151582e3d255d9ca7', 'UuociwPdkau8s2K2mdNC', 1, NULL, '2013-02-14 14:30:17')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'SLcbdsxeXzA6cia5XB', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'be20bed54bf9508ab12e18adb91661aa9114022c7de7bbf0ddd4a78d7fe886368abd49acccae8612fdbd7ccb084cc4e87171b14b27e73388d03a3a704424e473' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4CCeuh2lgNPvhZ4eYzRg' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', 'f57a0baad3e5b94775396d380d225718a456481776dfaf9ffa9b4521a0b3cab77f1dc3e272c8f810402d3143765a59cea2f8b8fd9861edd77f4065f5c9930bf3', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, 'Q1AicxJpZGQzqulwL1I5', 'OlYIbpROhiYXUF56JuUa', 'be20bed54bf9508ab12e18adb91661aa9114022c7de7bbf0ddd4a78d7fe886368abd49acccae8612fdbd7ccb084cc4e87171b14b27e73388d03a3a704424e473', '4CCeuh2lgNPvhZ4eYzRg', 1, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (1.1ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Wk7Nf8kh0xwiOIgn7og', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:17', 'Form 9', NULL, NULL, '2013-02-14 14:30:17', 'form-9')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:17', 'Form 10', NULL, NULL, '2013-02-14 14:30:17', 'form-10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '7b08431d9c7d2990a385732b94b8aee8a1c8d5c67e84612023e51a2c9f582e8d310b2f9b44a680172e914a2fd6a362bbb2799be15b19c06e34ab9c17a0a7cbbd' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eqhWWypEXt7FYJBFTWd' LIMIT 1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', '283d8307e3357a5e4d9a4b83e11f6e1be83dfd3bea40400c59509e3e9727e8d602ab7141cb51423a89e76692d35d632f8f4256fd63eae741d83a9cf27627d093', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, 'BX5zMX0tr2piqaijGfD', 'f0NU2wWp6fIt2s9LWcCM', '7b08431d9c7d2990a385732b94b8aee8a1c8d5c67e84612023e51a2c9f582e8d310b2f9b44a680172e914a2fd6a362bbb2799be15b19c06e34ab9c17a0a7cbbd', 'eqhWWypEXt7FYJBFTWd', 1, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = '06X90J0yqk8WoL9IGCKC', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '43dd4b1a42c8bb0f1d7329a2cf1505942bd0c5453d20dce785182055fa0e3d101f282ac2063a2a3de9aa31ab59eb3b2f5fcc9b26b52210f1c623a98bd009e00b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gsp1FiFCjyXfkrUNjR' LIMIT 1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', '93bdeb84d53c04f42adcd06d6601f781948eb4960fe5c65f228aa4a5759a18d6c53c6d44882c56ec1a193fd507fa941281b0e7669793b84d12b3f1e13670a3e0', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, 'BV4ZDDjFBHiDthOjh7iB', 'IMbqi6ml3aQ5iwYU3wy', '43dd4b1a42c8bb0f1d7329a2cf1505942bd0c5453d20dce785182055fa0e3d101f282ac2063a2a3de9aa31ab59eb3b2f5fcc9b26b52210f1c623a98bd009e00b', 'gsp1FiFCjyXfkrUNjR', 1, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'aiR98CiOfG3EhPOGo5S', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 12
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:17', 'Form 11', NULL, NULL, '2013-02-14 14:30:17', 'form-11')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.7ms)[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 '9cfb8c9b790ff0aef43ff1dbf5a2b6f2bf9a8a0f9a06f7d929736e69b7dfe8e1abb9b1aab9f86f445974e6403257423aa617624db548a68a7b70636b60619016' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WIkIuqa9KkXzQdDvLP6c' LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', 'c8e36237f6784c2f60c282b409a5f2692324aae8929c00a7c9db7e2c236a72636cd1e11634eec96ba1b44644ede7d9c5b97674035e0b27795764902f06b0a0aa', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, 'f07eIAwb4PCz9i2TaAU', 'fsRAzyXP1disFTYazrP', '9cfb8c9b790ff0aef43ff1dbf5a2b6f2bf9a8a0f9a06f7d929736e69b7dfe8e1abb9b1aab9f86f445974e6403257423aa617624db548a68a7b70636b60619016', 'WIkIuqa9KkXzQdDvLP6c', 1, NULL, '2013-02-14 14:30:17')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = '95FQA0POP0FcFiSyCQNa', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:17', 'Form 12', NULL, NULL, '2013-02-14 14:30:17', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 'e710e2b729231c08caaca82f18bd77a134252db235385d7019a181cf70f018e34cacd2ebf17c8cbd95a89dd91da1c8ad29203cff21048c0889ac1bdabe3c7c0f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'nQbg52AriCDuK2rqqja9' LIMIT 1
+ [1m[36mSQL (1.1ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', 'e5fdcac7bb1d650892881e93cdc46b6cdeb84203678acbea3712b463676dd2cbca0814cec3504714018a465310c49bf00cf3ed5124b3f9036488cbe1b584785a', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, 'JuUVmrQ9HEBJj243oiEW', 'hlYqYOEgi3YmIlbpyxL1', 'e710e2b729231c08caaca82f18bd77a134252db235385d7019a181cf70f018e34cacd2ebf17c8cbd95a89dd91da1c8ad29203cff21048c0889ac1bdabe3c7c0f', 'nQbg52AriCDuK2rqqja9', 1, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mqnHv5oTWUlmjxOHm51v', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:17', 'Form 13', NULL, NULL, '2013-02-14 14:30:17', 'form-13')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[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 'e980fc3aaa8fdafba6a927ba200d0bd0c5e071b8e7de18946eec2b036aa89a0038b07dfb44efeb2baa6ef2baf6a6e59e79dc9b77ba527dd3059c63a58b9e5cac' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '27GRnwSMJ7GAtADpSN' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:30:17', '5adf4c63469b9d273eee18c46376f0a5593a390183c0daf11135930a021ac6ab1304fd0d661047628e4f48f0e20c6c3677b09192ac01f420dea7bc00750700e4', '2013-02-14 14:30:17', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:30:17', 'testuser', 1, 'ar5b6O3x5VlVQZsqkh', 'NLEnpnAYfR9su4pKmP6C', 'e980fc3aaa8fdafba6a927ba200d0bd0c5e071b8e7de18946eec2b036aa89a0038b07dfb44efeb2baa6ef2baf6a6e59e79dc9b77ba527dd3059c63a58b9e5cac', '27GRnwSMJ7GAtADpSN', 1, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:30:17', `last_login_ip` = '0.0.0.0', `perishable_token` = 'KeF6N95Uw171unLkiJj', `updated_at` = '2013-02-14 14:30:17' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:17', 'Form 14', NULL, NULL, '2013-02-14 14:30:17', 'form-14')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:30:17', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
[1m[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 15', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-15')
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:17', 'Form 15', NULL, NULL, '2013-02-14 14:30:17', 'form-15')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (1.5ms)[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.9ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:17', 'Form 16', NULL, NULL, '2013-02-14 14:30:17', 'form-16')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:17', 'Form 17', NULL, NULL, '2013-02-14 14:30:17', 'form-17')
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' 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-18' LIMIT 1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:17', 'Form 18', NULL, NULL, '2013-02-14 14:30:17', 'form-18')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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.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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:30:17', 'Test', NULL, NULL, '2013-02-14 14:30:17', 'test')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
[1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[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.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:30:17', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:30:17')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2013-02-14 14:30:17', 'email', 7, '2013-02-14 14:30:17', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [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:30:17', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:30:17')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryField Load (0.3ms)[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.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (4.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (50.7ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (2.6ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (4.1ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (2.8ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (3.3ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (1.7ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (3.0ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (1.0ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 1', NULL, NULL, '2013-02-14 14:33:27', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 68ms (Views: 8.9ms | ActiveRecord: 3.4ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.9ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 2', NULL, NULL, '2013-02-14 14:33:27', 'form-2')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:33:27', NULL, NULL, '0', 'email', NULL, 1, 2, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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 (1.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 3', NULL, NULL, '2013-02-14 14:33:27', 'form-3')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:33:27', NULL, NULL, '0', 'email', NULL, 1, 3, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 4', NULL, NULL, '2013-02-14 14:33:27', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:33:27', NULL, NULL, '0', 'email', NULL, 1, 4, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 5', NULL, NULL, '2013-02-14 14:33:27', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:33:27', NULL, NULL, '0', 'email', NULL, 1, 5, '2013-02-14 14:33:27')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 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` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 49ms (Views: 0.8ms | ActiveRecord: 1.8ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by ContactsController#thankyou as HTML
+Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '96f9877d259deb36f5dc702d2d73cb4d04d7a36702741be268dedec688bffbed382ae8ccfe0b9062cd8bf47fcf75c278283ca87bffb7c3592923d73678872bf6' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'k5B2p7ekSBRhCXpitXW' LIMIT 1
+ [1m[36mSQL (1.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', 'e4c54bf1e27986c51019f85ee030005b30db75e7fbe9519577262a6d246e1cc243726f85cbc7d5b3dbe68a898a0c16bbb0e0967772b286c2d4aade672a544dac', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, 'Mvn8wbfV6tD192vHWJHv', 'Z4jjd4FcJT30wQz4u6w', '96f9877d259deb36f5dc702d2d73cb4d04d7a36702741be268dedec688bffbed382ae8ccfe0b9062cd8bf47fcf75c278283ca87bffb7c3592923d73678872bf6', 'k5B2p7ekSBRhCXpitXW', 1, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'CsfjSeFtxY4V5JLWxx8', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:33:27', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:33:27', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:33:27')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.4ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[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.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2f01cdee8065b8fb5ef280139cdc05db97bbcf2e07dd5f9385b5b885536c40f92045f178e78bf222d955b51eaaaaa57fc2264473fcea9e5b43eb98066590d0f6' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'h4uadfQZ8V0wQQUq36e' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', '77cf1266abdd754ac1c43f97e793bc4501ec46507eb11d0c5ed2de694b385c9b5305322d12ab7329994f0f7a028a228f0d7b9419bf496555ae6b1a7523b08470', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, 'mlR3QNkGFuPEFAeDZTuB', 'GIb3ZkpIn8vWlLIRq6B', '2f01cdee8065b8fb5ef280139cdc05db97bbcf2e07dd5f9385b5b885536c40f92045f178e78bf222d955b51eaaaaa57fc2264473fcea9e5b43eb98066590d0f6', 'h4uadfQZ8V0wQQUq36e', 1, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'vG0cZgSbFduEubuY0WU', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:33:27', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '32ca40c1b09a99d8d46b10334c19147d1cb0fd58844caac0f7f99c4769a9bee2a20a22936ff7f7b15bef9bb2c30c552a170f1d10b4d17fd1518299e8b22ae926' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'e4or8tZ1DzeSzrQlkqQz' LIMIT 1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', '703b67a4c714c133be4a9048c7fa645920efc4faccea0c04cea5ef195b3f6ab84bebb1e213c3bfd8299504a30e2f6c7b47949538226a3aa7c56e40c4713edd8e', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, 'mPdsI9KB2OMDDHroaCep', 'lllCwyAFK76QT6GvXNL', '32ca40c1b09a99d8d46b10334c19147d1cb0fd58844caac0f7f99c4769a9bee2a20a22936ff7f7b15bef9bb2c30c552a170f1d10b4d17fd1518299e8b22ae926', 'e4or8tZ1DzeSzrQlkqQz', 1, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'eG1YviMvpR2EZUoDVn', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 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.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[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 '4cf4ac8a5c8c7a29c683a0277e211503a7d04c5a30c5f723534a052a3dcdc1727dbd3228a5f6cd75813464f622fc322a6babbd1c120977cd311257ae4a95636e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oCtoGQpBmhWFAw7fPEWu' LIMIT 1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', '0bf1e7a275086e9f5502d2330a5ee05654906006367d455aa246b06ddf044ceb32747d926af02418efb4350d7f9af327e52ffbe3871272948b9dd2fe6c395abd', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, 'CtMhLsHguc015f5YPhq4', 'vd6iOAObzttcVysao3cI', '4cf4ac8a5c8c7a29c683a0277e211503a7d04c5a30c5f723534a052a3dcdc1727dbd3228a5f6cd75813464f622fc322a6babbd1c120977cd311257ae4a95636e', 'oCtoGQpBmhWFAw7fPEWu', 1, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'WeDSCLLpyasVInEwS5', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:33:27', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.2ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '304b241ae4283f9bad27a926060cac9450c0b84d4e7171d9fd9f39ccd25868305f816fbc182c36fb4b4afc634addaae419e349b84ce4082ffb291d5ba3da4f88' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XOzyxaNmbfkFAaZfrZj' LIMIT 1[0m
+ [1m[35mSQL (0.9ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', 'd2e13a7fe4dcf5b48d70fbf9465b8f04febe2cde79cc2c79203886e1bc747463868127f31e5dbfd2f4093fd185efaac3a5ae69e10ca81f53d44568c34de76418', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, 'GqbbT0j1c8cHWAOl7U1F', 'kEgya5FFFjQIMqDfrmde', '304b241ae4283f9bad27a926060cac9450c0b84d4e7171d9fd9f39ccd25868305f816fbc182c36fb4b4afc634addaae419e349b84ce4082ffb291d5ba3da4f88', 'XOzyxaNmbfkFAaZfrZj', 1, NULL, '2013-02-14 14:33:27')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QjspDjt2QcHSl2VlJDBu', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [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:33:27', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:33:27')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.3ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '365ecf65ee3feaac3a7ad38316fb1f1999dc32e648d6d4b5be0977c8c48c9d6d625c6f1e0fcf19136fb3634ecee4c75fdd53df308a1cd88b96a29531e37fab48' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'yxwiOAxgMWYdvZQ6xV' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', 'a79f7595e9e283466ed541e095da912da6e11e7bb7e8604c3c69e4eaf8bae5497706934454f3368fc3e87712d20afb210f27a5a50021a659902f77bec8b9a956', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, 'zTPRtoIE7O66Yiy9rJbH', 'rUVwAb9syLVgYAiSqtK', '365ecf65ee3feaac3a7ad38316fb1f1999dc32e648d6d4b5be0977c8c48c9d6d625c6f1e0fcf19136fb3634ecee4c75fdd53df308a1cd88b96a29531e37fab48', 'yxwiOAxgMWYdvZQ6xV', 1, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.7ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = '2UwldwWKCBlOE64OnVq', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 6', NULL, NULL, '2013-02-14 14:33:27', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 7', NULL, NULL, '2013-02-14 14:33:27', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ac33c79a4f3e3511516ca70fd83f20b772dbe8b3560c25157e0f571fca5a169fa484a80e1b359c92912c8dea25f7b806f28277dd2fb1af6957d1dd987bc123cc' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XCjV0pdZ78OlNxKGSBe' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', 'b1431e8050f3837bde19886d9d737d95d6ece013169e5a46340a712672a84254d4c5f2eaf97a9e6453bcbeca0dca78d03b766f62d9e5b1c8bc9ec505ad4c9be7', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, 'o6NXSTqYG7i1kCvQj9K', 'ZAQAsB8qhTXy417hh7P', 'ac33c79a4f3e3511516ca70fd83f20b772dbe8b3560c25157e0f571fca5a169fa484a80e1b359c92912c8dea25f7b806f28277dd2fb1af6957d1dd987bc123cc', 'XCjV0pdZ78OlNxKGSBe', 1, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'OXaGrJwd6TXOdXXU76N', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f71fecdab118d215fe278c6dee22a90df0de0d7862f05984b79411a446348c3fe49a3e1402ce1db200d424543ca3ef574de16e7d9ca41403d1d71264bd70ec4c' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BxKUPjsjckAPcCXNyW' LIMIT 1
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', '3afd653fb99d3d0935a929b13ed47c6b886ed5947cb2f922011234cfc5523461c25911a3308a554a363989c087b85e7d8a45df6ef43f66e5e8b3e492cd822914', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, 'X9DtY3LtYbRImFzSgfLn', '7JIkRmdEdpctk01QKZC', 'f71fecdab118d215fe278c6dee22a90df0de0d7862f05984b79411a446348c3fe49a3e1402ce1db200d424543ca3ef574de16e7d9ca41403d1d71264bd70ec4c', 'BxKUPjsjckAPcCXNyW', 1, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'j1ATAgJ6FbtdyMkpMxeU', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '0f36c8a0fc8a9782a76f33b4fd908357ab2d4887de93825904cd66882ca01d799574e8b8c49a2f2a93c82ae5f33915686c8204a24c8a88807971992d97a07815' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XfHyFyZCdgaK2gO9YND' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', '1ab8b2ab8e57028db60a7c962b623e2a6f080b37809861ad49c4053624d2d3cc4607935e32558169ad4994c930df06a872725996e0c2a5904b134be938074350', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, '2Ung2fp5VAyahz7jpvUj', '8KrhtzDLdQ5eBXVGBEA', '0f36c8a0fc8a9782a76f33b4fd908357ab2d4887de93825904cd66882ca01d799574e8b8c49a2f2a93c82ae5f33915686c8204a24c8a88807971992d97a07815', 'XfHyFyZCdgaK2gO9YND', 1, NULL, '2013-02-14 14:33:27')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'DwVFIEIlbtg96LHFTwK', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fc4b5375680acc13e6be96e5ba0432ef575d6dc7c42e5585a0f9f8e46c9e339bf8a89d000f7e17d6492407836424ba7190de137d12fb0b2083083c1796949ce5' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'w5vgJ5NSxyynZUGXSjcu' LIMIT 1
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', '3bb2746fc5f4a178c48779646b7f963a7c4263430b018c36796d761a3545c8c750d891c2796f5123480aab2ddcad47b38e985133d9012767f3e6b20a58bd6819', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, 'kOFFmqwYATUAgQ33gnCX', 'ej1ZDRFczh6Wo3sVLy', 'fc4b5375680acc13e6be96e5ba0432ef575d6dc7c42e5585a0f9f8e46c9e339bf8a89d000f7e17d6492407836424ba7190de137d12fb0b2083083c1796949ce5', 'w5vgJ5NSxyynZUGXSjcu', 1, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (1.0ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = '4TtCDKniab6XeuPScug', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 9', NULL, NULL, '2013-02-14 14:33:27', 'form-9')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 10', NULL, NULL, '2013-02-14 14:33:27', 'form-10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[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 'c8e1d587114b92d4bd785def1df07ffbe4646bfc9dd21cb85d302e47703d13be0806484a9117e7485cd8a38ac6fe680586552072aa23d89896364e1df6709f7b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '4E7MHXpZu4efQrjpDzn' LIMIT 1
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', 'd90a05ddacb8c04e8153e08b0dcb19d74ee3270454050c9abcb55be9f5a0e235cccaee0e5e29d63c419fb1188181c6fd9647d7f6d53ce75d223b9d13fbdbb3df', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, 'yaTn2GehbV1XJotWbtS2', 'eruJQc7WwVRSVOVnd5c', 'c8e1d587114b92d4bd785def1df07ffbe4646bfc9dd21cb85d302e47703d13be0806484a9117e7485cd8a38ac6fe680586552072aa23d89896364e1df6709f7b', '4E7MHXpZu4efQrjpDzn', 1, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'GvVCHF4Dd75Y6NF2hq7l', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '7f1f6378e913805ad78cb40830c24b0f335374fcfbbe8c5d6838dd0894a7dff9f761494af6c6b33d3447e3c42250697df4939af6eeb898c543ffac35a4e1b3f2' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'b0eOd91WqumSKPu55Out' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', '71854c18fb44849f9b9e8e3d165be9ffc55bd547184bb70d27fd301be2c59d979b2d84c80985e6e1dffcb4a019108668a12e54ab8047ebbfe1aece6d08257073', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, 'lFcocLeGcN0Ud9ezcYB', '6Nq23HBEllmBCIP33K', '7f1f6378e913805ad78cb40830c24b0f335374fcfbbe8c5d6838dd0894a7dff9f761494af6c6b33d3447e3c42250697df4939af6eeb898c543ffac35a4e1b3f2', 'b0eOd91WqumSKPu55Out', 1, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (1.0ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = '1Qg7tmQUTqzXWR8yA8X', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 12
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 11', NULL, NULL, '2013-02-14 14:33:27', 'form-11')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7848835c40e82a126dd3e94c2b762b23bec883c445de019e69b0cec14f188435fab62c7c9fd3c432e0f72580ff30f8ea3c0e2da32ed886e99dd5aa87fb564521' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'WkwmZl8mT3Uj9LhcRtte' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', 'c6daa068fcda88c5aec6d5b0b85b105966b59828f38e884ddadd8ee7f89bbd0363db7ebadfcc20aa78bf973724bd136549d7d1425bc023a5049aff5c5b06e7a1', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, 'O1MZt2D3gKTHnKjhJ0eo', 'FrGenJse8l8400CO8f9', '7848835c40e82a126dd3e94c2b762b23bec883c445de019e69b0cec14f188435fab62c7c9fd3c432e0f72580ff30f8ea3c0e2da32ed886e99dd5aa87fb564521', 'WkwmZl8mT3Uj9LhcRtte', 1, NULL, '2013-02-14 14:33:27')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'iD1jI0gz2ri2mekqhnr', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 12', NULL, NULL, '2013-02-14 14:33:27', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3e4b86aa0c2223e0abcb61c1479c1729a005f5f63ff6e1ea3072068e95ee4e8709762e6c55d914da67aade0782b40904be0aff4f534acfd7945c996f0e24f1fb' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'V6D6ADDSffctVOpmPMIH' LIMIT 1
+ [1m[36mSQL (1.1ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', '4dac8ace34fa4c253eda1c050cc3a31d1ebdb9b314df2c17de4caa0e86961c7f7ac113534b44bfaaf735de9194d75d0e683ea216f985ec55e65eb907fc091f25', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, 'pfuBG37lSwQBN3megcq', 'zvAOxvRLMByGadTKEdF', '3e4b86aa0c2223e0abcb61c1479c1729a005f5f63ff6e1ea3072068e95ee4e8709762e6c55d914da67aade0782b40904be0aff4f534acfd7945c996f0e24f1fb', 'V6D6ADDSffctVOpmPMIH', 1, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'U7Yalz9mQCWlv6iR1qA', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 13', NULL, NULL, '2013-02-14 14:33:27', 'form-13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '6e31496f11e3bc3d9974eb53f5a8d9ac575f5aca142be5a0a4e975f5f04be7fd99c7648441745e9af0efcea47ee1e615546d564533204820ccfdaf32e88d7b9b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fcZV7CDQTPN9a2xLOPTE' LIMIT 1
+ [1m[36mSQL (1.1ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:33:27', '1151bd6dc78dfb21dee239570bed2a86e39d23e4b401084d8223315e7302822cf00577ce4ff50e7ce4c0a7124fc8b208cc97ae1868580d0e76eaaa137c368a8d', '2013-02-14 14:33:27', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:33:27', 'testuser', 1, 'H0V32tJ3oXK0FXGeET4q', 'vaYSNMA8Tfds8AxS8', '6e31496f11e3bc3d9974eb53f5a8d9ac575f5aca142be5a0a4e975f5f04be7fd99c7648441745e9af0efcea47ee1e615546d564533204820ccfdaf32e88d7b9b', 'fcZV7CDQTPN9a2xLOPTE', 1, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:33:27', `last_login_ip` = '0.0.0.0', `perishable_token` = 'aeyRM1lw4qr7z7Cq4iFn', `updated_at` = '2013-02-14 14:33:27' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 14', NULL, NULL, '2013-02-14 14:33:27', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:33:27', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:33:27')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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 (1.0ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 15', NULL, NULL, '2013-02-14 14:33:27', 'form-15')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' 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-16' LIMIT 1
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 16', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-16')[0m
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 16', NULL, NULL, '2013-02-14 14:33:27', 'form-16')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1
[1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 17', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-17')
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:27', 'Form 17', NULL, NULL, '2013-02-14 14:33:27', 'form-17')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.8ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:28', 'Form 18', NULL, NULL, '2013-02-14 14:33:28', 'form-18')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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 (1.0ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:33:28', 'Test', NULL, NULL, '2013-02-14 14:33:28', 'test')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:33:28', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:33:28')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2013-02-14 14:33:28', 'email', 7, '2013-02-14 14:33:28', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [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:33:28', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:33:28')
+ [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.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (2.6ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (2.0ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (2.5ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (3.2ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (3.1ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (2.4ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (3.9ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:03', 'Form 1', NULL, NULL, '2013-02-14 14:34:03', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 69ms (Views: 8.9ms | ActiveRecord: 5.6ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.9ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:03', 'Form 2', NULL, NULL, '2013-02-14 14:34:03', 'form-2')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:34:03', NULL, NULL, '0', 'email', NULL, 1, 2, '2013-02-14 14:34:03')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:03', 'Form 3', NULL, NULL, '2013-02-14 14:34:03', 'form-3')
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:34:03', NULL, NULL, '0', 'email', NULL, 1, 3, '2013-02-14 14:34:03')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:03', 'Form 4', NULL, NULL, '2013-02-14 14:34:03', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:34:03', NULL, NULL, '0', 'email', NULL, 1, 4, '2013-02-14 14:34:03')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' 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-5' LIMIT 1
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:03', 'Form 5', NULL, NULL, '2013-02-14 14:34:03', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:34:03', NULL, NULL, '0', 'email', NULL, 1, 5, '2013-02-14 14:34:03')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.5ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 48ms (Views: 0.8ms | ActiveRecord: 2.1ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by ContactsController#thankyou as HTML
+Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[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 '2369ccaf870374be1855de40090cb0ccbfc9cb5fb878aa130176af4858e03507b6f691d89e945ae02687cbd2dfe110ecd0bd6994e07448cf010ef310a9509423' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 's3SNS7TR9oSgXfgAbcC' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:03', 'ac378f8162260c77177d3ea7d3d442e30642ee610d045842c83f256df3716042bbed4f12db0ac4dab0c4f53dd69c495da47c5c2f560135281c36b6c2aa8307ca', '2013-02-14 14:34:03', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:03', 'testuser', 1, 'evfUocdIjVwNmuOWar5', 'cdw6un9OTOpqdeVlVjT', '2369ccaf870374be1855de40090cb0ccbfc9cb5fb878aa130176af4858e03507b6f691d89e945ae02687cbd2dfe110ecd0bd6994e07448cf010ef310a9509423', 's3SNS7TR9oSgXfgAbcC', 1, NULL, '2013-02-14 14:34:03')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (1.0ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:03', `last_login_ip` = '0.0.0.0', `perishable_token` = 'uUTNG3rb6nlHAywYzONU', `updated_at` = '2013-02-14 14:34:03' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:34:03', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:34:03')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:34:03', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:34:03')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 1 LIMIT 1
+Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6d1363132b637f2fda37763c77b381d1b4e93334c77b1bfa59617702e34277187f41d0ee3af8e8dee6c1b0dd910778cdd39bae2aecd9e8a565b55d6509890389' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'DIu2Amcs4lGECL01n8B' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:03', 'b55fd80297e51b0424bc3bdd46a261f52cfd87cc84264a525b60037f750018185893ec6a0e82086c1bcfe1548ffb172582545a912fe1ceb80052f8c835f3eb8c', '2013-02-14 14:34:03', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:03', 'testuser', 1, 'U079kyys9CNJ1TCzACf', 'UufX5D5ByiW6yKuNVvn', '6d1363132b637f2fda37763c77b381d1b4e93334c77b1bfa59617702e34277187f41d0ee3af8e8dee6c1b0dd910778cdd39bae2aecd9e8a565b55d6509890389', 'DIu2Amcs4lGECL01n8B', 1, NULL, '2013-02-14 14:34:03')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.9ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:03', `last_login_ip` = '0.0.0.0', `perishable_token` = 'PPHyQEmhNlGhDCGfVOjo', `updated_at` = '2013-02-14 14:34:03' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:34:03', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:34:03')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.3ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.8ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '25b6059b09dde4bd18e783f17a744d4b5afbc8ea290fb2069eff565206892ded29cdbc85e950e2929833816f00a91f6563b2e93b79c6df82ea3a721eaf07f41a' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FS5kIxF2OVClIFvrAbVc' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:03', '5ed9c7ba41b0020da91fd47258b76d661201d57bb5cc1ebbce68e27fb326224111b8219a465015c5f9c15400fad6ac293e167c2f1d13bdc611eed1daa21d1227', '2013-02-14 14:34:03', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:03', 'testuser', 1, '3C6byDlwnYRbM4W2wUtk', '8z2xZdWIXE45seHOi9I', '25b6059b09dde4bd18e783f17a744d4b5afbc8ea290fb2069eff565206892ded29cdbc85e950e2929833816f00a91f6563b2e93b79c6df82ea3a721eaf07f41a', 'FS5kIxF2OVClIFvrAbVc', 1, NULL, '2013-02-14 14:34:03')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:03', `last_login_ip` = '0.0.0.0', `perishable_token` = 't8QuTGIOVqj6fJ9rhU7j', `updated_at` = '2013-02-14 14:34:03' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '686698449247812697a51887106599d477fc8e64838eea418519693ffb182581d2f6ba440bdbd85fb3ddd782c92b28af7a3fb941a0f161075bd9ea77deb47764' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QmymzXZx8s0kYbbUL0F' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:03', '57a5c594cbbea5bcd9b064ba56e8668fb7b96b50e18065d118c4e4d8b21c750e9ae64b04f83da59bf6c74bdeac2b84086ae098c0116f3d9aaeea385e4e5a5d1f', '2013-02-14 14:34:03', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:03', 'testuser', 1, 'VWvA6iNJ8sqGiAOe5PC', '8WAQR6zU5TzeKEVmR2', '686698449247812697a51887106599d477fc8e64838eea418519693ffb182581d2f6ba440bdbd85fb3ddd782c92b28af7a3fb941a0f161075bd9ea77deb47764', 'QmymzXZx8s0kYbbUL0F', 1, NULL, '2013-02-14 14:34:03')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:03', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mONMUsAWLkKdeSeHNA9A', `updated_at` = '2013-02-14 14:34:03' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:34:03', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:34:03')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 'ddb4bd1274659e29150c8701a6ed6359e3158fda3962589e7f2d7dbdc352d6b6049728543f6bfa4856379bd5fe26d67909dd8195abc1fc73fbb3c33bb16b4397' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'FuKsTM8m2hwhxwe08VQq' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:03', '919bc155f61e4aefe61954a0cc9e7440bb161fcb4931d0d94de60a3ce14aab79aa6cc5865485a6dd6b6ea8a0fa48208b5216c2f4bf55c68ad151428a1b156943', '2013-02-14 14:34:03', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:03', 'testuser', 1, 'HiQtW9Jf3yuW4yNHUOS', 'b1osQatuThEXpU2Pgh1R', 'ddb4bd1274659e29150c8701a6ed6359e3158fda3962589e7f2d7dbdc352d6b6049728543f6bfa4856379bd5fe26d67909dd8195abc1fc73fbb3c33bb16b4397', 'FuKsTM8m2hwhxwe08VQq', 1, NULL, '2013-02-14 14:34:03')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:03', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Qwj4UTBJGtkdMIceMW0Y', `updated_at` = '2013-02-14 14:34:03' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:34:03', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:34:03')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'e1b89325de28d24e4847158723ba6de78c407efc8dbace78fe567cbb8e1fa095e7a3651636ab9b34246c0aed39eb13d6f6705ffaba5ab2f7385beaffc4bb729f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xXaFDX4E7Ct6AedfHzuZ' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:03', '84bef4a2720ae2318157b7e1d0629cdff7ac549e0158a236218af747449474201ed1a20228ab6c05e6ceb8ead129c73e683195c5c9535634a9f8b5b6ba8f0d1d', '2013-02-14 14:34:03', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:03', 'testuser', 1, 'uL4mW5k9Wz1wsPcOhR', 'NIVf33ISDOkN5fxbk1GS', 'e1b89325de28d24e4847158723ba6de78c407efc8dbace78fe567cbb8e1fa095e7a3651636ab9b34246c0aed39eb13d6f6705ffaba5ab2f7385beaffc4bb729f', 'xXaFDX4E7Ct6AedfHzuZ', 1, NULL, '2013-02-14 14:34:03')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:03', `last_login_ip` = '0.0.0.0', `perishable_token` = 'zWY1VmkN7sjm7BS7VK5', `updated_at` = '2013-02-14 14:34:03' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:03', 'Form 6', NULL, NULL, '2013-02-14 14:34:03', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:03', 'Form 7', NULL, NULL, '2013-02-14 14:34:03', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 'f2d1e27cd7c25898f5dbdefc8228c0d755a25cdac5716e531708e82d1b5de0ed4aa749897a3c394f24890299873b9ffc760e6ed53fb93df69712e55ccd160180' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'INjMLbKv0ej5G1IeB8G' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:04', '2e8389c75d2c203e44b5776d8e20d063f90cab2a3b4a80cbb06d9d4ae9e98678d9059f7b1402af46ec638f464056fd5e428415643d91eb8790337541d0dec7c6', '2013-02-14 14:34:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:04', 'testuser', 1, 'Nr8pIyX6csiEXzpwemyu', 'LmKKK4MyHWhNQqZ8ylCe', 'f2d1e27cd7c25898f5dbdefc8228c0d755a25cdac5716e531708e82d1b5de0ed4aa749897a3c394f24890299873b9ffc760e6ed53fb93df69712e55ccd160180', 'INjMLbKv0ej5G1IeB8G', 1, NULL, '2013-02-14 14:34:04')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.6ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:04', `last_login_ip` = '0.0.0.0', `perishable_token` = 't7U3iTYWNT8vVn2mnbH4', `updated_at` = '2013-02-14 14:34:04' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cd8eeda6628f6156ae3b401c09e523111c80521f5573b9a1068a852308c489a1bd5ea4260c64693dc8f79e07c53b28e0844d46055b15aeadbfb9c63599359a67' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fuZC6t89YCjPWW6oyjL' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:04', 'cb3a35b8fb97a19e90affae9bac16c2334422cb68a3c152fc20a68c87266f92dc8a1f16a1ebf7b59fa3888389d8e6043defe989716f5b56cca49a050a1aa3c30', '2013-02-14 14:34:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:04', 'testuser', 1, 'Y0hidNz5dywR3puNIcoL', 'YdLLBrFoYbCF4MQ7pAh', 'cd8eeda6628f6156ae3b401c09e523111c80521f5573b9a1068a852308c489a1bd5ea4260c64693dc8f79e07c53b28e0844d46055b15aeadbfb9c63599359a67', 'fuZC6t89YCjPWW6oyjL', 1, NULL, '2013-02-14 14:34:04')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:04', `last_login_ip` = '0.0.0.0', `perishable_token` = '6MhC0YXs0QvvS3OMOd3o', `updated_at` = '2013-02-14 14:34:04' WHERE `spud_users`.`id` = 8
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f990ec926731a76af5a809c1f22883ee6adbca6455b47d2b54b6a8a54939aaa72b702430fb86861e71f7b729b1b823190d8624471d17c899da00279cda6ec5d3' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XNgzwsqAcs72LwvXoX4h' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:04', '36b5fd047e0768934fc5a7d13d218058f66ace3a76ee7e5b4fc2b86300aaa8bb47d4af589988aeab3f856a33624f53dbac38719d47cf88894a5cc856fbcfd61a', '2013-02-14 14:34:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:04', 'testuser', 1, 'FXzpbkzR8nazx1pyBhCs', 'BM80wxbMzOkY6ILJpdrl', 'f990ec926731a76af5a809c1f22883ee6adbca6455b47d2b54b6a8a54939aaa72b702430fb86861e71f7b729b1b823190d8624471d17c899da00279cda6ec5d3', 'XNgzwsqAcs72LwvXoX4h', 1, NULL, '2013-02-14 14:34:04')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.8ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:04', `last_login_ip` = '0.0.0.0', `perishable_token` = 'YQCjg8I3wKWcHAGyOC', `updated_at` = '2013-02-14 14:34:04' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '69a17a8609beb2e0fc8cbfb559af3e657dffd7ba67b41d41dba110754d2e30d7e8f601f5d5e7b74537aa1820584ee21b913d06214fb453cd6f7aeef9789c47b3' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KxKwGYTmsTvdIPzrLS72' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:04', '2e15afd5548d877add4f500c717aa673038106c59c809190107f7a60159eac005598d53661fd94a07b65a3fbf50d2193ae79966a466a7d21c84a527b9a85142e', '2013-02-14 14:34:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:04', 'testuser', 1, '1x11ie8FVDUHGPK9RD', 'WHUBmmZbChLieh5RMqKR', '69a17a8609beb2e0fc8cbfb559af3e657dffd7ba67b41d41dba110754d2e30d7e8f601f5d5e7b74537aa1820584ee21b913d06214fb453cd6f7aeef9789c47b3', 'KxKwGYTmsTvdIPzrLS72', 1, NULL, '2013-02-14 14:34:04')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:04', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wHRxvQyTVTCnv5KqVHa5', `updated_at` = '2013-02-14 14:34:04' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' 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-18' LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 18', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-18')[0m
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' 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-9' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:04', 'Form 9', NULL, NULL, '2013-02-14 14:34:04', 'form-9')[0m
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:04', 'Form 10', NULL, NULL, '2013-02-14 14:34:04', 'form-10')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '8f35e4efd2cc686159b5bf50026b2516ff4961d25075375afb51d4d57cc965e3c55577de49fe9f83f08d213158d655df609f52c16b709a7c0fb6e49c7d637d15' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VgtjdNTPmYyxNWbwFqk' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:04', '311998c0088cb5cab8983f294d4a59aba762cdefb7d6f6c216c8d40addd47f8d9f52902bdf0e8658769b74b03be8d8634bf00110eb7eb85f296fa5fed2a8c3ce', '2013-02-14 14:34:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:04', 'testuser', 1, 'b2wgCgWnyaB4lzPMTB41', 'QK7Zclz9foAmFAG80gWj', '8f35e4efd2cc686159b5bf50026b2516ff4961d25075375afb51d4d57cc965e3c55577de49fe9f83f08d213158d655df609f52c16b709a7c0fb6e49c7d637d15', 'VgtjdNTPmYyxNWbwFqk', 1, NULL, '2013-02-14 14:34:04')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.8ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:04', `last_login_ip` = '0.0.0.0', `perishable_token` = 'llrliFNifhEvZmYe1g5o', `updated_at` = '2013-02-14 14:34:04' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c41672d6c3ab75c962cd8477031a752f98ea2354d446677f3a15ab2af46f30793bb52d5066e6c9b84d13cc1cfc5c88cab14db2921751b937535b25302489f65e' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zdqhaeJqo24CBLxJFtr' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:04', '5ea3d3e6e62d9c1b1404eb1cf55c621625c03f7e882a6d11bda36864ae35d89ce19db4eeb3a63e6dba8ec94c5d2932bee83531f0f6313a33535717dd2ee7c5d2', '2013-02-14 14:34:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:04', 'testuser', 1, 'Rra8yJPBH9QcQSBGPGL', 'kO6EvU8L0WOFcdECfZiR', 'c41672d6c3ab75c962cd8477031a752f98ea2354d446677f3a15ab2af46f30793bb52d5066e6c9b84d13cc1cfc5c88cab14db2921751b937535b25302489f65e', 'zdqhaeJqo24CBLxJFtr', 1, NULL, '2013-02-14 14:34:04')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:04', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wdwxjZoJBIooDZ0eRJIv', `updated_at` = '2013-02-14 14:34:04' WHERE `spud_users`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:04', 'Form 11', NULL, NULL, '2013-02-14 14:34:04', 'form-11')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (2.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a3aa165f40c1b63c6291eda41c3ccc67327786457930468e2334c8cd615b6ebb4f3ef01dcb815ae073fb0a8974b01d6921632a607dff78b8f294ee5dec64e4d1' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kzbJogjKbZk8cahjiaY' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:04', 'b0be64a128a88d2e24b1ea55c1a74648a427134d8d794b81212f2f485d2d7a494a3f14bca6ccd2fb70b3455e6ec936896f65a1fd41c7a0c82f5eb7541aa02598', '2013-02-14 14:34:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:04', 'testuser', 1, 'tdp9ARUeWdYnmowfHdxH', 'TopLRMUcJjgZ86SfRKO8', 'a3aa165f40c1b63c6291eda41c3ccc67327786457930468e2334c8cd615b6ebb4f3ef01dcb815ae073fb0a8974b01d6921632a607dff78b8f294ee5dec64e4d1', 'kzbJogjKbZk8cahjiaY', 1, NULL, '2013-02-14 14:34:04')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.7ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:04', `last_login_ip` = '0.0.0.0', `perishable_token` = 'wCU4Gj8e9QkpjhiSX3L', `updated_at` = '2013-02-14 14:34:04' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:04', 'Form 12', NULL, NULL, '2013-02-14 14:34:04', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (1.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 'c6c7d4d7dbb8ae6b7c24710cdcfcc2bf383951b898fa79c67e9d3d3a8aca98e3932218be2bdd82b40388aaed2a8366d982e196d57e4bca3cb6a26ca1f7d0fec4' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PSU4eaqytsEGnqTMapqe' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:04', 'c9975747ae1e9ad4525a956bd42db5f7ec56ee684105011a78b23f204d71aa565b196289a696d34710d4181244c74aa9dc3ac9caab9c2f7aef3ca456451fd3a6', '2013-02-14 14:34:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:04', 'testuser', 1, 'ya6pyiXYfjeTiiEwGfdv', 'o5qftZoqqfqw0xT2nUn', 'c6c7d4d7dbb8ae6b7c24710cdcfcc2bf383951b898fa79c67e9d3d3a8aca98e3932218be2bdd82b40388aaed2a8366d982e196d57e4bca3cb6a26ca1f7d0fec4', 'PSU4eaqytsEGnqTMapqe', 1, NULL, '2013-02-14 14:34:04')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:04', `last_login_ip` = '0.0.0.0', `perishable_token` = 'J23GS6DNNh75bnbx6Gna', `updated_at` = '2013-02-14 14:34:04' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:04', 'Form 13', NULL, NULL, '2013-02-14 14:34:04', 'form-13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '258d0cba6a19877880343886ed503d293a3d4f402cbe85f788cda9677d52d34b936bfc30db57a4e65c9bb89ab59baf8554d47b6bcce647e9580b09db0f963533' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '3q8yagFR2b92mIOmxqWe' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:34:04', '11c11214963d707ed1c34628076fa1da52ea48ee7b50d9d34f0d8e690f62d3fa261ae121876c967decebf0410b45b09b4be22fdee630cfaf2e14bd1c4fa59c84', '2013-02-14 14:34:04', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:34:04', 'testuser', 1, 'uioJQVk8BaseEKFjTERR', 'KoVyt8JUu6awHnkDo3Lq', '258d0cba6a19877880343886ed503d293a3d4f402cbe85f788cda9677d52d34b936bfc30db57a4e65c9bb89ab59baf8554d47b6bcce647e9580b09db0f963533', '3q8yagFR2b92mIOmxqWe', 1, NULL, '2013-02-14 14:34:04')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:34:04', `last_login_ip` = '0.0.0.0', `perishable_token` = 'mHDqeHFtP2ljz5a152dH', `updated_at` = '2013-02-14 14:34:04' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:04', 'Form 14', NULL, NULL, '2013-02-14 14:34:04', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:34:04', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:34:04')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:04', 'Form 15', NULL, NULL, '2013-02-14 14:34:04', 'form-15')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' 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-16' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:04', 'Form 16', NULL, NULL, '2013-02-14 14:34:04', 'form-16')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:04', 'Form 17', NULL, NULL, '2013-02-14 14:34:04', 'form-17')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:04', 'Form 18', NULL, NULL, '2013-02-14 14:34:04', 'form-18')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m BEGIN
+ [1m[35m (0.0ms)[0m BEGIN
[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[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
[1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Test', NULL, NULL, NULL, '2013-06-27 12:54:21', 'test')
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:34:04', 'Test', NULL, NULL, '2013-02-14 14:34:04', 'test')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35mSpudInquiryForm Exists (0.1ms)[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.4ms)[0m ROLLBACK
+ [1m[35m (0.7ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
- [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
- [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_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`.`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
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
[1m[35m (0.0ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:34:04', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:34:04')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2013-02-14 14:34:04', 'email', 7, '2013-02-14 14:34:04', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [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:34:04', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:34:04')
+ [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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.2ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (2.0ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (1.8ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (1.7ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.2ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (1.6ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (1.1ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (2.5ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:31', 'Form 1', NULL, NULL, '2013-02-14 14:35:31', 'form-1')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 65ms (Views: 38.5ms | ActiveRecord: 3.3ms)
+ [1m[35m (1.0ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+Processing by ContactsController#show as HTML
+ Parameters: {"id"=>"1234"}
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:31', 'Form 2', NULL, NULL, '2013-02-14 14:35:31', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:35:31', NULL, NULL, '0', 'email', NULL, 1, 2, '2013-02-14 14:35:31')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:31', 'Form 3', NULL, NULL, '2013-02-14 14:35:31', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:35:31', NULL, NULL, '0', 'email', NULL, 1, 3, '2013-02-14 14:35:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:31', 'Form 4', NULL, NULL, '2013-02-14 14:35:31', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:35:31', NULL, NULL, '0', 'email', NULL, 1, 4, '2013-02-14 14:35:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' 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-5' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:31', 'Form 5', NULL, NULL, '2013-02-14 14:35:31', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:35:31', NULL, NULL, '0', 'email', NULL, 1, 5, '2013-02-14 14:35:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.4ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 2.5ms)
+ [1m[35m (0.3ms)[0m ROLLBACK
[1m[36m (0.0ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by ContactsController#thankyou as HTML
+Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2d6c35f9d67aa261a312f238cfcb81f801330007f27f539d7ffa23737410271ed7eb4b0dd7d2d249814c6b847e8f8fc5eff55e875a4129c3236347c80d7cd667' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8XgCnaXwI9eDpoErAPA' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:31', '26ae3b2e35580cf7a8278f029e197f5d2aa3022a6e7bf4d0a89eb0887da0454cdf4a09880905b8b1232bd3d9efaddad0c07ec61f3c0957e16bbbbbdb85a1094c', '2013-02-14 14:35:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:31', 'testuser', 1, 'KhhzBH7cMqJ5G1e3r9', 'jNCy9zSDwEYPo8kg8Ad', '2d6c35f9d67aa261a312f238cfcb81f801330007f27f539d7ffa23737410271ed7eb4b0dd7d2d249814c6b847e8f8fc5eff55e875a4129c3236347c80d7cd667', '8XgCnaXwI9eDpoErAPA', 1, NULL, '2013-02-14 14:35:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'zoRq1CmjgN92sBp2ERSg', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:35:31', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:35:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:35:31', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:35:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[35mSpudUser Load (0.7ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
+Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.7ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '30f38f2ca73ec3d06bc285fa3cfb895fb0c1b2f2ba0056d1e2fbd8ebf46036de75046d41324d581a640bbb0db81ed7554ca6d00dd56ae629b72bc346eb31bd11' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Gz0T2rUwYbNjODYZbh' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:31', '29e615f1a641ec4034980464a43d0c01fe97cfe6e8eb42951dde0c0625ff1e586c2d76a2bd33bdf120a6d5615dbf95cb147638d4541501a759ed4be0e3be310f', '2013-02-14 14:35:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:31', 'testuser', 1, 'EHiu4r5aF4kTYWAyvNB', 'biZzjXYH29utMFZlTA', '30f38f2ca73ec3d06bc285fa3cfb895fb0c1b2f2ba0056d1e2fbd8ebf46036de75046d41324d581a640bbb0db81ed7554ca6d00dd56ae629b72bc346eb31bd11', 'Gz0T2rUwYbNjODYZbh', 1, NULL, '2013-02-14 14:35:31')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'T9DqTqEYlmVk5dYdSBPa', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:35:31', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:35:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 'dc5661171c2ea020432f83a99206b54715e63c961e6f2d9e6cdf92f53adeb73e99ddcdb85b30df640a2f91f98d5ca45f7c6a7f0414f0a1c0649861758c48283b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7nbcHYnIDFkbGRWVHzT' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:31', 'e4623e6b12448f38f1317ab5d266ef60dfdaa64c28175525b7579e13ad56998ef6b9adbcf6aaa38ef7a3ae3eb069444039656ba2d18ccf70c4d1a4925bee2927', '2013-02-14 14:35:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:31', 'testuser', 1, 'r6CPsEqPuQRm2S330BW', 'kMyF8yKvmSoLDBZwPJR', 'dc5661171c2ea020432f83a99206b54715e63c961e6f2d9e6cdf92f53adeb73e99ddcdb85b30df640a2f91f98d5ca45f7c6a7f0414f0a1c0649861758c48283b', '7nbcHYnIDFkbGRWVHzT', 1, NULL, '2013-02-14 14:35:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QQ8fMDRfk3iZ0gY9GL', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.3ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '560bc5bf1b902737b93e0b076b577565cbadd58fe96d7923be2e215e59dae23a2af9d69a6021109dcff3c62ec72e12452b6662d320b04af147c50b463514ca9f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EUgXjzagRG1QW98xjJB' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:31', 'd4d81cd0df336c77fd39df56afa1dd52cf4c11e0a991e971574d594b4d2280be508189fb365087a4db377b682102370e67daca087d0357160dc0bd18b3f80810', '2013-02-14 14:35:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:31', 'testuser', 1, '0OICnqKZYFVlKf6iolgG', 'ZSFBZnCGZyY9RHSu2rgs', '560bc5bf1b902737b93e0b076b577565cbadd58fe96d7923be2e215e59dae23a2af9d69a6021109dcff3c62ec72e12452b6662d320b04af147c50b463514ca9f', 'EUgXjzagRG1QW98xjJB', 1, NULL, '2013-02-14 14:35:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QkMWlnaGeg4e0yecWk', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:35:31', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:35:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.1ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '4d392b94b01a8061727ce11dbf5424b4399491fc73119d335109875ee510bf366125b6bfe01123da095bd842d8095891791e1c9c95253e880742b9675cebb733' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mEV7g4pLYwU8wsoAiDe' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:31', '3de8f66fd8adbcf85860a41e4accdb3d652b02f5ed999650189d8e1486a00dcd22e871e467638d0937728b76588e777581e65fb60b9abc93a604db25380f30ea', '2013-02-14 14:35:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:31', 'testuser', 1, '5aJiXVVoeaJQ0QHNMibh', 'c42zfQi1ALnmvOb6x6a', '4d392b94b01a8061727ce11dbf5424b4399491fc73119d335109875ee510bf366125b6bfe01123da095bd842d8095891791e1c9c95253e880742b9675cebb733', 'mEV7g4pLYwU8wsoAiDe', 1, NULL, '2013-02-14 14:35:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'CwQvqh72aavDcjlVYVh', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:35:31', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:35:31')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.5ms)[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '385981e57ec566e97710b84eeeb536c73cdebac253355e467c1c19371b77984446032e9d607890d1b231b5fde6109beb83456d6f70ae7f61f589259ffef095e4' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0QJppVydCZetpblkDJJq' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:31', '4273e6105a22a7e31913351be3ae49443a78ade9d6e7acc35de47243d256a1c0b35c629ddb4d81d0661d1286be3263383de190031c9aaf86bd96625ce9b6725f', '2013-02-14 14:35:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:31', 'testuser', 1, 'z9lbM11VLxUhL6Gd1noW', 'uMsqRLZkxNxmWmsiMi', '385981e57ec566e97710b84eeeb536c73cdebac253355e467c1c19371b77984446032e9d607890d1b231b5fde6109beb83456d6f70ae7f61f589259ffef095e4', '0QJppVydCZetpblkDJJq', 1, NULL, '2013-02-14 14:35:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:31', `last_login_ip` = '0.0.0.0', `perishable_token` = '0upSZV5gNwFzPTwL7DVi', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:31', 'Form 6', NULL, NULL, '2013-02-14 14:35:31', 'form-6')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:31', 'Form 7', NULL, NULL, '2013-02-14 14:35:31', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 '19ed33710b5d6e7a34fcebeff23126515619a16d3f2e7c379d5ccb894865fa591f6ca5383b78a4f823c57ab51f691dca601ba9e41f9f2ffa1d9f77a488a28d80' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Ls4Yc4fGwfwPSk9X7p8' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:31', 'db5465a46b9d75d566b353dc23ab7d1a68c8155ef0e66b3231d5050ba1c6d9184ccb7ff7f7f2b378e5a7214ad1bd613cdcfb37bb27400d73f5536bac06080a85', '2013-02-14 14:35:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:31', 'testuser', 1, 'RSEDh19WBA4fSLGva9X', 'TDTQlnlxeE4KXsucFLt', '19ed33710b5d6e7a34fcebeff23126515619a16d3f2e7c379d5ccb894865fa591f6ca5383b78a4f823c57ab51f691dca601ba9e41f9f2ffa1d9f77a488a28d80', 'Ls4Yc4fGwfwPSk9X7p8', 1, NULL, '2013-02-14 14:35:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'eSosoXMjSahh8AH5FUL', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'faded5964d1b759e5a1d21cfd8387da544c8d33e0da7d921b06c0bc77aa1c729a64d8206d3ec3caf392e881a97aedde91b1dc4bae703a465630669e0053c9064' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0DVh3LXhh2Os1VQ9pERp' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:31', '2e7750d2e4c6d5fa69abe8d76e2c83832da7f3ff1299715f53d801f752bf23f3591fc86f2cdf0d27779c293685bbcfc4bb32e99335a2a1481200880c8415e244', '2013-02-14 14:35:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:31', 'testuser', 1, 'ZUJDtQ4bbk1rZRd0Hm6u', 'MVhrTRloSzqTXeJZ1F9', 'faded5964d1b759e5a1d21cfd8387da544c8d33e0da7d921b06c0bc77aa1c729a64d8206d3ec3caf392e881a97aedde91b1dc4bae703a465630669e0053c9064', '0DVh3LXhh2Os1VQ9pERp', 1, NULL, '2013-02-14 14:35:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:31', `last_login_ip` = '0.0.0.0', `perishable_token` = '5NX9TUVOlhwOnMejTD1', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_users`.`id` = 8[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 'ccbdca91e475c8502440afa0d4dde11eff16c7459f63bccf1d4be5949553ff7f85180f7e933d326a6df323a3d0e13866fc97ddb3ffd54b8b8344ef17779751ea' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'rSlEeJinm8Lf0ShWW2aK' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:31', 'be14c588303cb2ccda607ae8754ff4044fe97a9658794208d005f53b0f34297b346906d054e3f72d9d2d05a53b916471cb424b3b265036380476f9aa5458de01', '2013-02-14 14:35:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:31', 'testuser', 1, 'rEneMY5xk72fXH4zO1Kq', 'Reaao1o2FJjffo3h2UrF', 'ccbdca91e475c8502440afa0d4dde11eff16c7459f63bccf1d4be5949553ff7f85180f7e933d326a6df323a3d0e13866fc97ddb3ffd54b8b8344ef17779751ea', 'rSlEeJinm8Lf0ShWW2aK', 1, NULL, '2013-02-14 14:35:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'm62XvbPEViIfqgzQu39B', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_users`.`id` = 9
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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_2[0m
+Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '658e708edaff80e416418c26025ed7f86288256a725851d3beaa928822dfa054cc91f2d8efe32bae22c27edfcd2b09cf7ebe6d531013f3ebf9e2b40c96f97d07' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'IuLr2ko95yS5t28jY06w' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:31', '6473a3aebfa69dedbc239747659ddf22bab2dab6a28592d230b1171ce963dd2958be9272e06c7b2ee9b203022baa2c1825f9dae08ca393aeea98f07277daf4cb', '2013-02-14 14:35:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:31', 'testuser', 1, '3Y0tlOazH1Nw4TimckfX', 'XLudduDk4xXw2FxNSn9u', '658e708edaff80e416418c26025ed7f86288256a725851d3beaa928822dfa054cc91f2d8efe32bae22c27edfcd2b09cf7ebe6d531013f3ebf9e2b40c96f97d07', 'IuLr2ko95yS5t28jY06w', 1, NULL, '2013-02-14 14:35:31')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'tL8vfO1sQaVHY8u2xnOH', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_users`.`id` = 10[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:31', 'Form 9', NULL, NULL, '2013-02-14 14:35:31', 'form-9')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')[0m
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:31', 'Form 10', NULL, NULL, '2013-02-14 14:35:31', 'form-10')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"9"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 9 LIMIT 1
+Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.7ms)
+ [1m[36m (1.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ef604a3d7b30856044ce0769fcaf5134c21474fca42340418e51b43a8e4192f6e85c91cc134134dd8ce7a2276695b17f413c0bed0ddcc5600707a498cc349ac0' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NwceUaaHLoxCBcdcz2X' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:31', '252053efb1d8faa2ec42e9074da3c4a1b55ed01d979ce5964cd71ff994f9ff3e8150edcab7fb3c906f4d5ed88aa33a18f7f6b175e23f0b749b27c39f72715642', '2013-02-14 14:35:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:31', 'testuser', 1, 'RNRzO15Vf4wcKrZ6E1la', 'GlDHU3lWGAhrtm7qG5ur', 'ef604a3d7b30856044ce0769fcaf5134c21474fca42340418e51b43a8e4192f6e85c91cc134134dd8ce7a2276695b17f413c0bed0ddcc5600707a498cc349ac0', 'NwceUaaHLoxCBcdcz2X', 1, NULL, '2013-02-14 14:35:31')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'JHpo9EToijgbVT0hx1H', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_users`.`id` = 11[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '205767c35cc30cdd9e740c919ab22820777f7be529a90d25ae5fa892e668b7eb59b7ddb82d696700333abd7d3e912def39821d01cd97a574c10c00b3e9131b03' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9xS2Kzuc2GUfShbwdk5' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:31', '4459d6a13b31e9c843f8c004e75462720cdb26b2bd3174594cb393e6885b3bae228dd3c2f250879a00ab2ff6c80175f45bff9431ab5c0d230a6ac768b936b6a8', '2013-02-14 14:35:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:31', 'testuser', 1, 'PUZ8ZU347TtLWhpbBfl6', 'ZR3LvNTHaR2LAkACgls', '205767c35cc30cdd9e740c919ab22820777f7be529a90d25ae5fa892e668b7eb59b7ddb82d696700333abd7d3e912def39821d01cd97a574c10c00b3e9131b03', '9xS2Kzuc2GUfShbwdk5', 1, NULL, '2013-02-14 14:35:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'eYD7J0V5vPAQq43DoXY', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_users`.`id` = 12[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:31', 'Form 11', NULL, NULL, '2013-02-14 14:35:31', 'form-11')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2013-02-14 14:35:31 UTC", "updated_at"=>"2013-02-14 14:35:31 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11"}, "id"=>"10"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` != 10) LIMIT 1[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 10) LIMIT 1
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_inquiry_forms`.`id` = 10[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 LIMIT 1[0m
+ [1m[35m (1.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 'c9655cbbcc57488674ba47751aa90f7572810cf2062f0a083d7759b576651fab26efdca95a7c6c5d1d5d2d63898189d9ca8e4558d9d92469f271afff43210f10' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xQcKWS9eKksZvPKbptne' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:31', '9f7a1ff424784674b397c2544068f66807851bbf1be81f4801631fdc8369af8ec7cd73fa0923ae3d79677a37ca61e2f0fc970912b668249a6d6833f17623edb0', '2013-02-14 14:35:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:31', 'testuser', 1, 'SoKX52WkLagIl47sDs', '1v6sNsyzbR7iZOHcOxk', 'c9655cbbcc57488674ba47751aa90f7572810cf2062f0a083d7759b576651fab26efdca95a7c6c5d1d5d2d63898189d9ca8e4558d9d92469f271afff43210f10', 'xQcKWS9eKksZvPKbptne', 1, NULL, '2013-02-14 14:35:31')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'lbOZUD0PxWMWaDKIMdT', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_users`.`id` = 13
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' 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-12' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:31', 'Form 12', NULL, NULL, '2013-02-14 14:35:31', 'form-12')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2013-02-14 14:35:31 UTC", "updated_at"=>"2013-02-14 14:35:31 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}, "id"=>"11"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 12' AND `spud_inquiry_forms`.`id` != 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-12' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
+ [1m[36m (1.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.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 '0eddbc8085953587afde5e2f1c38e1ef51b3cdc975148a3be31578df27d6543d81cfa3d15e2eabb6fea0e6c46e4d28bba043f2677a17420e0639a111036f2463' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'fC2AHglHfpigGoMtKoS' LIMIT 1[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:31', '8da970f2c275097e986a5ab15e13c3f6572fcb39064fc49bfd60237182927f007e92ad5fcbc6c0d3c6e4546855d410bb445772efffa3194a42a33733433eaf4b', '2013-02-14 14:35:31', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:31', 'testuser', 1, '9gNL5IhyfKz5zzPfcuSq', 'vxxU7O4Jrhoz8zAyUYt', '0eddbc8085953587afde5e2f1c38e1ef51b3cdc975148a3be31578df27d6543d81cfa3d15e2eabb6fea0e6c46e4d28bba043f2677a17420e0639a111036f2463', 'fC2AHglHfpigGoMtKoS', 1, NULL, '2013-02-14 14:35:31')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:31', `last_login_ip` = '0.0.0.0', `perishable_token` = 'cUYP6ZgmDseKmxJ7dfeA', `updated_at` = '2013-02-14 14:35:31' WHERE `spud_users`.`id` = 14[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:32', 'Form 13', NULL, NULL, '2013-02-14 14:35:32', 'form-13')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `last_request_at` = '2013-02-14 14:35:32', `perishable_token` = 'xGms2JRzAzjFqKKIH2x', `updated_at` = '2013-02-14 14:35:32' WHERE `spud_users`.`id` = 14[0m
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 12[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` = 12 ORDER BY field_order ASC
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '3a9029bb0c4c9ba87bf000112e86987502365973d9624921b1f52acced6f2f8c1a52fee7193a36a876aa08f7cd4c4a816cd102447ce9ea7389f9e4144578113d' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vNniVBgLbMLRuxOGdvfv' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:35:32', '5be31fa17e8614b9f84753e30c9d94033030769b0cef9ab892f42271e00cc88b03a2aeddaffd4d47b515a8cc8fcc6c06d297097cd1d0798fb9f8f245a6c4c3bf', '2013-02-14 14:35:32', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:35:32', 'testuser', 1, 'HePJEh2J18nLbYQwE0P5', 'FxivXAwXUNfoFV1m7mz', '3a9029bb0c4c9ba87bf000112e86987502365973d9624921b1f52acced6f2f8c1a52fee7193a36a876aa08f7cd4c4a816cd102447ce9ea7389f9e4144578113d', 'vNniVBgLbMLRuxOGdvfv', 1, NULL, '2013-02-14 14:35:32')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:35:32', `last_login_ip` = '0.0.0.0', `perishable_token` = '8VWvXeM6r42695to4cp9', `updated_at` = '2013-02-14 14:35:32' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' 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-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:32', 'Form 14', NULL, NULL, '2013-02-14 14:35:32', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 15 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.8ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 14ms (Views: 11.8ms | ActiveRecord: 0.3ms)
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 406 Not Acceptable in 2ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:35:32', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:35:32')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2013-06-27 12:54:21', 'email', 7, '2013-06-27 12:54:21', 'test@spudcms.net')
+ [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.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:32', 'Form 15', NULL, NULL, '2013-02-14 14:35:32', 'form-15')
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' 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-16' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:32', 'Form 16', NULL, NULL, '2013-02-14 14:35:32', 'form-16')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:32', 'Form 17', NULL, NULL, '2013-02-14 14:35:32', 'form-17')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' 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-18' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:32', 'Form 18', NULL, NULL, '2013-02-14 14:35:32', 'form-18')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:35:32', 'Test', NULL, NULL, '2013-02-14 14:35:32', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-02-14 14:35:32', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:35:32')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2013-02-14 14:35:32', 'email', 7, '2013-02-14 14:35:32', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [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:35:32', NULL, 0, NULL, NULL, NULL, '2013-02-14 14:35:32')
+ [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.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+Connecting to database specified by database.yml
+ [1m[36m (0.3ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
+ [1m[36m (0.1ms)[0m [1mSELECT DATABASE() as db[0m
+ [1m[35m (1.3ms)[0m select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
+ [1m[36m (0.9ms)[0m [1mTRUNCATE TABLE `spud_admin_permissions`;[0m
+ [1m[35m (1.0ms)[0m TRUNCATE TABLE `spud_inquiries`;
+ [1m[36m (1.1ms)[0m [1mTRUNCATE TABLE `spud_inquiry_fields`;[0m
+ [1m[35m (1.5ms)[0m TRUNCATE TABLE `spud_inquiry_form_fields`;
+ [1m[36m (1.0ms)[0m [1mTRUNCATE TABLE `spud_inquiry_forms`;[0m
+ [1m[35m (0.8ms)[0m TRUNCATE TABLE `spud_user_settings`;
+ [1m[36m (1.5ms)[0m [1mTRUNCATE TABLE `spud_users`;[0m
+ [1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 1
[1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (1.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 1', NULL, NULL, '2013-02-14 14:36:37', 'form-1')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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' 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 (1) ORDER BY field_order ASC[0m
+ Rendered /Users/davydotcom/projects/ruby/engines/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 68ms (Views: 41.1ms | ActiveRecord: 3.1ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
[1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+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' LIMIT 1
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 2', NULL, NULL, '2013-02-14 14:36:37', 'form-2')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:36:37', NULL, NULL, '0', 'email', NULL, 1, 2, '2013-02-14 14:36:37')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.9ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[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.3ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 3', NULL, NULL, '2013-02-14 14:36:37', 'form-3')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:36:37', NULL, NULL, '0', 'email', NULL, 1, 3, '2013-02-14 14:36:37')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+Redirected to http://test.host/
+Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 4', NULL, NULL, '2013-02-14 14:36:37', 'form-4')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:36:37', NULL, NULL, '0', 'email', NULL, 1, 4, '2013-02-14 14:36:37')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1[0m
+Redirected to http://test.host/
+Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.3ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 5', NULL, NULL, '2013-02-14 14:36:37', 'form-5')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-02-14 14:36:37', NULL, NULL, '0', 'email', NULL, 1, 5, '2013-02-14 14:36:37')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by ContactsController#inquire as HTML
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
+ [1m[36mSpudInquiryFormField Load (0.4ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order ASC, field_order[0m
+Completed 200 OK in 16ms (Views: 0.8ms | ActiveRecord: 2.3ms)
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+Processing by ContactsController#thankyou as HTML
+Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5b6a0606b5adc55afa1ade208cadceaf01d59d37d00470a62a1da2ad97e9e3ff089efe07b9037b01576064a948d1ed529b3e93b8a0d7790d85d2f5da1e57e276' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HsxQair9oNAzC6Xqcr2c' LIMIT 1
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', '64b4c8403fbd8a916e9f87cee3ab9506c13cec7d72fe2a5b7943b3461535f1dbbb831ac59960fde56a68f91c20abeb75584e0f1426dc2ee4067633763c24e315', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, 'ssVNL6DFJwli7rn2GLY', '0pne3rOI15gGN6OOS2I', '5b6a0606b5adc55afa1ade208cadceaf01d59d37d00470a62a1da2ad97e9e3ff089efe07b9037b01576064a948d1ed529b3e93b8a0d7790d85d2f5da1e57e276', 'HsxQair9oNAzC6Xqcr2c', 1, NULL, '2013-02-14 14:36:37')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'CezRv0UoqugjUtsINv', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 1
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[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
+Processing by Spud::Admin::InquiriesController#index as HTML
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
+Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.2ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'addf42c666f030064a7cb5c7450eb1158ca0b0762a9ec95e7e0d011d1b3105959ff4d1cde427c86ec3839d61305fd8b8749bdff6fc537ff33fb410dddf231965' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XRR0VXomI1P7KnbyTy0' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', '987838a86d1e8cf59ec4de202393a337f20c5b41282c3db0cd7b827f2e241a464cf49024f9646e23bb0e974beaa039e9b2efc9ac8f1ec38f574aa14a9545e455', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, 'p3AF3oI27AoC77AnDrl', 'OYU6lDHoLbwpNFJ3edGM', 'addf42c666f030064a7cb5c7450eb1158ca0b0762a9ec95e7e0d011d1b3105959ff4d1cde427c86ec3839d61305fd8b8749bdff6fc537ff33fb410dddf231965', 'XRR0VXomI1P7KnbyTy0', 1, NULL, '2013-02-14 14:36:37')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'pmV7zmvHbT6wCz0zB6OW', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 2
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiriesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1[0m
+Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.7ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.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 'fa79eb1c0f17e5538277f64d4906b29de371d41b7f6cf93404f415d0667606b9cdb1ce15eda0c182bab8f32bcdb2e0ac45efc19d5bed4bc8de5eff8107fa74cd' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HWq2EEPVFH40P27r0qUa' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', '5ca5d6a2a5db588e734d5b7576ce8fac630aa0354d8daadc25ecf9244426cbd27e93946b10d185862f5838fa5eaa251b948967e8134cf6f9a49c9fc9a49e4377', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, '5o2rDgXv0WbMgGs5Ew', 'TG3ao5HwbZUfKzwbDjQG', 'fa79eb1c0f17e5538277f64d4906b29de371d41b7f6cf93404f415d0667606b9cdb1ce15eda0c182bab8f32bcdb2e0ac45efc19d5bed4bc8de5eff8107fa74cd', 'HWq2EEPVFH40P27r0qUa', 1, NULL, '2013-02-14 14:36:37')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dQo0Di0p8YEScZEjmUu', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 3
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 3 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 LIMIT 1[0m
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[35m (0.8ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[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 'a81ecfed2176c807ae1ba8d386a26ea52e49088a3d5d6bc29635e41fd5978a40d48a88cf522025d140dde039604ad6c6d8365912481e28b0df88c4f41bcbc9aa' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '5KuKrDQGSNJ3CgBmFjB' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', 'd05d6e7b4219e5419e05c7b2feaf9368d74fda95e876e0aba26a6bba271c24fb327597ac1f7b9ed47237824456229173cca3c152e2d85ffe90c61a9195639e8e', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, '2Vp4PasoqEDEWRs13DVW', 'S8B86i3zHbSYh5ZNFsL', 'a81ecfed2176c807ae1ba8d386a26ea52e49088a3d5d6bc29635e41fd5978a40d48a88cf522025d140dde039604ad6c6d8365912481e28b0df88c4f41bcbc9aa', '5KuKrDQGSNJ3CgBmFjB', 1, NULL, '2013-02-14 14:36:37')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'FG10Dl1xoRBgAZ2lAeFd', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 4
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.1ms)[0m [1mINSERT 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')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+Processing by Spud::Admin::InquiriesController#destroy as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4[0m
+ [1m[35mSQL (0.1ms)[0m DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiries
+Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '36c57aa90d316849b71270f0ab403fdaa888e816dab05e9b3adc262e0089d6294370071b7c0a6ac96ae038dffb166df9e062780319fe51746e155942be528d24' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'za7KU2c2Vb5pfk93g2v1' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', 'd04e1e9b0479c18088a358e80d20be79cf07d6242d421d209cc70c80f727e6b9e938724ead36842208395c31a8494b14d24eb0de22f915acac25822f566ce184', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, 'yuMBtyPVbO7IRwxawAU', 'YVk8ETOLA644ODFWpubL', '36c57aa90d316849b71270f0ab403fdaa888e816dab05e9b3adc262e0089d6294370071b7c0a6ac96ae038dffb166df9e062780319fe51746e155942be528d24', 'za7KU2c2Vb5pfk93g2v1', 1, NULL, '2013-02-14 14:36:37')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = '5iq35oJszv9r3nuLixdV', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 5[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.1ms)[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[35m (0.1ms)[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` = 5 LIMIT 1[0m
+ [1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
+Redirected to http://test.host/spud/admin/inquiries
+Filter chain halted as :load_inquiries rendered or redirected
+Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries` [0m
+ [1m[35m (0.7ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'c0b06dbc236dab764c1d627eb209624ba6b28c6e276c959bac8c5a99e470833562dd32610f00ca637ca23a854505dfc2ab2a1ffc1f1d1dd7350ffa9f4c86778f' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zBfF18ZXfwIc0kZYK3K' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', '1496cfe13d582bc1a73c39e2beedc28be2b96b8817c25e78f39ac79b3b1e8e6f18607b0ecc4f98ca59576ff5191fa5cfdd60db9585e07803c9ed78afdf987b71', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, 'AO9zSTP2e99ubopDUyW', '8BjzGkEYmAUSutWlgin', 'c0b06dbc236dab764c1d627eb209624ba6b28c6e276c959bac8c5a99e470833562dd32610f00ca637ca23a854505dfc2ab2a1ffc1f1d1dd7350ffa9f4c86778f', 'zBfF18ZXfwIc0kZYK3K', 1, NULL, '2013-02-14 14:36:37')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rMvgg6tfhDBz8ODj2MRy', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 6
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 6', NULL, NULL, '2013-02-14 14:36:37', 'form-6')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
- [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-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 7', NULL, NULL, '2013-02-14 14:36:37', 'form-7')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#index as HTML
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 '2a2dcf72ded8dff54cefe583f9ee3a7ff61e0e3e2281925974325a2a77598cdc3af1821c85b50dd6836e94a4057c4585f839a998ae540cec4bd1ca517b9e1711' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ePjwG9iIaXPSK7xWdzEJ' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', '042a1453a4eeda16542d43358e5bc03841efad3bbecc5faf941d81a10f0da668880f439279651b90691beac20463ad9d9f0a005861a0c11e5cc7c8cd8f5652cc', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, 'dwvpP0Epa1OsVnS7y51', 'tnxYe1YPSNaRwHOVyKxC', '2a2dcf72ded8dff54cefe583f9ee3a7ff61e0e3e2281925974325a2a77598cdc3af1821c85b50dd6836e94a4057c4585f839a998ae540cec4bd1ca517b9e1711', 'ePjwG9iIaXPSK7xWdzEJ', 1, NULL, '2013-02-14 14:36:37')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = '0new7pt6SW5e4uE9etH', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 7
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 7 LIMIT 1
+Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.3ms)
+ [1m[36m (0.7ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fb156e57f33c3e7723be6fc812c61135d54ff008a1e5caa04973c4c7cdef80101fd55bce56443908d201ee24be9a230b114b90248bdc8c01c6c220728f0eaafb' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ePTgCvvSF6rDXdtPSi' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', 'fc8600c30b2d9995971c07cea82aaddcd350ac2157a19837ea21b3092e7af0df136162783b38f2dd12765bbf1dd443b1e76e8eb00c66e71e916154e62b2b6b33', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, 'wBLbvM0rTRhyopqEzJj', 'NYiVYBBhpMo0VqIF3Fze', 'fb156e57f33c3e7723be6fc812c61135d54ff008a1e5caa04973c4c7cdef80101fd55bce56443908d201ee24be9a230b114b90248bdc8c01c6c220728f0eaafb', 'ePTgCvvSF6rDXdtPSi', 1, NULL, '2013-02-14 14:36:37')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'R3qNY0PexhrjXz1ficot', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 8[0m
+ [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_2
+ [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.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 8', NULL, NULL, '2013-02-14 14:36:37', 'form-8')
+ [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.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 'f394ddaf9561da9cc83bc336d1cd4d2619bd7f8202867e04002a9b1ba0130f7e277ef1205fd00c467071abd65a796ec6990e7b001f8dc943d1f825913a89b00c' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7VwO1akXZf0UKvTNML9k' LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', '0f4cca71b0bbcfca1a274b02645f54412d723b480ad6f4444502ddd5c6fa7d9336b71ea8c08df5d4b788304fdd9e9f2e978935575c69059e29e4749df6da2acf', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, 'VGJzdDP2ApHAOFJehqs9', 'LDVvLNuobdewTMO69az', 'f394ddaf9561da9cc83bc336d1cd4d2619bd7f8202867e04002a9b1ba0130f7e277ef1205fd00c467071abd65a796ec6990e7b001f8dc943d1f825913a89b00c', '7VwO1akXZf0UKvTNML9k', 1, NULL, '2013-02-14 14:36:37')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.9ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'HqwBWPu1nnO0Pctrl', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 9[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [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"=>nil}}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[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_2
+Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'bbbe92a7ad708e4776232a68453683c95a0f1f04cf742da2946d36491d65164a676f83b8508cbc24016a57f80d9d6b8dd8961153a7a12e07b05982c64325153a' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.5ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ya6isRKKTYd9lsAcankU' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', '08f5dac0f1e857470bea722385d339cb91810526a3499fbe39195bc53b4d352792979bf41ceacf19704c3c168fc01be0bcfeffbf84427620a6d80d04870375ef', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, '3qx4KdQuGrXWLXTX9mk', '7RjW1HFer15YhjdpJK2', 'bbbe92a7ad708e4776232a68453683c95a0f1f04cf742da2946d36491d65164a676f83b8508cbc24016a57f80d9d6b8dd8961153a7a12e07b05982c64325153a', 'ya6isRKKTYd9lsAcankU', 1, NULL, '2013-02-14 14:36:37')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'qGMWDNJUxTsSFOGSfCd', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 10
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 9', NULL, NULL, '2013-02-14 14:36:37', 'form-9')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 10', NULL, NULL, '2013-02-14 14:36:37', 'form-10')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#edit as HTML
+ Parameters: {"id"=>"10"}
+ [1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 LIMIT 1[0m
+Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.5ms)
+ [1m[35m (1.2ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[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 '8c4913965c7d43fcc72607fa55804a0a2bf582eb2dbc6682cb9ac7c621ee045996b7ef262b7f388f5862186087a4c8e5729b13bd22e52fd5ecbb5924b549b57b' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '34sd5wpkJ32juQSqRDEf' LIMIT 1
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', '753a9760ca8c36972884e3826d11f63a99d9f688b2ba725c96569a4dc58cf1ed4a8e07ed2ea3858e7bfd3b8fe08abd0ee9fd55759efc49956fbccc74be2482e9', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, 'dF28y1BJpgDEBcXNMnWn', '11NAw9q2nXznqlXW8aW', '8c4913965c7d43fcc72607fa55804a0a2bf582eb2dbc6682cb9ac7c621ee045996b7ef262b7f388f5862186087a4c8e5729b13bd22e52fd5ecbb5924b549b57b', '34sd5wpkJ32juQSqRDEf', 1, NULL, '2013-02-14 14:36:37')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.7ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'dxZMYmWMNGxmiEsivIo', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 11
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[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` = 11 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 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.5ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '964ee8f2d03c4960cedcfbe8031230be100bb74a4b522d1b0021ff67d96bf1a5198a848eb845a8e4c4373f7f3619a0e01c723bc187752ce007bdbc1ed4a41740' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'O0yr9OMSJCVZtlUtt' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', '536a105089d0801c27b2732f1cc09bb7cada75c08e4ba72f25e298a105c97fe61169dcae69bc865ee6d7af55d0b9c3d5e0e4e0126f58ac37f8248867474696af', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, '0Kmldp5Zc9ClVZZKCqHv', 'q10XG4aIphOkViCIQWJq', '964ee8f2d03c4960cedcfbe8031230be100bb74a4b522d1b0021ff67d96bf1a5198a848eb845a8e4c4373f7f3619a0e01c723bc187752ce007bdbc1ed4a41740', 'O0yr9OMSJCVZtlUtt', 1, NULL, '2013-02-14 14:36:37')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.3ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'S0MR6lvKKPTSEPvOfMSu', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 12
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' 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-11' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 11', NULL, NULL, '2013-02-14 14:36:37', 'form-11')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2013-02-14 14:36:37 UTC", "updated_at"=>"2013-02-14 14:36:37 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11"}, "id"=>"11"}
+ [1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
+ [1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_inquiry_forms`.`id` = 11
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
+ [1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
+ [1m[36m (1.5ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2387dbd98b01e7ad9e4d0f0d5d9f26dc59c31348bce3a05879d52e361900139c82c08ef70965cadcb1f1d1f614c4197ff2bfce4b152b778d77eabf22fed3211d' LIMIT 1
+ [1m[36mSpudUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'P5OUEZGNSqmvz4tG8Nbh' LIMIT 1[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', '82584b45316df14f923e0ba795f70e41e5c10a4365ffd344c32e24567c24c2a39537da9184d2117832e4704f24d38229a164346f4c9db1b3ff98b1837b45cc4c', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, 'irbT0SkYbVzweVLd2KGc', 'jCOWIH76c8fM0P34fCVr', '2387dbd98b01e7ad9e4d0f0d5d9f26dc59c31348bce3a05879d52e361900139c82c08ef70965cadcb1f1d1f614c4197ff2bfce4b152b778d77eabf22fed3211d', 'P5OUEZGNSqmvz4tG8Nbh', 1, NULL, '2013-02-14 14:36:37')
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mUPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MUE4TApinSzITtwsbtGW', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 12', NULL, NULL, '2013-02-14 14:36:37', 'form-12')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Processing by Spud::Admin::InquiryFormsController#update as HTML
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2013-02-14 14:36:37 UTC", "updated_at"=>"2013-02-14 14:36:37 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12"}, "id"=>"12"}
+ [1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 12' AND `spud_inquiry_forms`.`id` != 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' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
+ [1m[35m (0.6ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.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 'e25c951f521b171d458c3a78c5b2f3f05b228af5e4390f8c2d4e54160670b9418e1b37a818f1b6248fb3753c5afc9cc8b35765893c6129e2872c2fda16630eb2' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UlSbHyNXcSEY6X7dchMQ' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', 'c8f7d829c553c248ade190254d8ee4be039cde7f7b72f896f83d8d439b4237ddc26dda8df62ea4fe3ceee8f3ef076c29c864dc135326684100d49ebd89f3e8f3', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, 'VXAUhVwxmEzK1TcOaGj', 'YU9YLd5jgouSHhVScPs5', 'e25c951f521b171d458c3a78c5b2f3f05b228af5e4390f8c2d4e54160670b9418e1b37a818f1b6248fb3753c5afc9cc8b35765893c6129e2872c2fda16630eb2', 'UlSbHyNXcSEY6X7dchMQ', 1, NULL, '2013-02-14 14:36:37')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (1.0ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'yovklht1wG1gs5dW7pH', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 14
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 13', NULL, NULL, '2013-02-14 14:36:37', 'form-13')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+Processing by Spud::Admin::InquiryFormsController#destroy as HTML
+ Parameters: {"id"=>"13"}
+ [1m[35mSpudUser Load (0.4ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 13[0m
+ [1m[35mSpudInquiryFormField Load (0.3ms)[0m SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 13 ORDER BY field_order ASC
+ [1m[36mSQL (0.1ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+Redirected to http://test.host/spud/admin/inquiry_forms
+Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms` [0m
+ [1m[35m (0.9ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
+ [1m[36mSpudUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '972a26ab2a3ea99083b513f1b9e49071e3f1a8af8745c786a94e67a60e6ddb40a9760ca0353803b4c3824cf1c1ba88771cb54c73caba041a2313a62a0fda00ff' LIMIT 1[0m
+ [1m[35mSpudUser Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hDokpgxiEcagPyOZO5u' LIMIT 1
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-02-14 14:36:37', 'bf079f863bffae308bf66dded2e41b0d363630354bf32e17b530d23876282e4bcfa1b5186f5180c2a0da092aa90969a60b66165495f8de0a622983d15ef7d538', '2013-02-14 14:36:37', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-02-14 14:36:37', 'testuser', 1, 'sdCWcnDbBgQJ5Io11cyY', 'PwyhSqz9DSpGvsuBbQWv', '972a26ab2a3ea99083b513f1b9e49071e3f1a8af8745c786a94e67a60e6ddb40a9760ca0353803b4c3824cf1c1ba88771cb54c73caba041a2313a62a0fda00ff', 'hDokpgxiEcagPyOZO5u', 1, NULL, '2013-02-14 14:36:37')[0m
+ [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35m (0.2ms)[0m UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-02-14 14:36:37', `last_login_ip` = '0.0.0.0', `perishable_token` = 'uzXpfsJO4liq5JvY9M', `updated_at` = '2013-02-14 14:36:37' WHERE `spud_users`.`id` = 15
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [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.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1
+ [1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 14', NULL, NULL, '2013-02-14 14:36:37', 'form-14')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [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` = 15 LIMIT 1
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 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.4ms)
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as XML
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.2ms)
+ [1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+Processing by Spud::Inquiries::SitemapsController#show as HTML
+ [1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` [0m
+Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.2ms)
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.6ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[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.2ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 15', NULL, NULL, '2013-02-14 14:36:37', 'form-15')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' 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-16' LIMIT 1
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 16', NULL, NULL, '2013-02-14 14:36:37', 'form-16')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[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.1ms)[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` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 17', NULL, NULL, '2013-02-14 14:36:37', 'form-17')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35m (0.4ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSpudInquiryForm Exists (0.2ms)[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.1ms)[0m [1mINSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Form 18', NULL, NULL, '2013-02-14 14:36:37', 'form-18')[0m
+ [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [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.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[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
+ [1m[35mSQL (0.1ms)[0m INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `updated_at`, `url_name`) VALUES (NULL, '2013-02-14 14:36:37', 'Test', NULL, NULL, '2013-02-14 14:36:37', 'test')
+ [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
+ [1m[36mSpudInquiryForm Exists (0.1ms)[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
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.1ms)[0m SAVEPOINT active_record_2
+ [1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
+ [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
+ [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2013-02-14 14:36:37', 'email', 7, '2013-02-14 14:36:37', 'test@spudcms.net')
+ [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` = 7 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.0ms)[0m ROLLBACK
+ [1m[36m (0.0ms)[0m [1mBEGIN[0m
+ [1m[35m (0.0ms)[0m BEGIN
+ [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
+ [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