tb_inquiries 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b48608817ae6cafbbde4917e1f9ad1ce8afbbe1d
4
- data.tar.gz: 285c8b320f48e9b799ee2b41478eac1bb7414716
3
+ metadata.gz: a04ffc4a2365be2bf40e7772e107f4be2933de31
4
+ data.tar.gz: 6d45fab04f3204c4f3a0b74d92f127a5ea968f0b
5
5
  SHA512:
6
- metadata.gz: 771744fead4f548d81cccb56775d88656342efa6fa7c437df27f4b6f716d950833295490427835c5328690c19810f15eabe41bc8b0e14c0e3424d68d5e7d9e17
7
- data.tar.gz: 2f7fc8f425ccc1c4c3cb38a64e7be3bc6d52e9a4896480d7b55ae20e031c075b31381764b2694177cf63c3702e1252d5af994494b2036c83feded6b4ea505077
6
+ metadata.gz: 3b7386dbaf09b3af10465b0ef2c3c12e11d4f82b11fd5657d08629b9305f7c4230fffcec921d89b8610372cc0028e7e27f48b040cdf333c6634afe0d2e494b36
7
+ data.tar.gz: 35d89d72af57d6c235efe004d5ad2c1fc03e6ceeb1599f2fea84c979e828ecbfa12aab25cbad263a5168edb87f8fd318eff1323877eedaf9a06cafca1cd190aa
@@ -1,11 +1,6 @@
1
- IMPORTANT NOTE
1
+ Twice Baked Inquiries
2
2
  ==============
3
-
4
- This engine is under review and will likley be replaced at some point in the future. Because of this, I have no plans to release tb_inquiries to Rubygems.org. In the meantime you may continue to reference this gem in your gemfile via git.
5
-
6
- Spud Inquiries
7
- ==============
8
- Spud Inquiries is a Spud Engine designed to make it easier to generate contact forms and send email notifications when these inquiries occur. This engine works great with the spud_cms engine but it is fully capable of running standalone with spud_core.
3
+ TB Inquiries is a TB Engine designed to make it easier to generate contact forms and send email notifications when these inquiries occur. This engine works great with the tb_cms engine but it is fully capable of running standalone with tb_core.
9
4
 
10
5
  Installation/Usage
11
6
  ------------------
@@ -13,7 +8,7 @@ Installation/Usage
13
8
  1. In your Gemfile add the following
14
9
 
15
10
  gem 'tb_core'
16
- gem 'tb_inquiries', :git => "git@bitbucket.org:westlakedesign/tb_inquiries.git"
11
+ gem 'tb_inquiries'
17
12
 
18
13
  2. Run bundle install
19
14
  3. Copy in database migrations to your new rails project
@@ -21,7 +16,7 @@ Installation/Usage
21
16
  bundle exec rake railties:install:migrations
22
17
  rake db:migrate
23
18
 
24
- 4. run a rails server instance and point your browser to /spud/admin
19
+ 4. run a rails server instance and point your browser to /admin
25
20
 
26
21
  Creating a Contact Form
27
22
  -----------------------
@@ -45,9 +40,9 @@ Where "contact" is the name of the form you wish to use (downcased,parameterized
45
40
 
46
41
  Inquiry will default render to the 'application' layout of your application. You can change this by adjusting the configuration option called "base_layout". More configuration options can be found in the Wiki "Configuration" page.
47
42
 
48
- Injecting Forms into Spud CMS Pages
43
+ Injecting Forms into TB CMS Pages
49
44
  -----------------------------------
50
- Spud Supports the use of liquid tags to inject dynamic content into pages. In order to inject a contact form into a spud page simply use the following liquid tag in your content:
45
+ TB Supports the use of liquid tags to inject dynamic content into pages. In order to inject a contact form into a spud page simply use the following liquid tag in your content:
51
46
 
52
47
  ```html
53
48
  {% inquiry Contact %}
@@ -0,0 +1,23 @@
1
+ $(function() {
2
+
3
+ spud.admin.inquiries = {
4
+ editForm: function(){
5
+ $('.btn-form-field-remove').on('click', clickedRemoveField);
6
+ $('.btn-form-field-add').on('click', clickedAddField);
7
+ }
8
+ };
9
+
10
+ var clickedRemoveField = function(e){
11
+ e.preventDefault();
12
+ $(this).prev('.form-field-destroy').val('1');
13
+ $(this).parents('.fields').hide();
14
+ };
15
+
16
+ var clickedAddField = function(e){
17
+ e.preventDefault();
18
+ var newId = new Date().getTime();
19
+ var template = $(this).data('template').replace(/id_placeholder/g, newId);
20
+ $(this).parent().before(template);
21
+ };
22
+
23
+ });
@@ -0,0 +1,11 @@
1
+ module Admin::InquiriesHelper
2
+
3
+ def new_inquiry_form_field(form)
4
+ new_field = SpudInquiryFormField.new()
5
+ fields = form.fields_for(:spud_inquiry_form_fields, new_field, :child_index => 'id_placeholder') do |builder|
6
+ render 'spud_inquiry_form_field_fields', :f => builder
7
+ end
8
+ return fields
9
+ end
10
+
11
+ end
@@ -43,10 +43,14 @@
43
43
  </fieldset>
44
44
  <fieldset>
45
45
  <legend>Fields</legend>
46
-
47
- <%=f.fields_for :spud_inquiry_form_fields do |builder|%>
48
- <%=render "spud_inquiry_form_field_fields",:f => builder%>
49
- <%end%>
50
- <p><%= link_to_add_fields "Add Field", f, :spud_inquiry_form_fields %></p>
46
+ <%= f.fields_for :spud_inquiry_form_fields do |builder|%>
47
+ <%= render "spud_inquiry_form_field_fields", :f => builder %>
48
+ <% end %>
49
+ <p><%= link_to 'Add Field', '#', :class => 'btn btn-primary btn-form-field-add', :data => {:template => "#{new_inquiry_form_field(f)}"} %></p>
51
50
  </fieldset>
52
51
 
52
+ <script>
53
+ $(document).ready(function(){
54
+ spud.admin.inquiries.editForm();
55
+ });
56
+ </script>
@@ -11,8 +11,6 @@
11
11
  <div class="controls">
12
12
  <%=f.select :field_type, [["Text Field",0],["Checkbox",1],["Text Area",2],["Dropdown",3],["Radio",4]]%>
13
13
  </div>
14
-
15
-
16
14
  </div>
17
15
  <div class="control-group">
18
16
  <%=f.label :placeholder,:class => "control-label"%>
@@ -51,6 +49,7 @@
51
49
  </div>
52
50
  </div>
53
51
  <div class="control-group">
54
- <%= link_to_remove_fields "Remove", f %>
52
+ <%= f.hidden_field :_destroy, :class => 'form-field-destroy' %>
53
+ <%= link_to 'Remove', '#', :class => 'btn btn-danger btn-form-field-remove' %>
55
54
  </div>
56
55
  </fieldset>
@@ -4,6 +4,3 @@
4
4
  <%=f.submit "Create Form", :class=>"btn btn-primary","data-loading-text"=>"Saving..."%> or <%=link_to "cancel",spud_admin_inquiry_forms_path,:class => "btn"%>
5
5
  </div>
6
6
  <%end%>
7
-
8
-
9
-
@@ -3,7 +3,7 @@ require 'tb_liquid'
3
3
 
4
4
  module Spud
5
5
  module Inquiries
6
- class Engine < Rails::Engine
6
+ class Engine < Rails::Engine
7
7
  engine_name :spud_inquiries
8
8
 
9
9
  initializer :admin do
@@ -23,6 +23,11 @@ module Spud
23
23
  end
24
24
  Liquid::Template.register_tag('inquiry', Spud::Inquiries::InquiryForm) if defined?(Liquid::Template)
25
25
  end
26
- end
26
+
27
+ initializer :assets do
28
+ Spud::Core.append_admin_javascripts('admin/inquiries/application')
29
+ end
30
+
31
+ end
27
32
  end
28
33
  end
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Inquiries
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -423,3 +423,838 @@ Completed 406 Not Acceptable in 1ms
423
423
   (0.1ms) BEGIN
424
424
  SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-12 21:43:40', '2014-02-12 21:43:40')
425
425
   (0.3ms) ROLLBACK
426
+  (11.8ms) SELECT @@FOREIGN_KEY_CHECKS
427
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
428
+  (10.9ms) SELECT DATABASE() as db
429
+  (38.9ms) select table_name from information_schema.views where table_schema = 'tb_inquiries_test'
430
+  (48.3ms) TRUNCATE TABLE `spud_inquiries`;
431
+  (7.9ms) TRUNCATE TABLE `spud_inquiry_fields`;
432
+  (8.6ms) TRUNCATE TABLE `spud_inquiry_form_fields`;
433
+  (14.6ms) TRUNCATE TABLE `spud_inquiry_forms`;
434
+  (14.6ms) TRUNCATE TABLE `spud_liquid_tags`;
435
+  (9.3ms) TRUNCATE TABLE `spud_permissions`;
436
+  (12.3ms) TRUNCATE TABLE `spud_role_permissions`;
437
+  (4.3ms) TRUNCATE TABLE `spud_roles`;
438
+  (7.8ms) TRUNCATE TABLE `spud_user_settings`;
439
+  (9.5ms) TRUNCATE TABLE `spud_users`;
440
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
441
+  (0.1ms) BEGIN
442
+ SpudInquiryForm Exists (6.8ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
443
+ SpudInquiryForm Exists (0.4ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1
444
+ SQL (11.8ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:16', 'Form 1', '2014-02-23 16:22:16', 'form-1')
445
+ Processing by ContactsController#show as HTML
446
+ Parameters: {"id"=>"form-1"}
447
+ SpudInquiryForm Load (0.4ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
448
+ SpudInquiryFormField Load (0.4ms) 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
449
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
450
+ SpudInquiryFormField Load (0.2ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 1 ORDER BY field_order asc, `spud_inquiry_form_fields`.`field_order` ASC
451
+ Rendered /Users/gregwoods/Source/twice_baked/tb_inquiries/app/views/contacts/show.html.erb within layouts/application (2.2ms)
452
+ Completed 200 OK in 108ms (Views: 12.2ms | ActiveRecord: 45.9ms)
453
+  (5.8ms) ROLLBACK
454
+  (0.2ms) BEGIN
455
+ Processing by ContactsController#show as HTML
456
+ Parameters: {"id"=>"1234"}
457
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
458
+ Redirected to http://test.host/
459
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
460
+  (0.1ms) ROLLBACK
461
+  (0.1ms) BEGIN
462
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
463
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
464
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:17', 'Form 2', '2014-02-23 16:22:17', 'form-2')
465
+ SQL (0.3ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-02-23 16:22:17', 'email', '0', 'email', 1, 2, '2014-02-23 16:22:17')
466
+ Processing by ContactsController#inquire as HTML
467
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
468
+ Redirected to http://test.host/
469
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
470
+  (0.4ms) ROLLBACK
471
+  (0.1ms) BEGIN
472
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1
473
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1
474
+ SQL (0.3ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:17', 'Form 3', '2014-02-23 16:22:17', 'form-3')
475
+ SQL (0.3ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-02-23 16:22:17', 'email', '0', 'email', 1, 3, '2014-02-23 16:22:17')
476
+ Processing by ContactsController#inquire as HTML
477
+ Redirected to http://test.host/
478
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
479
+  (0.4ms) ROLLBACK
480
+  (0.1ms) BEGIN
481
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
482
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1
483
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:17', 'Form 4', '2014-02-23 16:22:17', 'form-4')
484
+ SQL (0.1ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-02-23 16:22:17', 'email', '0', 'email', 1, 4, '2014-02-23 16:22:17')
485
+ Processing by ContactsController#inquire as HTML
486
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
487
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
488
+ Redirected to http://test.host/
489
+ Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
490
+  (0.3ms) ROLLBACK
491
+  (0.1ms) BEGIN
492
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1
493
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
494
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:17', 'Form 5', '2014-02-23 16:22:17', 'form-5')
495
+ SQL (0.2ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-02-23 16:22:17', 'email', '0', 'email', 1, 5, '2014-02-23 16:22:17')
496
+ Processing by ContactsController#inquire as HTML
497
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
498
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
499
+ SpudInquiryFormField Load (0.2ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order asc, `spud_inquiry_form_fields`.`field_order` ASC
500
+ Completed 422 Unprocessable Entity in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms)
501
+  (5.9ms) ROLLBACK
502
+  (0.1ms) BEGIN
503
+ Processing by ContactsController#thankyou as HTML
504
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
505
+  (0.2ms) ROLLBACK
506
+  (0.1ms) BEGIN
507
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
508
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
509
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '30da571820d596bddf7750b8d5661b871ab37d72ecafe109913d94b023e9611b1cbef791608cde9d3e3d0f294bce907a0e247ad63f35178e6cf684faf6e8b636' LIMIT 1
510
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BLBxIo2rkG7IY0tptIK' LIMIT 1
511
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', '78874835758737b08e18f4ed4cef6d8389f022d770e6da3bb1e56e9d4409f75ecbd56f702ae4e6061259109efe5ca326ea543ef79e4d55dcf5c9806dfae43d51', 'test@testuser.com', 'testuser', 'CR3VhjWFjar6yLPPeXx3', 'AzMUd9c2SzvrBNY7HA8', '30da571820d596bddf7750b8d5661b871ab37d72ecafe109913d94b023e9611b1cbef791608cde9d3e3d0f294bce907a0e247ad63f35178e6cf684faf6e8b636', 'BLBxIo2rkG7IY0tptIK', 1, '2014-02-23 16:22:17')
512
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'NeKbIL4XphQLNUxbI4be', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 1
513
+ SQL (2.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:17', '2014-02-23 16:22:17')
514
+ SQL (0.3ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:17', '2014-02-23 16:22:17')
515
+ Processing by Spud::Admin::InquiriesController#index as HTML
516
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
517
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'ciG7DsgVpKPxkYUJX', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 1
518
+ Completed 200 OK in 234ms (Views: 2.6ms | ActiveRecord: 0.5ms)
519
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries`
520
+  (12.6ms) ROLLBACK
521
+  (0.2ms) BEGIN
522
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
523
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
524
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f7625bea170937acfe75bbff3f45ef6227638771554fde935e184a0507c253d76bdc5c0836c8772988a5420cb5c313fbe55fbbcb04c9ddee29c2e00e44d8cd82' LIMIT 1
525
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ON0d6FVtk6CwA15OAFjl' LIMIT 1
526
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', 'e3910b825d18176c9ffe513497a6480d1e052d1fdad45b021d356e2440c984d90c1c791c7ed85932697d3179bc80380328cd032568f3a1ee2ff82f9f307f9ebd', 'test@testuser.com', 'testuser', 'c2NoVL00PjTMqU8WwAFe', '0Sg3U7Oeaha5nwBFd', 'f7625bea170937acfe75bbff3f45ef6227638771554fde935e184a0507c253d76bdc5c0836c8772988a5420cb5c313fbe55fbbcb04c9ddee29c2e00e44d8cd82', 'ON0d6FVtk6CwA15OAFjl', 1, '2014-02-23 16:22:17')
527
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = '1NC8upCZvKfvp37Hs6vd', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 2
528
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:17', '2014-02-23 16:22:17')
529
+ Processing by Spud::Admin::InquiriesController#show as HTML
530
+ Parameters: {"id"=>"3"}
531
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
532
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'cbZXD5GqmEPYA2cidf0', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 2
533
+ SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
534
+ SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3
535
+ Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.8ms)
536
+  (1.7ms) ROLLBACK
537
+  (0.2ms) BEGIN
538
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
539
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
540
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2ce2dde02d2cd60f56ac474df8d11a582c7c291dbb6a79dba6f3ecd652f380c42932b1940243a727f9d14920367106ab5d7c02a808fcd4958772464a62135051' LIMIT 1
541
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BGpy8JObMQMMiC8xGtbm' LIMIT 1
542
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', 'ff082387b4544d2e952bf58c315a7ef0a34bfaff744517f2d7293cac9c29ae439e4cb55bb1199e9b7cd7fa0b8da4a13eb116e913ef09314d6513ce273687b08c', 'test@testuser.com', 'testuser', 'kq7rzDOeR8FbRf5uR9An', '0oY67JGGc30UXAi0DiSQ', '2ce2dde02d2cd60f56ac474df8d11a582c7c291dbb6a79dba6f3ecd652f380c42932b1940243a727f9d14920367106ab5d7c02a808fcd4958772464a62135051', 'BGpy8JObMQMMiC8xGtbm', 1, '2014-02-23 16:22:17')
543
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'Wb0TLGM4UhFFGDDpZRIc', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 3
544
+ Processing by Spud::Admin::InquiriesController#show as HTML
545
+ Parameters: {"id"=>"1234"}
546
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
547
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'ohUqb3swu7b8Cc4e3DZs', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 3
548
+ SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
549
+ Redirected to http://test.host/spud/admin/inquiries
550
+ Filter chain halted as :load_inquiries rendered or redirected
551
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
552
+  (0.9ms) ROLLBACK
553
+  (0.1ms) BEGIN
554
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
555
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
556
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b38d1e8be249b1e8a67b92013ffb1a11c0c397e6ae78b202e828e2d671a98ce3959bfedc266ee617f4da36b9b2d1a781f72686f6ef061deb38eb1d3a6e6d9fe2' LIMIT 1
557
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lO0oA49ZEERgqgdc7j0W' LIMIT 1
558
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', '3d5d61ba0be7f4828339b6df4044e8966b3aba14836ae29820bd57f9f391cc79e54b88c75974e94d6f92a2e7267502b6fe4dc5bbae551d7b12801c4cde4cc085', 'test@testuser.com', 'testuser', '20n0bsTGflc4ADmmN5Ud', 'Epyt7ntP9pWTKiFTYa', 'b38d1e8be249b1e8a67b92013ffb1a11c0c397e6ae78b202e828e2d671a98ce3959bfedc266ee617f4da36b9b2d1a781f72686f6ef061deb38eb1d3a6e6d9fe2', 'lO0oA49ZEERgqgdc7j0W', 1, '2014-02-23 16:22:17')
559
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'OxTi0dz5cnj74nQIhn4', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 4
560
+ SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:17', '2014-02-23 16:22:17')
561
+  (0.4ms) SELECT COUNT(*) FROM `spud_inquiries`
562
+ Processing by Spud::Admin::InquiriesController#destroy as HTML
563
+ Parameters: {"id"=>"4"}
564
+ SpudUser Load (0.4ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
565
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'VC1MANqfVFkLoeK7A7', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 4
566
+ SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
567
+ SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4
568
+ SQL (0.2ms) DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
569
+ Redirected to http://test.host/spud/admin/inquiries
570
+ Completed 302 Found in 7ms (ActiveRecord: 1.3ms)
571
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries`
572
+  (1.1ms) ROLLBACK
573
+  (0.2ms) BEGIN
574
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
575
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
576
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '17a4b151ab03445a9d69d7d42c3e153e8cff9d9a77784eb5ba9141f480f2e43bf435d034bd84e7d0afd226d760df519bac77619eca179faddcf10fc5220cf2e9' LIMIT 1
577
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EiDCLkTvYWMBd2JKEcJu' LIMIT 1
578
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', '449a03be2aca72a330c7fc5fdffea830bc7822014f425239ee5cda19303637ec6a0680887dd53c8cb0cf3ce7c0607251c2dcfe887cdf311e3bd9174053287f5d', 'test@testuser.com', 'testuser', '28jDGcPsvETuKE6uAdV', 'Rt0YF5voWQszydyGqgr', '17a4b151ab03445a9d69d7d42c3e153e8cff9d9a77784eb5ba9141f480f2e43bf435d034bd84e7d0afd226d760df519bac77619eca179faddcf10fc5220cf2e9', 'EiDCLkTvYWMBd2JKEcJu', 1, '2014-02-23 16:22:17')
579
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'e9VkUNI6AWdQLYVD59C', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 5
580
+ SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:17', '2014-02-23 16:22:17')
581
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries`
582
+ Processing by Spud::Admin::InquiriesController#destroy as HTML
583
+ Parameters: {"id"=>"23532"}
584
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
585
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = '91OY39oaPsRBq77DRxt', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 5
586
+ SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
587
+ Redirected to http://test.host/spud/admin/inquiries
588
+ Filter chain halted as :load_inquiries rendered or redirected
589
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
590
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries`
591
+  (0.5ms) ROLLBACK
592
+  (0.1ms) BEGIN
593
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
594
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
595
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '07563e58adb6a8f75ad515eab43bb24e1b1c324bf1bf67135bc37f857d4a6179b3647c579246a49cf3d988aaf725e80e921898131cb723d03399b8e4400dcf84' LIMIT 1
596
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jyKPOIBMpCJzeNnNDlV5' LIMIT 1
597
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', '92105599b4cfb9c76e7b80e1b7270422e0e5d260f851247ea2c8f6d94c1b4d51cc1d31a9948ca205080aa70470c55903e0b8ae6a4afb9acf311f730f1fd91f0a', 'test@testuser.com', 'testuser', 'Cb35mEmlWsz9ky1Wv1GS', 'GrQtHmMOE9gv1KJvuoCJ', '07563e58adb6a8f75ad515eab43bb24e1b1c324bf1bf67135bc37f857d4a6179b3647c579246a49cf3d988aaf725e80e921898131cb723d03399b8e4400dcf84', 'jyKPOIBMpCJzeNnNDlV5', 1, '2014-02-23 16:22:17')
598
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = '9nWs1oTJW5jrTaSQVAOa', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 6
599
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1
600
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1
601
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:17', 'Form 6', '2014-02-23 16:22:17', 'form-6')
602
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1
603
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1
604
+ SQL (0.3ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:17', 'Form 7', '2014-02-23 16:22:17', 'form-7')
605
+ Processing by Spud::Admin::InquiryFormsController#index as HTML
606
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
607
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'HS4SFj0gRyCXhgTeaYnN', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 6
608
+ Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 0.5ms)
609
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
610
+  (1.0ms) ROLLBACK
611
+  (0.1ms) BEGIN
612
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
613
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
614
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9fb63ad2ba1dfee17943d0da3e8df83cb8f085d76bb0f7bacda9d67797eb12c6329066771dc6adb8d933807d8f0cb065100ba4f338f7e1cd5538b579f241f07e' LIMIT 1
615
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QEuMm8SVMN0quasd57' LIMIT 1
616
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', '47642648b3e222d0a1d37c5504d472dd7fb0e439e53999fba5f2af0d639c18c1004ad8379f7a349e6ce4c61fd4d9559beee69f05ddd5dfa56d6b1549acc4bad6', 'test@testuser.com', 'testuser', '0qc2yozDbdWIWjAx71e0', '5kelJdY2cyZRgvoeR63J', '9fb63ad2ba1dfee17943d0da3e8df83cb8f085d76bb0f7bacda9d67797eb12c6329066771dc6adb8d933807d8f0cb065100ba4f338f7e1cd5538b579f241f07e', 'QEuMm8SVMN0quasd57', 1, '2014-02-23 16:22:17')
617
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'CRgByfcmxQoqRG4yNzQ', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 7
618
+ Processing by Spud::Admin::InquiryFormsController#new as HTML
619
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
620
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'JLBSvcLFH9uuIQv8FR08', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 7
621
+ Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.4ms)
622
+  (12.3ms) ROLLBACK
623
+  (0.1ms) BEGIN
624
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
625
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
626
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '12ebfe79b396b381542b4f2f79503a37d28424971b122b160485d34ac68be3736a8392b3ec44edc8ac5441f4567fe1685c2d4c0c621a048d5ae89dbaa1f9152f' LIMIT 1
627
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LlIdUuxQqCc5VjNbOiv' LIMIT 1
628
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', '0734a3f6e3380ec2c8404e43584a53f85bfc5d9517ab8a0c4f818e5c3d12dd6277b3569eca2525657d9a65ce1f9061c53a8726a5fa67e2d32315d09bf3c66628', 'test@testuser.com', 'testuser', 'KgtL37oo91SnHCmaRGX', 'al8pjaGA4j7akGDWT2qR', '12ebfe79b396b381542b4f2f79503a37d28424971b122b160485d34ac68be3736a8392b3ec44edc8ac5441f4567fe1685c2d4c0c621a048d5ae89dbaa1f9152f', 'LlIdUuxQqCc5VjNbOiv', 1, '2014-02-23 16:22:17')
629
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'TdCJjoS515m82XtqLul3', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 8
630
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
631
+ Processing by Spud::Admin::InquiryFormsController#create as HTML
632
+ Parameters: {"spud_inquiry_form"=>{"name"=>"Form 8"}}
633
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
634
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'jmuCdXrEQoUXeirB7x5', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 8
635
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
636
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1
637
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:17', 'Form 8', '2014-02-23 16:22:17', 'form-8')
638
+ Redirected to http://test.host/spud/admin/inquiry_forms
639
+ Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
640
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
641
+  (12.0ms) ROLLBACK
642
+  (0.1ms) BEGIN
643
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
644
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
645
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f2f42102f07719161ea1018ce407be5af2cd75f2b0295cdd2ccc17293a86a10ed9a3cf6357945b45d5944708612f8c4ae50097e6f6af9a9d340a6afbac1cd1b8' LIMIT 1
646
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vrQcKo8xnt9VUwDt1PVN' LIMIT 1
647
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', '81d96e60f6740753c66c808c0a956a2249f5e1038e4591eee3bccc39b51486af421b82954ad3cdd9fcf56f496c0a60574302c463c0b2d64caf7b9a26362ceb6f', 'test@testuser.com', 'testuser', 'XE9ucstAwTDDzZoimXtp', '2UIgFjeG9302EcMPUBI', 'f2f42102f07719161ea1018ce407be5af2cd75f2b0295cdd2ccc17293a86a10ed9a3cf6357945b45d5944708612f8c4ae50097e6f6af9a9d340a6afbac1cd1b8', 'vrQcKo8xnt9VUwDt1PVN', 1, '2014-02-23 16:22:17')
648
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'CgkZLxuJ2GKYWfj2FP6Q', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 9
649
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
650
+ Processing by Spud::Admin::InquiryFormsController#create as HTML
651
+ Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
652
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
653
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'VeMo6BzWUVYGhtfMYtq', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 9
654
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
655
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
656
+ Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.9ms)
657
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
658
+  (0.5ms) ROLLBACK
659
+  (0.1ms) BEGIN
660
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
661
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
662
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a48ce22f375812f21aa36ee3eb60982834f326b0998b817a9dca35d56bc241479056e393e7d4ae60f964e738f39708feb9c897079f76f771fe3b55dcc83820e8' LIMIT 1
663
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PVMrVQbzKs5yT6Qp5It' LIMIT 1
664
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', '8052f0858690d1fefd5fe4f0ec41f9c4590a84ac542ccf3ec08ac42b5c8ae96e5675ff968a8ed26c39301ce2f3aaa431b64cc616b528586da4e400d7d4ab282d', 'test@testuser.com', 'testuser', '2dO7QIc5eZH7pxEf9XUa', 'Hs8cbuJmCOTSw3BsO9tS', 'a48ce22f375812f21aa36ee3eb60982834f326b0998b817a9dca35d56bc241479056e393e7d4ae60f964e738f39708feb9c897079f76f771fe3b55dcc83820e8', 'PVMrVQbzKs5yT6Qp5It', 1, '2014-02-23 16:22:17')
665
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = '9YLfSGlvNVjDrjc2mPTw', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 10
666
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
667
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1
668
+ SQL (0.3ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:17', 'Form 9', '2014-02-23 16:22:17', 'form-9')
669
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1
670
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1
671
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:17', 'Form 10', '2014-02-23 16:22:17', 'form-10')
672
+ Processing by Spud::Admin::InquiryFormsController#edit as HTML
673
+ Parameters: {"id"=>"10"}
674
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
675
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'jeo7nNvDecuDxIrp72', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 10
676
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
677
+ Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.7ms)
678
+  (12.1ms) ROLLBACK
679
+  (0.1ms) BEGIN
680
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
681
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
682
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '383602dd45faf06caa321b17e65045e007266ebf14b0accc6bec9933069e9bbbd036cedd33ccebad089f065067d9f160206463079db2db33243da592d3ef5fd1' LIMIT 1
683
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TGJow66uD3DJEePgY8Q' LIMIT 1
684
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', '0d528c2caf5c3773e7651e5566fc82fbe152a6013bdb93bd29e1754e9aec9e39363edfebe645f446356f1004c33bd206af22124c84fac101d684ec30232d265c', 'test@testuser.com', 'testuser', '6CzIuYHpszBAq93mfuq', 'zuDutr0KyBq9ZdqiaRX', '383602dd45faf06caa321b17e65045e007266ebf14b0accc6bec9933069e9bbbd036cedd33ccebad089f065067d9f160206463079db2db33243da592d3ef5fd1', 'TGJow66uD3DJEePgY8Q', 1, '2014-02-23 16:22:17')
685
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'nvK6Mi1c9ezmdp9xmnj', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 11
686
+ Processing by Spud::Admin::InquiryFormsController#edit as HTML
687
+ Parameters: {"id"=>"1234"}
688
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1
689
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'bcZGfRC310zT9JvzC9J', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 11
690
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
691
+ Redirected to http://test.host/spud/admin/inquiry_forms
692
+ Filter chain halted as :load_form rendered or redirected
693
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
694
+  (1.4ms) ROLLBACK
695
+  (0.2ms) BEGIN
696
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
697
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
698
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c2a34df3123dd6d4771c42ffdc71b89cbb090906760e9ddc483f0a98e94f65a192c6ae95d215ada8f47193ab254f2d3483c2d6fe7eb03502c4075cc20196668c' LIMIT 1
699
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iuz7fSDXd23a8kRjdCem' LIMIT 1
700
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', '3c3fc69d78144001400355076030d4129cdd104a8a532f34ebb9c3b6c81faddc0b0b716c66cdb9d358899f0426c9ae85b50a0daf25957bffadaa090689122d62', 'test@testuser.com', 'testuser', 'UGDy6F35H8SWFs4Lyu', 'QplIQUR4C28PmOKXDs', 'c2a34df3123dd6d4771c42ffdc71b89cbb090906760e9ddc483f0a98e94f65a192c6ae95d215ada8f47193ab254f2d3483c2d6fe7eb03502c4075cc20196668c', 'iuz7fSDXd23a8kRjdCem', 1, '2014-02-23 16:22:17')
701
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'JZMYfi7whFnsQWnJRU7', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 12
702
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
703
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1
704
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:17', 'Form 11', '2014-02-23 16:22:17', 'form-11')
705
+ Processing by Spud::Admin::InquiryFormsController#update as HTML
706
+ Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2014-02-23 16:22:17 UTC", "updated_at"=>"2014-02-23 16:22:17 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11", "thank_you_content"=>nil, "submit_title"=>nil}, "id"=>"11"}
707
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
708
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'IqJhwNZFL4VMFmYcAb1', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 12
709
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
710
+ Unpermitted parameters: created_at, updated_at
711
+ 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
712
+ 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
713
+ SQL (0.3ms) UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_inquiry_forms`.`id` = 11
714
+ SpudLiquidTag Load (0.4ms) SELECT `spud_liquid_tags`.* FROM `spud_liquid_tags` WHERE `spud_liquid_tags`.`tag_name` = 'inquiry' AND `spud_liquid_tags`.`value` IN ('MyForm', 'Form 11')
715
+ Redirected to http://test.host/spud/admin/inquiry_forms
716
+ Completed 302 Found in 43ms (ActiveRecord: 25.7ms)
717
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
718
+  (0.9ms) ROLLBACK
719
+  (0.1ms) BEGIN
720
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
721
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
722
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b14bb912cb3a4f52264970adbe189d13162eef621f245d1318c293f7cc24021867fa0f72c03aa6afa0196c8790a26fe655c7ce13ec427a420bc26484abbaa243' LIMIT 1
723
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dplzz42cnGV7zyhFzgH' LIMIT 1
724
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', 'b969083221c4b4223d961baa3f16449891ceb7c02bdc6e85c441145b10078f8ccd33ee0ba7c2e4dae5a6fea732b65f8a8539181877a671fea429f0c6ee43ece0', 'test@testuser.com', 'testuser', 'Fi3zEYDC0HNV8Xuizrz', 'UqjDslW5DT9eDIfTFyZQ', 'b14bb912cb3a4f52264970adbe189d13162eef621f245d1318c293f7cc24021867fa0f72c03aa6afa0196c8790a26fe655c7ce13ec427a420bc26484abbaa243', 'dplzz42cnGV7zyhFzgH', 1, '2014-02-23 16:22:17')
725
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = '4wKlmyjbkbp4lIl9uSxi', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 13
726
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
727
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1
728
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:17', 'Form 12', '2014-02-23 16:22:17', 'form-12')
729
+ Processing by Spud::Admin::InquiryFormsController#update as HTML
730
+ Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2014-02-23 16:22:17 UTC", "updated_at"=>"2014-02-23 16:22:17 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12", "thank_you_content"=>nil, "submit_title"=>nil}, "id"=>"12"}
731
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
732
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'AoRsldeVMIMhQoORr0r6', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 13
733
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
734
+ Unpermitted parameters: created_at, updated_at
735
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
736
+ 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` != 12) LIMIT 1
737
+ SQL (0.2ms) UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_inquiry_forms`.`id` = 12
738
+ SpudLiquidTag Load (0.3ms) SELECT `spud_liquid_tags`.* FROM `spud_liquid_tags` WHERE `spud_liquid_tags`.`tag_name` = 'inquiry' AND `spud_liquid_tags`.`value` IN ('MyForm', 'Form 12')
739
+ Redirected to http://test.host/spud/admin/inquiry_forms
740
+ Completed 302 Found in 8ms (ActiveRecord: 1.4ms)
741
+  (1.2ms) ROLLBACK
742
+  (0.2ms) BEGIN
743
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
744
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
745
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5c1f4331b4bb59641e3b1d6407d5f1dfadcbba4f5af26fe1e0922c698cdd2be217aa6240f91555912e95bee281dda9841eb4326998a1f50404245db315406130' LIMIT 1
746
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'l4yvKKKp2StQku3FbZq2' LIMIT 1
747
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', '458a735b1ee0c9c6e1dc87e8a856d58cbe8276d741525ab25c0caff3c61d46c57232795fb26d94b23228670985e615881572301044654af3f936b7ef5ced1fe7', 'test@testuser.com', 'testuser', 'BraBChraHYx0TBIm92kw', 'x7CvLMZ5DgdQ2IWDTn', '5c1f4331b4bb59641e3b1d6407d5f1dfadcbba4f5af26fe1e0922c698cdd2be217aa6240f91555912e95bee281dda9841eb4326998a1f50404245db315406130', 'l4yvKKKp2StQku3FbZq2', 1, '2014-02-23 16:22:17')
748
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'OAn2Dc3sAlqsMzb0Ma5', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 14
749
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1
750
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1
751
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:17', 'Form 13', '2014-02-23 16:22:17', 'form-13')
752
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
753
+ Processing by Spud::Admin::InquiryFormsController#destroy as HTML
754
+ Parameters: {"id"=>"13"}
755
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
756
+ SQL (0.2ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = '90FLibX6xffsrzYZ6ije', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 14
757
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
758
+ SQL (0.5ms) UPDATE `spud_inquiries` SET `spud_inquiries`.`spud_inquiry_form_id` = NULL WHERE `spud_inquiries`.`spud_inquiry_form_id` = 13
759
+ SpudInquiryFormField Load (1.8ms) 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
760
+ SQL (0.2ms) DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13
761
+ Redirected to http://test.host/spud/admin/inquiry_forms
762
+ Completed 302 Found in 14ms (ActiveRecord: 3.1ms)
763
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
764
+  (0.8ms) ROLLBACK
765
+  (0.1ms) BEGIN
766
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
767
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
768
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '382ca0a18bc78c9225179b5b12c32d2c94d7404ffa17892644df60c2b075bbfc6d00e4cded166dce3a4c0da0b6b830554c3380849be32502638b132fe29ada2b' LIMIT 1
769
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'v4yp7WH7uTseXMSxFJ' LIMIT 1
770
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-02-23 16:22:17', '3f052989743cfe0493cd0883dc2bce16be365eda441e700ad38d56ce9e630799b1f8f8ed3330f249046622e098b697355a652c2c6e5587d183a430f8219e683b', 'test@testuser.com', 'testuser', '8rTmnILQwYWkHkGssNc', 'KxHOypvjJmuFcW4YN8aw', '382ca0a18bc78c9225179b5b12c32d2c94d7404ffa17892644df60c2b075bbfc6d00e4cded166dce3a4c0da0b6b830554c3380849be32502638b132fe29ada2b', 'v4yp7WH7uTseXMSxFJ', 1, '2014-02-23 16:22:17')
771
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-02-23 16:22:17', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'NOVPcoz38TsTupal1b', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 15
772
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
773
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1
774
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:17', 'Form 14', '2014-02-23 16:22:17', 'form-14')
775
+  (0.3ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
776
+ Processing by Spud::Admin::InquiryFormsController#destroy as HTML
777
+ Parameters: {"id"=>"23532"}
778
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1
779
+ SQL (0.3ms) UPDATE `spud_users` SET `last_request_at` = '2014-02-23 16:22:17', `perishable_token` = 'E814fP1V9fRMnkF59Z6P', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_users`.`id` = 15
780
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
781
+ Redirected to http://test.host/spud/admin/inquiry_forms
782
+ Filter chain halted as :load_form rendered or redirected
783
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
784
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
785
+  (0.5ms) ROLLBACK
786
+  (0.1ms) BEGIN
787
+ Processing by Spud::Inquiries::SitemapsController#show as XML
788
+ Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.0ms)
789
+  (0.1ms) ROLLBACK
790
+  (0.1ms) BEGIN
791
+ Processing by Spud::Inquiries::SitemapsController#show as HTML
792
+ Completed 406 Not Acceptable in 1ms
793
+  (0.1ms) ROLLBACK
794
+  (0.1ms) BEGIN
795
+  (0.1ms) ROLLBACK
796
+  (0.1ms) BEGIN
797
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:18', '2014-02-23 16:22:18')
798
+  (6.1ms) ROLLBACK
799
+  (0.1ms) BEGIN
800
+  (0.1ms) ROLLBACK
801
+  (0.1ms) BEGIN
802
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1
803
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1
804
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:18', 'Form 15', '2014-02-23 16:22:18', 'form-15')
805
+  (5.3ms) ROLLBACK
806
+  (0.1ms) BEGIN
807
+ SpudInquiryForm Exists (0.4ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1
808
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1
809
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:18', 'Form 16', '2014-02-23 16:22:18', 'form-16')
810
+  (0.3ms) ROLLBACK
811
+  (0.1ms) BEGIN
812
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1
813
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1
814
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:18', 'Form 17', '2014-02-23 16:22:18', 'form-17')
815
+  (0.3ms) ROLLBACK
816
+  (0.1ms) BEGIN
817
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' LIMIT 1
818
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-18' LIMIT 1
819
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:18', 'Form 18', '2014-02-23 16:22:18', 'form-18')
820
+  (0.3ms) ROLLBACK
821
+  (0.1ms) BEGIN
822
+  (0.1ms) ROLLBACK
823
+  (0.1ms) BEGIN
824
+  (0.1ms) ROLLBACK
825
+  (0.1ms) BEGIN
826
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
827
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
828
+  (0.1ms) ROLLBACK
829
+  (0.1ms) BEGIN
830
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
831
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
832
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-02-23 16:22:18', 'Test', '2014-02-23 16:22:18', 'test')
833
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
834
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
835
+  (0.3ms) ROLLBACK
836
+  (0.1ms) BEGIN
837
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
838
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1
839
+  (0.1ms) ROLLBACK
840
+  (0.1ms) BEGIN
841
+  (0.1ms) ROLLBACK
842
+  (0.1ms) BEGIN
843
+  (0.1ms) ROLLBACK
844
+  (0.1ms) BEGIN
845
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:18', '2014-02-23 16:22:18')
846
+ SQL (0.2ms) INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2014-02-23 16:22:18', 'email', 7, '2014-02-23 16:22:18', 'test@spudcms.net')
847
+  (0.4ms) ROLLBACK
848
+  (0.1ms) BEGIN
849
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:18', '2014-02-23 16:22:18')
850
+  (0.4ms) ROLLBACK
851
+  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS
852
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
853
+  (0.2ms) SELECT DATABASE() as db
854
+  (61.9ms) select table_name from information_schema.views where table_schema = 'tb_inquiries_test'
855
+  (7.1ms) TRUNCATE TABLE `spud_inquiries`;
856
+  (3.4ms) TRUNCATE TABLE `spud_inquiry_fields`;
857
+  (8.3ms) TRUNCATE TABLE `spud_inquiry_form_fields`;
858
+  (3.3ms) TRUNCATE TABLE `spud_inquiry_forms`;
859
+  (4.5ms) TRUNCATE TABLE `spud_liquid_tags`;
860
+  (1.5ms) TRUNCATE TABLE `spud_permissions`;
861
+  (2.1ms) TRUNCATE TABLE `spud_role_permissions`;
862
+  (2.7ms) TRUNCATE TABLE `spud_roles`;
863
+  (6.3ms) TRUNCATE TABLE `spud_user_settings`;
864
+  (8.7ms) TRUNCATE TABLE `spud_users`;
865
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
866
+  (0.1ms) BEGIN
867
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1
868
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1
869
+ SQL (0.3ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:50', 'Form 1', '2014-06-06 14:05:50', 'form-1')
870
+ Processing by ContactsController#show as HTML
871
+ Parameters: {"id"=>"form-1"}
872
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = 'form-1' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
873
+ SpudInquiryFormField Load (0.4ms) 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
874
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1 LIMIT 1
875
+ SpudInquiryFormField Load (0.2ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 1 ORDER BY field_order asc, `spud_inquiry_form_fields`.`field_order` ASC
876
+ Rendered /Users/gregwoods/Source/twice_baked/tb_inquiries/app/views/contacts/show.html.erb within layouts/application (1.7ms)
877
+ Completed 200 OK in 103ms (Views: 9.8ms | ActiveRecord: 44.9ms)
878
+  (12.2ms) ROLLBACK
879
+  (0.1ms) BEGIN
880
+ Processing by ContactsController#show as HTML
881
+ Parameters: {"id"=>"1234"}
882
+ SpudInquiryForm Load (0.3ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = '1234' ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
883
+ Redirected to http://test.host/
884
+ Completed 302 Found in 1ms (ActiveRecord: 0.3ms)
885
+  (0.1ms) ROLLBACK
886
+  (0.1ms) BEGIN
887
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1
888
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
889
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:51', 'Form 2', '2014-06-06 14:05:51', 'form-2')
890
+ SQL (2.2ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-06-06 14:05:51', 'email', '0', 'email', 1, 2, '2014-06-06 14:05:51')
891
+ Processing by ContactsController#inquire as HTML
892
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"2"}, "other_email"=>"test@spamcastle.com"}
893
+ Redirected to http://test.host/
894
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
895
+  (0.5ms) ROLLBACK
896
+  (0.1ms) BEGIN
897
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1
898
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1
899
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:51', 'Form 3', '2014-06-06 14:05:51', 'form-3')
900
+ SQL (0.2ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-06-06 14:05:51', 'email', '0', 'email', 1, 3, '2014-06-06 14:05:51')
901
+ Processing by ContactsController#inquire as HTML
902
+ Redirected to http://test.host/
903
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
904
+  (0.3ms) ROLLBACK
905
+  (0.1ms) BEGIN
906
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1
907
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1
908
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:51', 'Form 4', '2014-06-06 14:05:51', 'form-4')
909
+ SQL (0.1ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-06-06 14:05:51', 'email', '0', 'email', 1, 4, '2014-06-06 14:05:51')
910
+ Processing by ContactsController#inquire as HTML
911
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"6"}}
912
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
913
+ Redirected to http://test.host/
914
+ Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
915
+  (0.4ms) ROLLBACK
916
+  (0.1ms) BEGIN
917
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1
918
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1
919
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:51', 'Form 5', '2014-06-06 14:05:51', 'form-5')
920
+ SQL (0.1ms) INSERT INTO `spud_inquiry_form_fields` (`created_at`, `field_name`, `field_type`, `name`, `required`, `spud_inquiry_form_id`, `updated_at`) VALUES ('2014-06-06 14:05:51', 'email', '0', 'email', 1, 5, '2014-06-06 14:05:51')
921
+ Processing by ContactsController#inquire as HTML
922
+ Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
923
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
924
+ SpudInquiryFormField Load (0.2ms) SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order asc, `spud_inquiry_form_fields`.`field_order` ASC
925
+ Completed 422 Unprocessable Entity in 10ms (Views: 1.0ms | ActiveRecord: 0.5ms)
926
+  (6.0ms) ROLLBACK
927
+  (0.1ms) BEGIN
928
+ Processing by ContactsController#thankyou as HTML
929
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
930
+  (0.1ms) ROLLBACK
931
+  (0.1ms) BEGIN
932
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
933
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
934
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5b7650cd114f08eb4b17c84711a1fba39340e5e40b6a91ca78913ebef01a95597ccbb92d1e94669772d558eae9842a33bb9e0309e9fe4bfffb85a7c491823544' LIMIT 1
935
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZCDBaAhUz6uzczVX72p6' LIMIT 1
936
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:51', '400$8$2d$85101896fd75767e$30d084d0f207d283687122fb85d22c65122a386442b37b47db84cc1cfc8c90c2', 'test@testuser.com', 'testuser', '5cqpVGbHYxrh8Ng1c', 'gbCS8Lq3qLpliGgSWEm', '5b7650cd114f08eb4b17c84711a1fba39340e5e40b6a91ca78913ebef01a95597ccbb92d1e94669772d558eae9842a33bb9e0309e9fe4bfffb85a7c491823544', 'ZCDBaAhUz6uzczVX72p6', 1, '2014-06-06 14:05:51')
937
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:51', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:51', `perishable_token` = 'C0dh2Z6DBvVip6VAr', `updated_at` = '2014-06-06 14:05:51' WHERE `spud_users`.`id` = 1
938
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:51', '2014-06-06 14:05:51')
939
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:51', '2014-06-06 14:05:51')
940
+ Processing by Spud::Admin::InquiriesController#index as HTML
941
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
942
+ Completed 200 OK in 293ms (Views: 2.6ms | ActiveRecord: 0.3ms)
943
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries`
944
+  (11.7ms) ROLLBACK
945
+  (0.1ms) BEGIN
946
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
947
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
948
+ Spud::SpudUserModel Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd043ab755969add26bbbad38fa5e931239bd8e0ea896cd89cef91d14b486c539c411ad90b43b5266957290c4f6f243c597568db2bf812fb42a49c734874cf05a' LIMIT 1
949
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZzHrrnzoQ9zAEcDVyqc' LIMIT 1
950
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:51', '400$8$3f$c3bdb86c08b422c7$e7beeb555ff1e74a80f2ff5fe83957346c7b6325c20bd889654cb7ae2f10cf64', 'test@testuser.com', 'testuser', 'MSfqzEv81pOyWMOYSPt', 'Hzxboiyqk53BindDJm', 'd043ab755969add26bbbad38fa5e931239bd8e0ea896cd89cef91d14b486c539c411ad90b43b5266957290c4f6f243c597568db2bf812fb42a49c734874cf05a', 'ZzHrrnzoQ9zAEcDVyqc', 1, '2014-06-06 14:05:51')
951
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:51', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:51', `perishable_token` = '2CX0hzXqB0zMYt4vZjLX', `updated_at` = '2014-06-06 14:05:51' WHERE `spud_users`.`id` = 2
952
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:51', '2014-06-06 14:05:51')
953
+ Processing by Spud::Admin::InquiriesController#show as HTML
954
+ Parameters: {"id"=>"3"}
955
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
956
+ SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
957
+ SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3
958
+ Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.6ms)
959
+  (5.9ms) ROLLBACK
960
+  (0.2ms) BEGIN
961
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
962
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
963
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a43a19ab19f4cbbcd23ed551a56b69982c7b6c7ff0791fff9288afe0e3480ced7d888200271ed7b3b31ccd31bfe6730a654d8026688baf8f2d1db89308256d09' LIMIT 1
964
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'scYBLhNtG2UuYmADuNR' LIMIT 1
965
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:51', '400$8$41$4ca5e40a31531a46$ac6fcf466a5fbc0c6254da96bf5dc5f7e52a3ba0d5ac85e739a52ebf32d3580a', 'test@testuser.com', 'testuser', '865vWOhF4Ml2Y5lj3An', 'SPgeZ7YevaWmOUsyoaRH', 'a43a19ab19f4cbbcd23ed551a56b69982c7b6c7ff0791fff9288afe0e3480ced7d888200271ed7b3b31ccd31bfe6730a654d8026688baf8f2d1db89308256d09', 'scYBLhNtG2UuYmADuNR', 1, '2014-06-06 14:05:51')
966
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:51', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:51', `perishable_token` = 'qJPvAqfCEdAr7b9drkha', `updated_at` = '2014-06-06 14:05:51' WHERE `spud_users`.`id` = 3
967
+ Processing by Spud::Admin::InquiriesController#show as HTML
968
+ Parameters: {"id"=>"1234"}
969
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
970
+ SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
971
+ Redirected to http://test.host/spud/admin/inquiries
972
+ Filter chain halted as :load_inquiries rendered or redirected
973
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
974
+  (2.0ms) ROLLBACK
975
+  (0.1ms) BEGIN
976
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
977
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
978
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4b5cfed88b00c14aeab33c5cc98fcccfd70bc62e38dbe97b40b178985cacc160ff7a5e5c43098b3d7aefb90eb03f7a1332588bbb4ca802c8d846421da42425de' LIMIT 1
979
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jl7qCWJyk0jump1ticfA' LIMIT 1
980
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:52', '400$8$3a$3d7c68f3815873db$255ddc929b83ad824ae57758a1c18e6a7e72bab1b9b07e1924256c769bcfcfb6', 'test@testuser.com', 'testuser', 'eRr1Vns5YgwsJT3YLKur', 'kJ5QnUNmWy2iMYTv2qHI', '4b5cfed88b00c14aeab33c5cc98fcccfd70bc62e38dbe97b40b178985cacc160ff7a5e5c43098b3d7aefb90eb03f7a1332588bbb4ca802c8d846421da42425de', 'jl7qCWJyk0jump1ticfA', 1, '2014-06-06 14:05:52')
981
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:52', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:52', `perishable_token` = 'PQPVgF6YmoGwOBW37LRL', `updated_at` = '2014-06-06 14:05:52' WHERE `spud_users`.`id` = 4
982
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:52', '2014-06-06 14:05:52')
983
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries`
984
+ Processing by Spud::Admin::InquiriesController#destroy as HTML
985
+ Parameters: {"id"=>"4"}
986
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
987
+ SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
988
+ SpudInquiryField Load (0.2ms) SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4
989
+ SQL (0.2ms) DELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4
990
+ Redirected to http://test.host/spud/admin/inquiries
991
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
992
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiries`
993
+  (1.7ms) ROLLBACK
994
+  (0.1ms) BEGIN
995
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
996
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
997
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd2c85a9712f3db92104c32b583faf2dee0bfe5f08ae910ee0c41bc3fc7de59a89a8bedf700ac2395f1881ce7abbfa47397a360329e8ef6c7c74af1cccababffc' LIMIT 1
998
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '826kEPdDxVOp7rZRU4c' LIMIT 1
999
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:52', '400$8$38$0dc1c89d3330e892$e5169cd1c620391d4a4ca4e0d92f6deee4eb30df66a0b8b66a0e1063ccbb12a6', 'test@testuser.com', 'testuser', 'MN9pq1dLrdovDkYtJ2SH', 'AgVsdeefJXRgCVUioLW8', 'd2c85a9712f3db92104c32b583faf2dee0bfe5f08ae910ee0c41bc3fc7de59a89a8bedf700ac2395f1881ce7abbfa47397a360329e8ef6c7c74af1cccababffc', '826kEPdDxVOp7rZRU4c', 1, '2014-06-06 14:05:52')
1000
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:52', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:52', `perishable_token` = 'oeJh1CkGntnEd7ineNPp', `updated_at` = '2014-06-06 14:05:52' WHERE `spud_users`.`id` = 5
1001
+ SQL (0.1ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:52', '2014-06-06 14:05:52')
1002
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries`
1003
+ Processing by Spud::Admin::InquiriesController#destroy as HTML
1004
+ Parameters: {"id"=>"23532"}
1005
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1
1006
+ SpudInquiry Load (0.2ms) SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
1007
+ Redirected to http://test.host/spud/admin/inquiries
1008
+ Filter chain halted as :load_inquiries rendered or redirected
1009
+ Completed 302 Found in 2ms (ActiveRecord: 0.3ms)
1010
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiries`
1011
+  (1.9ms) ROLLBACK
1012
+  (0.1ms) BEGIN
1013
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1014
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1015
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '900a49035f4f550b15ea6106142949ac5e24ad9cb5af44b2a8afd28d1d2dfe1bb29ccfc1251f4d294ac7e477fdb729c72a4991e8da95e0d07fafa5c6c3f11291' LIMIT 1
1016
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hg4RCqHB9LJNiaiyzTR' LIMIT 1
1017
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:52', '400$8$39$a82e8a438f7c82eb$8df3fe5379061f1b9d65887bf29548064bf72d33ce211dbc8997f647bfdc1734', 'test@testuser.com', 'testuser', 'T1719xe8HJFNqIy3jVkZ', 'DPoxg1sTc2RJTFg533UG', '900a49035f4f550b15ea6106142949ac5e24ad9cb5af44b2a8afd28d1d2dfe1bb29ccfc1251f4d294ac7e477fdb729c72a4991e8da95e0d07fafa5c6c3f11291', 'hg4RCqHB9LJNiaiyzTR', 1, '2014-06-06 14:05:52')
1018
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:52', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:52', `perishable_token` = 'qlZYmEtFHn6wgNaIQn', `updated_at` = '2014-06-06 14:05:52' WHERE `spud_users`.`id` = 6
1019
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1
1020
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1
1021
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:52', 'Form 6', '2014-06-06 14:05:52', 'form-6')
1022
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1
1023
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1
1024
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:52', 'Form 7', '2014-06-06 14:05:52', 'form-7')
1025
+ Processing by Spud::Admin::InquiryFormsController#index as HTML
1026
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1
1027
+ Completed 200 OK in 7ms (Views: 3.2ms | ActiveRecord: 0.3ms)
1028
+  (0.3ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
1029
+  (6.3ms) ROLLBACK
1030
+  (0.1ms) BEGIN
1031
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1032
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1033
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '839b6f0a141b2d07c5cb8ee0fab95e35efffcfed05ef204f7e6a8efb86425c12b2d7a138c4c6496c4919217687147b73c65c4497be33be3d4d85ae4a2d6cffdf' LIMIT 1
1034
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'musK40M0ZhgzQFPajtQ' LIMIT 1
1035
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:52', '400$8$3c$217aef2bf3078662$a81f772adc29bd853ff6270ecf9b3fb2673bc1fae41d6363fcfd5ac58ef37915', 'test@testuser.com', 'testuser', '06BZ5ImTN2XF8Ttyt710', 'EikQJzJQGyr7kpKT1Wit', '839b6f0a141b2d07c5cb8ee0fab95e35efffcfed05ef204f7e6a8efb86425c12b2d7a138c4c6496c4919217687147b73c65c4497be33be3d4d85ae4a2d6cffdf', 'musK40M0ZhgzQFPajtQ', 1, '2014-06-06 14:05:52')
1036
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:52', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:52', `perishable_token` = 'pOHqxVbJogFANjfk6xfz', `updated_at` = '2014-06-06 14:05:52' WHERE `spud_users`.`id` = 7
1037
+ Processing by Spud::Admin::InquiryFormsController#new as HTML
1038
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
1039
+ Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.3ms)
1040
+  (11.8ms) ROLLBACK
1041
+  (0.1ms) BEGIN
1042
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1043
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1044
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c94a920771841d0da3ae68dd14ef0d53ec71850da712b093e3eaea56e40913dc893c6cf2b547cd282c362eacfbdce429558c928789f7ac8d294400333de22db1' LIMIT 1
1045
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'rHgqGqKzHzbGUkg8ybTx' LIMIT 1
1046
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:52', '400$8$39$de8bff36d7237c7d$a8307ececb28a91918205c9c9d4227e64712f666bf41b659aff4399431f5a2a3', 'test@testuser.com', 'testuser', 'QhaqTYtVDigJCf9QOm', 'K3fw7zblqz3SZDS4TPgw', 'c94a920771841d0da3ae68dd14ef0d53ec71850da712b093e3eaea56e40913dc893c6cf2b547cd282c362eacfbdce429558c928789f7ac8d294400333de22db1', 'rHgqGqKzHzbGUkg8ybTx', 1, '2014-06-06 14:05:52')
1047
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:52', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:52', `perishable_token` = 'Gt68AywTwqqF2aMdp8u', `updated_at` = '2014-06-06 14:05:52' WHERE `spud_users`.`id` = 8
1048
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
1049
+ Processing by Spud::Admin::InquiryFormsController#create as HTML
1050
+ Parameters: {"spud_inquiry_form"=>{"name"=>"Form 8"}}
1051
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
1052
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1
1053
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1
1054
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:52', 'Form 8', '2014-06-06 14:05:52', 'form-8')
1055
+ Redirected to http://test.host/spud/admin/inquiry_forms
1056
+ Completed 302 Found in 10ms (ActiveRecord: 0.6ms)
1057
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
1058
+  (12.3ms) ROLLBACK
1059
+  (0.2ms) BEGIN
1060
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1061
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1062
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ead168145651052b41831049f17b51a8f4e6ee3393fac5a6f324c65be740cb2c49770bb828739d197384df0fdb3b23cec9cc0fcf1dfcc6ef9f9d0d1f15359b8f' LIMIT 1
1063
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'g59HFfExIGiarbnfNZ1f' LIMIT 1
1064
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:52', '400$8$3f$6a4df4336ff89b80$3bbcc60797bcc9acdae9789a31e98afc4a5d107c2e61ace8d72ad93d08b40184', 'test@testuser.com', 'testuser', 'SGk35sasyA7TkGeFdPSs', 'WPapPvXfqHMkHGoczXc', 'ead168145651052b41831049f17b51a8f4e6ee3393fac5a6f324c65be740cb2c49770bb828739d197384df0fdb3b23cec9cc0fcf1dfcc6ef9f9d0d1f15359b8f', 'g59HFfExIGiarbnfNZ1f', 1, '2014-06-06 14:05:52')
1065
+ SQL (0.4ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:52', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:52', `perishable_token` = 'V5AqCMAxFETR68N7LM', `updated_at` = '2014-06-06 14:05:52' WHERE `spud_users`.`id` = 9
1066
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
1067
+ Processing by Spud::Admin::InquiryFormsController#create as HTML
1068
+ Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
1069
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
1070
+ SpudInquiryForm Exists (1.8ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
1071
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
1072
+ Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 2.2ms)
1073
+  (0.1ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
1074
+  (0.5ms) ROLLBACK
1075
+  (0.1ms) BEGIN
1076
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1077
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1078
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd23c55d3daf5ed1b47c2b3b9e72b8aec651442deeafbffe5c6c3550a045d83472936c5af3e04771cc575327bad28d5028753180ba338377cd94b520385b1c86c' LIMIT 1
1079
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9Ahz7IBeVk5rw5og3I6' LIMIT 1
1080
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:52', '400$8$43$ec54f1fd65ffd883$9c76517e6c057ea2b0bca4faa9a539f2943b64e787dd823b8a66b3df933f941b', 'test@testuser.com', 'testuser', 'XQ7wcnBjRLqf8WBeVHzY', 'NRfFtKXG7NfqzZYiDuFG', 'd23c55d3daf5ed1b47c2b3b9e72b8aec651442deeafbffe5c6c3550a045d83472936c5af3e04771cc575327bad28d5028753180ba338377cd94b520385b1c86c', '9Ahz7IBeVk5rw5og3I6', 1, '2014-06-06 14:05:52')
1081
+ SQL (0.2ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:52', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:52', `perishable_token` = 'fWSx4phPNZyQfNWvL8K', `updated_at` = '2014-06-06 14:05:52' WHERE `spud_users`.`id` = 10
1082
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
1083
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1
1084
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:52', 'Form 9', '2014-06-06 14:05:52', 'form-9')
1085
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1
1086
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1
1087
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:52', 'Form 10', '2014-06-06 14:05:52', 'form-10')
1088
+ Processing by Spud::Admin::InquiryFormsController#edit as HTML
1089
+ Parameters: {"id"=>"10"}
1090
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
1091
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
1092
+ Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.4ms)
1093
+  (12.5ms) ROLLBACK
1094
+  (0.1ms) BEGIN
1095
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1096
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1097
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ab37db6f6fda72fa63ddec542673c78fc735d7ae1405d317a21c68f40c90a9aed2579ece931a71c1d3a82ca59f35c0c4ce96791e40aca8ee7eb2edb9aaa31571' LIMIT 1
1098
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7TQtghzbfbOcs15fEqF' LIMIT 1
1099
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:52', '400$8$42$794b85c12a2f2a06$0e3c12774d4910f071f4b21f55d9c09c6db448e6f09ed2c0c686a8a3123a9cfb', 'test@testuser.com', 'testuser', 'BzNWt4ApVGcQ3IdWS8w4', 'jcrM9rROcnI0RYLxJ05', 'ab37db6f6fda72fa63ddec542673c78fc735d7ae1405d317a21c68f40c90a9aed2579ece931a71c1d3a82ca59f35c0c4ce96791e40aca8ee7eb2edb9aaa31571', '7TQtghzbfbOcs15fEqF', 1, '2014-06-06 14:05:52')
1100
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:52', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:52', `perishable_token` = '85f0t0zFEMGmyKNjut', `updated_at` = '2014-06-06 14:05:52' WHERE `spud_users`.`id` = 11
1101
+ Processing by Spud::Admin::InquiryFormsController#edit as HTML
1102
+ Parameters: {"id"=>"1234"}
1103
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1
1104
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
1105
+ Redirected to http://test.host/spud/admin/inquiry_forms
1106
+ Filter chain halted as :load_form rendered or redirected
1107
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
1108
+  (0.4ms) ROLLBACK
1109
+  (0.1ms) BEGIN
1110
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1111
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1112
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'edd7483a9c8b6c9791c63887b9858d3592572c500d26d69764a44bb171a20be2639d313af3bda859815b11eba7c0c99ab621bba099a254791d0c755b9b583484' LIMIT 1
1113
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XMcx4H1FlhJDuHuUTw8' LIMIT 1
1114
+ SQL (0.4ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:53', '400$8$42$8075005d0bbab2d0$c9610c3e57942d02e5a1889cd050e10d7b149a3e652faa9d9e85f75f7f5ab59c', 'test@testuser.com', 'testuser', 'LtalMv7LQzJk9PAxXI4', 'r1VGWr5sALlUHbQsSmpQ', 'edd7483a9c8b6c9791c63887b9858d3592572c500d26d69764a44bb171a20be2639d313af3bda859815b11eba7c0c99ab621bba099a254791d0c755b9b583484', 'XMcx4H1FlhJDuHuUTw8', 1, '2014-06-06 14:05:53')
1115
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:53', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:53', `perishable_token` = 'lfaVAhRdQxoOcF1wCZ5x', `updated_at` = '2014-06-06 14:05:53' WHERE `spud_users`.`id` = 12
1116
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
1117
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1
1118
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:53', 'Form 11', '2014-06-06 14:05:53', 'form-11')
1119
+ Processing by Spud::Admin::InquiryFormsController#update as HTML
1120
+ Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2014-06-06 14:05:53 UTC", "updated_at"=>"2014-06-06 14:05:53 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-11", "thank_you_content"=>nil, "submit_title"=>nil}, "id"=>"11"}
1121
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
1122
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
1123
+ Unpermitted parameters: created_at, updated_at
1124
+ 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
1125
+ SpudInquiryForm Exists (0.6ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1
1126
+ SQL (0.2ms) UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2014-06-06 14:05:53' WHERE `spud_inquiry_forms`.`id` = 11
1127
+ SpudLiquidTag Load (5.5ms) SELECT `spud_liquid_tags`.* FROM `spud_liquid_tags` WHERE `spud_liquid_tags`.`tag_name` = 'inquiry' AND `spud_liquid_tags`.`value` IN ('MyForm', 'Form 11')
1128
+ Redirected to http://test.host/spud/admin/inquiry_forms
1129
+ Completed 302 Found in 38ms (ActiveRecord: 25.4ms)
1130
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1
1131
+  (0.7ms) ROLLBACK
1132
+  (0.1ms) BEGIN
1133
+ Spud::SpudUserModel Exists (0.4ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1134
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1135
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '288ba3db7b69accaeca9e4331279a2c70bd7b72b760045d399b2b8ad72fd7a3d79acb0b63535f03bd39b1744b96e8344f073bba94b591c319bda1919e2300f52' LIMIT 1
1136
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OIljPTXgAoDN09XcqYQw' LIMIT 1
1137
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:53', '400$8$43$556a6e7ddb02a962$6f827f4fc3ab8331aab89907a459282729d1d164a52f39987916f37bb95573ba', 'test@testuser.com', 'testuser', 'iz1jnl81PcXOw1stCrWw', 'ALkJs1HT6Ru7TOvVSB', '288ba3db7b69accaeca9e4331279a2c70bd7b72b760045d399b2b8ad72fd7a3d79acb0b63535f03bd39b1744b96e8344f073bba94b591c319bda1919e2300f52', 'OIljPTXgAoDN09XcqYQw', 1, '2014-06-06 14:05:53')
1138
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:53', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:53', `perishable_token` = 'DWWxRcXijpxjMXU3aNK', `updated_at` = '2014-06-06 14:05:53' WHERE `spud_users`.`id` = 13
1139
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
1140
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1
1141
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:53', 'Form 12', '2014-06-06 14:05:53', 'form-12')
1142
+ Processing by Spud::Admin::InquiryFormsController#update as HTML
1143
+ Parameters: {"spud_inquiry_form"=>{"name"=>"MyForm", "content"=>nil, "created_at"=>"2014-06-06 14:05:53 UTC", "updated_at"=>"2014-06-06 14:05:53 UTC", "recipients"=>nil, "subject"=>nil, "url_name"=>"form-12", "thank_you_content"=>nil, "submit_title"=>nil}, "id"=>"12"}
1144
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1
1145
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
1146
+ Unpermitted parameters: created_at, updated_at
1147
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
1148
+ 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` != 12) LIMIT 1
1149
+ SQL (0.2ms) UPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2014-06-06 14:05:53' WHERE `spud_inquiry_forms`.`id` = 12
1150
+ SpudLiquidTag Load (0.2ms) SELECT `spud_liquid_tags`.* FROM `spud_liquid_tags` WHERE `spud_liquid_tags`.`tag_name` = 'inquiry' AND `spud_liquid_tags`.`value` IN ('MyForm', 'Form 12')
1151
+ Redirected to http://test.host/spud/admin/inquiry_forms
1152
+ Completed 302 Found in 8ms (ActiveRecord: 1.4ms)
1153
+  (2.0ms) ROLLBACK
1154
+  (0.2ms) BEGIN
1155
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1156
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1157
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '20d4add3224767899b45ebe94622e33768e7c8fcb94c7c6718a28f375bc72cea509b8251d9ff5f6dde360e59db8fd10145938701521c28299e025ea205596cec' LIMIT 1
1158
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'K6UQdOCj6yWerCmxoiE' LIMIT 1
1159
+ SQL (0.3ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:53', '400$8$3f$a8da691c0631ac14$d6f1701fb6e387fca031c3210fa5b1e5531ce957a1e22748ca8d836a023269a2', 'test@testuser.com', 'testuser', '2c4GW6BFJXy11eZHZ1TY', '8FGva9F7aglxywLpFVAC', '20d4add3224767899b45ebe94622e33768e7c8fcb94c7c6718a28f375bc72cea509b8251d9ff5f6dde360e59db8fd10145938701521c28299e025ea205596cec', 'K6UQdOCj6yWerCmxoiE', 1, '2014-06-06 14:05:53')
1160
+ SQL (0.3ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:53', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:53', `perishable_token` = 'KdHC7f9vwrKTIBVNlGC', `updated_at` = '2014-06-06 14:05:53' WHERE `spud_users`.`id` = 14
1161
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1
1162
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1
1163
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:53', 'Form 13', '2014-06-06 14:05:53', 'form-13')
1164
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
1165
+ Processing by Spud::Admin::InquiryFormsController#destroy as HTML
1166
+ Parameters: {"id"=>"13"}
1167
+ SpudUser Load (0.3ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
1168
+ SpudInquiryForm Load (0.4ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
1169
+ SQL (1.9ms) UPDATE `spud_inquiries` SET `spud_inquiries`.`spud_inquiry_form_id` = NULL WHERE `spud_inquiries`.`spud_inquiry_form_id` = 13
1170
+ SpudInquiryFormField Load (0.4ms) 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
1171
+ SQL (0.2ms) DELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13
1172
+ Redirected to http://test.host/spud/admin/inquiry_forms
1173
+ Completed 302 Found in 15ms (ActiveRecord: 3.1ms)
1174
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
1175
+  (0.4ms) ROLLBACK
1176
+  (0.1ms) BEGIN
1177
+ Spud::SpudUserModel Exists (0.3ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
1178
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
1179
+ Spud::SpudUserModel Exists (0.1ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '36a539ece9cf466d2ec0addac58a38f43284da9f89523033daf6ca2594e2a59a418434587ca80c545dd2aeca2f4f386e7fdeac7a8afdd610cf3735bc260cbaa4' LIMIT 1
1180
+ Spud::SpudUserModel Exists (0.2ms) SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SoxutrjqWOqAOeB0Wjxc' LIMIT 1
1181
+ SQL (0.2ms) INSERT INTO `spud_users` (`created_at`, `crypted_password`, `email`, `login`, `password_salt`, `perishable_token`, `persistence_token`, `single_access_token`, `super_admin`, `updated_at`) VALUES ('2014-06-06 14:05:53', '400$8$2f$335638b51f4c51e8$27c089b8954548acdf03e1638ac808511adeab20ba4c2fb0eb52ac366bea218a', 'test@testuser.com', 'testuser', 'llNJhsgDpjtCxIKRj7D', 'W8o2qRJsV59TvjTADSGf', '36a539ece9cf466d2ec0addac58a38f43284da9f89523033daf6ca2594e2a59a418434587ca80c545dd2aeca2f4f386e7fdeac7a8afdd610cf3735bc260cbaa4', 'SoxutrjqWOqAOeB0Wjxc', 1, '2014-06-06 14:05:53')
1182
+ SQL (0.4ms) UPDATE `spud_users` SET `login_count` = 1, `current_login_at` = '2014-06-06 14:05:53', `current_login_ip` = '0.0.0.0', `last_request_at` = '2014-06-06 14:05:53', `perishable_token` = 'eBwrKPmwB6BjMHMFqHcl', `updated_at` = '2014-06-06 14:05:53' WHERE `spud_users`.`id` = 15
1183
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1
1184
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1
1185
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:53', 'Form 14', '2014-06-06 14:05:53', 'form-14')
1186
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
1187
+ Processing by Spud::Admin::InquiryFormsController#destroy as HTML
1188
+ Parameters: {"id"=>"23532"}
1189
+ SpudUser Load (0.2ms) SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1
1190
+ SpudInquiryForm Load (0.2ms) SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
1191
+ Redirected to http://test.host/spud/admin/inquiry_forms
1192
+ Filter chain halted as :load_form rendered or redirected
1193
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
1194
+  (0.2ms) SELECT COUNT(*) FROM `spud_inquiry_forms`
1195
+  (2.0ms) ROLLBACK
1196
+  (0.1ms) BEGIN
1197
+ Processing by Spud::Inquiries::SitemapsController#show as XML
1198
+ Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.0ms)
1199
+  (0.1ms) ROLLBACK
1200
+  (0.1ms) BEGIN
1201
+ Processing by Spud::Inquiries::SitemapsController#show as HTML
1202
+ Completed 406 Not Acceptable in 1ms
1203
+  (0.1ms) ROLLBACK
1204
+  (0.1ms) BEGIN
1205
+  (0.1ms) ROLLBACK
1206
+  (0.1ms) BEGIN
1207
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:53', '2014-06-06 14:05:53')
1208
+  (6.2ms) ROLLBACK
1209
+  (0.1ms) BEGIN
1210
+  (0.1ms) ROLLBACK
1211
+  (0.1ms) BEGIN
1212
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1
1213
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1
1214
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:53', 'Form 15', '2014-06-06 14:05:53', 'form-15')
1215
+  (5.0ms) ROLLBACK
1216
+  (0.1ms) BEGIN
1217
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1
1218
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1
1219
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:53', 'Form 16', '2014-06-06 14:05:53', 'form-16')
1220
+  (0.4ms) ROLLBACK
1221
+  (0.1ms) BEGIN
1222
+ SpudInquiryForm Exists (0.3ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1
1223
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1
1224
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:53', 'Form 17', '2014-06-06 14:05:53', 'form-17')
1225
+  (0.4ms) ROLLBACK
1226
+  (0.1ms) BEGIN
1227
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' LIMIT 1
1228
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-18' LIMIT 1
1229
+ SQL (0.1ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:53', 'Form 18', '2014-06-06 14:05:53', 'form-18')
1230
+  (0.4ms) ROLLBACK
1231
+  (0.1ms) BEGIN
1232
+  (0.1ms) ROLLBACK
1233
+  (0.1ms) BEGIN
1234
+  (0.1ms) ROLLBACK
1235
+  (0.1ms) BEGIN
1236
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
1237
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
1238
+  (0.1ms) ROLLBACK
1239
+  (0.1ms) BEGIN
1240
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
1241
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
1242
+ SQL (0.2ms) INSERT INTO `spud_inquiry_forms` (`created_at`, `name`, `updated_at`, `url_name`) VALUES ('2014-06-06 14:05:53', 'Test', '2014-06-06 14:05:53', 'test')
1243
+ SpudInquiryForm Exists (0.1ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
1244
+ SpudInquiryForm Exists (0.4ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
1245
+  (0.3ms) ROLLBACK
1246
+  (0.1ms) BEGIN
1247
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
1248
+ SpudInquiryForm Exists (0.2ms) SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1
1249
+  (0.1ms) ROLLBACK
1250
+  (0.1ms) BEGIN
1251
+  (0.1ms) ROLLBACK
1252
+  (0.1ms) BEGIN
1253
+  (0.1ms) ROLLBACK
1254
+  (0.1ms) BEGIN
1255
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:53', '2014-06-06 14:05:53')
1256
+ SQL (0.2ms) INSERT INTO `spud_inquiry_fields` (`created_at`, `name`, `spud_inquiry_id`, `updated_at`, `value`) VALUES ('2014-06-06 14:05:53', 'email', 7, '2014-06-06 14:05:53', 'test@spudcms.net')
1257
+  (0.4ms) ROLLBACK
1258
+  (0.1ms) BEGIN
1259
+ SQL (0.2ms) INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:53', '2014-06-06 14:05:53')
1260
+  (0.3ms) ROLLBACK
metadata CHANGED
@@ -1,43 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tb_inquiries
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Westlake Design
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-12 00:00:00.000000000 Z
11
+ date: 2014-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 4.0.0
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '4.0'
22
+ version: 4.2.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 4.0.0
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '4.0'
32
+ version: 4.2.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: tb_core
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - ">="
32
38
  - !ruby/object:Gem::Version
33
- version: '1.2'
39
+ version: 1.2.3
34
40
  type: :runtime
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - ">="
39
45
  - !ruby/object:Gem::Version
40
- version: '1.2'
46
+ version: 1.2.3
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: tb_liquid
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -176,14 +182,14 @@ files:
176
182
  - README.markdown
177
183
  - Rakefile
178
184
  - app/assets/images/spud/admin/contacts_thumb.png
179
- - app/assets/javascripts/spud/admin/inquiries.js
180
- - app/assets/javascripts/spud/inquiries/sitemaps.js
185
+ - app/assets/javascripts/admin/inquiries/application.js
181
186
  - app/assets/stylesheets/spud/admin/inquiries.css
182
187
  - app/assets/stylesheets/spud/inquiries/sitemaps.css
183
188
  - app/controllers/contacts_controller.rb
184
189
  - app/controllers/spud/admin/inquiries_controller.rb
185
190
  - app/controllers/spud/admin/inquiry_forms_controller.rb
186
191
  - app/controllers/spud/inquiries/sitemaps_controller.rb
192
+ - app/helpers/admin/inquiries_helper.rb
187
193
  - app/helpers/contacts_helper.rb
188
194
  - app/mailers/spud/inquiry_mailer.rb
189
195
  - app/models/spud_inquiry.rb
@@ -1,8 +0,0 @@
1
- $(function() {
2
- var initWysiwym = function() {
3
- $('textarea.wysiwym').wymeditor({
4
- basePath:'/assets/wymeditor/'
5
- });
6
- }
7
- initWysiwym();
8
- });
@@ -1,2 +0,0 @@
1
- // Place all the behaviors and hooks related to the matching controller here.
2
- // All this logic will automatically be available in application.js.