(0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (2.6ms) select table_name from information_schema.views where table_schema = 'spud_inquiries_test'  (2.8ms) TRUNCATE TABLE `spud_admin_permissions`;  (4.7ms) TRUNCATE TABLE `spud_inquiries`;  (3.3ms) TRUNCATE TABLE `spud_inquiry_fields`;  (3.0ms) TRUNCATE TABLE `spud_inquiry_form_fields`;  (3.0ms) TRUNCATE TABLE `spud_inquiry_forms`;  (2.1ms) TRUNCATE TABLE `spud_user_settings`;  (3.4ms) TRUNCATE TABLE `spud_users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:17', 'Form 1', '2014-04-23 14:20:17', 'form-1') Processing by ContactsController#show as HTML Parameters: {"id"=>"form-1"} SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SpudInquiryFormField Load (0.2ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (1) ORDER BY `spud_inquiry_form_fields`.`field_order` ASC Rendered /Users/davidestes/projects/bertram/spud-rails/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (0.3ms) Completed 200 OK in 30ms (Views: 4.9ms | ActiveRecord: 4.2ms)  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Processing by ContactsController#show as HTML Parameters: {"id"=>"1234"} SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Redirected to http://test.host/ Completed 302 Found in 1ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.5ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:17', 'Form 2', '2014-04-23 14:20:17', 'form-2') SQL (0.2ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-04-23 14:20:17', 'email', '0', 'email', 1, 2, '2014-04-23 14:20:17') SQL (0.2ms) UPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-04-23 14:20:17' WHERE `spud_inquiry_forms`.`id` = 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)  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:17', 'Form 3', '2014-04-23 14:20:17', 'form-3') SQL (0.1ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-04-23 14:20:17', 'email', '0', 'email', 1, 3, '2014-04-23 14:20:17') SQL (0.2ms) UPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-04-23 14:20:17' WHERE `spud_inquiry_forms`.`id` = 3 Processing by ContactsController#inquire as HTML Redirected to http://test.host/ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:17', 'Form 4', '2014-04-23 14:20:17', 'form-4') SQL (0.1ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-04-23 14:20:17', 'email', '0', 'email', 1, 4, '2014-04-23 14:20:17') SQL (0.1ms) UPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-04-23 14:20:17' WHERE `spud_inquiry_forms`.`id` = 4 Processing by ContactsController#inquire as HTML Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}} SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Redirected to http://test.host/ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:17', 'Form 5', '2014-04-23 14:20:17', 'form-5') SQL (0.2ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-04-23 14:20:17', 'email', '0', 'email', 1, 5, '2014-04-23 14:20:17') SQL (0.1ms) UPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-04-23 14:20:17' WHERE `spud_inquiry_forms`.`id` = 5 Processing by ContactsController#inquire as HTML Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}} SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SpudInquiryFormField Load (0.1ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY `spud_inquiry_form_fields`.`field_order` ASC Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.3ms)  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Processing by ContactsController#thankyou as HTML Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '48fbe24606a639bd781c8db3d68d763b341d0154088d7d374534a62014ab0c481aebb6206ee1d78012624220908db779ff6186d45607df60f33ef7622311f551' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ytNnCsIEST9all9CQXh' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:17', '498044c086b31efa5e55a68637345cf00fb256864794f0b4647c3d3bf0d208cd18842c92234bb4535e229e07082709633518280496fe94cfdaa7ffbc74aa2771', '2014-04-23 14:20:17', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:17', 'testuser', 1, 'SqJYyIdcYnPCSHOpI0nG', 'zLg8yqAkrQtLTb4u1JI', '48fbe24606a639bd781c8db3d68d763b341d0154088d7d374534a62014ab0c481aebb6206ee1d78012624220908db779ff6186d45607df60f33ef7622311f551', 'ytNnCsIEST9all9CQXh', 1, '2014-04-23 14:20:17') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:17', `current_login_at` = '2014-04-23 14:20:17', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:17', `perishable_token` = '1VHDhx4nHPUOmMIgawm9', `updated_at` = '2014-04-23 14:20:17' WHERE `spud_users`.`id` = 1 SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:17', '2014-04-23 14:20:17') SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:17', '2014-04-23 14:20:17') Processing by Spud::Admin::InquiriesController#index as HTML SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:17', `perishable_token` = 'mCzwvCcKOpXO9Qg2e3', `updated_at` = '2014-04-23 14:20:17' WHERE `spud_users`.`id` = 1 Completed 200 OK in 174ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (0.3ms) SELECT COUNT(*) FROM `spud_inquiries`  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '80bf787af46b6e74b7a505d7e483600793549f2241b19cc93a5fa84756d9acb91e458d1df0e804b15d2409e34e45a2e51286d032db58410e9338a6e47704665c' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '2NOAFC1mYRAhQzcbLgf' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:17', '9f4c7bdcb2aa1617145c676571988e51c3cc63167df64ba03798c14d1998c19ba465083ccd6167f53b1f5764c07bd5ce2a99c448f57e67fea7e87cb4335743e6', '2014-04-23 14:20:17', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:17', 'testuser', 1, 'wHnKJuuY76FGntNLnPFj', 'xBYtqFYEnevp1piuxNOm', '80bf787af46b6e74b7a505d7e483600793549f2241b19cc93a5fa84756d9acb91e458d1df0e804b15d2409e34e45a2e51286d032db58410e9338a6e47704665c', '2NOAFC1mYRAhQzcbLgf', 1, '2014-04-23 14:20:17') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:17', `current_login_at` = '2014-04-23 14:20:17', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:17', `perishable_token` = 'hHpoDaumsDvxYJqea3a', `updated_at` = '2014-04-23 14:20:17' WHERE `spud_users`.`id` = 2 SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:18', '2014-04-23 14:20:18') Processing by Spud::Admin::InquiriesController#show as HTML Parameters: {"id"=>"3"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'iKKp5e8taGdrj4nwxJ6r', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 2 SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1 SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '97a96babb7532c5ce5b110b1c9a3aabf4f2d08e90a1aa8a3d171118f6a4ccc0660496c7f1fc99b286ac7abdb77b7b0b860c94af4e0bb1be1899141196c81b23f' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jVkbGAr0aFuUlR9BUR6J' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:18', 'c5fa1066b4842280a67970488d271ee47846dac13bd0d364e92f3b0d6b9a56a67f7a808b5324e6269b058aced00e777c1b834ba990fa3cf227bdf17cc49fb458', '2014-04-23 14:20:18', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:18', 'testuser', 1, 'zzgzta24f2oaVMdCuuX', 'VmAlYz0FFJLxUdCHCs', '97a96babb7532c5ce5b110b1c9a3aabf4f2d08e90a1aa8a3d171118f6a4ccc0660496c7f1fc99b286ac7abdb77b7b0b860c94af4e0bb1be1899141196c81b23f', 'jVkbGAr0aFuUlR9BUR6J', 1, '2014-04-23 14:20:18') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:18', `current_login_at` = '2014-04-23 14:20:18', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'DgCQLTuVcbe5fy3P5sSX', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 3 Processing by Spud::Admin::InquiriesController#show as HTML Parameters: {"id"=>"1234"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'HtJUw9B8isgej8sORFc', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 3 SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1 Redirected to http://test.host/spud/admin/inquiries Filter chain halted as :load_inquiries rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '332b52136609aa2981b0f37b85baa49823c78f0b5aed23f3c9b35645d54f99b9edde4818dd289b2760f79584a23ccd8cc46e224b475f49bb7d08f1a31f2e8e98' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'wFx4TXhtTUD3eIpJO6LN' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:18', '0e3f82402b07e7892a1b40caf7f4dcd80dda739f5b6cf58e99772007feccdc5564fff292f8d10c93157d4132644cc4c0bff94dcc8a594119d104ba14e9ddf341', '2014-04-23 14:20:18', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:18', 'testuser', 1, 'R4iC08eai66zvoJvSyva', 'tn5kSu6jrKhDmAu9BU86', '332b52136609aa2981b0f37b85baa49823c78f0b5aed23f3c9b35645d54f99b9edde4818dd289b2760f79584a23ccd8cc46e224b475f49bb7d08f1a31f2e8e98', 'wFx4TXhtTUD3eIpJO6LN', 1, '2014-04-23 14:20:18') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:18', `current_login_at` = '2014-04-23 14:20:18', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'DDsdUGRHMr4fOe24LYE', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 4 SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:18', '2014-04-23 14:20:18')  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries` Processing by Spud::Admin::InquiriesController#destroy as HTML Parameters: {"id"=>"4"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'qC1RxSGASVBZW2PgPN5h', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 4 SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1 SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4 SQL (0.2ms) DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 Redirected to http://test.host/spud/admin/inquiries Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries`  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5083c127bad8d02bcfa22576044b60daa7bc4bd199a5ca4bf60ce0b2ef3afec0a8dd0b0c5da6685140ceeef84a50765f962536f20101241daa616e73db42997c' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'p73VCUiXcZ0xzOZNsiCN' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:18', '63bdab4dd15517712c5d1a10ba792875f53dcddb45f3dda75ca5726fecd73bd253b774bdb0ec60e91c4e8cb9617866ed2cb9b4bf83a0bad49507a2a17ed7f81d', '2014-04-23 14:20:18', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:18', 'testuser', 1, 'B2m2gE19K4mqKpg2rXmr', 'ScOfJ77LElRfpb2DFno', '5083c127bad8d02bcfa22576044b60daa7bc4bd199a5ca4bf60ce0b2ef3afec0a8dd0b0c5da6685140ceeef84a50765f962536f20101241daa616e73db42997c', 'p73VCUiXcZ0xzOZNsiCN', 1, '2014-04-23 14:20:18') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:18', `current_login_at` = '2014-04-23 14:20:18', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'ra2EmyEIJ7zjZtshZgR', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 5 SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:18', '2014-04-23 14:20:18')  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries` Processing by Spud::Admin::InquiriesController#destroy as HTML Parameters: {"id"=>"23532"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = '2jpnH7gwl2GVM0EAdEqT', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 5 SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1 Redirected to http://test.host/spud/admin/inquiries Filter chain halted as :load_inquiries rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries`  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2a391601c3415d921e213d06aef4ad7ae2fd6fb751505e850f16a2be8c80ee8a73ad26a81981f54ba1cf085baf4999c1dc6acc1bca2c42842473cf9a23313f10' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uYh1kFGm2ARpyuKNHgW' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:18', '80073227d407fe5dc7b39400b42a21512ff8e13cbaa979bb123c0ada3cc0bc5de471320b8b09ca42992f2742ad6fb79247041198decca116f9bd07a34b6a4dfc', '2014-04-23 14:20:18', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:18', 'testuser', 1, 'zfTufAoLW2gg5KXsiXar', 'gpoGEqcCyoZALpzsrBQt', '2a391601c3415d921e213d06aef4ad7ae2fd6fb751505e850f16a2be8c80ee8a73ad26a81981f54ba1cf085baf4999c1dc6acc1bca2c42842473cf9a23313f10', 'uYh1kFGm2ARpyuKNHgW', 1, '2014-04-23 14:20:18') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:18', `current_login_at` = '2014-04-23 14:20:18', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'uRbkiLdX76IFfM2tdGkI', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 6 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:18', 'Form 6', '2014-04-23 14:20:18', 'form-6') SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:18', 'Form 7', '2014-04-23 14:20:18', 'form-7') Processing by Spud::Admin::InquiryFormsController#index as HTML SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'yxUB98g7nqAfp54ORVQ', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 6 Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5c66c81d719e5834bbc025af7e0a1f146e3599b792ffeff72fea4733e76c42711d9d3a2049f3d59de4b9d14d3887149addc156b3fcf08df8e93451c560fe68fa' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EqaY8rHbZWSXwqcnul4' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:18', 'd621ad072f58201c1815f0f624918fb58f5d52cb8932cc71a48e8cc58efbbc7468dcc73affd50a88021698fd7e73f5803daa95031064fd7830d2b04b30f9d2b6', '2014-04-23 14:20:18', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:18', 'testuser', 1, 'GwjvNgWjFkaUqYPD3Cf0', 'We3UCPU0Ehpf6EnMQSKZ', '5c66c81d719e5834bbc025af7e0a1f146e3599b792ffeff72fea4733e76c42711d9d3a2049f3d59de4b9d14d3887149addc156b3fcf08df8e93451c560fe68fa', 'EqaY8rHbZWSXwqcnul4', 1, '2014-04-23 14:20:18') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:18', `current_login_at` = '2014-04-23 14:20:18', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'zDH4Q7iArddjPpTKEb2b', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 7 Processing by Spud::Admin::InquiryFormsController#new as HTML SpudUser Load (0.1ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'bHTVryf6YdKYt9DU0lWz', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 7 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '37f295e8f7c4fc93afc8dd373cbe36d20f7bafabce7edf0162a63944f97a52adf28f3e8c623d4307a15c15065a0603cc1bd70d3fbf298ff1c75f4e655e8f0f76' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'zKmFfuLE7UmEjZYqdueD' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:18', '9eb68920f3c2b0233977277b885aa9b82d81dacb25adb188d995b9dfb34f6d2fa0778eceff2f38167b9557511199447aa3a6f7e5dce6232d5dc233837f2f8e19', '2014-04-23 14:20:18', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:18', 'testuser', 1, 'xlPqdK3Iy6d3k5YeB17O', '3a4MtyJMT8nUMVT8ep0', '37f295e8f7c4fc93afc8dd373cbe36d20f7bafabce7edf0162a63944f97a52adf28f3e8c623d4307a15c15065a0603cc1bd70d3fbf298ff1c75f4e655e8f0f76', 'zKmFfuLE7UmEjZYqdueD', 1, '2014-04-23 14:20:18') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:18', `current_login_at` = '2014-04-23 14:20:18', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = '5HxSWsl69bLgjbyXbqW3', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 8  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms` Processing by Spud::Admin::InquiryFormsController#create as HTML Parameters: {"spud_inquiry_form"=>{"name"=>"Form 8"}} SpudUser Load (0.1ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = '04Ju1sTxyaJPOSNpFFJ9', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 8 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:18', 'Form 8', '2014-04-23 14:20:18', 'form-8') Redirected to http://test.host/spud/admin/inquiry_forms Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6597c4ac098fc9be3b1a614fab54458e6902d73c6f411bc68f40e885607f3ba163eabbe07ecc7ed7988c3149284d40468ce5e253bdb7fa37e01359443c8ff66f' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'VJe9JH4f6zTeiDyAVwe' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:18', '93f7b8e5a3cf0e4d389ff5be440629633fd9bdfd242a4b4ac244578664d578faed6771a8520e397a92ce17271c7b56c6f83f177b46a2d689558b4b02309a3617', '2014-04-23 14:20:18', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:18', 'testuser', 1, 'pnr988Gq87EITZiD7fw', '8XI2rXdYcpbeiLmDMLY', '6597c4ac098fc9be3b1a614fab54458e6902d73c6f411bc68f40e885607f3ba163eabbe07ecc7ed7988c3149284d40468ce5e253bdb7fa37e01359443c8ff66f', 'VJe9JH4f6zTeiDyAVwe', 1, '2014-04-23 14:20:18') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:18', `current_login_at` = '2014-04-23 14:20:18', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'AWoCbs2OSbcK3GGhEwl', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 9  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms` Processing by Spud::Admin::InquiryFormsController#create as HTML Parameters: {"spud_inquiry_form"=>{"name"=>nil}} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'fdZEXX7Vweqid4BwH', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 9 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1 Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '89d909314bc8a6efd2be4c2ad77c3aceea574e9420dd11cf10d657a08b49e0839af79da9308038b9278be3f3a8086baaf8f563b5c0fe23cadc66f17a1fc50a44' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oqb3bX7NeXSlw7CrndHE' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:18', '379b719c96f4bdea77eb5431757e8290af1a343c5aae74b5705dbf20231b1e9d077ea15c1cb7d9040a8b707380da520cd828cbebc3f366b581ca243a241f585f', '2014-04-23 14:20:18', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:18', 'testuser', 1, '2zZPPCKYk6TpXNlQ62BY', 'uine4F2hgXBTlf7qeTXj', '89d909314bc8a6efd2be4c2ad77c3aceea574e9420dd11cf10d657a08b49e0839af79da9308038b9278be3f3a8086baaf8f563b5c0fe23cadc66f17a1fc50a44', 'oqb3bX7NeXSlw7CrndHE', 1, '2014-04-23 14:20:18') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:18', `current_login_at` = '2014-04-23 14:20:18', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'MOJbJDXeO6n3YpHuDOT', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 10 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:18', 'Form 9', '2014-04-23 14:20:18', 'form-9') SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:18', 'Form 10', '2014-04-23 14:20:18', 'form-10') Processing by Spud::Admin::InquiryFormsController#edit as HTML Parameters: {"id"=>"10"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'OuQrYHmeZ6lIbyk2FMR', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 10 SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '32ed5f0711235f43d06ed93495ba11a31f40f271ad55ce1c1bcc54c6cf838c8a1cbcbdf23de30a83048c6b5115a6041b3b257ca13bd82649f78595666018a62b' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'KK8Q38FpkQRMdU7hBzro' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:18', 'bdd8db6aecb5a1e9afa2c140630ae18e7cd64554ca47a6f4789bd860c08600526058b939b9b63e300d30af4598009d91736b08020ad2f2dffb3c1ff7244bfce9', '2014-04-23 14:20:18', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:18', 'testuser', 1, 'xFqw2ggbs7GpIzTPI4D3', 's3fGO7VgIq0oCn81kVIH', '32ed5f0711235f43d06ed93495ba11a31f40f271ad55ce1c1bcc54c6cf838c8a1cbcbdf23de30a83048c6b5115a6041b3b257ca13bd82649f78595666018a62b', 'KK8Q38FpkQRMdU7hBzro', 1, '2014-04-23 14:20:18') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:18', `current_login_at` = '2014-04-23 14:20:18', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'q9F2rZRQCPaOjWnILLjD', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 11 Processing by Spud::Admin::InquiryFormsController#edit as HTML Parameters: {"id"=>"1234"} SpudUser Load (0.1ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'QEwm2vECUSBzlqzIgowc', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 11 SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Redirected to http://test.host/spud/admin/inquiry_forms Filter chain halted as :load_form rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c61fbf9a03fd3fb9e126110f52c634366b0e412940eb81b072936b8997c81eaad32805987d4410670692a3f09f7092f06626495fe67a752c801bc17a24e0e9b3' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'gkSm8TT68C5mUDhbaowh' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:18', '000c08b1b9554da7d47522ff9f59b0a80c8923c398a7b9abae3581a00005e94f329457c2a6d085551daee8599c686f482612e90a02a9a0c4eb6da038834a2746', '2014-04-23 14:20:18', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:18', 'testuser', 1, 'L4VTXiGnPEwJJDf056y', 'cUQpcvNXHZyDxBCKeCRp', 'c61fbf9a03fd3fb9e126110f52c634366b0e412940eb81b072936b8997c81eaad32805987d4410670692a3f09f7092f06626495fe67a752c801bc17a24e0e9b3', 'gkSm8TT68C5mUDhbaowh', 1, '2014-04-23 14:20:18') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:18', `current_login_at` = '2014-04-23 14:20:18', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = '6VDStxGpiL7LHmdkFZC', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 12 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:18', 'Form 11', '2014-04-23 14:20:18', 'form-11') Processing by Spud::Admin::InquiryFormsController#update as HTML Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2014-04-23 14:20:18 UTC", "updated_at"=>"2014-04-23 14:20:18 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11", "thank_you_content"=>nil, "submit_title"=>nil}, "id"=>"11"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'uwGQVX9GAhPT3iuFmcSL', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 12 SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1 SQL (0.2ms) UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_inquiry_forms`.`id` = 11 Redirected to http://test.host/spud/admin/inquiry_forms Completed 302 Found in 10ms (ActiveRecord: 1.0ms) SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6358601f33d72223351344df6ba37c7b54003de34c9440adf62462405d28656412dc008b26487710f79bc8a32d7cb46d9c07f8d8d29fc808fec50f9fb818ad00' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '0pisVrnEux7J6aqyxpa' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:18', '460334cb609d68861da68cbb58ca5a1e19cb75334d0bcead0fc22a423491d98ff0f7ca2d20edb4efaa4049041e0517f4eae64eed66b8bcda15bd8720d57a3df3', '2014-04-23 14:20:18', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:18', 'testuser', 1, 'xduCwFcsE5dNl0UKxW', 'qEs93Y9DkzG4X39IFEN9', '6358601f33d72223351344df6ba37c7b54003de34c9440adf62462405d28656412dc008b26487710f79bc8a32d7cb46d9c07f8d8d29fc808fec50f9fb818ad00', '0pisVrnEux7J6aqyxpa', 1, '2014-04-23 14:20:18') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:18', `current_login_at` = '2014-04-23 14:20:18', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'A0qMvOylWXEdF00V', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 13 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:18', 'Form 12', '2014-04-23 14:20:18', 'form-12') Processing by Spud::Admin::InquiryFormsController#update as HTML Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm2", "content"=>nil, "created_at"=>"2014-04-23 14:20:18 UTC", "updated_at"=>"2014-04-23 14:20:18 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12", "thank_you_content"=>nil, "submit_title"=>nil}, "id"=>"12"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'byrvxkEZeEzjeYPMzc', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 13 SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm2' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform2' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1 SQL (0.2ms) UPDATE `spud_inquiry_forms` SET `name` = 'MyForm2', `url_name` = 'myform2', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_inquiry_forms`.`id` = 12 Redirected to http://test.host/spud/admin/inquiry_forms Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '51c3757f1e74e3b9e703937aceece9f9b7e21cce0387a9fd5b61b651d1b2f8995c261faa297a1c711f07e1a59c422552ad5a6fe87fd748ccc5cd8b1eb1bfdf2a' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'HA6kOXGkGntiSKUFQpGH' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:18', '3ddb0c81f8f8233d74768de0100d95c46b98ebe663bc7ea94b8bfc49f7f3eccafc04a92f16627bdbeb430765db2c005cc5b1f906914f336ce5e4ed56a6152210', '2014-04-23 14:20:18', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:18', 'testuser', 1, 'CMZvJI8eLa1fNgZ4IN', 'xFS1G3oCjDrPC6Lts52p', '51c3757f1e74e3b9e703937aceece9f9b7e21cce0387a9fd5b61b651d1b2f8995c261faa297a1c711f07e1a59c422552ad5a6fe87fd748ccc5cd8b1eb1bfdf2a', 'HA6kOXGkGntiSKUFQpGH', 1, '2014-04-23 14:20:18') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:18', `current_login_at` = '2014-04-23 14:20:18', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'rl9wo1nFuNMUkhbrNkRd', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 14 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:18', 'Form 13', '2014-04-23 14:20:18', 'form-13')  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms` Processing by Spud::Admin::InquiryFormsController#destroy as HTML Parameters: {"id"=>"13"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'aMt6OXpQORrf3ognKjez', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 14 SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SQL (0.2ms) UPDATE `spud_inquiries` SET `spud_inquiries`.`spud_inquiry_form_id` = NULL WHERE `spud_inquiries`.`spud_inquiry_form_id` = 13 SpudInquiryFormField Load (0.2ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 13 ORDER BY `spud_inquiry_form_fields`.`field_order` ASC SQL (0.1ms) DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 Redirected to http://test.host/spud/admin/inquiry_forms Completed 302 Found in 8ms (ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3cb2d8d706917903d3c8c5d5fa51e37c69148fe175467ddacd7fbfc14dc8b927944a37db19d37eee26628330ab53b251b87ac1a67287a4ae75230c1545bdf4dc' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'IdFQgJeGwi6xnPDpVu' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:18', 'd19185957e8ae72817f21e71a5df3997aef9ce1c26e36fccf50365e57cfbd35bcd160dc06a64115064c39dcf1a07c4f6eac5d4ffe4e2dd747e1a21ac6313460b', '2014-04-23 14:20:18', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:18', 'testuser', 1, 'M41oCz2Hz8n5wcAqiGja', 'ITBXi4wcYvkFNjcTuFt', '3cb2d8d706917903d3c8c5d5fa51e37c69148fe175467ddacd7fbfc14dc8b927944a37db19d37eee26628330ab53b251b87ac1a67287a4ae75230c1545bdf4dc', 'IdFQgJeGwi6xnPDpVu', 1, '2014-04-23 14:20:18') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:18', `current_login_at` = '2014-04-23 14:20:18', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'x3tp6sPeKWqmWLkZdNAa', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 15 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:18', 'Form 14', '2014-04-23 14:20:18', 'form-14')  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms` Processing by Spud::Admin::InquiryFormsController#destroy as HTML Parameters: {"id"=>"23532"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:18', `perishable_token` = 'FgYNk1lJUBYojh3ceTyv', `updated_at` = '2014-04-23 14:20:18' WHERE `spud_users`.`id` = 15 SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Redirected to http://test.host/spud/admin/inquiry_forms Filter chain halted as :load_form rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.6ms)  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Processing by Spud::Inquiries::SitemapsController#show as XML Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Processing by Spud::Inquiries::SitemapsController#show as HTML Completed 406 Not Acceptable in 1ms  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:18', '2014-04-23 14:20:18')  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:18', 'Form 15', '2014-04-23 14:20:18', 'form-15')  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:18', 'Form 16', '2014-04-23 14:20:18', 'form-16')  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:18', 'Form 17', '2014-04-23 14:20:18', 'form-17')  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' LIMIT 1 SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-18' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:18', 'Form 18', '2014-04-23 14:20:18', 'form-18')  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:18', 'Test', '2014-04-23 14:20:18', 'test') SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:18', '2014-04-23 14:20:18') SQL (0.2ms) INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2014-04-23 14:20:18', 'email', 7, '2014-04-23 14:20:18', 'test@spudcms.net') SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:18', '2014-04-23 14:20:18') SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (2.4ms) select table_name from information_schema.views where table_schema = 'spud_inquiries_test'  (3.3ms) TRUNCATE TABLE `spud_admin_permissions`;  (5.2ms) TRUNCATE TABLE `spud_inquiries`;  (3.4ms) TRUNCATE TABLE `spud_inquiry_fields`;  (3.4ms) TRUNCATE TABLE `spud_inquiry_form_fields`;  (3.4ms) TRUNCATE TABLE `spud_inquiry_forms`;  (2.1ms) TRUNCATE TABLE `spud_user_settings`;  (4.2ms) TRUNCATE TABLE `spud_users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:31', 'Form 1', '2014-04-23 14:20:31', 'form-1') Processing by ContactsController#show as HTML Parameters: {"id"=>"form-1"} SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SpudInquiryFormField Load (0.2ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (1) ORDER BY `spud_inquiry_form_fields`.`field_order` ASC Rendered /Users/davidestes/projects/bertram/spud-rails/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 39ms (Views: 4.6ms | ActiveRecord: 4.7ms)  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Processing by ContactsController#show as HTML Parameters: {"id"=>"1234"} SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Redirected to http://test.host/ Completed 302 Found in 1ms (ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 2', '2014-04-23 14:20:32', 'form-2') SQL (0.2ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-04-23 14:20:32', 'email', '0', 'email', 1, 2, '2014-04-23 14:20:32') SQL (0.1ms) UPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-04-23 14:20:32' WHERE `spud_inquiry_forms`.`id` = 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)  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 3', '2014-04-23 14:20:32', 'form-3') SQL (0.1ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-04-23 14:20:32', 'email', '0', 'email', 1, 3, '2014-04-23 14:20:32') SQL (0.2ms) UPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-04-23 14:20:32' WHERE `spud_inquiry_forms`.`id` = 3 Processing by ContactsController#inquire as HTML Redirected to http://test.host/ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 4', '2014-04-23 14:20:32', 'form-4') SQL (0.1ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-04-23 14:20:32', 'email', '0', 'email', 1, 4, '2014-04-23 14:20:32') SQL (0.1ms) UPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-04-23 14:20:32' WHERE `spud_inquiry_forms`.`id` = 4 Processing by ContactsController#inquire as HTML Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}} SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Redirected to http://test.host/ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 5', '2014-04-23 14:20:32', 'form-5') SQL (0.1ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-04-23 14:20:32', 'email', '0', 'email', 1, 5, '2014-04-23 14:20:32') SQL (0.1ms) UPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-04-23 14:20:32' WHERE `spud_inquiry_forms`.`id` = 5 Processing by ContactsController#inquire as HTML Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}} SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SpudInquiryFormField Load (0.1ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY `spud_inquiry_form_fields`.`field_order` ASC Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.3ms)  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Processing by ContactsController#thankyou as HTML Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0fed8b82b44b53e07322c1be58ddd0a579cec9e8bc6300fb9ca466bae6a1998b47906cc2755bd1554f5614134706885ea4a765ace01c6f99e21bcc36306311e6' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TnA3XOqYn79zTBQ1eZxh' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', 'f2fe44e2d91c19072aa889e1f70fbee3abbb68af60adaa7bd5b9819ba7795436729363dcb2cb99b98e1621c5e0c63af52b61194273c30209b459a91c7364a43e', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, 'NsPCGLEanr3YX7tA8B', '7J4svJ9rurQxnIutNf6', '0fed8b82b44b53e07322c1be58ddd0a579cec9e8bc6300fb9ca466bae6a1998b47906cc2755bd1554f5614134706885ea4a765ace01c6f99e21bcc36306311e6', 'TnA3XOqYn79zTBQ1eZxh', 1, '2014-04-23 14:20:32') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'llcI1U18gOYraAh2yTn', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 1 SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:32', '2014-04-23 14:20:32') SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:32', '2014-04-23 14:20:32') Processing by Spud::Admin::InquiriesController#index as HTML SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'y0H2V0u4ObumO1GRMeK', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 1 Completed 200 OK in 177ms (Views: 1.7ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries`  (45.6ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e0bf1f33b58bf02ccce08af6d694666016b916b400f31eadb4cf187955958230ac4aba76796139a8c24f440b3f3ded09d47e4846f42e12df67e38b3e66997abc' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'JZvdm73RFy0V8qam55Gc' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', 'ac370a429b84dbbc214eb859db5eebad43ad8a8379ad7808a9c7c992544078b97bff4bb6876e25aa0ce4c0ea1a791e1029657cd502c01768883986150a299553', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, 'Ur0sLmLtqgt5TwTAWj', 'A50UgN1Jjw4nOTpZW4u', 'e0bf1f33b58bf02ccce08af6d694666016b916b400f31eadb4cf187955958230ac4aba76796139a8c24f440b3f3ded09d47e4846f42e12df67e38b3e66997abc', 'JZvdm73RFy0V8qam55Gc', 1, '2014-04-23 14:20:32') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'xAzJrcci2Vv97ZoSmbz', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 2 SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:32', '2014-04-23 14:20:32') Processing by Spud::Admin::InquiriesController#show as HTML Parameters: {"id"=>"3"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'wQZa6LgYw0yN4xGCPdG', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 2 SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1 SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd50929caa1091357e07fbebf7d622215da295f2525e5f650fa91cb19c33ee415204d19c92531bb24fcf9b9f12de74cb2a700a5aa9517aa28da3a7222b28c2bbd' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8UcbQQFlkgknckVKP6D' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', '0e41d58bb590400cf39b802876a5f413faefe07623360d0f9bac9cef284164046026eef16fa0e88d4e637546a63ba061ff254a2b635fc8696c9115d1c0d42d52', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, 'Tj4v5Xmc2WwYxajgmqXQ', 'paLwLSJSs9IGSwGUU4h', 'd50929caa1091357e07fbebf7d622215da295f2525e5f650fa91cb19c33ee415204d19c92531bb24fcf9b9f12de74cb2a700a5aa9517aa28da3a7222b28c2bbd', '8UcbQQFlkgknckVKP6D', 1, '2014-04-23 14:20:32') SQL (0.1ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = '2DR73tzmgikSMwKFHQv', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 3 Processing by Spud::Admin::InquiriesController#show as HTML Parameters: {"id"=>"1234"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'A3rSV8azrU9i3dlyfrla', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 3 SpudInquiry Load (0.1ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1 Redirected to http://test.host/spud/admin/inquiries Filter chain halted as :load_inquiries rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e9c0507a0c52687ab0a6fafa4e772dbc1f466631d4ab137b5993a9858ab8636035ccf9cc55a7074fcfa3d076dd41a250c2a7036a53d159321b03863b00b4e41e' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OktNrsun1SeArgrnKOuN' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', '8782f15eba1a8f776b60badf5aeae82a31e906ee2e30760c034375d37fd4611c8123b3973b8a8da5706205aa340f916c9617ab5e7c9b74493a60d3128684c87f', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, 'hsbyewam42Eyk2Bp7sBv', '5TxcIZSyUfGrumMTY2r', 'e9c0507a0c52687ab0a6fafa4e772dbc1f466631d4ab137b5993a9858ab8636035ccf9cc55a7074fcfa3d076dd41a250c2a7036a53d159321b03863b00b4e41e', 'OktNrsun1SeArgrnKOuN', 1, '2014-04-23 14:20:32') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = '1DHqNbSjeiPls5bSd0K', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 4 SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:32', '2014-04-23 14:20:32')  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries` Processing by Spud::Admin::InquiriesController#destroy as HTML Parameters: {"id"=>"4"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'WR2juAn2GJ6sAMn5Cr', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 4 SpudInquiry Load (0.1ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1 SpudInquiryField Load (0.1ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4 SQL (0.1ms) DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 Redirected to http://test.host/spud/admin/inquiries Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries`  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '349b0619d8aa1403a482a353a2a64df7ebd4962b4fe34f292778385db40c27d4fa23c1ebdd5a3027e8f85f6bfcc647bfca183455bb073744d07825393fefa9b0' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'W5oiyP4yyTE6vc7mNHFM' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', '1a1687b9c8ea7bc545bc45e881b2be97b2346c928a2c0c053854edf7509152b990024d15f8e80b7bb81542409c8e1ca93fb601ac188cda2175984a812f9ccb72', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, '2DZvic67uZ3th7t4ekm1', '6ygDTV9LADlWyz17tb', '349b0619d8aa1403a482a353a2a64df7ebd4962b4fe34f292778385db40c27d4fa23c1ebdd5a3027e8f85f6bfcc647bfca183455bb073744d07825393fefa9b0', 'W5oiyP4yyTE6vc7mNHFM', 1, '2014-04-23 14:20:32') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'A1vaLTJQWZqOT6e2pyek', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 5 SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:32', '2014-04-23 14:20:32')  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries` Processing by Spud::Admin::InquiriesController#destroy as HTML Parameters: {"id"=>"23532"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'yJ2RW6N0rHNtpGB1az85', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 5 SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1 Redirected to http://test.host/spud/admin/inquiries Filter chain halted as :load_inquiries rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries`  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '454582768d2a507bbbf4c660c2b811ec0aad7d3b6eed467af55d40f8f24ae2d5fbecc4b99bdeeaf7a761ce11889c1938e8d5b47fc60d6fc63de05e400698abbd' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lnsPHL5PHs8oS8IjSOx' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', 'fb7257714a53e7118f43b86e4748190266d66806af26dc2908561f3ec3833367001d4375c2a1b893c80ae5d5beba61c93c8cd337046edc2578f560d1d17642cf', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, 'gnn0qFf0Yz6suFV32Do0', 'eOJv60PXXeXeKrSHNsk', '454582768d2a507bbbf4c660c2b811ec0aad7d3b6eed467af55d40f8f24ae2d5fbecc4b99bdeeaf7a761ce11889c1938e8d5b47fc60d6fc63de05e400698abbd', 'lnsPHL5PHs8oS8IjSOx', 1, '2014-04-23 14:20:32') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'BNkeyJvjNZQl8uzNi6Xh', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 6 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 6', '2014-04-23 14:20:32', 'form-6') SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 7', '2014-04-23 14:20:32', 'form-7') Processing by Spud::Admin::InquiryFormsController#index as HTML SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'wi95NvRLMFI3UncpCNu', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 6 Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '13c5d39249b4b01bb62b4cd7d67de4795d5b8a2a063bfa6e51f3d93e8040bc2c0e25eba237ba08ed37bf0ef1c09232609c1e2066ecc1aaac2119920e20792027' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'z4n0us40rPh3qNvFT4S' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', 'd4666f434708a2bb22af179fb17c89a9e8934850d7136a793481e60e589ac2bcaac3a568e4cf0361939d16cf994d3cbe62c3516d3c15f9a69415e16728309261', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, '0yU57mfN8qDpjeXRrfsN', 'ml9c58iJvt2GtFvf6NpB', '13c5d39249b4b01bb62b4cd7d67de4795d5b8a2a063bfa6e51f3d93e8040bc2c0e25eba237ba08ed37bf0ef1c09232609c1e2066ecc1aaac2119920e20792027', 'z4n0us40rPh3qNvFT4S', 1, '2014-04-23 14:20:32') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = '3iCriw6VGI7efY5xC89', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 7 Processing by Spud::Admin::InquiryFormsController#new as HTML SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'rXGeZcqq09ySNqZu7HCu', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 7 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.3ms)  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3c81b0f04a48280434c5120794c2b67fd58d56b8977adb6c67cb3c0a6c9b63df63991e0921237dec31fef08ba1bfa31c272634d29a0de7af69cecf5a8bb16d4c' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NnLx8xNfOV96M6wMo9N' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', 'b3223d5d49d9c315239a996f912e92faeaca96a8ce1f1cfac6b21d230e1a05c8c4abe4d1f7e939ba32cb7d400268b89783be20661cd07fe113cf0fa9c91f4582', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, 'Os1EMWeRUJXdxsZkWqxr', 'SwSByhgiComhYjevvRr', '3c81b0f04a48280434c5120794c2b67fd58d56b8977adb6c67cb3c0a6c9b63df63991e0921237dec31fef08ba1bfa31c272634d29a0de7af69cecf5a8bb16d4c', 'NnLx8xNfOV96M6wMo9N', 1, '2014-04-23 14:20:32') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'OAtyWMkdkDTJYT1KmzlZ', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 8  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms` Processing by Spud::Admin::InquiryFormsController#create as HTML Parameters: {"spud_inquiry_form"=>{"name"=>"Form 8"}} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'kVsMhv47xLJRf4M01JX8', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 8 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 8', '2014-04-23 14:20:32', 'form-8') Redirected to http://test.host/spud/admin/inquiry_forms Completed 302 Found in 7ms (ActiveRecord: 0.8ms)  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6d5087ba98acdf4d5e3c3ea4846f2847d78ff3e6646f5eefbf11cfcb7de2a9d309550c50be9efcc0373d2e6bfc30504b79839febc3a729e1e3a8d9d997f0a8d6' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'xxuDnwacHyjKUunYPJ' LIMIT 1 SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', 'd59471ed9c4265f4564a9beb457a8ff1184f567735ed8e57636eb33422168b363c541cec2f4c96270d780bba068ce8a3a7af75955a3aad18061b56a7678b466c', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, 'qQ4XoqBYfgOeXie1t2qT', 'IAPyKIEeZnOt0UgaCfe', '6d5087ba98acdf4d5e3c3ea4846f2847d78ff3e6646f5eefbf11cfcb7de2a9d309550c50be9efcc0373d2e6bfc30504b79839febc3a729e1e3a8d9d997f0a8d6', 'xxuDnwacHyjKUunYPJ', 1, '2014-04-23 14:20:32') SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'QB0EEay06w59hmC4Nvww', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 9  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms` Processing by Spud::Admin::InquiryFormsController#create as HTML Parameters: {"spud_inquiry_form"=>{"name"=>nil}} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'TJeK4UPMnuTRLF0ZM3N', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 9 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1 Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fa4b93593f26cf09ab4eda8c19127e1394e0ed61a5aeea8b6b209e5e8167e76c0dd1ba7161833f7405257a13547d0f9aae3bcefb0f9a7406705b970fe7409c9d' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9Anbsnb4uWQsDo1ZAJgs' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', 'aedd922db646f4b18cd354e822356b2cea4b694301011c02cc68baa9d65dfbac6ce75bc6ed753f8e13cb6e7011fa1b05641b550ea91e33b36dd8ecf839b406d1', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, 'Vv1QW0Vsin9Al4pYXPm', 'b5PeYw2XcARIEngqbMTk', 'fa4b93593f26cf09ab4eda8c19127e1394e0ed61a5aeea8b6b209e5e8167e76c0dd1ba7161833f7405257a13547d0f9aae3bcefb0f9a7406705b970fe7409c9d', '9Anbsnb4uWQsDo1ZAJgs', 1, '2014-04-23 14:20:32') SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = '0Www3AyvHVdDtIW6Ryku', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 10 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1 SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 9', '2014-04-23 14:20:32', 'form-9') SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 10', '2014-04-23 14:20:32', 'form-10') Processing by Spud::Admin::InquiryFormsController#edit as HTML Parameters: {"id"=>"10"} SpudUser Load (0.1ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = '4vfFOY7eTIPxoLBVODfM', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 10 SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1eeb80375cd11815a71b773a96510bc8fc302df74b921c09fee2ae8fd8eb430c4c99d4cceb3605471ede1d7655c91dcf8708ccdc8e3b5c9c6d5afd5179d95d8f' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'AIbTggtKqMbIUqSc7' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', '303e86ba8525a799a20410d5babc5bf87721f4385017cdb463246fd3ddd049dbab65cf453ede4248f720beaf38cdfe62162f83da53d791d60c0d348f6c6f4651', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, 'TJnpvhqssdILQKzACdJ', '4wCn6UDw777KeAA9ZRMP', '1eeb80375cd11815a71b773a96510bc8fc302df74b921c09fee2ae8fd8eb430c4c99d4cceb3605471ede1d7655c91dcf8708ccdc8e3b5c9c6d5afd5179d95d8f', 'AIbTggtKqMbIUqSc7', 1, '2014-04-23 14:20:32') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'hLNWE28KrAoG5Tuq0l', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 11 Processing by Spud::Admin::InquiryFormsController#edit as HTML Parameters: {"id"=>"1234"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'jieUUOESyiSKUDwrgZX', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 11 SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Redirected to http://test.host/spud/admin/inquiry_forms Filter chain halted as :load_form rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '75af959e45884b90258ace8e47a2a0b81a539c5d7b1cbeb594d590dd3b943260aff9c0f464db0a5758ff75561caeb32ae9fce3b333e6526f272aa54954c5301c' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oqNPXywGynIlAy7iBTEU' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', '309daeb39683985f9e2ddbbd3c27b0084673e82f2b1e1bf2997c86ddeff9826b0f2eb74923c983a87f4beab22dd38fa710e810f50612cb337435e851840b5f6a', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, 'yMwfheVEryLCsDW048', 'MxPrmCdMBH3PMl6StK1V', '75af959e45884b90258ace8e47a2a0b81a539c5d7b1cbeb594d590dd3b943260aff9c0f464db0a5758ff75561caeb32ae9fce3b333e6526f272aa54954c5301c', 'oqNPXywGynIlAy7iBTEU', 1, '2014-04-23 14:20:32') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'tE4gt65Rs53qwg9LcI1', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 12 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 11', '2014-04-23 14:20:32', 'form-11') Processing by Spud::Admin::InquiryFormsController#update as HTML Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2014-04-23 14:20:32 UTC", "updated_at"=>"2014-04-23 14:20:32 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11", "thank_you_content"=>nil, "submit_title"=>nil}, "id"=>"11"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = '0rPkdIT0HJ8deusinK0t', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 12 SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1 SQL (0.1ms) UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_inquiry_forms`.`id` = 11 Redirected to http://test.host/spud/admin/inquiry_forms Completed 302 Found in 9ms (ActiveRecord: 0.8ms) SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '07a481af0ed3faa0e0a1b7bc4465d9e306c8d2fede7581a4342eca556fc33bcda5ab4dec6f4ab591434e3df84c33442eee4d1b61988d984f097de4690c3a372d' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MHEdzLXLhfcW15EDZBg7' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', '77bb8bcd9a882e1036a8663e19451730590ae7ea4d17dba265a9c811fb2b2c90137bd09facd06d67a591f9c800158d8e9553c6dfefca0fc4b31ef3792e4827ff', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, 'rsOdbqQOw6z48o5mycSY', 'nKDyk8hDfTycux7aoPdi', '07a481af0ed3faa0e0a1b7bc4465d9e306c8d2fede7581a4342eca556fc33bcda5ab4dec6f4ab591434e3df84c33442eee4d1b61988d984f097de4690c3a372d', 'MHEdzLXLhfcW15EDZBg7', 1, '2014-04-23 14:20:32') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'qUPpiqXQ3jFnTSoMLr', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 13 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 12', '2014-04-23 14:20:32', 'form-12') Processing by Spud::Admin::InquiryFormsController#update as HTML Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm2", "content"=>nil, "created_at"=>"2014-04-23 14:20:32 UTC", "updated_at"=>"2014-04-23 14:20:32 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12", "thank_you_content"=>nil, "submit_title"=>nil}, "id"=>"12"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'O9QbF4F363M8WgeLJ30n', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 13 SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm2' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform2' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1 SQL (0.2ms) UPDATE `spud_inquiry_forms` SET `name` = 'MyForm2', `url_name` = 'myform2', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_inquiry_forms`.`id` = 12 Redirected to http://test.host/spud/admin/inquiry_forms Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f7c5ea6a61399506e54cf2cc5e24dbd4470d6f2fbaa35cf6c4029cbc36b5bcc606804c37cbb902de13c61ff650f9e02dc00461023f98396eb16bb6d8d43d166c' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TB43h1VHaBWZTfLD41' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', '2802ae9abb279992f953bb0c995f5d094697671517f8a4bb47a7ac445a2491fc819ac7e9181e78d448e8ce347af66378249b8a36063a310e0e490fd115aa1858', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, '6GvPheQkcGwjU0eKR3aW', 'yng2qpEgjnOPW89BszZ', 'f7c5ea6a61399506e54cf2cc5e24dbd4470d6f2fbaa35cf6c4029cbc36b5bcc606804c37cbb902de13c61ff650f9e02dc00461023f98396eb16bb6d8d43d166c', 'TB43h1VHaBWZTfLD41', 1, '2014-04-23 14:20:32') SQL (0.1ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'SUTyC5hVIN0tYaZpB7ao', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 14 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 13', '2014-04-23 14:20:32', 'form-13')  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms` Processing by Spud::Admin::InquiryFormsController#destroy as HTML Parameters: {"id"=>"13"} SpudUser Load (0.1ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'K7gwhcVcr2Ts9VtEnO', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 14 SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SQL (0.2ms) UPDATE `spud_inquiries` SET `spud_inquiries`.`spud_inquiry_form_id` = NULL WHERE `spud_inquiries`.`spud_inquiry_form_id` = 13 SpudInquiryFormField Load (0.2ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 13 ORDER BY `spud_inquiry_form_fields`.`field_order` ASC SQL (0.2ms) DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 Redirected to http://test.host/spud/admin/inquiry_forms Completed 302 Found in 8ms (ActiveRecord: 1.0ms)  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '267ca313e84e57fbcd27bad22e98aff70f0360554055179e7066573755889163610190c584d2a3cb59c7cc3093bb53394896d9bd2e8d80379ec13d96e4b6f296' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'sN9jdCfujm1WdD5LoPm' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 14:20:32', 'ecdfbd09bcf26ed280b151fcb4bb7fd8337fda8dbd01317c58ce6c30fb71abd584dcd815bc3a96043043788faba600aa018daf796c90d819cc6ae500e9f48843', '2014-04-23 14:20:32', '0.0.0.0', 'test@testuser.com', '2014-04-23 14:20:32', 'testuser', 1, 'IUb2lZzLUtQykLvQhGv', '7MPSXFS1vSrJoffLMCt', '267ca313e84e57fbcd27bad22e98aff70f0360554055179e7066573755889163610190c584d2a3cb59c7cc3093bb53394896d9bd2e8d80379ec13d96e4b6f296', 'sN9jdCfujm1WdD5LoPm', 1, '2014-04-23 14:20:32') SQL (0.1ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 14:20:32', `current_login_at` = '2014-04-23 14:20:32', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = '5dUqGgb4Up7acHz6fV', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 15 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 14', '2014-04-23 14:20:32', 'form-14')  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms` Processing by Spud::Admin::InquiryFormsController#destroy as HTML Parameters: {"id"=>"23532"} SpudUser Load (0.1ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 14:20:32', `perishable_token` = 'LJdcRj97lruybDDP7qyO', `updated_at` = '2014-04-23 14:20:32' WHERE `spud_users`.`id` = 15 SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Redirected to http://test.host/spud/admin/inquiry_forms Filter chain halted as :load_form rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Processing by Spud::Inquiries::SitemapsController#show as XML Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Processing by Spud::Inquiries::SitemapsController#show as HTML Completed 406 Not Acceptable in 1ms  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:32', '2014-04-23 14:20:32')  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 15', '2014-04-23 14:20:32', 'form-15')  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 16', '2014-04-23 14:20:32', 'form-16')  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 17', '2014-04-23 14:20:32', 'form-17')  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-18' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Form 18', '2014-04-23 14:20:32', 'form-18')  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 14:20:32', 'Test', '2014-04-23 14:20:32', 'test') SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:32', '2014-04-23 14:20:32') SQL (0.1ms) INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2014-04-23 14:20:32', 'email', 7, '2014-04-23 14:20:32', 'test@spudcms.net') SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 14:20:32', '2014-04-23 14:20:32') SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) SELECT DATABASE() as db  (7.5ms) select table_name from information_schema.views where table_schema = 'spud_inquiries_test'  (3.1ms) TRUNCATE TABLE `spud_admin_permissions`;  (4.6ms) TRUNCATE TABLE `spud_inquiries`;  (3.0ms) TRUNCATE TABLE `spud_inquiry_fields`;  (3.3ms) TRUNCATE TABLE `spud_inquiry_form_fields`;  (3.4ms) TRUNCATE TABLE `spud_inquiry_forms`;  (2.4ms) TRUNCATE TABLE `spud_user_settings`;  (4.7ms) TRUNCATE TABLE `spud_users`;  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:49', 'Form 1', '2014-04-23 19:09:49', 'form-1') Processing by ContactsController#show as HTML Parameters: {"id"=>"form-1"} SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SpudInquiryFormField Load (0.6ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (1) ORDER BY `spud_inquiry_form_fields`.`field_order` ASC Rendered /Users/davidestes/projects/bertram/spud-rails/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (0.2ms) Completed 200 OK in 48ms (Views: 5.8ms | ActiveRecord: 5.0ms)  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Processing by ContactsController#show as HTML Parameters: {"id"=>"1234"} SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Redirected to http://test.host/ Completed 302 Found in 1ms (ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:49', 'Form 2', '2014-04-23 19:09:49', 'form-2') SQL (0.2ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-04-23 19:09:49', 'email', '0', 'email', 1, 2, '2014-04-23 19:09:49') SQL (0.2ms) UPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-04-23 19:09:49' WHERE `spud_inquiry_forms`.`id` = 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)  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:49', 'Form 3', '2014-04-23 19:09:49', 'form-3') SQL (0.2ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-04-23 19:09:49', 'email', '0', 'email', 1, 3, '2014-04-23 19:09:49') SQL (0.2ms) UPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-04-23 19:09:49' WHERE `spud_inquiry_forms`.`id` = 3 Processing by ContactsController#inquire as HTML Redirected to http://test.host/ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:49', 'Form 4', '2014-04-23 19:09:49', 'form-4') SQL (0.1ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-04-23 19:09:49', 'email', '0', 'email', 1, 4, '2014-04-23 19:09:49') SQL (0.1ms) UPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-04-23 19:09:49' WHERE `spud_inquiry_forms`.`id` = 4 Processing by ContactsController#inquire as HTML Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}} SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Redirected to http://test.host/ Completed 302 Found in 1ms (ActiveRecord: 0.1ms)  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:49', 'Form 5', '2014-04-23 19:09:49', 'form-5') SQL (0.2ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-04-23 19:09:49', 'email', '0', 'email', 1, 5, '2014-04-23 19:09:49') SQL (0.1ms) UPDATE `spud_inquiry_forms` SET `spud_inquiry_forms`.`updated_at` = '2014-04-23 19:09:49' WHERE `spud_inquiry_forms`.`id` = 5 Processing by ContactsController#inquire as HTML Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}} SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SpudInquiryFormField Load (0.2ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY `spud_inquiry_form_fields`.`field_order` ASC Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Processing by ContactsController#thankyou as HTML Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1a8a56c8a454505a41a0be16bafec19d41715984461f57989985bd079b4da4a16c3933f4363b49d7e3361a85a6b72bf68d8a96328609171b081edeb334f6661a' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'eNpJ5p8NlsowLmSAMh3' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:49', '82e8582008dbb98df4665874d65d22d8b5411bf1f547fbcc6111777ddc80c8e8922b17ef6fcd1f83cf016c881a8f21949b17fbbed492a1fc2774217a65ac7720', '2014-04-23 19:09:49', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:49', 'testuser', 1, 'xmbgC79L6GmYdqKiiFy', 'bPr6N42Qv1zDEMb7SL', '1a8a56c8a454505a41a0be16bafec19d41715984461f57989985bd079b4da4a16c3933f4363b49d7e3361a85a6b72bf68d8a96328609171b081edeb334f6661a', 'eNpJ5p8NlsowLmSAMh3', 1, '2014-04-23 19:09:49') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:49', `current_login_at` = '2014-04-23 19:09:49', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:49', `perishable_token` = 'cKD1wZzMDdhOY2KYmGs9', `updated_at` = '2014-04-23 19:09:49' WHERE `spud_users`.`id` = 1 SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 19:09:49', '2014-04-23 19:09:49') SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 19:09:49', '2014-04-23 19:09:49') Processing by Spud::Admin::InquiriesController#index as HTML SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:49', `perishable_token` = 'IuQ5W1mpWG61MLHWWt3R', `updated_at` = '2014-04-23 19:09:49' WHERE `spud_users`.`id` = 1 Completed 200 OK in 240ms (Views: 2.1ms | ActiveRecord: 0.4ms)  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries`  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '116df42069b690c46696249989e72446a9c7e32968593984d4d3d55445a98bbec8305b219d54485945d4ff3591daf94b168b68e4a1264cfa2440cab28b49c292' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'DqzwvoWcZK92dIWcYTmS' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:50', 'd81436002467b149393ece4334ccfeaa4eb02576b304d3930a4671d5b9c2012e7ade72531925ea08c3d10e9e7f462540d3e00f29e8d2031e73439a19bb43ae3e', '2014-04-23 19:09:50', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:50', 'testuser', 1, 'VBuDxkEYfFR1HMiolSW', 'uBcDEQasGJddZRJVgwkb', '116df42069b690c46696249989e72446a9c7e32968593984d4d3d55445a98bbec8305b219d54485945d4ff3591daf94b168b68e4a1264cfa2440cab28b49c292', 'DqzwvoWcZK92dIWcYTmS', 1, '2014-04-23 19:09:50') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:50', `current_login_at` = '2014-04-23 19:09:50', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'l0jH4vjs3HuW4O8BskDa', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 2 SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 19:09:50', '2014-04-23 19:09:50') Processing by Spud::Admin::InquiriesController#show as HTML Parameters: {"id"=>"3"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = '7u9s574SauiKrYHENumD', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 2 SpudInquiry Load (0.1ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1 SpudInquiryField Load (0.1ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 SpudInquiryField Load (0.1ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1 Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd0abdebadafeb4355c6dcaeae0b2cf4a2c9d9d4cf03c02f8851d7ad3606ba0314db02c45c0153eb9adba526983507bec4312ad58e6b22179255258197f801123' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Y0e3tFSTqbIbby0P0zm' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:50', 'cd977ccb5e02ba900d5eab804ef58c48bc2c1a3c7a4ccfcbb9da60d5bb1cb68b19f49443d8a1f37bc911f02d7dd8bd0b05fbb13906800f1711e44ff9172adce8', '2014-04-23 19:09:50', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:50', 'testuser', 1, 'b6msZnKNDTsSLM9mJvg', 'DjjgucyJzMow68aStV', 'd0abdebadafeb4355c6dcaeae0b2cf4a2c9d9d4cf03c02f8851d7ad3606ba0314db02c45c0153eb9adba526983507bec4312ad58e6b22179255258197f801123', 'Y0e3tFSTqbIbby0P0zm', 1, '2014-04-23 19:09:50') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:50', `current_login_at` = '2014-04-23 19:09:50', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'za6xXIRxrhUgNSJVjpO2', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 3 Processing by Spud::Admin::InquiriesController#show as HTML Parameters: {"id"=>"1234"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'TEgrp0XQpEKusyKzq2az', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 3 SpudInquiry Load (0.1ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1 Redirected to http://test.host/spud/admin/inquiries Filter chain halted as :load_inquiries rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7de84561f7a46dede58945eae8ca271dcc7cad66fd21e4baceff0c4b097b0432878125b26da4b05f7cdaa649247cd2e6c1dd3c3a6b0e85d5637bf2d50837baf9' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'syHlYYeVCqkvS5d0ZZe' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:50', '6a8d57e0f54644eced2b6aaa36bcc7bb213a78cc0bcae557dabb9a57ce19201b57de6e358a802424e97656f6d2eb06234a7c4053da024f7b51174840849b268e', '2014-04-23 19:09:50', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:50', 'testuser', 1, 'Bd0GS7Xd4ldBEKWAtdtt', 'olNy6AMBc2ZepiUpQiHQ', '7de84561f7a46dede58945eae8ca271dcc7cad66fd21e4baceff0c4b097b0432878125b26da4b05f7cdaa649247cd2e6c1dd3c3a6b0e85d5637bf2d50837baf9', 'syHlYYeVCqkvS5d0ZZe', 1, '2014-04-23 19:09:50') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:50', `current_login_at` = '2014-04-23 19:09:50', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'FmCO29JlYC191aMUNKB9', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 4 SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 19:09:50', '2014-04-23 19:09:50')  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries` Processing by Spud::Admin::InquiriesController#destroy as HTML Parameters: {"id"=>"4"} SpudUser Load (0.1ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'IS66sNuOIMgz3nAYxge', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 4 SpudInquiry Load (0.1ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1 SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4 SQL (0.1ms) DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 Redirected to http://test.host/spud/admin/inquiries Completed 302 Found in 5ms (ActiveRecord: 0.7ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries`  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '1a3945412727010bfc7130e30e519eb7aaf09da71add4dc50909122e5206d9e978736e2dee61aff4337fba4e9320bc5250fde86efbd8bb82ad3ebc578d0bddfb' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '83eBmHZGD97cB61H1udA' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:50', '6c0e6d7ac6b54e5828dc4be17d5366939e91a1c836a51e2a63520009e3f7eea8d2e33a6781e4903851e689ef6429b6bbeb51a7d026d51c3a0d138fbed30d27bc', '2014-04-23 19:09:50', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:50', 'testuser', 1, 'v0r7vq5uI7pfdRAJMxe3', '2uui7czdIz4rRXhbucK', '1a3945412727010bfc7130e30e519eb7aaf09da71add4dc50909122e5206d9e978736e2dee61aff4337fba4e9320bc5250fde86efbd8bb82ad3ebc578d0bddfb', '83eBmHZGD97cB61H1udA', 1, '2014-04-23 19:09:50') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:50', `current_login_at` = '2014-04-23 19:09:50', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'ZpJFwiEc0BaXlsEa7b1X', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 5 SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 19:09:50', '2014-04-23 19:09:50')  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries` Processing by Spud::Admin::InquiriesController#destroy as HTML Parameters: {"id"=>"23532"} SpudUser Load (0.1ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'CbQ49fnjyM2uOUWujLE', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 5 SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1 Redirected to http://test.host/spud/admin/inquiries Filter chain halted as :load_inquiries rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries`  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '402bdc1a6cd281ef215e01a4fdcf78172fc2223650bb96f666aa82f3427b06fb62c5d481680da0a23d5d73921479f09a1d7cdcef62139a59708ed787b90bb56f' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'NQQ4UQO9sSqCiV5XofSb' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:50', '661b9a75ef5c3739aef0ef78c0a934d3d0eae92baa4344eed94abb78b35035721d1ab9082af17f52b8717fdd9ac6a4a081ec470c652c452c314733a01f1dd661', '2014-04-23 19:09:50', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:50', 'testuser', 1, 'I9zWQ1AdCZgA2M6Q8kIL', 'REiiX1fNCUeU1VIjD3gf', '402bdc1a6cd281ef215e01a4fdcf78172fc2223650bb96f666aa82f3427b06fb62c5d481680da0a23d5d73921479f09a1d7cdcef62139a59708ed787b90bb56f', 'NQQ4UQO9sSqCiV5XofSb', 1, '2014-04-23 19:09:50') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:50', `current_login_at` = '2014-04-23 19:09:50', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'mUVG2BMVLRQVx0xEx7', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 6 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:50', 'Form 6', '2014-04-23 19:09:50', 'form-6') SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:50', 'Form 7', '2014-04-23 19:09:50', 'form-7') Processing by Spud::Admin::InquiryFormsController#index as HTML SpudUser Load (0.1ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'SqE2HcL0X0xiTDIMtL1', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 6 Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd87d05474f104471a55d9c547dac1ae33f0bd603ce446ced5874742e93e77caa774b08ebb7222704fe974ea9a266299799673e7449b4f2ed47f796653ab1bb35' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'k762ImdOFDMqS5m2Rs0o' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:50', '1c77624ad6e18d035f360e5a3ab6896b74b6fe95926be34b43484ddaf1451feb128412b0482b464639a045733e808e2a0881809ce76c248dd1b09fff70e7e448', '2014-04-23 19:09:50', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:50', 'testuser', 1, 'Z7igXO99j9kopUT1zYBt', 'VUTusmtV6PvNlYkzm6M', 'd87d05474f104471a55d9c547dac1ae33f0bd603ce446ced5874742e93e77caa774b08ebb7222704fe974ea9a266299799673e7449b4f2ed47f796653ab1bb35', 'k762ImdOFDMqS5m2Rs0o', 1, '2014-04-23 19:09:50') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:50', `current_login_at` = '2014-04-23 19:09:50', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'J5jYdvoHP8BWBNhyhcr1', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 7 Processing by Spud::Admin::InquiryFormsController#new as HTML SpudUser Load (0.1ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'QjuWtIx0fY1vDIB9Qdu1', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 7 Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f1dc695ca89d37f12becf5ea67923d9261e073f746b491ebc69fe65a4f668ab3a80245351ce43a42a73bb4ed33e591c0b8b3e7715c4c7cbc8073221c4acd469a' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PnAuPpNCzlYNzdT7PyC' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:50', '5ab3457a542b9ac186bb5cb24511c2bbb341c74e60ed61f2bc2b968c6af9b3c5c415bf4c238a6f5fcd069263efdeb25272a5496d388da8421fa7665632cab497', '2014-04-23 19:09:50', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:50', 'testuser', 1, '4ojn8lpsLSI6UKA3Ntn', 'Mi5z1Tuf317M0HKNVj', 'f1dc695ca89d37f12becf5ea67923d9261e073f746b491ebc69fe65a4f668ab3a80245351ce43a42a73bb4ed33e591c0b8b3e7715c4c7cbc8073221c4acd469a', 'PnAuPpNCzlYNzdT7PyC', 1, '2014-04-23 19:09:50') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:50', `current_login_at` = '2014-04-23 19:09:50', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'FKCBXUspUujJ1uGCjFbL', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 8  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms` Processing by Spud::Admin::InquiryFormsController#create as HTML Parameters: {"spud_inquiry_form"=>{"name"=>"Form 8"}} SpudUser Load (0.1ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 't4dEF7H5dDKq3n8RO9x3', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 8 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:50', 'Form 8', '2014-04-23 19:09:50', 'form-8') Redirected to http://test.host/spud/admin/inquiry_forms Completed 302 Found in 8ms (ActiveRecord: 0.6ms)  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3373b947348e9e69a8e3ff74cca91a55da1be5be29355620889f2b1fbe327782b247ad16425eba36e9eab10ade45a747609b6e3b8a72cdbe7b68fed5b0324091' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'UYiKU3ZOVB9mtNhcM' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:50', '643842e95dbfaeeaef7e0d10ba33717d50920a7d62c0cb335f2c305d9824e3b8f1b9093a5005e81de7b07cadd58c69c899aaeaf528ddf21dff48532aea55ac7d', '2014-04-23 19:09:50', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:50', 'testuser', 1, 'Kop4Csz8yKG58QoPqHXc', 'vDgcLLFaBVOkJj1KdoO', '3373b947348e9e69a8e3ff74cca91a55da1be5be29355620889f2b1fbe327782b247ad16425eba36e9eab10ade45a747609b6e3b8a72cdbe7b68fed5b0324091', 'UYiKU3ZOVB9mtNhcM', 1, '2014-04-23 19:09:50') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:50', `current_login_at` = '2014-04-23 19:09:50', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'wcDtiLZWvR7TyuB4hNt', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 9  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms` Processing by Spud::Admin::InquiryFormsController#create as HTML Parameters: {"spud_inquiry_form"=>{"name"=>nil}} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'TmZM5PrcbSwj4me7WhFz', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 9 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1 Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '89828ed9783dfecf1ca20fd57853da1e13513518b54c8360dcc6217d18b0c1d982827f74dd8afb399432b66d963b5ff6677dd13ceb2b8b81a4c50c75093729a2' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '92QZNdpwx9QFzPjiAX6' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:50', '654c664105134bf820f571d9f930244c51b1acc6e1118b40a56e204bea7913b91fa8a73031b22f64db364433bf19e73c8a3f23120ca541cd6a6a27153a4fa0b9', '2014-04-23 19:09:50', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:50', 'testuser', 1, 'gJUn94jPT5VtdsJM0ri', 'USHsnmbc3DBeRu9ETi6B', '89828ed9783dfecf1ca20fd57853da1e13513518b54c8360dcc6217d18b0c1d982827f74dd8afb399432b66d963b5ff6677dd13ceb2b8b81a4c50c75093729a2', '92QZNdpwx9QFzPjiAX6', 1, '2014-04-23 19:09:50') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:50', `current_login_at` = '2014-04-23 19:09:50', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'LwDeJhw3n7QwTWAKlxw5', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 10 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:50', 'Form 9', '2014-04-23 19:09:50', 'form-9') SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:50', 'Form 10', '2014-04-23 19:09:50', 'form-10') Processing by Spud::Admin::InquiryFormsController#edit as HTML Parameters: {"id"=>"10"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'nDX67LAV860GFJGCrKWC', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 10 SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '121198e505bdeab48986e0593b83264c17e72ec8ac94ddaed4eae34820437dd06f7e4bbb2d8112d3d2b0ccfa2314aa3dfd99e1d048cd306db1e5f9621a24f01d' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9t3aOgUAVBz7x3qohoj' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:50', '0b06d2c3c57bf0c2d494876898fa5e9d9cd65706982d6ec1a6be82a5b40d4744d3cff20f8c7c138202705fa80076fb13f71dabba00c97b858baef371ddfead67', '2014-04-23 19:09:50', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:50', 'testuser', 1, 'ratkHbASZchHwfmUc8O', 'm8i57p3VF19wG0cVB7tb', '121198e505bdeab48986e0593b83264c17e72ec8ac94ddaed4eae34820437dd06f7e4bbb2d8112d3d2b0ccfa2314aa3dfd99e1d048cd306db1e5f9621a24f01d', '9t3aOgUAVBz7x3qohoj', 1, '2014-04-23 19:09:50') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:50', `current_login_at` = '2014-04-23 19:09:50', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'z5PV4vPAXJfc1QcUIPIp', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 11 Processing by Spud::Admin::InquiryFormsController#edit as HTML Parameters: {"id"=>"1234"} SpudUser Load (0.1ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1 SQL (0.1ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'SA5aUGwpFsZdDaa4zjSD', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 11 SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Redirected to http://test.host/spud/admin/inquiry_forms Filter chain halted as :load_form rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0ba4a947bb9cede8da7fddf3f5025d71aea08b50e7eb61d905df7cfae570af04d9f51fd8d93bc454d3a9f84ffc95124c977594ed4f8b133d7dec64c2c7e5fc77' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8XULZ6Uv0oBuQeFxOB' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:50', '811728872488e868dc984d31e9b6bbe86b0d0de0e9513ef513df8edefba1ae38af97dc3a1dfae7e4f2500d65ca57bb52367bae9b933eca138256c4bdfaf99a63', '2014-04-23 19:09:50', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:50', 'testuser', 1, 'ygZjeDDXHjgvNpzwMAo', 'UsgNXX18XnjBVeJGWvug', '0ba4a947bb9cede8da7fddf3f5025d71aea08b50e7eb61d905df7cfae570af04d9f51fd8d93bc454d3a9f84ffc95124c977594ed4f8b133d7dec64c2c7e5fc77', '8XULZ6Uv0oBuQeFxOB', 1, '2014-04-23 19:09:50') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:50', `current_login_at` = '2014-04-23 19:09:50', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'QPt3lK8PCaJDkTlYF7', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 12 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:50', 'Form 11', '2014-04-23 19:09:50', 'form-11') Processing by Spud::Admin::InquiryFormsController#update as HTML Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2014-04-23 19:09:50 UTC", "updated_at"=>"2014-04-23 19:09:50 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11", "thank_you_content"=>nil, "submit_title"=>nil}, "id"=>"11"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'eVREaurwUFo65rmqhgpc', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 12 SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1 SQL (0.2ms) UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_inquiry_forms`.`id` = 11 Redirected to http://test.host/spud/admin/inquiry_forms Completed 302 Found in 11ms (ActiveRecord: 1.2ms) SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '3ee0df5075b2d77ac16d3028aa12b91beb14435f0026272391134cd435664dfa00fafd082d9ef5d6667eb4b025f14f2e7f82a6252203732e081c1568adfe09be' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jIwOzDXMtI6OQGWOM4Ly' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:50', '70738cc31440b4cc9ac7f311153cab100a87b1a9af325a54cde8d77d3788b0c95a17cf3cd503b772d31a9f7ad2543bb3b1ebeaefa821b5286c45e95bc5fd4884', '2014-04-23 19:09:50', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:50', 'testuser', 1, 'cVZCYOaPIKlLuixjM9u', 'vRoU3i10ZPiJTTOeQ1w', '3ee0df5075b2d77ac16d3028aa12b91beb14435f0026272391134cd435664dfa00fafd082d9ef5d6667eb4b025f14f2e7f82a6252203732e081c1568adfe09be', 'jIwOzDXMtI6OQGWOM4Ly', 1, '2014-04-23 19:09:50') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:50', `current_login_at` = '2014-04-23 19:09:50', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'BjnmnhF2TLCi27ijnmU', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 13 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1 SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:50', 'Form 12', '2014-04-23 19:09:50', 'form-12') Processing by Spud::Admin::InquiryFormsController#update as HTML Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm2", "content"=>nil, "created_at"=>"2014-04-23 19:09:50 UTC", "updated_at"=>"2014-04-23 19:09:50 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12", "thank_you_content"=>nil, "submit_title"=>nil}, "id"=>"12"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'QLMuMhjNLoaTaZteXKy2', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 13 SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm2' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform2' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1 SQL (0.1ms) UPDATE `spud_inquiry_forms` SET `name` = 'MyForm2', `url_name` = 'myform2', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_inquiry_forms`.`id` = 12 Redirected to http://test.host/spud/admin/inquiry_forms Completed 302 Found in 7ms (ActiveRecord: 1.0ms)  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8f8264f1c8852dbab2866f48c0f0f07f2ef13c9b3289d54de41922e35f5a122c1b2c96e43e5bf1d32cfb817bb5c60b8929f5bf5c33346a9308abf0e089d82f13' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'egP9wizyFtW7XRI85jQW' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:50', '1dc6bffc43235118119ec82d6087991296de68d3e50fc298e3412ae1ae1649bcff565653deda8e6f129fcf61f0ddf01af9398480ec996388a9e1a2d3c7f24ac4', '2014-04-23 19:09:50', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:50', 'testuser', 1, 'MrHdGoeFJuuGCOpLWPuO', 'zgwaTwd2AsWMVPNLDnS', '8f8264f1c8852dbab2866f48c0f0f07f2ef13c9b3289d54de41922e35f5a122c1b2c96e43e5bf1d32cfb817bb5c60b8929f5bf5c33346a9308abf0e089d82f13', 'egP9wizyFtW7XRI85jQW', 1, '2014-04-23 19:09:50') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:50', `current_login_at` = '2014-04-23 19:09:50', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'Fq3GjTp0eiR0wKrq6Uxo', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 14 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:50', 'Form 13', '2014-04-23 19:09:50', 'form-13')  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms` Processing by Spud::Admin::InquiryFormsController#destroy as HTML Parameters: {"id"=>"13"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'JRDnQ9vB4606HzHKrXB', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 14 SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 SQL (0.2ms) UPDATE `spud_inquiries` SET `spud_inquiries`.`spud_inquiry_form_id` = NULL WHERE `spud_inquiries`.`spud_inquiry_form_id` = 13 SpudInquiryFormField Load (0.3ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 13 ORDER BY `spud_inquiry_form_fields`.`field_order` ASC SQL (0.1ms) DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 Redirected to http://test.host/spud/admin/inquiry_forms Completed 302 Found in 10ms (ActiveRecord: 1.1ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1 SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '55f0a4227588c5e6ad1f1848ff807c6f73ca09829acf64430f0654202f8c97eec0834cec7dfe88d8fb8e71118e778ea73c8cb351fa968e1145e6dc04322ff646' LIMIT 1 SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PVlygYv7Q2DHy7Oi1M9u' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-04-23 19:09:50', 'e92e417d673fe15ec4d6a73daa39fd0cb7a7b7ad001323264eda213c08d56b2952e982b74ecac473b11941ab85bd48de36bc6f18f4588110d5db08f23ddd2ff0', '2014-04-23 19:09:50', '0.0.0.0', 'test@testuser.com', '2014-04-23 19:09:50', 'testuser', 1, 'UBNGb7aamfajSgCj4rSw', 'SC8hQVQajbt4LUoC6y6', '55f0a4227588c5e6ad1f1848ff807c6f73ca09829acf64430f0654202f8c97eec0834cec7dfe88d8fb8e71118e778ea73c8cb351fa968e1145e6dc04322ff646', 'PVlygYv7Q2DHy7Oi1M9u', 1, '2014-04-23 19:09:50') SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2014-04-23 19:09:50', `current_login_at` = '2014-04-23 19:09:50', `last_login_ip` = '0.0.0.0', `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = '3frjkU7RT2DxKHrtrJh', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 15 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:50', 'Form 14', '2014-04-23 19:09:50', 'form-14')  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms` Processing by Spud::Admin::InquiryFormsController#destroy as HTML Parameters: {"id"=>"23532"} SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1 SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-04-23 19:09:50', `perishable_token` = 'MmVOAp07pdtSeq8YGZKS', `updated_at` = '2014-04-23 19:09:50' WHERE `spud_users`.`id` = 15 SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1 Redirected to http://test.host/spud/admin/inquiry_forms Filter chain halted as :load_form rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Processing by Spud::Inquiries::SitemapsController#show as XML Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Processing by Spud::Inquiries::SitemapsController#show as HTML Completed 406 Not Acceptable in 1ms  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 19:09:50', '2014-04-23 19:09:50')  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:50', 'Form 15', '2014-04-23 19:09:50', 'form-15')  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:50', 'Form 16', '2014-04-23 19:09:50', 'form-16')  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:50', 'Form 17', '2014-04-23 19:09:50', 'form-17')  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-18' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:50', 'Form 18', '2014-04-23 19:09:50', 'form-18')  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1 SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-04-23 19:09:50', 'Test', '2014-04-23 19:09:50', 'test') SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1 SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1 SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 19:09:50', '2014-04-23 19:09:50') SQL (0.1ms) INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2014-04-23 19:09:50', 'email', 7, '2014-04-23 19:09:50', 'test@spudcms.net') SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 7 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-04-23 19:09:50', '2014-04-23 19:09:50') SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 8 AND `spud_inquiry_fields`.`name` = 'email' ORDER BY `spud_inquiry_fields`.`id` ASC LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK