spud_inquiries 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. data/README.markdown +16 -5
  2. data/app/controllers/contacts_controller.rb +23 -17
  3. data/app/controllers/spud/admin/inquiries_controller.rb +2 -1
  4. data/app/controllers/spud/admin/inquiry_forms_controller.rb +3 -5
  5. data/app/controllers/spud/inquiries/sitemaps_controller.rb +3 -2
  6. data/app/mailers/spud/inquiry_mailer.rb +3 -2
  7. data/app/models/spud_inquiry.rb +2 -1
  8. data/app/models/spud_inquiry_field.rb +1 -0
  9. data/app/models/spud_inquiry_form.rb +8 -6
  10. data/app/models/spud_inquiry_form_field.rb +2 -5
  11. data/app/views/contacts/_show.html.erb +7 -5
  12. data/app/views/contacts/_show_liquid.html.erb +34 -0
  13. data/app/views/contacts/show.html.erb +4 -4
  14. data/app/views/contacts/show.js.erb +1 -0
  15. data/app/views/contacts/thankyou.js.erb +1 -0
  16. data/app/views/spud/admin/inquiry_forms/_form.html.erb +15 -9
  17. data/app/views/spud/admin/inquiry_forms/_spud_inquiry_form_field_fields.html.erb +8 -2
  18. data/app/views/spud/admin/inquiry_forms/index.html.erb +1 -1
  19. data/app/views/spud/admin/inquiry_forms/new.html.erb +1 -1
  20. data/app/views/spud/inquiries/sitemaps/show.xml.builder +1 -1
  21. data/config/routes.rb +15 -21
  22. data/db/migrate/20120117133412_create_spud_inquiry_fields.rb +1 -1
  23. data/db/migrate/20120122173829_add_field_order_to_spud_inquiry_form_fields.rb +1 -1
  24. data/db/migrate/20120126132407_add_spud_inquiry_form_id_to_spud_inquiries.rb +2 -2
  25. data/db/migrate/20120127023335_add_url_name_to_spud_inquiry_forms.rb +1 -1
  26. data/db/migrate/20121228145215_add_thank_you_content_to_spud_inquiry_form.rb +5 -0
  27. data/db/migrate/20130627121030_add_placeholder_to_spud_inquiry_form_fields.rb +5 -0
  28. data/lib/spud_inquiries/configuration.rb +2 -1
  29. data/lib/spud_inquiries/engine.rb +4 -0
  30. data/lib/spud_inquiries/liquid_form.rb +2 -1
  31. data/lib/spud_inquiries/version.rb +1 -1
  32. data/spec/controllers/contacts_controller_spec.rb +69 -0
  33. data/spec/controllers/spud/admin/inquiries_controller_spec.rb +55 -0
  34. data/spec/controllers/spud/admin/inquiry_forms_controller_spec.rb +97 -0
  35. data/spec/controllers/spud/inquiries/sitemaps_controller_spec.rb +23 -0
  36. data/spec/dummy/config/database.yml +0 -28
  37. data/spec/dummy/db/schema.rb +10 -8
  38. data/spec/dummy/log/development.log +87 -72
  39. data/spec/dummy/log/test.log +1244 -0
  40. data/spec/models/spud_inquiry_field_spec.rb +18 -0
  41. data/spec/models/spud_inquiry_form_field_spec.rb +36 -0
  42. data/spec/models/spud_inquiry_form_spec.rb +28 -0
  43. data/spec/models/spud_inquiry_spec.rb +22 -0
  44. data/spec/spec_helper.rb +9 -0
  45. metadata +28 -5
@@ -0,0 +1,1244 @@
1
+ Connecting to database specified by database.yml
2
+  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS
3
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
4
+  (0.1ms) SELECT DATABASE() as db
5
+  (0.7ms) select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
6
+  (0.6ms) TRUNCATE TABLE `spud_admin_permissions`;
7
+  (1.0ms) TRUNCATE TABLE `spud_inquiries`;
8
+  (0.9ms) TRUNCATE TABLE `spud_inquiry_fields`;
9
+  (0.8ms) TRUNCATE TABLE `spud_inquiry_form_fields`;
10
+  (1.0ms) TRUNCATE TABLE `spud_inquiry_forms`;
11
+  (0.7ms) TRUNCATE TABLE `spud_user_settings`;
12
+  (1.0ms) TRUNCATE TABLE `spud_users`;
13
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
14
+  (0.1ms) BEGIN
15
+  (0.0ms) BEGIN
16
+  (0.2ms) SAVEPOINT active_record_2
17
+ SpudInquiryForm Exists (1.4ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
18
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1
19
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:43', 'Form 1', NULL, NULL, NULL, '2013-06-27 12:53:43', 'form-1')
20
+  (0.1ms) RELEASE SAVEPOINT active_record_2
21
+ Processing by ContactsController#show as HTML
22
+ Parameters: {"id"=>"form-1"}
23
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' LIMIT 1
24
+ SpudInquiryFormField Load (0.1ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (1) ORDER BY field_order ASC
25
+ Rendered /Users/davidestes/projects/spud_rails/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (2.1ms)
26
+ Completed 200 OK in 64ms (Views: 11.7ms | ActiveRecord: 3.0ms)
27
+  (0.6ms) ROLLBACK
28
+  (0.2ms) ROLLBACK
29
+  (0.0ms) BEGIN
30
+  (0.0ms) BEGIN
31
+ Processing by ContactsController#show as HTML
32
+ Parameters: {"id"=>"1234"}
33
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' LIMIT 1
34
+ Redirected to http://test.host/
35
+ Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
36
+  (0.1ms) ROLLBACK
37
+  (0.1ms) ROLLBACK
38
+  (0.0ms) BEGIN
39
+  (0.0ms) BEGIN
40
+  (0.1ms) SAVEPOINT active_record_2
41
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
42
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
43
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:43', 'Form 2', NULL, NULL, NULL, '2013-06-27 12:53:43', 'form-2')
44
+  (0.0ms) RELEASE SAVEPOINT active_record_2
45
+  (0.2ms) SAVEPOINT active_record_2
46
+ SQL (0.2ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:53:43', NULL, NULL, '0', 'email', NULL, NULL, 1, 2, '2013-06-27 12:53:43')
47
+  (0.1ms) RELEASE SAVEPOINT active_record_2
48
+ Processing by ContactsController#inquire as HTML
49
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
50
+ Redirected to http://test.host/
51
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
52
+  (0.5ms) ROLLBACK
53
+  (0.0ms) ROLLBACK
54
+  (0.0ms) BEGIN
55
+  (0.0ms) BEGIN
56
+  (0.1ms) SAVEPOINT active_record_2
57
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1
58
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1
59
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:43', 'Form 3', NULL, NULL, NULL, '2013-06-27 12:53:43', 'form-3')
60
+  (0.1ms) RELEASE SAVEPOINT active_record_2
61
+  (0.0ms) SAVEPOINT active_record_2
62
+ SQL (0.1ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:53:43', NULL, NULL, '0', 'email', NULL, NULL, 1, 3, '2013-06-27 12:53:43')
63
+  (0.1ms) RELEASE SAVEPOINT active_record_2
64
+ Processing by ContactsController#inquire as HTML
65
+ Redirected to http://test.host/
66
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
67
+  (0.3ms) ROLLBACK
68
+  (0.1ms) ROLLBACK
69
+  (0.0ms) BEGIN
70
+  (0.0ms) BEGIN
71
+  (0.1ms) SAVEPOINT active_record_2
72
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
73
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1
74
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:43', 'Form 4', NULL, NULL, NULL, '2013-06-27 12:53:43', 'form-4')
75
+  (0.1ms) RELEASE SAVEPOINT active_record_2
76
+  (0.1ms) SAVEPOINT active_record_2
77
+ SQL (0.3ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:53:43', NULL, NULL, '0', 'email', NULL, NULL, 1, 4, '2013-06-27 12:53:43')
78
+  (0.1ms) RELEASE SAVEPOINT active_record_2
79
+ Processing by ContactsController#inquire as HTML
80
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
81
+ SpudInquiryForm Load (0.4ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1
82
+ Redirected to http://test.host/
83
+ Completed 302 Found in 1ms (ActiveRecord: 0.4ms)
84
+  (0.5ms) ROLLBACK
85
+  (0.0ms) ROLLBACK
86
+  (0.0ms) BEGIN
87
+  (0.0ms) BEGIN
88
+  (0.1ms) SAVEPOINT active_record_2
89
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1
90
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
91
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:43', 'Form 5', NULL, NULL, NULL, '2013-06-27 12:53:43', 'form-5')
92
+  (0.1ms) RELEASE SAVEPOINT active_record_2
93
+  (0.1ms) SAVEPOINT active_record_2
94
+ SQL (0.1ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:53:43', NULL, NULL, '0', 'email', NULL, NULL, 1, 5, '2013-06-27 12:53:43')
95
+  (0.1ms) RELEASE SAVEPOINT active_record_2
96
+ Processing by ContactsController#inquire as HTML
97
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
98
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
99
+ SpudInquiryFormField Load (0.3ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order ASC, field_order
100
+ Completed 200 OK in 41ms (Views: 0.8ms | ActiveRecord: 1.6ms)
101
+  (0.5ms) ROLLBACK
102
+  (0.1ms) ROLLBACK
103
+  (0.1ms) BEGIN
104
+  (0.0ms) BEGIN
105
+ Processing by ContactsController#thankyou as HTML
106
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
107
+  (0.2ms) ROLLBACK
108
+  (0.1ms) ROLLBACK
109
+  (0.0ms) BEGIN
110
+  (0.0ms) BEGIN
111
+  (0.1ms) SAVEPOINT active_record_2
112
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
113
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
114
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9d1a3598ed3d36b20f8f7ead9f258821a8c66170a42667d95a666652858d49a3265cd48a1ce069d74dfa62861eef2b6aabd091c590ff9e54db840af0b9a54bfb' LIMIT 1
115
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Eze0EteJP8T1s4cD8SK2' LIMIT 1
116
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '326ae1152dd79003a6bb698c9ba1662ecc8d6870df2b4d9b28ac913c33af10f6efd6adceb9c9a2716e531d778481006f6fbf35700b2cf13973d32d0a8c76a0ef', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'tsjml6xWwrxLhkxvbHCE', 'Rws1I7eRINKyZmzdw8', '9d1a3598ed3d36b20f8f7ead9f258821a8c66170a42667d95a666652858d49a3265cd48a1ce069d74dfa62861eef2b6aabd091c590ff9e54db840af0b9a54bfb', 'Eze0EteJP8T1s4cD8SK2', 1, NULL, '2013-06-27 12:53:44')
117
+  (0.1ms) RELEASE SAVEPOINT active_record_2
118
+  (0.1ms) SAVEPOINT active_record_2
119
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'VjG1hTXEq64hzeNY4PXa', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 1
120
+  (0.1ms) RELEASE SAVEPOINT active_record_2
121
+  (0.0ms) SAVEPOINT active_record_2
122
+ SQL (0.3ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')
123
+  (0.1ms) RELEASE SAVEPOINT active_record_2
124
+  (0.1ms) SAVEPOINT active_record_2
125
+ SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')
126
+  (0.0ms) RELEASE SAVEPOINT active_record_2
127
+ Processing by Spud::Admin::InquiriesController#index as HTML
128
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
129
+ Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 0.3ms)
130
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries` 
131
+  (0.8ms) ROLLBACK
132
+  (0.1ms) ROLLBACK
133
+  (0.0ms) BEGIN
134
+  (0.1ms) BEGIN
135
+  (0.2ms) SAVEPOINT active_record_2
136
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
137
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
138
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2b7d58a39f4766bd617b9fa169a4c4c46a62d343dae5d09229e766b9fe72e6b31700df4b990c9fd9432aa2d2827439750a328b31df33ae4a0955407f73a80d56' LIMIT 1
139
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'K8LXWxL7INEjXDUI48Xn' LIMIT 1
140
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '31192e381469bca8eafc3931945dc2cd0b6bf6d737b8e46fc1e55006c70d8467db23944fbf9c23e6c78fe2890e7a8ea79586721f2de9459109f56f643a90532a', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'g8aetp7YYEmfi5j3hH', 'BI3SV0pfBb0EqHJIWs8C', '2b7d58a39f4766bd617b9fa169a4c4c46a62d343dae5d09229e766b9fe72e6b31700df4b990c9fd9432aa2d2827439750a328b31df33ae4a0955407f73a80d56', 'K8LXWxL7INEjXDUI48Xn', 1, NULL, '2013-06-27 12:53:44')
141
+  (0.1ms) RELEASE SAVEPOINT active_record_2
142
+  (0.1ms) SAVEPOINT active_record_2
143
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QleIySnXwuCBKr3q', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 2
144
+  (0.1ms) RELEASE SAVEPOINT active_record_2
145
+  (0.1ms) SAVEPOINT active_record_2
146
+ SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')
147
+  (0.1ms) RELEASE SAVEPOINT active_record_2
148
+ Processing by Spud::Admin::InquiriesController#show as HTML
149
+ Parameters: {"id"=>"3"}
150
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
151
+ SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
152
+ SpudInquiryField Load (0.3ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
153
+ Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.7ms)
154
+  (0.9ms) ROLLBACK
155
+  (0.0ms) ROLLBACK
156
+  (0.1ms) BEGIN
157
+  (0.0ms) BEGIN
158
+  (0.1ms) SAVEPOINT active_record_2
159
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
160
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
161
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c0c28eba8a1c3f7e66958fb021b09f839433983beba455566c60b46cf16e368fffe4f6a3a202a453e7274f3ba278c12f06180ad99c3f03f7f8477afe41fafd02' LIMIT 1
162
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Y6yAaf3YNw2Ei5yj2hTM' LIMIT 1
163
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', 'b4e8ee86c5ba04b646349211662eaf0ba389a73007b7482fba4128ceac15b4b333abdc9f01074e0bd2c50f4fb6539d7aa17a317472353e16e41c9669fb67e901', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'iIpGWS0NW7RcIWsBRGBr', 'VaHVPK3iHE0OQOlFkjj', 'c0c28eba8a1c3f7e66958fb021b09f839433983beba455566c60b46cf16e368fffe4f6a3a202a453e7274f3ba278c12f06180ad99c3f03f7f8477afe41fafd02', 'Y6yAaf3YNw2Ei5yj2hTM', 1, NULL, '2013-06-27 12:53:44')
164
+  (0.1ms) RELEASE SAVEPOINT active_record_2
165
+  (0.1ms) SAVEPOINT active_record_2
166
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'BfvAj9a6e4O5dXOPGDm', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 3
167
+  (0.0ms) RELEASE SAVEPOINT active_record_2
168
+ Processing by Spud::Admin::InquiriesController#show as HTML
169
+ Parameters: {"id"=>"1234"}
170
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
171
+ SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 LIMIT 1
172
+ Redirected to http://test.host/spud/admin/inquiries
173
+ Filter chain halted as :load_inquiries rendered or redirected
174
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
175
+  (0.4ms) ROLLBACK
176
+  (0.1ms) ROLLBACK
177
+  (0.1ms) BEGIN
178
+  (0.0ms) BEGIN
179
+  (0.1ms) SAVEPOINT active_record_2
180
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
181
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
182
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c52dfddbba52df40f09fc3abf68a45e8b54c395251509ecf71177f20dfc5ec9908d499defce19fc69926db742f140869cdb0d45e87a431a58ed87eff2ea75ad0' LIMIT 1
183
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'p6B2yfHzF0GTqYb3295' LIMIT 1
184
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', 'f7c969bf19f8bf5f18a24be16f17b1a6f7535fa08ccd35169b2d19eb6d64702827f0760f6e45c1579ee77b939935bfdf630f5138699a6444d553ffc9777bfbbb', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'eSjcLCYquVCYvsYhDFnN', 'xdlGl8gswFlAnr82ixwz', 'c52dfddbba52df40f09fc3abf68a45e8b54c395251509ecf71177f20dfc5ec9908d499defce19fc69926db742f140869cdb0d45e87a431a58ed87eff2ea75ad0', 'p6B2yfHzF0GTqYb3295', 1, NULL, '2013-06-27 12:53:44')
185
+  (0.1ms) RELEASE SAVEPOINT active_record_2
186
+  (0.1ms) SAVEPOINT active_record_2
187
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ONbeQzTt67waQsLvoH', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 4
188
+  (0.1ms) RELEASE SAVEPOINT active_record_2
189
+  (0.1ms) SAVEPOINT active_record_2
190
+ SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')
191
+  (0.1ms) RELEASE SAVEPOINT active_record_2
192
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries` 
193
+ Processing by Spud::Admin::InquiriesController#destroy as HTML
194
+ Parameters: {"id"=>"4"}
195
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
196
+ SpudInquiry Load (0.1ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
197
+  (0.0ms) SAVEPOINT active_record_2
198
+ SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4
199
+ SQL (0.1ms) DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
200
+  (0.1ms) RELEASE SAVEPOINT active_record_2
201
+ Redirected to http://test.host/spud/admin/inquiries
202
+ Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
203
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries`
204
+  (0.5ms) ROLLBACK
205
+  (0.0ms) ROLLBACK
206
+  (0.0ms) BEGIN
207
+  (0.0ms) BEGIN
208
+  (0.1ms) SAVEPOINT active_record_2
209
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
210
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
211
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0ade92c0a5da9afd6f8594110c87569edd7b536799db0fdcd3d4f885c07b2822efdaeb0ff5ca00a79bd8701a70b733df88d70771774ddeb850f3ddbdee63f2cd' LIMIT 1
212
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'mdRuCAGMfo7hR6aG1V80' LIMIT 1
213
+ SQL (1.1ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '40c56f150ea07fdf9caaad27cd41554b447fb60e87991b8e604f0231d85c2dee23913dbec1ca14caa2afe9bd817568527d00e9435865284b450882569e05774f', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'T1gPo8ZQmwtRXjS1H1o', 'iUMakFbI9nR8H2Ndu4M', '0ade92c0a5da9afd6f8594110c87569edd7b536799db0fdcd3d4f885c07b2822efdaeb0ff5ca00a79bd8701a70b733df88d70771774ddeb850f3ddbdee63f2cd', 'mdRuCAGMfo7hR6aG1V80', 1, NULL, '2013-06-27 12:53:44')
214
+  (0.2ms) RELEASE SAVEPOINT active_record_2
215
+  (0.2ms) SAVEPOINT active_record_2
216
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'TrvCMJ8RZjsPJ711kjf', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 5
217
+  (0.1ms) RELEASE SAVEPOINT active_record_2
218
+  (0.1ms) SAVEPOINT active_record_2
219
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')
220
+  (0.0ms) RELEASE SAVEPOINT active_record_2
221
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries`
222
+ Processing by Spud::Admin::InquiriesController#destroy as HTML
223
+ Parameters: {"id"=>"23532"}
224
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
225
+ SpudInquiry Load (0.4ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
226
+ Redirected to http://test.host/spud/admin/inquiries
227
+ Filter chain halted as :load_inquiries rendered or redirected
228
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
229
+  (0.3ms) SELECT COUNT(*) FROM `spud_inquiries` 
230
+  (0.4ms) ROLLBACK
231
+  (0.2ms) ROLLBACK
232
+  (0.0ms) BEGIN
233
+  (0.0ms) BEGIN
234
+  (0.1ms) SAVEPOINT active_record_2
235
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
236
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
237
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '84577ce7a56ab20a6accbdf64e8289452c73480078a3f1833f48797b6010a765977adcbb3a076c0170434103924b0b4dd03261a6760413f3298ed7fe5d6bdaff' LIMIT 1
238
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ccJHKXeDcWMt9eQ1ZfJM' LIMIT 1
239
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '7edbd7b2e1d8277fcd4fda3a58f9be4e03b076887c7eb83615ba969bc69359c08ab3e20ecaf5d4dad140fdafdf1cf16330c0f1870ae0617421a36972fd35fb25', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'o1VJ8cJq7bkd4hodTwz7', 'vQJEAVTok2IemOW4CJZh', '84577ce7a56ab20a6accbdf64e8289452c73480078a3f1833f48797b6010a765977adcbb3a076c0170434103924b0b4dd03261a6760413f3298ed7fe5d6bdaff', 'ccJHKXeDcWMt9eQ1ZfJM', 1, NULL, '2013-06-27 12:53:44')
240
+  (0.1ms) RELEASE SAVEPOINT active_record_2
241
+  (0.1ms) SAVEPOINT active_record_2
242
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'uOBI6y8dcT4NLYeKJFKU', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 6
243
+  (0.1ms) RELEASE SAVEPOINT active_record_2
244
+  (0.2ms) SAVEPOINT active_record_2
245
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1
246
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1
247
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 6', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-6')
248
+  (0.1ms) RELEASE SAVEPOINT active_record_2
249
+  (0.1ms) SAVEPOINT active_record_2
250
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1
251
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1
252
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 7', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-7')
253
+  (0.1ms) RELEASE SAVEPOINT active_record_2
254
+ Processing by Spud::Admin::InquiryFormsController#index as HTML
255
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
256
+ Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.3ms)
257
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms` 
258
+  (0.7ms) ROLLBACK
259
+  (0.1ms) ROLLBACK
260
+  (0.0ms) BEGIN
261
+  (0.1ms) BEGIN
262
+  (0.1ms) SAVEPOINT active_record_2
263
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
264
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
265
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c2fa0f84f34f03ef7f0f5443200e369677a583fc7bd92073841240981264aefd913a51936bff018571e7aa3729c3785d1758f8a448b4ee0dc1d91c41f2b04858' LIMIT 1
266
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'uxAEtJ7VtNgLJ0HzZud' LIMIT 1
267
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '16b9389c9d5d88225b0374556cf1d0fa4d57d838d948c93a8bc9de6a3b1d6395d6f42369376d10a464d0b75881a194670c40d82e194579122ba65b3618f92bb3', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'QcotXbes77MTK3mJSO', 'qm0a1w7Z7CxSSeDj2XBB', 'c2fa0f84f34f03ef7f0f5443200e369677a583fc7bd92073841240981264aefd913a51936bff018571e7aa3729c3785d1758f8a448b4ee0dc1d91c41f2b04858', 'uxAEtJ7VtNgLJ0HzZud', 1, NULL, '2013-06-27 12:53:44')
268
+  (0.1ms) RELEASE SAVEPOINT active_record_2
269
+  (0.1ms) SAVEPOINT active_record_2
270
+  (0.1ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'KNIlOx0sYZew0t0Ojy', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 7
271
+  (0.0ms) RELEASE SAVEPOINT active_record_2
272
+ Processing by Spud::Admin::InquiryFormsController#new as HTML
273
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
274
+ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.2ms)
275
+  (0.3ms) ROLLBACK
276
+  (0.1ms) ROLLBACK
277
+  (0.0ms) BEGIN
278
+  (0.0ms) BEGIN
279
+  (0.1ms) SAVEPOINT active_record_2
280
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
281
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
282
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '825b4a894abb6762e85b7593406f936922c518a76491463802949c19ec1050d69f9c31455b21fe0701a844344e857cfee3ac17276e5de340ce6885cd95209a76' LIMIT 1
283
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '1CacOGXZg1v1ILvhmJO' LIMIT 1
284
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', 'f2d22c72b6594f065198a3eb4cdb23ce446d20fe2885c78abeea13a88e08937ec2e6df596588bfed4f4fa9b82ea2716cac92dfe61df2f72248410cf33119aa67', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, '88EWDdSeCnBpRNyxULWp', 'gA6SQfwH6qSk0RPBAbeE', '825b4a894abb6762e85b7593406f936922c518a76491463802949c19ec1050d69f9c31455b21fe0701a844344e857cfee3ac17276e5de340ce6885cd95209a76', '1CacOGXZg1v1ILvhmJO', 1, NULL, '2013-06-27 12:53:44')
285
+  (0.0ms) RELEASE SAVEPOINT active_record_2
286
+  (0.1ms) SAVEPOINT active_record_2
287
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EtdENHkcqUfSXjlfRgjD', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 8
288
+  (0.0ms) RELEASE SAVEPOINT active_record_2
289
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms` 
290
+ Processing by Spud::Admin::InquiryFormsController#create as HTML
291
+ Parameters: {"spud_inquiry_form"=>{"name"=>"Form 8"}}
292
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
293
+  (0.1ms) SAVEPOINT active_record_2
294
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
295
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1
296
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 8', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-8')
297
+  (0.1ms) RELEASE SAVEPOINT active_record_2
298
+ Redirected to http://test.host/spud/admin/inquiry_forms
299
+ Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
300
+  (0.3ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
301
+  (0.7ms) ROLLBACK
302
+  (0.0ms) ROLLBACK
303
+  (0.0ms) BEGIN
304
+  (0.0ms) BEGIN
305
+  (0.0ms) SAVEPOINT active_record_2
306
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
307
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
308
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '48a6cae0dfeda5addc8d99f5f79ecdc7b82e19c13afdc230f0678ce6e284af4f19090d1d8828f86224aaa1cab5de1ca41bafd158cfad50f7ba7a91bec467957b' LIMIT 1
309
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'MiUYDXUQf6BWkwFQUM' LIMIT 1
310
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '4a66aae4525b84978057850396b9261fd16fd56c1c7812acbbfc0747edf4a459ab707729b72c96c946a734336d353c338aaa4f5241763d57d36f27ee7ebb7cd1', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, '88Awc8qETczuXOxzi', 's7WasKdzfABw0H3Tqf5D', '48a6cae0dfeda5addc8d99f5f79ecdc7b82e19c13afdc230f0678ce6e284af4f19090d1d8828f86224aaa1cab5de1ca41bafd158cfad50f7ba7a91bec467957b', 'MiUYDXUQf6BWkwFQUM', 1, NULL, '2013-06-27 12:53:44')
311
+  (0.2ms) RELEASE SAVEPOINT active_record_2
312
+  (0.2ms) SAVEPOINT active_record_2
313
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'miPZB6o50qYuoO60fine', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 9
314
+  (0.0ms) RELEASE SAVEPOINT active_record_2
315
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms` 
316
+ Processing by Spud::Admin::InquiryFormsController#create as HTML
317
+ Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
318
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
319
+  (0.2ms) SAVEPOINT active_record_2
320
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
321
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
322
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
323
+ Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 0.0ms)
324
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms` 
325
+  (0.4ms) ROLLBACK
326
+  (0.0ms) ROLLBACK
327
+  (0.1ms) BEGIN
328
+  (0.0ms) BEGIN
329
+  (0.1ms) SAVEPOINT active_record_2
330
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
331
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
332
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6046ed16d325a6b071357dbdde8adf2f6df516849eab0be457ce1d35b151fb1bb76219070987b61e3e66d6fb0495e5b8f30db91548231ae7a5e8e8390055bb1f' LIMIT 1
333
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '39TLklvZIaodtAOQUkrj' LIMIT 1
334
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '89745face661a29db72e1b8e1df07777d6b885c1dce4cd74a9da3d3544384b3dd35027b785f69579c325eaa75e185c8b4c28a99f108121d060a0ddb2fab6cb69', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'eMA0DMyOxkBDjYs42gJ9', 'OSzXArAwwV27hBSjnIHh', '6046ed16d325a6b071357dbdde8adf2f6df516849eab0be457ce1d35b151fb1bb76219070987b61e3e66d6fb0495e5b8f30db91548231ae7a5e8e8390055bb1f', '39TLklvZIaodtAOQUkrj', 1, NULL, '2013-06-27 12:53:44')
335
+  (0.1ms) RELEASE SAVEPOINT active_record_2
336
+  (0.1ms) SAVEPOINT active_record_2
337
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'Cw7ftV6jvY9HhE6LtRh8', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 10
338
+  (0.1ms) RELEASE SAVEPOINT active_record_2
339
+  (0.0ms) SAVEPOINT active_record_2
340
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
341
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1
342
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 9', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-9')
343
+  (0.1ms) RELEASE SAVEPOINT active_record_2
344
+  (0.0ms) SAVEPOINT active_record_2
345
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1
346
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1
347
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 10', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-10')
348
+  (0.1ms) RELEASE SAVEPOINT active_record_2
349
+ Processing by Spud::Admin::InquiryFormsController#edit as HTML
350
+ Parameters: {"id"=>"10"}
351
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
352
+ SpudInquiryForm Load (0.1ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 LIMIT 1
353
+ Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.3ms)
354
+  (0.7ms) ROLLBACK
355
+  (0.0ms) ROLLBACK
356
+  (0.0ms) BEGIN
357
+  (0.0ms) BEGIN
358
+  (0.0ms) SAVEPOINT active_record_2
359
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
360
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
361
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5af068a807cc5138cb81afa8fb68494767d93bdeb6d29210e1120b746f9f49eb12df887ed35c0919bbf0d59b8252f491b47597842b4d72c6e4b54088d4a2824d' LIMIT 1
362
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hSDAGHRh8T9Jk3jTJ1P' LIMIT 1
363
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '50fad13feb433bea27e94a6c327d76a55502f8574162d75885a1f0db926a7afa09ada826dc278295058bab662963b445fbf3caf67c4ecb7ed5aa58362c9e8f4d', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, '9tfd3PAlzwSJpxKDE9gS', '3QnYSQV9xGjoN5WZ4mEz', '5af068a807cc5138cb81afa8fb68494767d93bdeb6d29210e1120b746f9f49eb12df887ed35c0919bbf0d59b8252f491b47597842b4d72c6e4b54088d4a2824d', 'hSDAGHRh8T9Jk3jTJ1P', 1, NULL, '2013-06-27 12:53:44')
364
+  (0.1ms) RELEASE SAVEPOINT active_record_2
365
+  (0.1ms) SAVEPOINT active_record_2
366
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'LOSTYzedpsL5qfYgslAo', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 11
367
+  (0.0ms) RELEASE SAVEPOINT active_record_2
368
+ Processing by Spud::Admin::InquiryFormsController#edit as HTML
369
+ Parameters: {"id"=>"1234"}
370
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1
371
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
372
+ Redirected to http://test.host/spud/admin/inquiry_forms
373
+ Filter chain halted as :load_form rendered or redirected
374
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
375
+  (0.8ms) ROLLBACK
376
+  (0.0ms) ROLLBACK
377
+  (0.0ms) BEGIN
378
+  (0.2ms) BEGIN
379
+  (0.1ms) SAVEPOINT active_record_2
380
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
381
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
382
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cb6ace23e31c1fd3446d429013cc6f8b315ecca1a4b962a58308e28446211f9dd408a3f452e4f718cbf50d84b5c4b044980d5b83314d01e25cb87a5d11349e81' LIMIT 1
383
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'byGmtRsqtAqYZ3bYv44' LIMIT 1
384
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '8ee06a4d4a8de8f6d3382319a224cf3a5487e313516a16595d4f49e08ddbaf37f47075d48c95e9970a76d3af8e31f087a0c93570c74f6194e85d6999fe112f26', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, '3zYxxmUOuSrl73dHiGa', 'CACAPaUuBW2PZ1aXSb0', 'cb6ace23e31c1fd3446d429013cc6f8b315ecca1a4b962a58308e28446211f9dd408a3f452e4f718cbf50d84b5c4b044980d5b83314d01e25cb87a5d11349e81', 'byGmtRsqtAqYZ3bYv44', 1, NULL, '2013-06-27 12:53:44')
385
+  (0.1ms) RELEASE SAVEPOINT active_record_2
386
+  (0.1ms) SAVEPOINT active_record_2
387
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'uGL2hPZNENQvblEE9t31', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 12
388
+  (0.0ms) RELEASE SAVEPOINT active_record_2
389
+  (0.0ms) SAVEPOINT active_record_2
390
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
391
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1
392
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 11', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-11')
393
+  (0.0ms) RELEASE SAVEPOINT active_record_2
394
+ Processing by Spud::Admin::InquiryFormsController#update as HTML
395
+ Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2013-06-27 12:53:44 UTC", "updated_at"=>"2013-06-27 12:53:44 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11", "thank_you_content"=>nil}, "id"=>"11"}
396
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
397
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
398
+  (0.1ms) SAVEPOINT active_record_2
399
+ 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
400
+ 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
401
+  (0.2ms) UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_inquiry_forms`.`id` = 11
402
+  (0.1ms) RELEASE SAVEPOINT active_record_2
403
+ Redirected to http://test.host/spud/admin/inquiry_forms
404
+ Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
405
+ SpudInquiryForm Load (0.4ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
406
+  (0.5ms) ROLLBACK
407
+  (0.0ms) ROLLBACK
408
+  (0.0ms) BEGIN
409
+  (0.0ms) BEGIN
410
+  (0.1ms) SAVEPOINT active_record_2
411
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
412
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
413
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cde4def68e76d8df810dc28b6fb25fc7fe234cf667964a31731580b513d0eadf61e01c6e0bdb5a53a1521707da18d89bc6c116f6d80c7c284fde6502cb992732' LIMIT 1
414
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'epgwCJ4LDpeUBABbRBa' LIMIT 1
415
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', 'a8236d7150174ed9728bb78e4090058a1bbb62a7ac2cf828e05e13fda5e4294c1acb8038328fd6a68cca5cf7a1c45d8bc307fa66445cea8f4632d23d8b5e25f3', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'ZVlzezXSvyWq4SMrI4QA', '96OPiOgpIlAdiVAmLp', 'cde4def68e76d8df810dc28b6fb25fc7fe234cf667964a31731580b513d0eadf61e01c6e0bdb5a53a1521707da18d89bc6c116f6d80c7c284fde6502cb992732', 'epgwCJ4LDpeUBABbRBa', 1, NULL, '2013-06-27 12:53:44')
416
+  (0.1ms) RELEASE SAVEPOINT active_record_2
417
+  (0.1ms) SAVEPOINT active_record_2
418
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'MJRJvO8W1xFDnw71gXJ9', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 13
419
+  (0.1ms) RELEASE SAVEPOINT active_record_2
420
+  (0.0ms) SAVEPOINT active_record_2
421
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
422
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1
423
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 12', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-12')
424
+  (0.0ms) RELEASE SAVEPOINT active_record_2
425
+ Processing by Spud::Admin::InquiryFormsController#update as HTML
426
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2013-06-27 12:53:44 UTC", "updated_at"=>"2013-06-27 12:53:44 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12", "thank_you_content"=>nil}, "id"=>"12"}
427
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
428
+ SpudInquiryForm Load (0.4ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
429
+  (0.1ms) SAVEPOINT active_record_2
430
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 12' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
431
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'form-12' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
432
+  (0.1ms) RELEASE SAVEPOINT active_record_2
433
+ Redirected to http://test.host/spud/admin/inquiry_forms
434
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
435
+  (2.6ms) ROLLBACK
436
+  (0.1ms) ROLLBACK
437
+  (0.1ms) BEGIN
438
+  (0.0ms) BEGIN
439
+  (0.1ms) SAVEPOINT active_record_2
440
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
441
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
442
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'e2cafbaaad42a87e343e4684f3c0d21517ac93a1174cabf8590d2dfa25018d67ac7f2a9d6462c556f7fa183d1d66739b87028d34543b38283a839aeb7c81079b' LIMIT 1
443
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Fhvb8eMsRQRtsVPl8Kd' LIMIT 1
444
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', 'e0ed47486bf9a4628d555b7bf33953f1d82f7f6634698066dfa6572454f249bbe67fd56f44a1c468f7d69e0f291b0a4a091a74f535cc3eccaf16cd3c899bebcf', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'PZidDMzyQBGE4axF6pH', '15oTthErwnhKOY317Sa', 'e2cafbaaad42a87e343e4684f3c0d21517ac93a1174cabf8590d2dfa25018d67ac7f2a9d6462c556f7fa183d1d66739b87028d34543b38283a839aeb7c81079b', 'Fhvb8eMsRQRtsVPl8Kd', 1, NULL, '2013-06-27 12:53:44')
445
+  (0.1ms) RELEASE SAVEPOINT active_record_2
446
+  (0.1ms) SAVEPOINT active_record_2
447
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 's7GGacUc5KAA1uRCGd0', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 14
448
+  (0.1ms) RELEASE SAVEPOINT active_record_2
449
+  (0.1ms) SAVEPOINT active_record_2
450
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1
451
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1
452
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 13', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-13')
453
+  (0.1ms) RELEASE SAVEPOINT active_record_2
454
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms` 
455
+ Processing by Spud::Admin::InquiryFormsController#destroy as HTML
456
+ Parameters: {"id"=>"13"}
457
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
458
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1
459
+  (0.1ms) SAVEPOINT active_record_2
460
+ SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 13
461
+ 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 field_order ASC
462
+ SQL (0.1ms) DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13
463
+  (0.0ms) RELEASE SAVEPOINT active_record_2
464
+ Redirected to http://test.host/spud/admin/inquiry_forms
465
+ Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
466
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms` 
467
+  (0.7ms) ROLLBACK
468
+  (0.0ms) ROLLBACK
469
+  (0.1ms) BEGIN
470
+  (0.1ms) BEGIN
471
+  (0.2ms) SAVEPOINT active_record_2
472
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
473
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
474
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '709ba403c13bf42dc888e53f3160eee572bd53e4eff68f82cc43fe38c3f9721e936667737751c1460a3b0493249b2574d91510606ab4970d9d6c8de58217763a' LIMIT 1
475
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'py3u5Zuy0OIB9zKhyhbx' LIMIT 1
476
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:53:44', '94f1f9e42cf11e2d58cf42ff63ac59518a0ec9e4f714926434db4772e64b27d20c95ebc7af94a465216c4e6a7d590d9956d351bf469bfb7decca994b09baebf9', '2013-06-27 12:53:44', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:53:44', 'testuser', 1, 'Yn52V9YaS5mioWaXLmPf', 'F5vDgG27EVEIHXuhd5QM', '709ba403c13bf42dc888e53f3160eee572bd53e4eff68f82cc43fe38c3f9721e936667737751c1460a3b0493249b2574d91510606ab4970d9d6c8de58217763a', 'py3u5Zuy0OIB9zKhyhbx', 1, NULL, '2013-06-27 12:53:44')
477
+  (0.1ms) RELEASE SAVEPOINT active_record_2
478
+  (0.1ms) SAVEPOINT active_record_2
479
+  (0.1ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:53:44', `last_login_ip` = '0.0.0.0', `perishable_token` = 'oyqiSwh5mHEhlBLOqfw', `updated_at` = '2013-06-27 12:53:44' WHERE `spud_users`.`id` = 15
480
+  (0.0ms) RELEASE SAVEPOINT active_record_2
481
+  (0.0ms) SAVEPOINT active_record_2
482
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
483
+ SpudInquiryForm Exists (0.4ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1
484
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 14', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-14')
485
+  (0.1ms) RELEASE SAVEPOINT active_record_2
486
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms` 
487
+ Processing by Spud::Admin::InquiryFormsController#destroy as HTML
488
+ Parameters: {"id"=>"23532"}
489
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1
490
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 LIMIT 1
491
+ Redirected to http://test.host/spud/admin/inquiry_forms
492
+ Filter chain halted as :load_form rendered or redirected
493
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
494
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
495
+  (1.0ms) ROLLBACK
496
+  (0.0ms) ROLLBACK
497
+  (0.0ms) BEGIN
498
+  (0.0ms) BEGIN
499
+ Processing by Spud::Inquiries::SitemapsController#show as XML
500
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` 
501
+ Completed 200 OK in 44ms (Views: 42.2ms | ActiveRecord: 0.2ms)
502
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
503
+  (0.1ms) ROLLBACK
504
+  (0.0ms) ROLLBACK
505
+  (0.0ms) BEGIN
506
+  (0.0ms) BEGIN
507
+ Processing by Spud::Inquiries::SitemapsController#show as HTML
508
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` 
509
+ Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.2ms)
510
+  (0.1ms) ROLLBACK
511
+  (0.1ms) ROLLBACK
512
+  (0.0ms) BEGIN
513
+  (0.1ms) BEGIN
514
+  (0.1ms) ROLLBACK
515
+  (0.0ms) ROLLBACK
516
+  (0.0ms) BEGIN
517
+  (0.0ms) BEGIN
518
+  (0.0ms) SAVEPOINT active_record_2
519
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')
520
+  (0.1ms) RELEASE SAVEPOINT active_record_2
521
+  (0.3ms) ROLLBACK
522
+  (0.0ms) ROLLBACK
523
+  (0.0ms) BEGIN
524
+  (0.0ms) BEGIN
525
+  (0.0ms) ROLLBACK
526
+  (0.0ms) ROLLBACK
527
+  (0.0ms) BEGIN
528
+  (0.0ms) BEGIN
529
+  (0.0ms) SAVEPOINT active_record_2
530
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1
531
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1
532
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 15', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-15')
533
+  (0.1ms) RELEASE SAVEPOINT active_record_2
534
+  (0.4ms) ROLLBACK
535
+  (0.0ms) ROLLBACK
536
+  (0.0ms) BEGIN
537
+  (0.0ms) BEGIN
538
+  (0.0ms) SAVEPOINT active_record_2
539
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1
540
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1
541
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 16', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-16')
542
+  (0.0ms) RELEASE SAVEPOINT active_record_2
543
+  (0.4ms) ROLLBACK
544
+  (0.0ms) ROLLBACK
545
+  (0.0ms) BEGIN
546
+  (0.0ms) BEGIN
547
+  (0.0ms) SAVEPOINT active_record_2
548
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1
549
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1
550
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 17', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-17')
551
+  (0.0ms) RELEASE SAVEPOINT active_record_2
552
+  (0.3ms) ROLLBACK
553
+  (0.0ms) ROLLBACK
554
+  (0.0ms) BEGIN
555
+  (0.0ms) BEGIN
556
+  (0.0ms) ROLLBACK
557
+  (0.0ms) ROLLBACK
558
+  (0.0ms) BEGIN
559
+  (0.0ms) BEGIN
560
+  (0.0ms) SAVEPOINT active_record_2
561
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' LIMIT 1
562
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-18' LIMIT 1
563
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Form 18', NULL, NULL, NULL, '2013-06-27 12:53:44', 'form-18')
564
+  (0.1ms) RELEASE SAVEPOINT active_record_2
565
+  (0.4ms) ROLLBACK
566
+  (0.1ms) ROLLBACK
567
+  (0.0ms) BEGIN
568
+  (0.0ms) BEGIN
569
+  (0.0ms) ROLLBACK
570
+  (0.0ms) ROLLBACK
571
+  (0.0ms) BEGIN
572
+  (0.0ms) BEGIN
573
+  (0.0ms) ROLLBACK
574
+  (0.0ms) ROLLBACK
575
+  (0.0ms) BEGIN
576
+  (0.0ms) BEGIN
577
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
578
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
579
+  (0.1ms) ROLLBACK
580
+  (0.0ms) ROLLBACK
581
+  (0.1ms) BEGIN
582
+  (0.1ms) BEGIN
583
+  (0.0ms) SAVEPOINT active_record_2
584
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
585
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
586
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:53:44', 'Test', NULL, NULL, NULL, '2013-06-27 12:53:44', 'test')
587
+  (0.1ms) RELEASE SAVEPOINT active_record_2
588
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
589
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
590
+  (0.2ms) ROLLBACK
591
+  (0.0ms) ROLLBACK
592
+  (0.1ms) BEGIN
593
+  (0.1ms) BEGIN
594
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
595
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1
596
+  (0.1ms) ROLLBACK
597
+  (0.0ms) ROLLBACK
598
+  (0.0ms) BEGIN
599
+  (0.0ms) BEGIN
600
+  (0.0ms) ROLLBACK
601
+  (0.0ms) ROLLBACK
602
+  (0.0ms) BEGIN
603
+  (0.0ms) BEGIN
604
+  (0.0ms) ROLLBACK
605
+  (0.0ms) ROLLBACK
606
+  (0.0ms) BEGIN
607
+  (0.1ms) BEGIN
608
+  (0.1ms) SAVEPOINT active_record_2
609
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')
610
+  (0.1ms) RELEASE SAVEPOINT active_record_2
611
+  (0.0ms) SAVEPOINT active_record_2
612
+ SQL (0.2ms) INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2013-06-27 12:53:44', 'email', 7, '2013-06-27 12:53:44', 'test@spudcms.net')
613
+  (0.1ms) RELEASE SAVEPOINT active_record_2
614
+ 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' LIMIT 1
615
+  (0.3ms) ROLLBACK
616
+  (0.0ms) ROLLBACK
617
+  (0.0ms) BEGIN
618
+  (0.0ms) BEGIN
619
+  (0.0ms) SAVEPOINT active_record_2
620
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:53:44', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:53:44')
621
+  (0.1ms) RELEASE SAVEPOINT active_record_2
622
+ 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' LIMIT 1
623
+  (0.5ms) ROLLBACK
624
+  (0.0ms) ROLLBACK
625
+ Connecting to database specified by database.yml
626
+  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS
627
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
628
+  (0.1ms) SELECT DATABASE() as db
629
+  (5.1ms) select table_name from information_schema.views where table_schema = 'spud_inquiries_test'
630
+  (0.8ms) TRUNCATE TABLE `spud_admin_permissions`;
631
+  (1.0ms) TRUNCATE TABLE `spud_inquiries`;
632
+  (0.7ms) TRUNCATE TABLE `spud_inquiry_fields`;
633
+  (0.6ms) TRUNCATE TABLE `spud_inquiry_form_fields`;
634
+  (0.9ms) TRUNCATE TABLE `spud_inquiry_forms`;
635
+  (0.5ms) TRUNCATE TABLE `spud_user_settings`;
636
+  (0.8ms) TRUNCATE TABLE `spud_users`;
637
+  (0.0ms) SET FOREIGN_KEY_CHECKS = 1
638
+  (0.0ms) BEGIN
639
+  (0.0ms) BEGIN
640
+  (0.1ms) SAVEPOINT active_record_2
641
+ SpudInquiryForm Exists (1.5ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
642
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1
643
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 1', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-1')
644
+  (0.1ms) RELEASE SAVEPOINT active_record_2
645
+ Processing by ContactsController#show as HTML
646
+ Parameters: {"id"=>"form-1"}
647
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' LIMIT 1
648
+ 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 field_order ASC
649
+ Rendered /Users/davidestes/projects/spud_rails/spud_inquiries/app/views/contacts/show.html.erb within layouts/application (2.1ms)
650
+ Completed 200 OK in 59ms (Views: 10.6ms | ActiveRecord: 3.1ms)
651
+  (0.7ms) ROLLBACK
652
+  (0.0ms) ROLLBACK
653
+  (0.0ms) BEGIN
654
+  (0.0ms) BEGIN
655
+ Processing by ContactsController#show as HTML
656
+ Parameters: {"id"=>"1234"}
657
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' LIMIT 1
658
+ Redirected to http://test.host/
659
+ Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
660
+  (0.1ms) ROLLBACK
661
+  (0.1ms) ROLLBACK
662
+  (0.0ms) BEGIN
663
+  (0.0ms) BEGIN
664
+  (0.1ms) SAVEPOINT active_record_2
665
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
666
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
667
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 2', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-2')
668
+  (0.1ms) RELEASE SAVEPOINT active_record_2
669
+  (0.2ms) SAVEPOINT active_record_2
670
+ SQL (0.4ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, NULL, '0', 'email', NULL, NULL, 1, 2, '2013-06-27 12:54:21')
671
+  (0.1ms) RELEASE SAVEPOINT active_record_2
672
+ Processing by ContactsController#inquire as HTML
673
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
674
+ Redirected to http://test.host/
675
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
676
+  (0.6ms) ROLLBACK
677
+  (0.0ms) ROLLBACK
678
+  (0.0ms) BEGIN
679
+  (0.1ms) BEGIN
680
+  (0.1ms) SAVEPOINT active_record_2
681
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1
682
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1
683
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 3', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-3')
684
+  (0.0ms) RELEASE SAVEPOINT active_record_2
685
+  (0.0ms) SAVEPOINT active_record_2
686
+ SQL (0.1ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, NULL, '0', 'email', NULL, NULL, 1, 3, '2013-06-27 12:54:21')
687
+  (0.1ms) RELEASE SAVEPOINT active_record_2
688
+ Processing by ContactsController#inquire as HTML
689
+ Redirected to http://test.host/
690
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
691
+  (0.4ms) ROLLBACK
692
+  (0.1ms) ROLLBACK
693
+  (0.0ms) BEGIN
694
+  (0.0ms) BEGIN
695
+  (0.1ms) SAVEPOINT active_record_2
696
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
697
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1
698
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 4', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-4')
699
+  (0.1ms) RELEASE SAVEPOINT active_record_2
700
+  (0.1ms) SAVEPOINT active_record_2
701
+ SQL (0.2ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, NULL, '0', 'email', NULL, NULL, 1, 4, '2013-06-27 12:54:21')
702
+  (0.1ms) RELEASE SAVEPOINT active_record_2
703
+ Processing by ContactsController#inquire as HTML
704
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
705
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 LIMIT 1
706
+ Redirected to http://test.host/
707
+ Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
708
+  (0.3ms) ROLLBACK
709
+  (0.0ms) ROLLBACK
710
+  (0.0ms) BEGIN
711
+  (0.0ms) BEGIN
712
+  (0.1ms) SAVEPOINT active_record_2
713
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1
714
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
715
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 5', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-5')
716
+  (0.0ms) RELEASE SAVEPOINT active_record_2
717
+  (0.1ms) SAVEPOINT active_record_2
718
+ SQL (0.1ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `default_value`, `field_order`, `field_type`, `name`, `options`, `placeholder`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, NULL, '0', 'email', NULL, NULL, 1, 5, '2013-06-27 12:54:21')
719
+  (0.1ms) RELEASE SAVEPOINT active_record_2
720
+ Processing by ContactsController#inquire as HTML
721
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
722
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 LIMIT 1
723
+ SpudInquiryFormField Load (0.3ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order ASC, field_order
724
+ Completed 200 OK in 42ms (Views: 0.9ms | ActiveRecord: 1.9ms)
725
+  (0.6ms) ROLLBACK
726
+  (0.1ms) ROLLBACK
727
+  (0.0ms) BEGIN
728
+  (0.0ms) BEGIN
729
+ Processing by ContactsController#thankyou as HTML
730
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
731
+  (0.1ms) ROLLBACK
732
+  (0.1ms) ROLLBACK
733
+  (0.1ms) BEGIN
734
+  (0.0ms) BEGIN
735
+  (0.1ms) SAVEPOINT active_record_2
736
+ SpudUser Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
737
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
738
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8521890f8771c335aee9be8d58812be78f235bd61561b2d15921b4ec0136a4bf91704bca9a48430b42916bbb775b45a962e061e654e0334e5cbaa62e7a0ce4ea' LIMIT 1
739
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '3fM2pz7XS1USXsCtLk' LIMIT 1
740
+ SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '77fa66ae0a0483e33b86d60ba83c02a4b5da72ffb47df634a1c3f93c445b5a03a0db28c13aaef0f3e83ea610000dee25257a3bd63cbe813e753ce37c532708cf', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, '3kttDR9Gl5ETcQjR9v17', '5LpuZ4zhA2oOZG5CSvYe', '8521890f8771c335aee9be8d58812be78f235bd61561b2d15921b4ec0136a4bf91704bca9a48430b42916bbb775b45a962e061e654e0334e5cbaa62e7a0ce4ea', '3fM2pz7XS1USXsCtLk', 1, NULL, '2013-06-27 12:54:21')
741
+  (0.1ms) RELEASE SAVEPOINT active_record_2
742
+  (0.1ms) SAVEPOINT active_record_2
743
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'f51hskiBA2KCBySVeB6', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 1
744
+  (0.1ms) RELEASE SAVEPOINT active_record_2
745
+  (0.1ms) SAVEPOINT active_record_2
746
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')
747
+  (0.1ms) RELEASE SAVEPOINT active_record_2
748
+  (0.1ms) SAVEPOINT active_record_2
749
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')
750
+  (0.1ms) RELEASE SAVEPOINT active_record_2
751
+ Processing by Spud::Admin::InquiriesController#index as HTML
752
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
753
+ Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.2ms)
754
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries` 
755
+  (0.9ms) ROLLBACK
756
+  (0.0ms) ROLLBACK
757
+  (0.0ms) BEGIN
758
+  (0.0ms) BEGIN
759
+  (0.1ms) SAVEPOINT active_record_2
760
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
761
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
762
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'eb93f2e532e9f631018a76bed3cf16930b2169f6e50ba47fe377ab1e4bf8fa2089f3dbf25681397a9016d98be6b4038bc3fc94a7b0d3d3cf5b4b3380e43939c8' LIMIT 1
763
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'oFH32WRJWNxkrTucRe8G' LIMIT 1
764
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '49933f16715d3c1b3b37e8bc89fbd8cb576f51c96378174f2c55cb449e139ced185f35c9c6d92fe598aad1ccad26abdbd79c64628d89447cf1f60e291666e0b4', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'QOtB61cTAIfBFen5mnC', 'IuLAGASS52OqZJXDA5N2', 'eb93f2e532e9f631018a76bed3cf16930b2169f6e50ba47fe377ab1e4bf8fa2089f3dbf25681397a9016d98be6b4038bc3fc94a7b0d3d3cf5b4b3380e43939c8', 'oFH32WRJWNxkrTucRe8G', 1, NULL, '2013-06-27 12:54:21')
765
+  (0.2ms) RELEASE SAVEPOINT active_record_2
766
+  (0.1ms) SAVEPOINT active_record_2
767
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'QKugtG0N1zH9IkhLHuIf', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 2
768
+  (0.1ms) RELEASE SAVEPOINT active_record_2
769
+  (0.1ms) SAVEPOINT active_record_2
770
+ SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')
771
+  (0.1ms) RELEASE SAVEPOINT active_record_2
772
+ Processing by Spud::Admin::InquiriesController#show as HTML
773
+ Parameters: {"id"=>"3"}
774
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
775
+ SpudInquiry Load (0.3ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 LIMIT 1
776
+ SpudInquiryField Load (0.3ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3 AND `spud_inquiry_fields`.`name` = 'email' LIMIT 1
777
+ Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.8ms)
778
+  (0.5ms) ROLLBACK
779
+  (0.1ms) ROLLBACK
780
+  (0.0ms) BEGIN
781
+  (0.0ms) BEGIN
782
+  (0.1ms) SAVEPOINT active_record_2
783
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
784
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
785
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '83d5ad3eec296ebb10532d9d0e4dd9fcead6f13fdfa17308b721dfdfe57120c46a0d9bcebba62b32300dce3704e4a6deddbd45c7f9fe0df4bfbf692490191ac7' LIMIT 1
786
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8fnjO2yuZHZpbW9dRJ29' LIMIT 1
787
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '4e98f51fdd5bc14e680f6ab38d097adf679262e25522a7e2852f5c58327689c224486ce10b6ee1c72bbb068228429024f06c2dfaae9b9996158d84cb2260978d', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'IEvCTTf149UBPfHgR7rI', 'GKwdpGhcTZzc3Xcj5l9K', '83d5ad3eec296ebb10532d9d0e4dd9fcead6f13fdfa17308b721dfdfe57120c46a0d9bcebba62b32300dce3704e4a6deddbd45c7f9fe0df4bfbf692490191ac7', '8fnjO2yuZHZpbW9dRJ29', 1, NULL, '2013-06-27 12:54:21')
788
+  (0.1ms) RELEASE SAVEPOINT active_record_2
789
+  (0.1ms) SAVEPOINT active_record_2
790
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'xCjYF04Z5ClJ2iZCQZIc', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 3
791
+  (0.1ms) RELEASE SAVEPOINT active_record_2
792
+ Processing by Spud::Admin::InquiriesController#show as HTML
793
+ Parameters: {"id"=>"1234"}
794
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
795
+ SpudInquiry Load (0.3ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 LIMIT 1
796
+ Redirected to http://test.host/spud/admin/inquiries
797
+ Filter chain halted as :load_inquiries rendered or redirected
798
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
799
+  (0.9ms) ROLLBACK
800
+  (0.0ms) ROLLBACK
801
+  (0.0ms) BEGIN
802
+  (0.0ms) BEGIN
803
+  (0.1ms) SAVEPOINT active_record_2
804
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
805
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
806
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'cdde7dabe8ad481f282584468ae55043e2a53072fe48a5008edf067ee6ecba0175fd6c5dc76f8b76a36cbf38f94dacf8d7b24305b328f5b1e192b5a2a47b9588' LIMIT 1
807
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dhgqzPZMc8U2tXy3hrs' LIMIT 1
808
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '465710f68c0a3ed62a016678337e553240e1285a0692df57797bdd3f76160f3ee86f0c59d395dea5c3d9f043edda1835319894cef4a9418affbfa10e91b1ab92', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'vRtbxgivf0c0zGQCbuC', 'pMBR6Mdi7N3keyu52I6', 'cdde7dabe8ad481f282584468ae55043e2a53072fe48a5008edf067ee6ecba0175fd6c5dc76f8b76a36cbf38f94dacf8d7b24305b328f5b1e192b5a2a47b9588', 'dhgqzPZMc8U2tXy3hrs', 1, NULL, '2013-06-27 12:54:21')
809
+  (0.1ms) RELEASE SAVEPOINT active_record_2
810
+  (0.2ms) SAVEPOINT active_record_2
811
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'F1iPFCDqkDPr6RQZIBVi', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 4
812
+  (0.1ms) RELEASE SAVEPOINT active_record_2
813
+  (0.1ms) SAVEPOINT active_record_2
814
+ SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')
815
+  (0.1ms) RELEASE SAVEPOINT active_record_2
816
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries` 
817
+ Processing by Spud::Admin::InquiriesController#destroy as HTML
818
+ Parameters: {"id"=>"4"}
819
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
820
+ SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 LIMIT 1
821
+  (0.1ms) SAVEPOINT active_record_2
822
+ SpudInquiryField Load (0.3ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4
823
+ SQL (0.1ms) DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
824
+  (0.0ms) RELEASE SAVEPOINT active_record_2
825
+ Redirected to http://test.host/spud/admin/inquiries
826
+ Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
827
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries`
828
+  (0.6ms) ROLLBACK
829
+  (0.1ms) ROLLBACK
830
+  (0.0ms) BEGIN
831
+  (0.0ms) BEGIN
832
+  (0.1ms) SAVEPOINT active_record_2
833
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
834
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
835
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'fe659d7462b9f8ce6813b2e7ab8dec4ab761f3d79770a090c9f9e30451186a2d4ee49dfe8679ddd6863fe099cf2914e3a9450d03a348cb6fa0d23f3bbabef609' LIMIT 1
836
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'n7DB9YoDssrKiCYt2H' LIMIT 1
837
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '93eefff9b64c0ef740585d072e799184e7dfa017e855c4801db6a4c72ef690b33f5583d8500d4dbdc5e9b16e78146634fcdd67b54badfc693f003704d5a962c3', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, '7epBflks38DDpX3gqac', '58n3YaXqGFdOKGVappz', 'fe659d7462b9f8ce6813b2e7ab8dec4ab761f3d79770a090c9f9e30451186a2d4ee49dfe8679ddd6863fe099cf2914e3a9450d03a348cb6fa0d23f3bbabef609', 'n7DB9YoDssrKiCYt2H', 1, NULL, '2013-06-27 12:54:21')
838
+  (0.0ms) RELEASE SAVEPOINT active_record_2
839
+  (0.1ms) SAVEPOINT active_record_2
840
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'hkXNqoKoTM2AS7X3c7z', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 5
841
+  (0.1ms) RELEASE SAVEPOINT active_record_2
842
+  (0.0ms) SAVEPOINT active_record_2
843
+ SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')
844
+  (0.1ms) RELEASE SAVEPOINT active_record_2
845
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries`
846
+ Processing by Spud::Admin::InquiriesController#destroy as HTML
847
+ Parameters: {"id"=>"23532"}
848
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
849
+ SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 LIMIT 1
850
+ Redirected to http://test.host/spud/admin/inquiries
851
+ Filter chain halted as :load_inquiries rendered or redirected
852
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
853
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries` 
854
+  (0.6ms) ROLLBACK
855
+  (0.0ms) ROLLBACK
856
+  (0.0ms) BEGIN
857
+  (0.0ms) BEGIN
858
+  (0.1ms) SAVEPOINT active_record_2
859
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
860
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
861
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd07f39a9c6ab3140cb83642bcbf211799d2d183cd7aae64368c407e7a6050b9810eb55ec2a6b37bbe2612899942908d4593a9bd2f007b361c588bed032406ea5' LIMIT 1
862
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'kQ3vBVgSfpnuM4lbQsFJ' LIMIT 1
863
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', 'f35361666c74baef39e2cf042bd0689ce4ffaa1b395670287d2edd9036916605b05d8183f7a1f51d03d7abb33a05bf0366ec4d5c41934b2b8629cebf3a9e7bb3', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'XFvZWGFnWp8ljoceSN9I', 'oGmAqzU5OlMDCUKxrKtT', 'd07f39a9c6ab3140cb83642bcbf211799d2d183cd7aae64368c407e7a6050b9810eb55ec2a6b37bbe2612899942908d4593a9bd2f007b361c588bed032406ea5', 'kQ3vBVgSfpnuM4lbQsFJ', 1, NULL, '2013-06-27 12:54:21')
864
+  (0.2ms) RELEASE SAVEPOINT active_record_2
865
+  (0.1ms) SAVEPOINT active_record_2
866
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'gEsgQHz8g4dT75KHkT', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 6
867
+  (0.0ms) RELEASE SAVEPOINT active_record_2
868
+  (0.0ms) SAVEPOINT active_record_2
869
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1
870
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1
871
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 6', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-6')
872
+  (0.1ms) RELEASE SAVEPOINT active_record_2
873
+  (0.1ms) SAVEPOINT active_record_2
874
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1
875
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1
876
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 7', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-7')
877
+  (0.1ms) RELEASE SAVEPOINT active_record_2
878
+ Processing by Spud::Admin::InquiryFormsController#index as HTML
879
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
880
+ Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.3ms)
881
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms` 
882
+  (0.2ms) ROLLBACK
883
+  (0.0ms) ROLLBACK
884
+  (0.0ms) BEGIN
885
+  (0.0ms) BEGIN
886
+  (0.1ms) SAVEPOINT active_record_2
887
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
888
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
889
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '07ed2582c0c26d3a46c343ac61608f748e79ad8b764795de88d95c392849aa9b1efacdef7ff09511c4dae66acc4c0cd9216eefe0d06e8c3c5c3fff7e27e33aae' LIMIT 1
890
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Y3memzBJGntFSPkJBXqM' LIMIT 1
891
+ SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '56cff70abb055fa33764682ee4a28a7d0903d11d2abdb9fc65a5bb3e87e02aee5180e3a7ce6ed99e2222fd4805ce0abecf92454f8276ea17552f93151bdd7c3a', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, '9qgPfXu8W5mnjvpMkODI', 'Nxy3YLnVSjgm77BAABBS', '07ed2582c0c26d3a46c343ac61608f748e79ad8b764795de88d95c392849aa9b1efacdef7ff09511c4dae66acc4c0cd9216eefe0d06e8c3c5c3fff7e27e33aae', 'Y3memzBJGntFSPkJBXqM', 1, NULL, '2013-06-27 12:54:21')
892
+  (0.0ms) RELEASE SAVEPOINT active_record_2
893
+  (0.1ms) SAVEPOINT active_record_2
894
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'efy3LC8VkoP4goEvaL5', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 7
895
+  (0.0ms) RELEASE SAVEPOINT active_record_2
896
+ Processing by Spud::Admin::InquiryFormsController#new as HTML
897
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
898
+ Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.2ms)
899
+  (0.8ms) ROLLBACK
900
+  (0.1ms) ROLLBACK
901
+  (0.1ms) BEGIN
902
+  (0.0ms) BEGIN
903
+  (0.1ms) SAVEPOINT active_record_2
904
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
905
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
906
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '8ba7695e817b81df771d0887c771e459a463b116061b87a76c27ecba70f09615114d67af2883db8b4ec097feda90e0b86f1a17eb00f4b6d73bd2047d637af7a0' LIMIT 1
907
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'Sg4mDQPuMlIu0k80U' LIMIT 1
908
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '73e32c0afbefa87ac33e0da2a6992fcef4345fd0c69fd667d3a57590f9d03d46fe3983755a7226bb23ea9751301923f24c2f692980cb03005ed5f5a58e973c57', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, '8xAYEultGxMl43y42bOn', 'j9CsMFhzIXAf1y3Btd46', '8ba7695e817b81df771d0887c771e459a463b116061b87a76c27ecba70f09615114d67af2883db8b4ec097feda90e0b86f1a17eb00f4b6d73bd2047d637af7a0', 'Sg4mDQPuMlIu0k80U', 1, NULL, '2013-06-27 12:54:21')
909
+  (0.0ms) RELEASE SAVEPOINT active_record_2
910
+  (0.1ms) SAVEPOINT active_record_2
911
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'EvpV0cpdmHx3smjpJX38', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 8
912
+  (0.0ms) RELEASE SAVEPOINT active_record_2
913
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms` 
914
+ Processing by Spud::Admin::InquiryFormsController#create as HTML
915
+ Parameters: {"spud_inquiry_form"=>{"name"=>"Form 8"}}
916
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
917
+  (0.1ms) SAVEPOINT active_record_2
918
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
919
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1
920
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 8', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-8')
921
+  (0.1ms) RELEASE SAVEPOINT active_record_2
922
+ Redirected to http://test.host/spud/admin/inquiry_forms
923
+ Completed 302 Found in 14ms (ActiveRecord: 0.0ms)
924
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
925
+  (0.5ms) ROLLBACK
926
+  (0.0ms) ROLLBACK
927
+  (0.0ms) BEGIN
928
+  (0.0ms) BEGIN
929
+  (0.1ms) SAVEPOINT active_record_2
930
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
931
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
932
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '6000c6f3402b54b4b9c1eb0703017ce1aff5011fea6b65f4c0e997f13acf918da243c0a7f1eb5050476af75c2eadb2519e8aca5ea5d407af6bddebd07069ecd2' LIMIT 1
933
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XFDcd4ah6L2aPTGvMvS7' LIMIT 1
934
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', 'dc0514b74feaa915062cbeb04dede198b4aabb213410979668ec121d236d9d5ea02cc1406b3d753faa170a0f5e9eab29c1ef3bfce87efe15fadb9a893e5556ed', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'v7DJvo0m0uc7O6qKc1H', 'JTvaBkeyQM9Cjzwugmu', '6000c6f3402b54b4b9c1eb0703017ce1aff5011fea6b65f4c0e997f13acf918da243c0a7f1eb5050476af75c2eadb2519e8aca5ea5d407af6bddebd07069ecd2', 'XFDcd4ah6L2aPTGvMvS7', 1, NULL, '2013-06-27 12:54:21')
935
+  (0.1ms) RELEASE SAVEPOINT active_record_2
936
+  (0.1ms) SAVEPOINT active_record_2
937
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'ZiCmAawJmnW7Kkgr7l', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 9
938
+  (0.1ms) RELEASE SAVEPOINT active_record_2
939
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms` 
940
+ Processing by Spud::Admin::InquiryFormsController#create as HTML
941
+ Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
942
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
943
+  (0.1ms) SAVEPOINT active_record_2
944
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
945
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
946
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_2
947
+ Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 0.0ms)
948
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms` 
949
+  (0.3ms) ROLLBACK
950
+  (0.1ms) ROLLBACK
951
+  (0.1ms) BEGIN
952
+  (0.0ms) BEGIN
953
+  (0.1ms) SAVEPOINT active_record_2
954
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
955
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
956
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2ccd369311c7d0b76dadfd2500660dc6b10fdd5f03bacbf513015a7ff0decd9abe162d8ed46fefd8348c564bb97a914321d4fa4d03b02713b1ae6f211ee6d9ca' LIMIT 1
957
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '8JNZ4hSDJs9p7S8A0h6' LIMIT 1
958
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '56bfb4bc2a708b52af3ea87feacad4297c17054ec36c273eff5aee6bc34c1c639f38cf8d1357388a80f307528a8f3597c44db4bd15e23c536c95cceae499d13d', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'rxDX7TJH0aZDkCjYiCZZ', 'HSWySmCmdPMN0s9srV4M', '2ccd369311c7d0b76dadfd2500660dc6b10fdd5f03bacbf513015a7ff0decd9abe162d8ed46fefd8348c564bb97a914321d4fa4d03b02713b1ae6f211ee6d9ca', '8JNZ4hSDJs9p7S8A0h6', 1, NULL, '2013-06-27 12:54:21')
959
+  (0.1ms) RELEASE SAVEPOINT active_record_2
960
+  (0.1ms) SAVEPOINT active_record_2
961
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'o50EHPtQ0a5oQtOs3ICT', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 10
962
+  (0.0ms) RELEASE SAVEPOINT active_record_2
963
+  (0.0ms) SAVEPOINT active_record_2
964
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
965
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1
966
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 9', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-9')
967
+  (0.1ms) RELEASE SAVEPOINT active_record_2
968
+  (0.1ms) SAVEPOINT active_record_2
969
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1
970
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1
971
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 10', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-10')
972
+  (0.1ms) RELEASE SAVEPOINT active_record_2
973
+ Processing by Spud::Admin::InquiryFormsController#edit as HTML
974
+ Parameters: {"id"=>"10"}
975
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
976
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 LIMIT 1
977
+ Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.4ms)
978
+  (0.6ms) ROLLBACK
979
+  (0.0ms) ROLLBACK
980
+  (0.0ms) BEGIN
981
+  (0.0ms) BEGIN
982
+  (0.1ms) SAVEPOINT active_record_2
983
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
984
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
985
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '0852c6ed9ea74414bcb64c1ca00fdb561e2379abc5b731641c59a6cd28fb958aeeb16ca35ed33ff1b6b18366af4a208ee1f436dedd11ee7b52a0c48618ff40de' LIMIT 1
986
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'YUYlp1R6krdibLPCLhp4' LIMIT 1
987
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '126a8998d5a22e40ed121fd45ae81295b4460df5fb4e5d52dd856fb864d67949236b9747502e52e3a2da2638c1d37b884d1bc9323add186565f276b9fb38310b', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'sjWS9eNMTPFF0GVL6RNQ', '1X61NFvXmj6HFcOIhRNx', '0852c6ed9ea74414bcb64c1ca00fdb561e2379abc5b731641c59a6cd28fb958aeeb16ca35ed33ff1b6b18366af4a208ee1f436dedd11ee7b52a0c48618ff40de', 'YUYlp1R6krdibLPCLhp4', 1, NULL, '2013-06-27 12:54:21')
988
+  (0.1ms) RELEASE SAVEPOINT active_record_2
989
+  (0.1ms) SAVEPOINT active_record_2
990
+  (0.3ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'FjuEBxDbiHhSIKRiUN7e', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 11
991
+  (0.1ms) RELEASE SAVEPOINT active_record_2
992
+ Processing by Spud::Admin::InquiryFormsController#edit as HTML
993
+ Parameters: {"id"=>"1234"}
994
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1
995
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 LIMIT 1
996
+ Redirected to http://test.host/spud/admin/inquiry_forms
997
+ Filter chain halted as :load_form rendered or redirected
998
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
999
+  (0.4ms) ROLLBACK
1000
+  (0.1ms) ROLLBACK
1001
+  (0.1ms) BEGIN
1002
+  (0.0ms) BEGIN
1003
+  (0.1ms) SAVEPOINT active_record_2
1004
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1005
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1006
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '7788a04d424de7287a46049985d557010de0c8f035ed90b5ac3a058fd7f971443dab5d65ae944229167234944a2227a04968f644d64d5cd3c4be698b2895f754' LIMIT 1
1007
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'F87j4IfktH6v4OHSJI7G' LIMIT 1
1008
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', 'e40dae2c2e74e30d1d9916ae25b1f6bbda6316f97ab82f01a6f4b27d9414f3f271c07ef179868384b306dd159b0c72fbf5fb5b282b9bb1a8b09d6da969cb0842', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, '7gQiN402VMqqtYT8PhW2', '4KijJ3BZ68Y9xj4zQUi', '7788a04d424de7287a46049985d557010de0c8f035ed90b5ac3a058fd7f971443dab5d65ae944229167234944a2227a04968f644d64d5cd3c4be698b2895f754', 'F87j4IfktH6v4OHSJI7G', 1, NULL, '2013-06-27 12:54:21')
1009
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1010
+  (0.1ms) SAVEPOINT active_record_2
1011
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'LGft931DN6BClrHq1KVu', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 12
1012
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1013
+  (0.1ms) SAVEPOINT active_record_2
1014
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
1015
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1
1016
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 11', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-11')
1017
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1018
+ Processing by Spud::Admin::InquiryFormsController#update as HTML
1019
+ Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2013-06-27 12:54:21 UTC", "updated_at"=>"2013-06-27 12:54:21 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11", "thank_you_content"=>nil}, "id"=>"11"}
1020
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
1021
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
1022
+  (0.1ms) SAVEPOINT active_record_2
1023
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1
1024
+ 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
1025
+  (0.2ms) UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_inquiry_forms`.`id` = 11
1026
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1027
+ Redirected to http://test.host/spud/admin/inquiry_forms
1028
+ Completed 302 Found in 13ms (ActiveRecord: 0.0ms)
1029
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
1030
+  (4.5ms) ROLLBACK
1031
+  (0.0ms) ROLLBACK
1032
+  (0.0ms) BEGIN
1033
+  (0.0ms) BEGIN
1034
+  (0.1ms) SAVEPOINT active_record_2
1035
+ SpudUser Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1036
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1037
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ea62d1d369ac0ec5a2457f67a54fdca08d332e2efdd347e61db7ed18781f766b828a2959bffb25cda27f18b1c403d323a2184282da67226655ead778528ad8c5' LIMIT 1
1038
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QPRdCZC8xI8XC3kb4tXa' LIMIT 1
1039
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', 'cf841c06287c0c2f26242390eacae4bce555b2dd25917ca4ce8c4464fab880d52c2f1179cff1b2eae6ef6b1f53af36672d74dd9085f811deabce62af5e3812c6', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'kzdYw1IcW1qhooTMeYM', 'KRZuQ4m96Bt37WBS9uc', 'ea62d1d369ac0ec5a2457f67a54fdca08d332e2efdd347e61db7ed18781f766b828a2959bffb25cda27f18b1c403d323a2184282da67226655ead778528ad8c5', 'QPRdCZC8xI8XC3kb4tXa', 1, NULL, '2013-06-27 12:54:21')
1040
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1041
+  (0.1ms) SAVEPOINT active_record_2
1042
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = '2ANklAnZsxXKdqIvkvN', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 13
1043
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1044
+  (0.1ms) SAVEPOINT active_record_2
1045
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
1046
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1
1047
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 12', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-12')
1048
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1049
+ Processing by Spud::Admin::InquiryFormsController#update as HTML
1050
+ Parameters: {"spud_menu"=>{"name"=>"MyMenu", "content"=>nil, "created_at"=>"2013-06-27 12:54:21 UTC", "updated_at"=>"2013-06-27 12:54:21 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12", "thank_you_content"=>nil}, "id"=>"12"}
1051
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
1052
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 LIMIT 1
1053
+  (0.1ms) SAVEPOINT active_record_2
1054
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'Form 12' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
1055
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'form-12' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
1056
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1057
+ Redirected to http://test.host/spud/admin/inquiry_forms
1058
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
1059
+  (0.4ms) ROLLBACK
1060
+  (0.1ms) ROLLBACK
1061
+  (0.0ms) BEGIN
1062
+  (0.0ms) BEGIN
1063
+  (0.1ms) SAVEPOINT active_record_2
1064
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1065
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1066
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '40d6a076583a5afead8883566057d554949c6175dc58346323e1a161bad80f9f52a12f06d1a3e14df4665718da5c8e42a17e36fdc43305d729b7b714fdd2903d' LIMIT 1
1067
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'j4enk5yeaMQ3dvu6FtPC' LIMIT 1
1068
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', '1c9029858a0cec45ca0421c5203fd893a3ff8b1f393bc2aea308aadb77f0ca6be11c0f616f2d9d75ea6a9748f4a49bde01399735a5db5df5d47e4df580d702b5', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'Nu9EmFjZoC2KenvGvVG', 'AB0VSz9YFk4wCGlmIcrv', '40d6a076583a5afead8883566057d554949c6175dc58346323e1a161bad80f9f52a12f06d1a3e14df4665718da5c8e42a17e36fdc43305d729b7b714fdd2903d', 'j4enk5yeaMQ3dvu6FtPC', 1, NULL, '2013-06-27 12:54:21')
1069
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1070
+  (0.1ms) SAVEPOINT active_record_2
1071
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'A6TrbfZNBGNi3qWf3Vy', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 14
1072
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1073
+  (0.1ms) SAVEPOINT active_record_2
1074
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1
1075
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1
1076
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 13', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-13')
1077
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1078
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms` 
1079
+ Processing by Spud::Admin::InquiryFormsController#destroy as HTML
1080
+ Parameters: {"id"=>"13"}
1081
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
1082
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 LIMIT 1
1083
+  (0.1ms) SAVEPOINT active_record_2
1084
+ SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`spud_inquiry_form_id` = 13
1085
+ 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 field_order ASC
1086
+ SQL (0.1ms) DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13
1087
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1088
+ Redirected to http://test.host/spud/admin/inquiry_forms
1089
+ Completed 302 Found in 12ms (ActiveRecord: 0.0ms)
1090
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms` 
1091
+  (0.4ms) ROLLBACK
1092
+  (0.0ms) ROLLBACK
1093
+  (0.0ms) BEGIN
1094
+  (0.0ms) BEGIN
1095
+  (0.1ms) SAVEPOINT active_record_2
1096
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1097
+ SpudUser Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1098
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9ac2da380e20c4580c1152d5c62390b93d8c4a62d2a6249c4afef44d60d628cbf3c6e02b06480cf015218472ea962c84176d727ea9d2ebb484260f8d82af451b' LIMIT 1
1099
+ SpudUser Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'B4TqehVeUlPECuVzYd0E' LIMIT 1
1100
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `current_login_at`, `current_login_ip`, `email`, `failed_login_count`, `first_name`, `last_login_at`, `last_login_ip`, `last_name`, `last_request_at`, `login`, `login_count`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `time_zone`, `updated_at`) VALUES ('2013-06-27 12:54:21', 'd6753d976a4086959b5c27e1b969030780d2613a129be46911cefccba41450635c2a94d2a0a14bee2a8d3a42aa3534641de15f2fbe612176345881d509d16043', '2013-06-27 12:54:21', '0.0.0.0', 'test@testuser.com', 0, NULL, NULL, NULL, NULL, '2013-06-27 12:54:21', 'testuser', 1, 'yBTBblWuR5gwXJvg3lN', 'shCYWsLDD9SpZ2P9jZUL', '9ac2da380e20c4580c1152d5c62390b93d8c4a62d2a6249c4afef44d60d628cbf3c6e02b06480cf015218472ea962c84176d727ea9d2ebb484260f8d82af451b', 'B4TqehVeUlPECuVzYd0E', 1, NULL, '2013-06-27 12:54:21')
1101
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1102
+  (0.0ms) SAVEPOINT active_record_2
1103
+  (0.2ms) UPDATE `spud_users` SET `login_count` = 2, `last_login_at` = '2013-06-27 12:54:21', `last_login_ip` = '0.0.0.0', `perishable_token` = 'rlOVgS4lpPVrv81Xzad', `updated_at` = '2013-06-27 12:54:21' WHERE `spud_users`.`id` = 15
1104
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1105
+  (0.1ms) SAVEPOINT active_record_2
1106
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
1107
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1
1108
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 14', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-14')
1109
+  (19.7ms) RELEASE SAVEPOINT active_record_2
1110
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms` 
1111
+ Processing by Spud::Admin::InquiryFormsController#destroy as HTML
1112
+ Parameters: {"id"=>"23532"}
1113
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1
1114
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 LIMIT 1
1115
+ Redirected to http://test.host/spud/admin/inquiry_forms
1116
+ Filter chain halted as :load_form rendered or redirected
1117
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1118
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
1119
+  (0.4ms) ROLLBACK
1120
+  (0.1ms) ROLLBACK
1121
+  (0.0ms) BEGIN
1122
+  (0.0ms) BEGIN
1123
+ Processing by Spud::Inquiries::SitemapsController#show as XML
1124
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` 
1125
+ Completed 200 OK in 38ms (Views: 36.4ms | ActiveRecord: 0.2ms)
1126
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms`
1127
+  (0.1ms) ROLLBACK
1128
+  (0.0ms) ROLLBACK
1129
+  (0.0ms) BEGIN
1130
+  (0.0ms) BEGIN
1131
+ Processing by Spud::Inquiries::SitemapsController#show as HTML
1132
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` 
1133
+ Completed 406 Not Acceptable in 2ms (ActiveRecord: 0.3ms)
1134
+  (0.2ms) ROLLBACK
1135
+  (0.1ms) ROLLBACK
1136
+  (0.0ms) BEGIN
1137
+  (0.0ms) BEGIN
1138
+  (0.0ms) ROLLBACK
1139
+  (0.0ms) ROLLBACK
1140
+  (0.0ms) BEGIN
1141
+  (0.1ms) BEGIN
1142
+  (0.1ms) SAVEPOINT active_record_2
1143
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')
1144
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1145
+  (0.3ms) ROLLBACK
1146
+  (0.1ms) ROLLBACK
1147
+  (0.1ms) BEGIN
1148
+  (0.1ms) BEGIN
1149
+  (0.0ms) ROLLBACK
1150
+  (0.0ms) ROLLBACK
1151
+  (0.0ms) BEGIN
1152
+  (0.0ms) BEGIN
1153
+  (0.1ms) SAVEPOINT active_record_2
1154
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1
1155
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1
1156
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 15', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-15')
1157
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1158
+  (0.3ms) ROLLBACK
1159
+  (0.1ms) ROLLBACK
1160
+  (0.0ms) BEGIN
1161
+  (0.0ms) BEGIN
1162
+  (0.0ms) SAVEPOINT active_record_2
1163
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1
1164
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1
1165
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 16', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-16')
1166
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1167
+  (0.3ms) ROLLBACK
1168
+  (0.0ms) ROLLBACK
1169
+  (0.0ms) BEGIN
1170
+  (0.0ms) BEGIN
1171
+  (0.0ms) SAVEPOINT active_record_2
1172
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1
1173
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1
1174
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 17', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-17')
1175
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1176
+  (0.2ms) ROLLBACK
1177
+  (0.0ms) ROLLBACK
1178
+  (0.0ms) BEGIN
1179
+  (0.1ms) BEGIN
1180
+  (0.0ms) SAVEPOINT active_record_2
1181
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' LIMIT 1
1182
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-18' LIMIT 1
1183
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Form 18', NULL, NULL, NULL, '2013-06-27 12:54:21', 'form-18')
1184
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1185
+  (0.2ms) ROLLBACK
1186
+  (0.0ms) ROLLBACK
1187
+  (0.0ms) BEGIN
1188
+  (0.0ms) BEGIN
1189
+  (0.0ms) ROLLBACK
1190
+  (0.0ms) ROLLBACK
1191
+  (0.0ms) BEGIN
1192
+  (0.0ms) BEGIN
1193
+  (0.0ms) ROLLBACK
1194
+  (0.0ms) ROLLBACK
1195
+  (0.0ms) BEGIN
1196
+  (0.1ms) BEGIN
1197
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
1198
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
1199
+  (0.1ms) ROLLBACK
1200
+  (0.0ms) ROLLBACK
1201
+  (0.0ms) BEGIN
1202
+  (0.0ms) BEGIN
1203
+  (0.0ms) SAVEPOINT active_record_2
1204
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
1205
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
1206
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`content`, `created_at`, `name`, `recipients`, `subject`, `thank_you_content`, `updated_at`, `url_name`) VALUES (NULL, '2013-06-27 12:54:21', 'Test', NULL, NULL, NULL, '2013-06-27 12:54:21', 'test')
1207
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1208
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
1209
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
1210
+  (0.4ms) ROLLBACK
1211
+  (0.0ms) ROLLBACK
1212
+  (0.0ms) BEGIN
1213
+  (0.0ms) BEGIN
1214
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
1215
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1
1216
+  (0.1ms) ROLLBACK
1217
+  (0.0ms) ROLLBACK
1218
+  (0.0ms) BEGIN
1219
+  (0.0ms) BEGIN
1220
+  (0.0ms) ROLLBACK
1221
+  (0.0ms) ROLLBACK
1222
+  (0.0ms) BEGIN
1223
+  (0.1ms) BEGIN
1224
+  (0.1ms) ROLLBACK
1225
+  (0.0ms) ROLLBACK
1226
+  (0.0ms) BEGIN
1227
+  (0.0ms) BEGIN
1228
+  (0.0ms) SAVEPOINT active_record_2
1229
+ SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')
1230
+  (0.0ms) RELEASE SAVEPOINT active_record_2
1231
+  (0.0ms) SAVEPOINT active_record_2
1232
+ SQL (0.2ms) INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2013-06-27 12:54:21', 'email', 7, '2013-06-27 12:54:21', 'test@spudcms.net')
1233
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1234
+ 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' LIMIT 1
1235
+  (0.3ms) ROLLBACK
1236
+  (0.0ms) ROLLBACK
1237
+  (0.1ms) BEGIN
1238
+  (0.0ms) BEGIN
1239
+  (0.0ms) SAVEPOINT active_record_2
1240
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `email`, `marked_as_read`, `recipients`, `spud_inquiry_form_id`, `subject`, `updated_at`) VALUES ('2013-06-27 12:54:21', NULL, 0, NULL, NULL, NULL, '2013-06-27 12:54:21')
1241
+  (0.1ms) RELEASE SAVEPOINT active_record_2
1242
+ 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' LIMIT 1
1243
+  (0.2ms) ROLLBACK
1244
+  (0.0ms) ROLLBACK