(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