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 +4 -4
- data/README.markdown +6 -11
- data/app/assets/javascripts/admin/inquiries/application.js +23 -0
- data/app/helpers/admin/inquiries_helper.rb +11 -0
- data/app/views/spud/admin/inquiry_forms/_form.html.erb +9 -5
- data/app/views/spud/admin/inquiry_forms/_spud_inquiry_form_field_fields.html.erb +2 -3
- data/app/views/spud/admin/inquiry_forms/new.html.erb +0 -3
- data/lib/spud_inquiries/engine.rb +7 -2
- data/lib/spud_inquiries/version.rb +1 -1
- data/spec/dummy/log/test.log +835 -0
- metadata +16 -10
- data/app/assets/javascripts/spud/admin/inquiries.js +0 -8
- data/app/assets/javascripts/spud/inquiries/sitemaps.js +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a04ffc4a2365be2bf40e7772e107f4be2933de31
|
4
|
+
data.tar.gz: 6d45fab04f3204c4f3a0b74d92f127a5ea968f0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b7386dbaf09b3af10465b0ef2c3c12e11d4f82b11fd5657d08629b9305f7c4230fffcec921d89b8610372cc0028e7e27f48b040cdf333c6634afe0d2e494b36
|
7
|
+
data.tar.gz: 35d89d72af57d6c235efe004d5ad2c1fc03e6ceeb1599f2fea84c979e828ecbfa12aab25cbad263a5168edb87f8fd318eff1323877eedaf9a06cafca1cd190aa
|
data/README.markdown
CHANGED
@@ -1,11 +1,6 @@
|
|
1
|
-
|
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'
|
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 /
|
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
|
43
|
+
Injecting Forms into TB CMS Pages
|
49
44
|
-----------------------------------
|
50
|
-
|
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
|
-
|
48
|
-
|
49
|
-
|
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
|
-
<%=
|
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>
|
@@ -3,7 +3,7 @@ require 'tb_liquid'
|
|
3
3
|
|
4
4
|
module Spud
|
5
5
|
module Inquiries
|
6
|
-
|
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
|
-
|
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
|
data/spec/dummy/log/test.log
CHANGED
@@ -423,3 +423,838 @@ Completed 406 Not Acceptable in 1ms
|
|
423
423
|
[1m[35m (0.1ms)[0m BEGIN
|
424
424
|
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-12 21:43:40', '2014-02-12 21:43:40')[0m
|
425
425
|
[1m[35m (0.3ms)[0m ROLLBACK
|
426
|
+
[1m[36m (11.8ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
427
|
+
[1m[35m (0.2ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
428
|
+
[1m[36m (10.9ms)[0m [1mSELECT DATABASE() as db[0m
|
429
|
+
[1m[35m (38.9ms)[0m select table_name from information_schema.views where table_schema = 'tb_inquiries_test'
|
430
|
+
[1m[36m (48.3ms)[0m [1mTRUNCATE TABLE `spud_inquiries`;[0m
|
431
|
+
[1m[35m (7.9ms)[0m TRUNCATE TABLE `spud_inquiry_fields`;
|
432
|
+
[1m[36m (8.6ms)[0m [1mTRUNCATE TABLE `spud_inquiry_form_fields`;[0m
|
433
|
+
[1m[35m (14.6ms)[0m TRUNCATE TABLE `spud_inquiry_forms`;
|
434
|
+
[1m[36m (14.6ms)[0m [1mTRUNCATE TABLE `spud_liquid_tags`;[0m
|
435
|
+
[1m[35m (9.3ms)[0m TRUNCATE TABLE `spud_permissions`;
|
436
|
+
[1m[36m (12.3ms)[0m [1mTRUNCATE TABLE `spud_role_permissions`;[0m
|
437
|
+
[1m[35m (4.3ms)[0m TRUNCATE TABLE `spud_roles`;
|
438
|
+
[1m[36m (7.8ms)[0m [1mTRUNCATE TABLE `spud_user_settings`;[0m
|
439
|
+
[1m[35m (9.5ms)[0m TRUNCATE TABLE `spud_users`;
|
440
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
441
|
+
[1m[35m (0.1ms)[0m BEGIN
|
442
|
+
[1m[36mSpudInquiryForm Exists (6.8ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1[0m
|
443
|
+
[1m[35mSpudInquiryForm Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1
|
444
|
+
[1m[36mSQL (11.8ms)[0m [1mINSERT 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')[0m
|
445
|
+
Processing by ContactsController#show as HTML
|
446
|
+
Parameters: {"id"=>"form-1"}
|
447
|
+
[1m[35mSpudInquiryForm Load (0.4ms)[0m 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
|
+
[1m[36mSpudInquiryFormField Load (0.4ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (1) ORDER BY field_order asc[0m
|
449
|
+
[1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
|
450
|
+
[1m[36mSpudInquiryFormField Load (0.2ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 1 ORDER BY field_order asc, `spud_inquiry_form_fields`.`field_order` ASC[0m
|
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
|
+
[1m[35m (5.8ms)[0m ROLLBACK
|
454
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
455
|
+
Processing by ContactsController#show as HTML
|
456
|
+
Parameters: {"id"=>"1234"}
|
457
|
+
[1m[35mSpudInquiryForm Load (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
461
|
+
[1m[35m (0.1ms)[0m BEGIN
|
462
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1[0m
|
463
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
|
464
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
465
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
471
|
+
[1m[35m (0.1ms)[0m BEGIN
|
472
|
+
[1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1[0m
|
473
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1
|
474
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
|
475
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
480
|
+
[1m[35m (0.1ms)[0m BEGIN
|
481
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1[0m
|
482
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1
|
483
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
484
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
|
488
|
+
Redirected to http://test.host/
|
489
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
490
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
491
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
492
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1
|
493
|
+
[1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1[0m
|
494
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
496
|
+
Processing by ContactsController#inquire as HTML
|
497
|
+
Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
|
498
|
+
[1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
|
499
|
+
[1m[36mSpudInquiryFormField Load (0.2ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order asc, `spud_inquiry_form_fields`.`field_order` ASC[0m
|
500
|
+
Completed 422 Unprocessable Entity in 11ms (Views: 1.2ms | ActiveRecord: 0.5ms)
|
501
|
+
[1m[35m (5.9ms)[0m ROLLBACK
|
502
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
503
|
+
Processing by ContactsController#thankyou as HTML
|
504
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
505
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
506
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
507
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
508
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
509
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '30da571820d596bddf7750b8d5661b871ab37d72ecafe109913d94b023e9611b1cbef791608cde9d3e3d0f294bce907a0e247ad63f35178e6cf684faf6e8b636' LIMIT 1
|
510
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BLBxIo2rkG7IY0tptIK' LIMIT 1[0m
|
511
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `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[0m
|
513
|
+
[1m[35mSQL (2.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:17', '2014-02-23 16:22:17')
|
514
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:17', '2014-02-23 16:22:17')[0m
|
515
|
+
Processing by Spud::Admin::InquiriesController#index as HTML
|
516
|
+
[1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 1 LIMIT 1
|
517
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `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[0m
|
518
|
+
Completed 200 OK in 234ms (Views: 2.6ms | ActiveRecord: 0.5ms)
|
519
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
|
520
|
+
[1m[36m (12.6ms)[0m [1mROLLBACK[0m
|
521
|
+
[1m[35m (0.2ms)[0m BEGIN
|
522
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
|
523
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
|
524
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f7625bea170937acfe75bbff3f45ef6227638771554fde935e184a0507c253d76bdc5c0836c8772988a5420cb5c313fbe55fbbcb04c9ddee29c2e00e44d8cd82' LIMIT 1[0m
|
525
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ON0d6FVtk6CwA15OAFjl' LIMIT 1
|
526
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
527
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:17', '2014-02-23 16:22:17')[0m
|
529
|
+
Processing by Spud::Admin::InquiriesController#show as HTML
|
530
|
+
Parameters: {"id"=>"3"}
|
531
|
+
[1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1
|
532
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `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[0m
|
533
|
+
[1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
|
534
|
+
[1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3[0m
|
535
|
+
Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.8ms)
|
536
|
+
[1m[35m (1.7ms)[0m ROLLBACK
|
537
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
538
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
539
|
+
[1m[36mSpud::SpudUserModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
540
|
+
[1m[35mSpud::SpudUserModel Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '2ce2dde02d2cd60f56ac474df8d11a582c7c291dbb6a79dba6f3ecd652f380c42932b1940243a727f9d14920367106ab5d7c02a808fcd4958772464a62135051' LIMIT 1
|
541
|
+
[1m[36mSpud::SpudUserModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'BGpy8JObMQMMiC8xGtbm' LIMIT 1[0m
|
542
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `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[0m
|
544
|
+
Processing by Spud::Admin::InquiriesController#show as HTML
|
545
|
+
Parameters: {"id"=>"1234"}
|
546
|
+
[1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
|
547
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `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[0m
|
548
|
+
[1m[35mSpudInquiry Load (0.2ms)[0m 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
|
+
[1m[36m (0.9ms)[0m [1mROLLBACK[0m
|
553
|
+
[1m[35m (0.1ms)[0m BEGIN
|
554
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
|
555
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
|
556
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b38d1e8be249b1e8a67b92013ffb1a11c0c397e6ae78b202e828e2d671a98ce3959bfedc266ee617f4da36b9b2d1a781f72686f6ef061deb38eb1d3a6e6d9fe2' LIMIT 1[0m
|
557
|
+
[1m[35mSpud::SpudUserModel Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'lO0oA49ZEERgqgdc7j0W' LIMIT 1
|
558
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
|
559
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:17', '2014-02-23 16:22:17')[0m
|
561
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
|
562
|
+
Processing by Spud::Admin::InquiriesController#destroy as HTML
|
563
|
+
Parameters: {"id"=>"4"}
|
564
|
+
[1m[36mSpudUser Load (0.4ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1[0m
|
565
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
|
567
|
+
[1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4
|
568
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
|
569
|
+
Redirected to http://test.host/spud/admin/inquiries
|
570
|
+
Completed 302 Found in 7ms (ActiveRecord: 1.3ms)
|
571
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
|
572
|
+
[1m[36m (1.1ms)[0m [1mROLLBACK[0m
|
573
|
+
[1m[35m (0.2ms)[0m BEGIN
|
574
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
|
575
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
|
576
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '17a4b151ab03445a9d69d7d42c3e153e8cff9d9a77784eb5ba9141f480f2e43bf435d034bd84e7d0afd226d760df519bac77619eca179faddcf10fc5220cf2e9' LIMIT 1[0m
|
577
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'EiDCLkTvYWMBd2JKEcJu' LIMIT 1
|
578
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
579
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:17', '2014-02-23 16:22:17')[0m
|
581
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
|
582
|
+
Processing by Spud::Admin::InquiriesController#destroy as HTML
|
583
|
+
Parameters: {"id"=>"23532"}
|
584
|
+
[1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
|
585
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 23532 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
|
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
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
|
591
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
592
|
+
[1m[35m (0.1ms)[0m BEGIN
|
593
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
|
594
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
|
595
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '07563e58adb6a8f75ad515eab43bb24e1b1c324bf1bf67135bc37f857d4a6179b3647c579246a49cf3d988aaf725e80e921898131cb723d03399b8e4400dcf84' LIMIT 1[0m
|
596
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jyKPOIBMpCJzeNnNDlV5' LIMIT 1
|
597
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
598
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1[0m
|
600
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1
|
601
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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')[0m
|
602
|
+
[1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1
|
603
|
+
[1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1[0m
|
604
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 6 LIMIT 1[0m
|
607
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
|
610
|
+
[1m[35m (1.0ms)[0m ROLLBACK
|
611
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
612
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
613
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
614
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '9fb63ad2ba1dfee17943d0da3e8df83cb8f085d76bb0f7bacda9d67797eb12c6329066771dc6adb8d933807d8f0cb065100ba4f338f7e1cd5538b579f241f07e' LIMIT 1
|
615
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'QEuMm8SVMN0quasd57' LIMIT 1[0m
|
616
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `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[0m
|
618
|
+
Processing by Spud::Admin::InquiryFormsController#new as HTML
|
619
|
+
[1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 7 LIMIT 1
|
620
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `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[0m
|
621
|
+
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.4ms)
|
622
|
+
[1m[35m (12.3ms)[0m ROLLBACK
|
623
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
624
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
625
|
+
[1m[36mSpud::SpudUserModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
626
|
+
[1m[35mSpud::SpudUserModel Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '12ebfe79b396b381542b4f2f79503a37d28424971b122b160485d34ac68be3736a8392b3ec44edc8ac5441f4567fe1685c2d4c0c621a048d5ae89dbaa1f9152f' LIMIT 1
|
627
|
+
[1m[36mSpud::SpudUserModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'LlIdUuxQqCc5VjNbOiv' LIMIT 1[0m
|
628
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `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[0m
|
630
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
|
631
|
+
Processing by Spud::Admin::InquiryFormsController#create as HTML
|
632
|
+
Parameters: {"spud_inquiry_form"=>{"name"=>"Form 8"}}
|
633
|
+
[1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1[0m
|
634
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1[0m
|
636
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1
|
637
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
638
|
+
Redirected to http://test.host/spud/admin/inquiry_forms
|
639
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
640
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
|
641
|
+
[1m[36m (12.0ms)[0m [1mROLLBACK[0m
|
642
|
+
[1m[35m (0.1ms)[0m BEGIN
|
643
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
|
644
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
|
645
|
+
[1m[36mSpud::SpudUserModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'f2f42102f07719161ea1018ce407be5af2cd75f2b0295cdd2ccc17293a86a10ed9a3cf6357945b45d5944708612f8c4ae50097e6f6af9a9d340a6afbac1cd1b8' LIMIT 1[0m
|
646
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'vrQcKo8xnt9VUwDt1PVN' LIMIT 1
|
647
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
|
648
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
|
650
|
+
Processing by Spud::Admin::InquiryFormsController#create as HTML
|
651
|
+
Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
|
652
|
+
[1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
|
653
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `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[0m
|
654
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
|
655
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1[0m
|
656
|
+
Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.9ms)
|
657
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
|
658
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
659
|
+
[1m[35m (0.1ms)[0m BEGIN
|
660
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
|
661
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
|
662
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a48ce22f375812f21aa36ee3eb60982834f326b0998b817a9dca35d56bc241479056e393e7d4ae60f964e738f39708feb9c897079f76f771fe3b55dcc83820e8' LIMIT 1[0m
|
663
|
+
[1m[35mSpud::SpudUserModel Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'PVMrVQbzKs5yT6Qp5It' LIMIT 1
|
664
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
665
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1[0m
|
667
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1
|
668
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
|
669
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1
|
670
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1[0m
|
671
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1[0m
|
675
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
|
677
|
+
Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.7ms)
|
678
|
+
[1m[35m (12.1ms)[0m ROLLBACK
|
679
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
680
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
681
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
682
|
+
[1m[35mSpud::SpudUserModel Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '383602dd45faf06caa321b17e65045e007266ebf14b0accc6bec9933069e9bbbd036cedd33ccebad089f065067d9f160206463079db2db33243da592d3ef5fd1' LIMIT 1
|
683
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'TGJow66uD3DJEePgY8Q' LIMIT 1[0m
|
684
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `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[0m
|
686
|
+
Processing by Spud::Admin::InquiryFormsController#edit as HTML
|
687
|
+
Parameters: {"id"=>"1234"}
|
688
|
+
[1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1
|
689
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `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[0m
|
690
|
+
[1m[35mSpudInquiryForm Load (0.2ms)[0m 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
|
+
[1m[36m (1.4ms)[0m [1mROLLBACK[0m
|
695
|
+
[1m[35m (0.2ms)[0m BEGIN
|
696
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
|
697
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
|
698
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c2a34df3123dd6d4771c42ffdc71b89cbb090906760e9ddc483f0a98e94f65a192c6ae95d215ada8f47193ab254f2d3483c2d6fe7eb03502c4075cc20196668c' LIMIT 1[0m
|
699
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'iuz7fSDXd23a8kRjdCem' LIMIT 1
|
700
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
701
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1[0m
|
703
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1
|
704
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
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
|
+
[1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1
|
708
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `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[0m
|
709
|
+
[1m[35mSpudInquiryForm Load (0.2ms)[0m 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
|
+
[1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1[0m
|
712
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1
|
713
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2014-02-23 16:22:17' WHERE `spud_inquiry_forms`.`id` = 11[0m
|
714
|
+
[1m[35mSpudLiquidTag Load (0.4ms)[0m 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
|
+
[1m[36mSpudInquiryForm Load (0.3ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1[0m
|
718
|
+
[1m[35m (0.9ms)[0m ROLLBACK
|
719
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
720
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
721
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
722
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'b14bb912cb3a4f52264970adbe189d13162eef621f245d1318c293f7cc24021867fa0f72c03aa6afa0196c8790a26fe655c7ce13ec427a420bc26484abbaa243' LIMIT 1
|
723
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'dplzz42cnGV7zyhFzgH' LIMIT 1[0m
|
724
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `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[0m
|
726
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
|
727
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1[0m
|
728
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
|
732
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 12 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
|
734
|
+
Unpermitted parameters: created_at, updated_at
|
735
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
|
736
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1[0m
|
737
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSpudLiquidTag Load (0.3ms)[0m [1mSELECT `spud_liquid_tags`.* FROM `spud_liquid_tags` WHERE `spud_liquid_tags`.`tag_name` = 'inquiry' AND `spud_liquid_tags`.`value` IN ('MyForm', 'Form 12')[0m
|
739
|
+
Redirected to http://test.host/spud/admin/inquiry_forms
|
740
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.4ms)
|
741
|
+
[1m[35m (1.2ms)[0m ROLLBACK
|
742
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
743
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
744
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
745
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5c1f4331b4bb59641e3b1d6407d5f1dfadcbba4f5af26fe1e0922c698cdd2be217aa6240f91555912e95bee281dda9841eb4326998a1f50404245db315406130' LIMIT 1
|
746
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'l4yvKKKp2StQku3FbZq2' LIMIT 1[0m
|
747
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `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[0m
|
749
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1
|
750
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1[0m
|
751
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
|
753
|
+
Processing by Spud::Admin::InquiryFormsController#destroy as HTML
|
754
|
+
Parameters: {"id"=>"13"}
|
755
|
+
[1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1
|
756
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `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[0m
|
757
|
+
[1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
|
758
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE `spud_inquiries` SET `spud_inquiries`.`spud_inquiry_form_id` = NULL WHERE `spud_inquiries`.`spud_inquiry_form_id` = 13[0m
|
759
|
+
[1m[35mSpudInquiryFormField Load (1.8ms)[0m SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 13 ORDER BY field_order asc
|
760
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13[0m
|
761
|
+
Redirected to http://test.host/spud/admin/inquiry_forms
|
762
|
+
Completed 302 Found in 14ms (ActiveRecord: 3.1ms)
|
763
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
|
764
|
+
[1m[36m (0.8ms)[0m [1mROLLBACK[0m
|
765
|
+
[1m[35m (0.1ms)[0m BEGIN
|
766
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
|
767
|
+
[1m[35mSpud::SpudUserModel Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
|
768
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '382ca0a18bc78c9225179b5b12c32d2c94d7404ffa17892644df60c2b075bbfc6d00e4cded166dce3a4c0da0b6b830554c3380849be32502638b132fe29ada2b' LIMIT 1[0m
|
769
|
+
[1m[35mSpud::SpudUserModel Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'v4yp7WH7uTseXMSxFJ' LIMIT 1
|
770
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
771
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1[0m
|
773
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1
|
774
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
775
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
|
776
|
+
Processing by Spud::Admin::InquiryFormsController#destroy as HTML
|
777
|
+
Parameters: {"id"=>"23532"}
|
778
|
+
[1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1[0m
|
779
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 23532 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
|
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
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
|
785
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
786
|
+
[1m[35m (0.1ms)[0m BEGIN
|
787
|
+
Processing by Spud::Inquiries::SitemapsController#show as XML
|
788
|
+
Completed 200 OK in 17ms (Views: 15.2ms | ActiveRecord: 0.0ms)
|
789
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
790
|
+
[1m[35m (0.1ms)[0m BEGIN
|
791
|
+
Processing by Spud::Inquiries::SitemapsController#show as HTML
|
792
|
+
Completed 406 Not Acceptable in 1ms
|
793
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
794
|
+
[1m[35m (0.1ms)[0m BEGIN
|
795
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
796
|
+
[1m[35m (0.1ms)[0m BEGIN
|
797
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:18', '2014-02-23 16:22:18')[0m
|
798
|
+
[1m[35m (6.1ms)[0m ROLLBACK
|
799
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
800
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
801
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
802
|
+
[1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1
|
803
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1[0m
|
804
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (5.3ms)[0m [1mROLLBACK[0m
|
806
|
+
[1m[35m (0.1ms)[0m BEGIN
|
807
|
+
[1m[36mSpudInquiryForm Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1[0m
|
808
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1
|
809
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
810
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
811
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
812
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1
|
813
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1[0m
|
814
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
816
|
+
[1m[35m (0.1ms)[0m BEGIN
|
817
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' LIMIT 1[0m
|
818
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-18' LIMIT 1
|
819
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
820
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
821
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
822
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
823
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
824
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
825
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
826
|
+
[1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1
|
827
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1[0m
|
828
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
829
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
830
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
|
831
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
|
832
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
|
834
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
|
835
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
836
|
+
[1m[35m (0.1ms)[0m BEGIN
|
837
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1[0m
|
838
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1
|
839
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
840
|
+
[1m[35m (0.1ms)[0m BEGIN
|
841
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
842
|
+
[1m[35m (0.1ms)[0m BEGIN
|
843
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
844
|
+
[1m[35m (0.1ms)[0m BEGIN
|
845
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:18', '2014-02-23 16:22:18')[0m
|
846
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
848
|
+
[1m[35m (0.1ms)[0m BEGIN
|
849
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-02-23 16:22:18', '2014-02-23 16:22:18')[0m
|
850
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
851
|
+
[1m[36m (0.1ms)[0m [1mSELECT @@FOREIGN_KEY_CHECKS[0m
|
852
|
+
[1m[35m (0.1ms)[0m SET FOREIGN_KEY_CHECKS = 0
|
853
|
+
[1m[36m (0.2ms)[0m [1mSELECT DATABASE() as db[0m
|
854
|
+
[1m[35m (61.9ms)[0m select table_name from information_schema.views where table_schema = 'tb_inquiries_test'
|
855
|
+
[1m[36m (7.1ms)[0m [1mTRUNCATE TABLE `spud_inquiries`;[0m
|
856
|
+
[1m[35m (3.4ms)[0m TRUNCATE TABLE `spud_inquiry_fields`;
|
857
|
+
[1m[36m (8.3ms)[0m [1mTRUNCATE TABLE `spud_inquiry_form_fields`;[0m
|
858
|
+
[1m[35m (3.3ms)[0m TRUNCATE TABLE `spud_inquiry_forms`;
|
859
|
+
[1m[36m (4.5ms)[0m [1mTRUNCATE TABLE `spud_liquid_tags`;[0m
|
860
|
+
[1m[35m (1.5ms)[0m TRUNCATE TABLE `spud_permissions`;
|
861
|
+
[1m[36m (2.1ms)[0m [1mTRUNCATE TABLE `spud_role_permissions`;[0m
|
862
|
+
[1m[35m (2.7ms)[0m TRUNCATE TABLE `spud_roles`;
|
863
|
+
[1m[36m (6.3ms)[0m [1mTRUNCATE TABLE `spud_user_settings`;[0m
|
864
|
+
[1m[35m (8.7ms)[0m TRUNCATE TABLE `spud_users`;
|
865
|
+
[1m[36m (0.2ms)[0m [1mSET FOREIGN_KEY_CHECKS = 1[0m
|
866
|
+
[1m[35m (0.1ms)[0m BEGIN
|
867
|
+
[1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 1' LIMIT 1[0m
|
868
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-1' LIMIT 1
|
869
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
|
870
|
+
Processing by ContactsController#show as HTML
|
871
|
+
Parameters: {"id"=>"form-1"}
|
872
|
+
[1m[35mSpudInquiryForm Load (0.3ms)[0m 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
|
+
[1m[36mSpudInquiryFormField Load (0.4ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` IN (1) ORDER BY field_order asc[0m
|
874
|
+
[1m[35mSpudInquiryForm Load (0.3ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1 LIMIT 1
|
875
|
+
[1m[36mSpudInquiryFormField Load (0.2ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 1 ORDER BY field_order asc, `spud_inquiry_form_fields`.`field_order` ASC[0m
|
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
|
+
[1m[35m (12.2ms)[0m ROLLBACK
|
879
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
880
|
+
Processing by ContactsController#show as HTML
|
881
|
+
Parameters: {"id"=>"1234"}
|
882
|
+
[1m[35mSpudInquiryForm Load (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
886
|
+
[1m[35m (0.1ms)[0m BEGIN
|
887
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 2' LIMIT 1[0m
|
888
|
+
[1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-2' LIMIT 1
|
889
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
890
|
+
[1m[35mSQL (2.2ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mROLLBACK[0m
|
896
|
+
[1m[35m (0.1ms)[0m BEGIN
|
897
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 3' LIMIT 1[0m
|
898
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-3' LIMIT 1
|
899
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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')[0m
|
900
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
905
|
+
[1m[35m (0.1ms)[0m BEGIN
|
906
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 4' LIMIT 1[0m
|
907
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-4' LIMIT 1
|
908
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
909
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 6 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
|
913
|
+
Redirected to http://test.host/
|
914
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.2ms)
|
915
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
916
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
917
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 5' LIMIT 1
|
918
|
+
[1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-5' LIMIT 1[0m
|
919
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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')[0m
|
921
|
+
Processing by ContactsController#inquire as HTML
|
922
|
+
Parameters: {"spud_inquiry"=>{"spud_inquiry_form_id"=>"5"}}
|
923
|
+
[1m[35mSpudInquiryForm Load (0.2ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 5 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
|
924
|
+
[1m[36mSpudInquiryFormField Load (0.2ms)[0m [1mSELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 5 ORDER BY field_order asc, `spud_inquiry_form_fields`.`field_order` ASC[0m
|
925
|
+
Completed 422 Unprocessable Entity in 10ms (Views: 1.0ms | ActiveRecord: 0.5ms)
|
926
|
+
[1m[35m (6.0ms)[0m ROLLBACK
|
927
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
928
|
+
Processing by ContactsController#thankyou as HTML
|
929
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
930
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
931
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
932
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
933
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
934
|
+
[1m[35mSpud::SpudUserModel Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '5b7650cd114f08eb4b17c84711a1fba39340e5e40b6a91ca78913ebef01a95597ccbb92d1e94669772d558eae9842a33bb9e0309e9fe4bfffb85a7c491823544' LIMIT 1
|
935
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZCDBaAhUz6uzczVX72p6' LIMIT 1[0m
|
936
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `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[0m
|
938
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:51', '2014-06-06 14:05:51')
|
939
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:51', '2014-06-06 14:05:51')[0m
|
940
|
+
Processing by Spud::Admin::InquiriesController#index as HTML
|
941
|
+
[1m[35mSpudUser Load (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries`[0m
|
944
|
+
[1m[35m (11.7ms)[0m ROLLBACK
|
945
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
946
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
947
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
948
|
+
[1m[35mSpud::SpudUserModel Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd043ab755969add26bbbad38fa5e931239bd8e0ea896cd89cef91d14b486c539c411ad90b43b5266957290c4f6f243c597568db2bf812fb42a49c734874cf05a' LIMIT 1
|
949
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'ZzHrrnzoQ9zAEcDVyqc' LIMIT 1[0m
|
950
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `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[0m
|
952
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 2 LIMIT 1[0m
|
956
|
+
[1m[35mSpudInquiry Load (0.2ms)[0m SELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 3 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1
|
957
|
+
[1m[36mSpudInquiryField Load (0.2ms)[0m [1mSELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 3[0m
|
958
|
+
Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.6ms)
|
959
|
+
[1m[35m (5.9ms)[0m ROLLBACK
|
960
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
961
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
962
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
963
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'a43a19ab19f4cbbcd23ed551a56b69982c7b6c7ff0791fff9288afe0e3480ced7d888200271ed7b3b31ccd31bfe6730a654d8026688baf8f2d1db89308256d09' LIMIT 1
|
964
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'scYBLhNtG2UuYmADuNR' LIMIT 1[0m
|
965
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `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[0m
|
967
|
+
Processing by Spud::Admin::InquiriesController#show as HTML
|
968
|
+
Parameters: {"id"=>"1234"}
|
969
|
+
[1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 3 LIMIT 1
|
970
|
+
[1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 1234 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
|
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
|
+
[1m[35m (2.0ms)[0m ROLLBACK
|
975
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
976
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
977
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
978
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '4b5cfed88b00c14aeab33c5cc98fcccfd70bc62e38dbe97b40b178985cacc160ff7a5e5c43098b3d7aefb90eb03f7a1332588bbb4ca802c8d846421da42425de' LIMIT 1
|
979
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'jl7qCWJyk0jump1ticfA' LIMIT 1[0m
|
980
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `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[0m
|
982
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:52', '2014-06-06 14:05:52')
|
983
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries`[0m
|
984
|
+
Processing by Spud::Admin::InquiriesController#destroy as HTML
|
985
|
+
Parameters: {"id"=>"4"}
|
986
|
+
[1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 4 LIMIT 1
|
987
|
+
[1m[36mSpudInquiry Load (0.2ms)[0m [1mSELECT `spud_inquiries`.* FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4 ORDER BY `spud_inquiries`.`id` ASC LIMIT 1[0m
|
988
|
+
[1m[35mSpudInquiryField Load (0.2ms)[0m SELECT `spud_inquiry_fields`.* FROM `spud_inquiry_fields` WHERE `spud_inquiry_fields`.`spud_inquiry_id` = 4
|
989
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiries` WHERE `spud_inquiries`.`id` = 4[0m
|
990
|
+
Redirected to http://test.host/spud/admin/inquiries
|
991
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
992
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
|
993
|
+
[1m[36m (1.7ms)[0m [1mROLLBACK[0m
|
994
|
+
[1m[35m (0.1ms)[0m BEGIN
|
995
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
|
996
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
|
997
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd2c85a9712f3db92104c32b583faf2dee0bfe5f08ae910ee0c41bc3fc7de59a89a8bedf700ac2395f1881ce7abbfa47397a360329e8ef6c7c74af1cccababffc' LIMIT 1[0m
|
998
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '826kEPdDxVOp7rZRU4c' LIMIT 1
|
999
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
|
1000
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:52', '2014-06-06 14:05:52')[0m
|
1002
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiries`
|
1003
|
+
Processing by Spud::Admin::InquiriesController#destroy as HTML
|
1004
|
+
Parameters: {"id"=>"23532"}
|
1005
|
+
[1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 5 LIMIT 1[0m
|
1006
|
+
[1m[35mSpudInquiry Load (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiries`[0m
|
1011
|
+
[1m[35m (1.9ms)[0m ROLLBACK
|
1012
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1013
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
1014
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
1015
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '900a49035f4f550b15ea6106142949ac5e24ad9cb5af44b2a8afd28d1d2dfe1bb29ccfc1251f4d294ac7e477fdb729c72a4991e8da95e0d07fafa5c6c3f11291' LIMIT 1
|
1016
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'hg4RCqHB9LJNiaiyzTR' LIMIT 1[0m
|
1017
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `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[0m
|
1019
|
+
[1m[35mSpudInquiryForm Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 6' LIMIT 1
|
1020
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-6' LIMIT 1[0m
|
1021
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 7' LIMIT 1[0m
|
1023
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-7' LIMIT 1
|
1024
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
1025
|
+
Processing by Spud::Admin::InquiryFormsController#index as HTML
|
1026
|
+
[1m[35mSpudUser Load (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
|
1029
|
+
[1m[35m (6.3ms)[0m ROLLBACK
|
1030
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1031
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
1032
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
1033
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '839b6f0a141b2d07c5cb8ee0fab95e35efffcfed05ef204f7e6a8efb86425c12b2d7a138c4c6496c4919217687147b73c65c4497be33be3d4d85ae4a2d6cffdf' LIMIT 1
|
1034
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'musK40M0ZhgzQFPajtQ' LIMIT 1[0m
|
1035
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `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[0m
|
1037
|
+
Processing by Spud::Admin::InquiryFormsController#new as HTML
|
1038
|
+
[1m[35mSpudUser Load (0.3ms)[0m 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
|
+
[1m[36m (11.8ms)[0m [1mROLLBACK[0m
|
1041
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1042
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
|
1043
|
+
[1m[35mSpud::SpudUserModel Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
|
1044
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'c94a920771841d0da3ae68dd14ef0d53ec71850da712b093e3eaea56e40913dc893c6cf2b547cd282c362eacfbdce429558c928789f7ac8d294400333de22db1' LIMIT 1[0m
|
1045
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'rHgqGqKzHzbGUkg8ybTx' LIMIT 1
|
1046
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
1047
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
|
1049
|
+
Processing by Spud::Admin::InquiryFormsController#create as HTML
|
1050
|
+
Parameters: {"spud_inquiry_form"=>{"name"=>"Form 8"}}
|
1051
|
+
[1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 8 LIMIT 1
|
1052
|
+
[1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 8' LIMIT 1[0m
|
1053
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-8' LIMIT 1
|
1054
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
1055
|
+
Redirected to http://test.host/spud/admin/inquiry_forms
|
1056
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.6ms)
|
1057
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
|
1058
|
+
[1m[36m (12.3ms)[0m [1mROLLBACK[0m
|
1059
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1060
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
|
1061
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
|
1062
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ead168145651052b41831049f17b51a8f4e6ee3393fac5a6f324c65be740cb2c49770bb828739d197384df0fdb3b23cec9cc0fcf1dfcc6ef9f9d0d1f15359b8f' LIMIT 1[0m
|
1063
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'g59HFfExIGiarbnfNZ1f' LIMIT 1
|
1064
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
1065
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
|
1067
|
+
Processing by Spud::Admin::InquiryFormsController#create as HTML
|
1068
|
+
Parameters: {"spud_inquiry_form"=>{"name"=>nil}}
|
1069
|
+
[1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 9 LIMIT 1
|
1070
|
+
[1m[36mSpudInquiryForm Exists (1.8ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
|
1071
|
+
[1m[35mSpudInquiryForm Exists (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
|
1074
|
+
[1m[35m (0.5ms)[0m ROLLBACK
|
1075
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1076
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
1077
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
1078
|
+
[1m[35mSpud::SpudUserModel Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'd23c55d3daf5ed1b47c2b3b9e72b8aec651442deeafbffe5c6c3550a045d83472936c5af3e04771cc575327bad28d5028753180ba338377cd94b520385b1c86c' LIMIT 1
|
1079
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '9Ahz7IBeVk5rw5og3I6' LIMIT 1[0m
|
1080
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `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[0m
|
1082
|
+
[1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 9' LIMIT 1
|
1083
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-9' LIMIT 1[0m
|
1084
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 10' LIMIT 1[0m
|
1086
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-10' LIMIT 1
|
1087
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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')[0m
|
1088
|
+
Processing by Spud::Admin::InquiryFormsController#edit as HTML
|
1089
|
+
Parameters: {"id"=>"10"}
|
1090
|
+
[1m[35mSpudUser Load (0.2ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 10 LIMIT 1
|
1091
|
+
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 10 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
|
1092
|
+
Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.4ms)
|
1093
|
+
[1m[35m (12.5ms)[0m ROLLBACK
|
1094
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1095
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
1096
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
1097
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'ab37db6f6fda72fa63ddec542673c78fc735d7ae1405d317a21c68f40c90a9aed2579ece931a71c1d3a82ca59f35c0c4ce96791e40aca8ee7eb2edb9aaa31571' LIMIT 1
|
1098
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY '7TQtghzbfbOcs15fEqF' LIMIT 1[0m
|
1099
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `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[0m
|
1101
|
+
Processing by Spud::Admin::InquiryFormsController#edit as HTML
|
1102
|
+
Parameters: {"id"=>"1234"}
|
1103
|
+
[1m[35mSpudUser Load (0.3ms)[0m SELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 11 LIMIT 1
|
1104
|
+
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 1234 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1[0m
|
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
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
1109
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1110
|
+
[1m[35mSpud::SpudUserModel Exists (0.3ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
1111
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
1112
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY 'edd7483a9c8b6c9791c63887b9858d3592572c500d26d69764a44bb171a20be2639d313af3bda859815b11eba7c0c99ab621bba099a254791d0c755b9b583484' LIMIT 1
|
1113
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'XMcx4H1FlhJDuHuUTw8' LIMIT 1[0m
|
1114
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `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[0m
|
1116
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 11' LIMIT 1
|
1117
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-11' LIMIT 1[0m
|
1118
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 12 LIMIT 1[0m
|
1122
|
+
[1m[35mSpudInquiryForm Load (0.2ms)[0m 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
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 11) LIMIT 1[0m
|
1125
|
+
[1m[35mSpudInquiryForm Exists (0.6ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2014-06-06 14:05:53' WHERE `spud_inquiry_forms`.`id` = 11[0m
|
1127
|
+
[1m[35mSpudLiquidTag Load (5.5ms)[0m 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
|
+
[1m[36mSpudInquiryForm Load (0.2ms)[0m [1mSELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 11 LIMIT 1[0m
|
1131
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
1132
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1133
|
+
[1m[35mSpud::SpudUserModel Exists (0.4ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1
|
1134
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1[0m
|
1135
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '288ba3db7b69accaeca9e4331279a2c70bd7b72b760045d399b2b8ad72fd7a3d79acb0b63535f03bd39b1744b96e8344f073bba94b591c319bda1919e2300f52' LIMIT 1
|
1136
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'OIljPTXgAoDN09XcqYQw' LIMIT 1[0m
|
1137
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE `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[0m
|
1139
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 12' LIMIT 1
|
1140
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-12' LIMIT 1[0m
|
1141
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 13 LIMIT 1[0m
|
1145
|
+
[1m[35mSpudInquiryForm Load (0.2ms)[0m 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
|
+
[1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`name` = BINARY 'MyForm' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1[0m
|
1148
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE (`spud_inquiry_forms`.`url_name` = BINARY 'myform' AND `spud_inquiry_forms`.`id` != 12) LIMIT 1
|
1149
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `spud_inquiry_forms` SET `name` = 'MyForm', `url_name` = 'myform', `updated_at` = '2014-06-06 14:05:53' WHERE `spud_inquiry_forms`.`id` = 12[0m
|
1150
|
+
[1m[35mSpudLiquidTag Load (0.2ms)[0m 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
|
+
[1m[36m (2.0ms)[0m [1mROLLBACK[0m
|
1154
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1155
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
|
1156
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
|
1157
|
+
[1m[36mSpud::SpudUserModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '20d4add3224767899b45ebe94622e33768e7c8fcb94c7c6718a28f375bc72cea509b8251d9ff5f6dde360e59db8fd10145938701521c28299e025ea205596cec' LIMIT 1[0m
|
1158
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'K6UQdOCj6yWerCmxoiE' LIMIT 1
|
1159
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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')[0m
|
1160
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 13' LIMIT 1[0m
|
1162
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-13' LIMIT 1
|
1163
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
1164
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
|
1165
|
+
Processing by Spud::Admin::InquiryFormsController#destroy as HTML
|
1166
|
+
Parameters: {"id"=>"13"}
|
1167
|
+
[1m[36mSpudUser Load (0.3ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 14 LIMIT 1[0m
|
1168
|
+
[1m[35mSpudInquiryForm Load (0.4ms)[0m SELECT `spud_inquiry_forms`.* FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13 ORDER BY `spud_inquiry_forms`.`id` ASC LIMIT 1
|
1169
|
+
[1m[36mSQL (1.9ms)[0m [1mUPDATE `spud_inquiries` SET `spud_inquiries`.`spud_inquiry_form_id` = NULL WHERE `spud_inquiries`.`spud_inquiry_form_id` = 13[0m
|
1170
|
+
[1m[35mSpudInquiryFormField Load (0.4ms)[0m SELECT `spud_inquiry_form_fields`.* FROM `spud_inquiry_form_fields` WHERE `spud_inquiry_form_fields`.`spud_inquiry_form_id` = 13 ORDER BY field_order asc
|
1171
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`id` = 13[0m
|
1172
|
+
Redirected to http://test.host/spud/admin/inquiry_forms
|
1173
|
+
Completed 302 Found in 15ms (ActiveRecord: 3.1ms)
|
1174
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
|
1175
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1176
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1177
|
+
[1m[36mSpud::SpudUserModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`email` = 'test@testuser.com' LIMIT 1[0m
|
1178
|
+
[1m[35mSpud::SpudUserModel Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`login` = 'testuser' LIMIT 1
|
1179
|
+
[1m[36mSpud::SpudUserModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`persistence_token` = BINARY '36a539ece9cf466d2ec0addac58a38f43284da9f89523033daf6ca2594e2a59a418434587ca80c545dd2aeca2f4f386e7fdeac7a8afdd610cf3735bc260cbaa4' LIMIT 1[0m
|
1180
|
+
[1m[35mSpud::SpudUserModel Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_users` WHERE `spud_users`.`single_access_token` = BINARY 'SoxutrjqWOqAOeB0Wjxc' LIMIT 1
|
1181
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
1182
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 14' LIMIT 1[0m
|
1184
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-14' LIMIT 1
|
1185
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
1186
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM `spud_inquiry_forms`
|
1187
|
+
Processing by Spud::Admin::InquiryFormsController#destroy as HTML
|
1188
|
+
Parameters: {"id"=>"23532"}
|
1189
|
+
[1m[36mSpudUser Load (0.2ms)[0m [1mSELECT `spud_users`.* FROM `spud_users` WHERE `spud_users`.`id` = 15 LIMIT 1[0m
|
1190
|
+
[1m[35mSpudInquiryForm Load (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM `spud_inquiry_forms`[0m
|
1195
|
+
[1m[35m (2.0ms)[0m ROLLBACK
|
1196
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1197
|
+
Processing by Spud::Inquiries::SitemapsController#show as XML
|
1198
|
+
Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.0ms)
|
1199
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1200
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1201
|
+
Processing by Spud::Inquiries::SitemapsController#show as HTML
|
1202
|
+
Completed 406 Not Acceptable in 1ms
|
1203
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1204
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1205
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1206
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1207
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:53', '2014-06-06 14:05:53')
|
1208
|
+
[1m[36m (6.2ms)[0m [1mROLLBACK[0m
|
1209
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1210
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1211
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1212
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 15' LIMIT 1[0m
|
1213
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-15' LIMIT 1
|
1214
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
1215
|
+
[1m[35m (5.0ms)[0m ROLLBACK
|
1216
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1217
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 16' LIMIT 1
|
1218
|
+
[1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-16' LIMIT 1[0m
|
1219
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1221
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1222
|
+
[1m[36mSpudInquiryForm Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 17' LIMIT 1[0m
|
1223
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-17' LIMIT 1
|
1224
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
1225
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
1226
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1227
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Form 18' LIMIT 1
|
1228
|
+
[1m[36mSpudInquiryForm Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'form-18' LIMIT 1[0m
|
1229
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
1231
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1232
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1233
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1234
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1235
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1236
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` IS NULL LIMIT 1[0m
|
1237
|
+
[1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` IS NULL LIMIT 1
|
1238
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
1239
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1240
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1[0m
|
1241
|
+
[1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1
|
1242
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
1243
|
+
[1m[35mSpudInquiryForm Exists (0.1ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Test' LIMIT 1
|
1244
|
+
[1m[36mSpudInquiryForm Exists (0.4ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'test' LIMIT 1[0m
|
1245
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
1246
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1247
|
+
[1m[35mSpudInquiryForm Exists (0.2ms)[0m SELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`name` = BINARY 'Contact Us' LIMIT 1
|
1248
|
+
[1m[36mSpudInquiryForm Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `spud_inquiry_forms` WHERE `spud_inquiry_forms`.`url_name` = BINARY 'contact-us' LIMIT 1[0m
|
1249
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1250
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1251
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1252
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1253
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
1254
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1255
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:53', '2014-06-06 14:05:53')
|
1256
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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')[0m
|
1257
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
1258
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1259
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `spud_inquiries` (`created_at`, `updated_at`) VALUES ('2014-06-06 14:05:53', '2014-06-06 14:05:53')
|
1260
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
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.
|
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-
|
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:
|
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:
|
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:
|
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:
|
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/
|
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
|