fine_print 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f81ee20572ca69333bf085618f19c261ef9858a
4
- data.tar.gz: 1e17485c34cce0a8881ddacab69a290a3e2cb880
3
+ metadata.gz: 6538ce528adfe5224a637f721b0143e26a91565d
4
+ data.tar.gz: 1d9290f91f0e09774fa4f01e29e7fda7784a1b92
5
5
  SHA512:
6
- metadata.gz: 93a19883752880c9fa1fd4e57fd94b0ca37d6a4e0ba8bbd82b9178111bf59c17307c1b0d2b1b359c6133bf4dca277f753620eb63e0fbd4c5db45d8c5ff93ebdf
7
- data.tar.gz: 2d85aae86ba3db77ff0e7072bef2147c754f6617f1bbdd3af2c610127c2a42b25f62e7dec243bb48c6bdf5d754d73f8c794ef9b90454bb5b5a35e89f25b19caa
6
+ metadata.gz: 2ed558aad019900366e18fcec4b5f4bda152d094acc6d548396c454b36dd89b57b99f91544c45e54bf110bbf264907c119f0a66e6d823a3c2a755c2bd512b407
7
+ data.tar.gz: 3bd49121ba9ebe3d38f0af95f06c7eafc618ed04999f5c21101eee474cef5586124c304c292bdaa5a19e91755840d8069f67c17148f805dbb3b23d68b8b40d4f
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/fine_print.svg)](http://badge.fury.io/rb/fine_print)
4
4
  [![Build Status](https://travis-ci.org/lml/fine_print.svg?branch=master)](https://travis-ci.org/lml/fine_print)
5
+ [![Coverage Status](https://coveralls.io/repos/lml/fine_print/badge.svg)](https://coveralls.io/r/lml/fine_print)
5
6
  [![Code Climate](https://codeclimate.com/github/lml/fine_print/badges/gpa.svg)](https://codeclimate.com/github/lml/fine_print)
6
7
 
7
8
  FinePrint is a Rails engine in gem form that makes managing web site agreements
@@ -96,6 +97,8 @@ fine_print_skip(contract_names..., options_hash)
96
97
  the given contracts for certain controller actions
97
98
 
98
99
  These methods take a list of contract names to check, along with an options hash.
100
+ If no contract names are provided, or if :all is passed to one of the methods,
101
+ ALL existing contracts will be required or skipped.
99
102
 
100
103
  The options hash can include any options you could pass to a `before_filter`,
101
104
  e.g. `only` and `except`, plus the FinePrint-specific option
@@ -36,7 +36,10 @@ module FinePrint
36
36
  return false unless errors.empty?
37
37
 
38
38
  self.version = (same_name.published.first.try(:version) || 0) + 1
39
- save
39
+
40
+ save.tap do |success|
41
+ instance_exec(self, &FinePrint.config.contract_published_proc) if success
42
+ end
40
43
  end
41
44
 
42
45
  def unpublish
@@ -3,6 +3,8 @@ module FinePrint
3
3
  belongs_to :contract, inverse_of: :signatures
4
4
  belongs_to :user, polymorphic: true
5
5
 
6
+ before_update { false } # no changes allowed
7
+
6
8
  validate :contract_published, on: :create
7
9
 
8
10
  validates :contract, presence: true
@@ -11,6 +13,10 @@ module FinePrint
11
13
 
12
14
  default_scope { order(:contract_id, :user_type, :user_id) }
13
15
 
16
+ def is_explicit?
17
+ !is_implicit?
18
+ end
19
+
14
20
  protected
15
21
 
16
22
  ##############
@@ -15,6 +15,7 @@
15
15
  <th><%= t 'activerecord.attributes.fine_print/signature.user_type' %>&nbsp;</th>
16
16
  <th>&nbsp;<%= t 'activerecord.attributes.fine_print/signature.user_id' %>&nbsp;</th>
17
17
  <th>&nbsp;<%= t 'activerecord.attributes.fine_print/signature.created_at' %>&nbsp;</th>
18
+ <th>&nbsp;<%= t 'activerecord.attributes.fine_print/signature.is_implicit' %>&nbsp;</th>
18
19
  <th>&nbsp;</th>
19
20
  </tr>
20
21
 
@@ -23,13 +24,14 @@
23
24
  <td><%= signature.user_type %>&nbsp;</td>
24
25
  <td>&nbsp;<%= signature.user_id %>&nbsp;</td>
25
26
  <td>&nbsp;<%= l signature.created_at, format: :fine_print %>&nbsp;</td>
27
+ <td>&nbsp;<%= t signature.is_implicit?.to_s %>&nbsp;</td>
26
28
  <td>&nbsp;<%= link_to(
27
- t('fine_print.signature.actions.delete'),
29
+ t('fine_print.signature.actions.delete'),
28
30
  signature,
29
- method: :delete,
30
- data: {
31
+ method: :delete,
32
+ data: {
31
33
  confirm: t('fine_print.signature.actions.confirm.delete')
32
- }
34
+ },
33
35
  class: 'fine_print link'
34
36
  ) %>
35
37
  </td>
@@ -43,5 +45,5 @@
43
45
  <%= link_to t('fine_print.contract.actions.list'), contracts_path,
44
46
  class: 'fine_print link' %>
45
47
  </div>
46
-
48
+
47
49
  </div>
@@ -57,4 +57,8 @@ FinePrint.configure do |config|
57
57
  )
58
58
  }
59
59
 
60
+ # Proc called whenever a contract is published, useful if the application
61
+ # needs to hook into this event and take some action
62
+ config.contract_published_proc = lambda { |contract| }
63
+
60
64
  end
@@ -1,35 +1,38 @@
1
- ---
2
- en:
3
- activerecord:
4
- attributes:
5
- fine_print/contract:
1
+ ---
2
+ en:
3
+ "true": "Yes"
4
+ "false": "No"
5
+ activerecord:
6
+ attributes:
7
+ fine_print/contract:
6
8
  content: Content
7
9
  name: Name
8
10
  title: Title
9
11
  version: Version
10
- fine_print/signature:
12
+ fine_print/signature:
11
13
  contract: Contract
12
14
  created_at: "Signed on"
13
15
  user: User
14
16
  user_id: "User ID"
15
17
  user_type: "User Class"
16
- errors:
17
- models:
18
- fine_print/signature:
19
- attributes:
20
- contract:
18
+ is_implicit: "Implicit?"
19
+ errors:
20
+ models:
21
+ fine_print/signature:
22
+ attributes:
23
+ contract:
21
24
  taken: "has already been signed"
22
- models:
23
- fine_print/contract:
25
+ models:
26
+ fine_print/contract:
24
27
  one: contract
25
28
  other: contracts
26
- fine_print/signature:
29
+ fine_print/signature:
27
30
  one: signature
28
31
  other: signatures
29
- fine_print:
30
- contract:
31
- actions:
32
- confirm:
32
+ fine_print:
33
+ contract:
34
+ actions:
35
+ confirm:
33
36
  delete: "Are you sure you want to delete this contract?"
34
37
  publish: "Are you sure you want to publish this contract?"
35
38
  unpublish: "Are you sure you want to unpublish this contract?"
@@ -45,44 +48,44 @@ en:
45
48
  signatures: Signatures
46
49
  unpublish: Unpublish
47
50
  update: Update
48
- descriptions:
51
+ descriptions:
49
52
  name: "Used internally by your code; only letters, numbers, underscores allowed; changing this will start a new contract at version 1"
50
53
  title: "e.g., \"Terms of Use\""
51
- errors:
54
+ errors:
52
55
  already_published: "cannot be published because it is already published"
53
56
  already_signed: "cannot be modified because it has already been signed"
54
57
  not_latest: "cannot be unpublished because it is not the latest version"
55
- notices:
58
+ notices:
56
59
  created: "Contract created."
57
60
  deleted: "Contract deleted."
58
61
  published: "Contract published."
59
62
  unpublished: "Contract unpublished."
60
63
  updated: "Contract updated."
61
- status:
64
+ status:
62
65
  draft: draft
63
66
  index: Contracts
64
67
  name: "Name: %{name}"
65
68
  updated_at: "Last updated on %{updated_at}."
66
69
  version: "v.%{version}"
67
- error:
70
+ error:
68
71
  one: "Error:"
69
72
  other: "Errors:"
70
- signature:
71
- actions:
73
+ signature:
74
+ actions:
72
75
  accept: "I have read and accept the terms above."
73
- confirm:
76
+ confirm:
74
77
  delete: "User will be asked to accept the contract again. Are you sure?"
75
78
  delete: Terminate
76
79
  sign: "I agree"
77
- errors:
78
- contract:
80
+ errors:
81
+ contract:
79
82
  must_agree: "must be accepted to proceed"
80
83
  not_published: "must be published before it can be signed"
81
- notices:
84
+ notices:
82
85
  deleted: "Signature deleted."
83
- status:
86
+ status:
84
87
  for_contract: "Signatures for %{contract}"
85
88
  new_version: "Please review and accept the newest version of the %{contract}:"
86
- time:
87
- formats:
89
+ time:
90
+ formats:
88
91
  fine_print: "%b %d %Y at %I:%M%p %Z"
@@ -0,0 +1,6 @@
1
+ class AddImplicitSignatures < ActiveRecord::Migration
2
+ def change
3
+ add_column :fine_print_signatures, :is_implicit,
4
+ :boolean, null: false, default: false
5
+ end
6
+ end
data/lib/fine_print.rb CHANGED
@@ -3,6 +3,9 @@ require 'fine_print/engine'
3
3
 
4
4
  module FinePrint
5
5
 
6
+ SIGNATURE_IS_IMPLICIT = true
7
+ SIGNATURE_IS_EXPLICIT = false
8
+
6
9
  def self.config
7
10
  @config ||= Configuration.new
8
11
  end
@@ -27,12 +30,15 @@ module FinePrint
27
30
  # Records that the given user has signed the given contract
28
31
  # - user - the user in question
29
32
  # - contract - can be a Contract object, its ID, or its name (String/Symbol)
30
- def self.sign_contract(user, contract)
33
+ # - is_implicit - if true, the signature is implicit/assumed/indirectly-acquired
34
+ # if false, the signature was obtained directly from the user
35
+ def self.sign_contract(user, contract, is_implicit = SIGNATURE_IS_EXPLICIT)
31
36
  contract = get_contract(contract)
32
37
 
33
38
  Signature.create do |signature|
34
39
  signature.user = user
35
40
  signature.contract = contract
41
+ signature.is_implicit = is_implicit
36
42
  end
37
43
  end
38
44
 
@@ -8,7 +8,8 @@ module FinePrint
8
8
  :layout,
9
9
  :authenticate_user_proc,
10
10
  :authenticate_manager_proc,
11
- :current_user_proc
11
+ :current_user_proc,
12
+ :contract_published_proc
12
13
  ]
13
14
 
14
15
  # Can be set in initializer or passed as an argument
@@ -16,7 +17,7 @@ module FinePrint
16
17
  CONTROLLER_OPTIONS = [
17
18
  :redirect_to_contracts_proc
18
19
  ]
19
-
20
+
20
21
  (ENGINE_OPTIONS + CONTROLLER_OPTIONS).each do |option|
21
22
  attr_accessor option
22
23
  end
@@ -1,3 +1,3 @@
1
1
  module FinePrint
2
- VERSION = '3.0.0'
2
+ VERSION = '3.1.0'
3
3
  end
@@ -2,4 +2,6 @@
2
2
  FinePrint.configure do |config|
3
3
  config.authenticate_manager_proc = lambda { |user| user.try(:is_admin) || \
4
4
  head(:forbidden) }
5
+
6
+ config.contract_published_proc = lambda { |contract| }
5
7
  end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 1) do
14
+ ActiveRecord::Schema.define(version: 1000) do
15
15
 
16
16
  create_table "dummy_users", force: true do |t|
17
17
  t.boolean "is_admin", default: false, null: false
@@ -31,11 +31,12 @@ ActiveRecord::Schema.define(version: 1) do
31
31
  add_index "fine_print_contracts", ["name", "version"], name: "index_fine_print_contracts_on_name_and_version", unique: true
32
32
 
33
33
  create_table "fine_print_signatures", force: true do |t|
34
- t.integer "contract_id", null: false
35
- t.integer "user_id", null: false
36
- t.string "user_type", null: false
34
+ t.integer "contract_id", null: false
35
+ t.integer "user_id", null: false
36
+ t.string "user_type", null: false
37
37
  t.datetime "created_at"
38
38
  t.datetime "updated_at"
39
+ t.boolean "is_implicit", default: false, null: false
39
40
  end
40
41
 
41
42
  add_index "fine_print_signatures", ["contract_id"], name: "index_fine_print_signatures_on_contract_id"
Binary file
@@ -784,3 +784,3147 @@ Processing by FinePrint::ContractsController#update as HTML
784
784
  Filter chain halted as :can_manage rendered or redirected
785
785
  Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
786
786
  FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 47]]
787
+  (1.8ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime) 
788
+  (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "version" integer, "title" varchar NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)
789
+  (0.1ms) select sqlite_version(*)
790
+  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")
791
+  (1.0ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar NOT NULL, "created_at" datetime, "updated_at" datetime) 
792
+  (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")
793
+  (0.1ms)  SELECT sql
794
+ FROM sqlite_master
795
+ WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'
796
+ UNION ALL
797
+ SELECT sql
798
+ FROM sqlite_temp_master
799
+ WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'
800
+ 
801
+  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")
802
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
803
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
804
+  (0.1ms) SELECT version FROM "schema_migrations"
805
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
806
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
807
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
808
+  (0.1ms) begin transaction
809
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
810
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "In sunt quidem"], ["content", "Doloremque quia inventore provident exercitationem aspernatur. Nostrum ipsam temporibus sint sed fuga in. Ut voluptatem praesentium quis veniam. Aut vitae neque odio ab qui aut expedita. Labore est fugiat maiores qui dolore esse in.\nTempora ut voluptatem et. Facere tempore neque architecto quod non. Nemo dolores natus impedit quasi sed quidem. Soluta voluptatibus cumque et vel non.\nSed placeat asperiores. Laboriosam culpa unde explicabo. Quis qui qui quia aut."], ["version", 1], ["created_at", "2015-03-25 21:11:38.244803"], ["updated_at", "2015-03-25 21:11:38.244803"]]
811
+  (1.5ms) commit transaction
812
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
813
+  (0.1ms) begin transaction
814
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
815
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Distinctio eaque eligendi"], ["content", "Qui unde error. Tempore voluptates sint soluta. Deserunt quasi voluptatem dolorum. Est rerum enim optio autem vel eius corporis. Commodi modi expedita.\nNatus id reiciendis praesentium fugiat optio ipsam vitae. Quae rerum et sapiente voluptatum sit odit. In cupiditate magnam. Ad fugit ea.\nQui quasi qui debitis. Sed perferendis rerum id autem quasi ab. Velit iure in est sed neque sit."], ["version", 1], ["created_at", "2015-03-25 21:11:38.252756"], ["updated_at", "2015-03-25 21:11:38.252756"]]
816
+  (0.7ms) commit transaction
817
+  (0.0ms) begin transaction
818
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.257668"], ["updated_at", "2015-03-25 21:11:38.257668"]]
819
+  (0.6ms) commit transaction
820
+  (0.0ms) begin transaction
821
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1
822
+ SQL (0.3ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["user_id", 1], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:11:38.267393"], ["updated_at", "2015-03-25 21:11:38.267393"]]
823
+  (0.8ms) commit transaction
824
+  (0.1ms) begin transaction
825
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 1) LIMIT 1
826
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["user_id", 1], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:11:38.272348"], ["updated_at", "2015-03-25 21:11:38.272348"]]
827
+  (0.7ms) commit transaction
828
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
829
+  (0.0ms) begin transaction
830
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "In sunt quidem"], ["content", "foo"], ["created_at", "2015-03-25 21:11:38.279875"], ["updated_at", "2015-03-25 21:11:38.279875"]]
831
+  (0.6ms) commit transaction
832
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
833
+  (0.1ms) begin transaction
834
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
835
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 3]]
836
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 2], ["updated_at", "2015-03-25 21:11:38.284037"], ["id", 3]]
837
+  (0.6ms) commit transaction
838
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]]
839
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
840
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]]
841
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
842
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
843
+  (0.0ms) begin transaction
844
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
845
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Minus omnis maxime"], ["content", "Voluptates consectetur officiis commodi et earum qui nihil. Quaerat velit maiores sunt possimus. Est qui aut aut ratione sit nostrum. Consequatur necessitatibus quibusdam modi nostrum.\nPossimus accusantium et facere in. Possimus culpa alias quaerat blanditiis quo at dolores. Et id voluptas enim ducimus et pariatur. Recusandae nihil repellendus ea dolor eligendi deleniti.\nProvident vitae perferendis tenetur ut nostrum ex. Sit aut corporis. Et temporibus at nesciunt fugiat. Exercitationem sed iure rerum impedit eum et sed. Nemo quia iure voluptatem."], ["version", 3], ["created_at", "2015-03-25 21:11:38.295867"], ["updated_at", "2015-03-25 21:11:38.295867"]]
846
+  (0.7ms) commit transaction
847
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
848
+  (0.0ms) begin transaction
849
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
850
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Voluptatem dolor omnis"], ["content", "Eligendi placeat aliquam. Neque voluptatem sint. Ex voluptatum qui accusamus. Provident culpa harum et ea delectus.\nAssumenda voluptatem qui harum qui blanditiis eos. Odit et sint. Quidem enim animi rerum id.\nVel nihil magni atque. Quia consequatur est aut harum qui quas. Neque voluptatibus velit architecto dicta. Vitae praesentium est nihil iusto."], ["version", 2], ["created_at", "2015-03-25 21:11:38.300362"], ["updated_at", "2015-03-25 21:11:38.300362"]]
851
+  (0.7ms) commit transaction
852
+  (0.0ms) begin transaction
853
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.302166"], ["updated_at", "2015-03-25 21:11:38.302166"]]
854
+  (1.5ms) commit transaction
855
+  (0.0ms) begin transaction
856
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1
857
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["user_id", 2], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:11:38.306328"], ["updated_at", "2015-03-25 21:11:38.306328"]]
858
+  (0.7ms) commit transaction
859
+  (0.0ms) begin transaction
860
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 2) LIMIT 1
861
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["user_id", 2], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:11:38.309442"], ["updated_at", "2015-03-25 21:11:38.309442"]]
862
+  (0.7ms) commit transaction
863
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
864
+  (0.0ms) begin transaction
865
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Minus omnis maxime"], ["content", "foo"], ["created_at", "2015-03-25 21:11:38.312175"], ["updated_at", "2015-03-25 21:11:38.312175"]]
866
+  (0.7ms) commit transaction
867
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
868
+  (0.0ms) begin transaction
869
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
870
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]
871
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 4], ["updated_at", "2015-03-25 21:11:38.315798"], ["id", 6]]
872
+  (0.6ms) commit transaction
873
+ FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL AND "fine_print_contracts"."name" IN ('alpha', 'beta') GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC
874
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."version" IS NOT NULL AND "fine_print_contracts"."name" IN ('alpha', 'beta') AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["user_id", 2], ["user_type", "DummyUser"]]
875
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
876
+  (0.0ms) begin transaction
877
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
878
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Vitae ut iure"], ["content", "At distinctio perspiciatis. Quasi voluptatem repellendus debitis magni quibusdam autem cupiditate. Adipisci reiciendis temporibus distinctio voluptates quas dolorem aut. Quia adipisci autem soluta et dicta aut.\nOdit quia sed. Commodi doloremque dolorum voluptates dolorem. Omnis et tempora deserunt rerum. Id voluptate quod corporis.\nEt sint eos dolorum consequuntur. Autem sit illum tempore sit. Aliquid ea quo natus soluta distinctio. Enim consequatur omnis aut."], ["version", 5], ["created_at", "2015-03-25 21:11:38.326890"], ["updated_at", "2015-03-25 21:11:38.326890"]]
879
+  (0.9ms) commit transaction
880
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
881
+  (0.0ms) begin transaction
882
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
883
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Dolores assumenda aut"], ["content", "Ut odit praesentium veniam fuga molestias. Omnis consectetur consequuntur unde dolor nihil laborum. Ipsum eos dolorem.\nSed tempora inventore aut numquam dolor et nostrum. Veniam non voluptas ex distinctio quia. Quam qui magni beatae laboriosam.\nAssumenda adipisci illo aut. Occaecati tempore enim saepe veniam. Voluptatibus quia cumque ex quae ad minus. Quod alias nulla molestiae consectetur."], ["version", 3], ["created_at", "2015-03-25 21:11:38.332566"], ["updated_at", "2015-03-25 21:11:38.332566"]]
884
+  (0.7ms) commit transaction
885
+  (0.0ms) begin transaction
886
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.334517"], ["updated_at", "2015-03-25 21:11:38.334517"]]
887
+  (0.6ms) commit transaction
888
+  (0.0ms) begin transaction
889
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1
890
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["user_id", 3], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:11:38.337554"], ["updated_at", "2015-03-25 21:11:38.337554"]]
891
+  (0.7ms) commit transaction
892
+  (0.0ms) begin transaction
893
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 3) LIMIT 1
894
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["user_id", 3], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:11:38.340534"], ["updated_at", "2015-03-25 21:11:38.340534"]]
895
+  (0.7ms) commit transaction
896
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
897
+  (0.0ms) begin transaction
898
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Vitae ut iure"], ["content", "foo"], ["created_at", "2015-03-25 21:11:38.343126"], ["updated_at", "2015-03-25 21:11:38.343126"]]
899
+  (0.7ms) commit transaction
900
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
901
+  (0.0ms) begin transaction
902
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
903
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]]
904
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 6], ["updated_at", "2015-03-25 21:11:38.346673"], ["id", 9]]
905
+  (0.8ms) commit transaction
906
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."version" IS NOT NULL AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["user_id", 3], ["user_type", "DummyUser"]]
907
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
908
+  (0.0ms) begin transaction
909
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
910
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Porro quod a"], ["content", "Soluta placeat corrupti doloribus. Repellat eligendi est quas. Dolore soluta magni dolor earum sunt.\nIusto qui vel tempore cum architecto neque qui. Dolor delectus soluta asperiores non. Aliquid eius iusto quam officiis voluptate.\nQuia molestiae assumenda. Illum ratione voluptas omnis quia expedita. Sapiente amet totam repellendus error in. Vel enim et quo accusamus. Ut et maxime."], ["version", 7], ["created_at", "2015-03-25 21:11:38.354993"], ["updated_at", "2015-03-25 21:11:38.354993"]]
911
+  (0.8ms) commit transaction
912
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
913
+  (0.0ms) begin transaction
914
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
915
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Inventore ut blanditiis"], ["content", "Et ipsa explicabo. Aut sed fugit magnam. Quis eum omnis.\nMinima aut odit alias. Officiis perspiciatis iusto at voluptatem ea sunt. Corporis minus modi assumenda fuga dicta nihil.\nEt minus et est. Cupiditate laudantium aut incidunt nesciunt. Occaecati autem nihil sit ea. Dolor maiores necessitatibus quia esse facilis omnis."], ["version", 4], ["created_at", "2015-03-25 21:11:38.359520"], ["updated_at", "2015-03-25 21:11:38.359520"]]
916
+  (1.3ms) commit transaction
917
+  (0.1ms) begin transaction
918
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.362160"], ["updated_at", "2015-03-25 21:11:38.362160"]]
919
+  (0.8ms) commit transaction
920
+  (0.1ms) begin transaction
921
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1
922
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["user_id", 4], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:11:38.366579"], ["updated_at", "2015-03-25 21:11:38.366579"]]
923
+  (2.7ms) commit transaction
924
+  (0.1ms) begin transaction
925
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1
926
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["user_id", 4], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:11:38.373080"], ["updated_at", "2015-03-25 21:11:38.373080"]]
927
+  (0.7ms) commit transaction
928
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
929
+  (0.1ms) begin transaction
930
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Porro quod a"], ["content", "foo"], ["created_at", "2015-03-25 21:11:38.376930"], ["updated_at", "2015-03-25 21:11:38.376930"]]
931
+  (0.7ms) commit transaction
932
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
933
+  (0.0ms) begin transaction
934
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
935
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]]
936
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 8], ["updated_at", "2015-03-25 21:11:38.381506"], ["id", 12]]
937
+  (0.8ms) commit transaction
938
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 10], ["user_id", 4], ["user_type", "DummyUser"]]
939
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 12], ["user_id", 4], ["user_type", "DummyUser"]]
940
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 11], ["user_id", 4], ["user_type", "DummyUser"]]
941
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 4], ["user_type", "DummyUser"]]
942
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 4], ["user_type", "DummyUser"]]
943
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "beta"], ["user_id", 4], ["user_type", "DummyUser"]]
944
+  (0.0ms) begin transaction
945
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 12 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 4) LIMIT 1
946
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("user_id", "user_type", "contract_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["user_id", 4], ["user_type", "DummyUser"], ["contract_id", 12], ["created_at", "2015-03-25 21:11:38.393598"], ["updated_at", "2015-03-25 21:11:38.393598"]]
947
+  (1.5ms) commit transaction
948
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 10], ["user_id", 4], ["user_type", "DummyUser"]]
949
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 12], ["user_id", 4], ["user_type", "DummyUser"]]
950
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 11], ["user_id", 4], ["user_type", "DummyUser"]]
951
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 4], ["user_type", "DummyUser"]]
952
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 4], ["user_type", "DummyUser"]]
953
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "beta"], ["user_id", 4], ["user_type", "DummyUser"]]
954
+  (0.1ms) begin transaction
955
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "rerum_sunt_dicta"], ["title", "Aut repellendus id"], ["content", "Tempora maxime tenetur repudiandae. Est et maxime dolores ullam quisquam illo eaque. Explicabo dolor est. Incidunt voluptas quae. Porro sunt ratione in sint et fugiat eos.\nEt ut veniam. Aperiam in voluptas et exercitationem incidunt dolor. Perferendis a et distinctio. Mollitia ipsum veniam nulla voluptatum.\nIste officia quia odit ut quia. Voluptatem perferendis eos sapiente laudantium eum nam. Est rerum repudiandae. Voluptatibus rerum ut placeat. Dolores nobis est error recusandae soluta eveniet."], ["created_at", "2015-03-25 21:11:38.405268"], ["updated_at", "2015-03-25 21:11:38.405268"]]
956
+  (0.8ms) commit transaction
957
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]
958
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptas_id_perferendis"]]
959
+  (0.0ms) begin transaction
960
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptas_id_perferendis') LIMIT 1
961
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "voluptas_id_perferendis"], ["title", "Placeat laudantium sit"], ["content", "Nihil ut aut rerum cumque exercitationem soluta voluptatum. Dolorum officia voluptatibus odit. Ullam harum quos earum enim et. Ipsam non sequi. Magnam et accusantium ratione.\nSequi fuga ratione. Omnis explicabo impedit. Impedit architecto quis enim cum hic error.\nPerferendis excepturi repellat et quia. Velit ex nemo facilis. Dolorum quis voluptatem soluta exercitationem. Voluptatem vitae tempora voluptas sit vero. Beatae earum deserunt."], ["version", 1], ["created_at", "2015-03-25 21:11:38.411978"], ["updated_at", "2015-03-25 21:11:38.411978"]]
962
+  (0.7ms) commit transaction
963
+  (0.0ms) begin transaction
964
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
965
+  (0.0ms) rollback transaction
966
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 13]]
967
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]
968
+  (0.0ms) begin transaction
969
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.418224"], ["updated_at", "2015-03-25 21:11:38.418224"]]
970
+  (0.7ms) commit transaction
971
+  (0.0ms) begin transaction
972
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.420102"], ["updated_at", "2015-03-25 21:11:38.420102"]]
973
+  (0.7ms) commit transaction
974
+  (0.0ms) begin transaction
975
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "error_enim_id"], ["title", "Veniam dolor officia"], ["content", "Assumenda delectus explicabo nihil praesentium voluptatem tenetur. Sint quaerat minus ut. Corporis quas tempore. Et vero aliquid tempora tenetur sit aut nulla.\nVoluptatibus ipsum omnis minima at reiciendis ut enim. Consectetur ea laudantium qui. Nisi eaque dolores. Ratione assumenda nihil.\nQuia laboriosam iure. Dolorem laborum ut asperiores culpa distinctio possimus. Est dolorum doloremque et fuga aut dolore ut. Sint inventore autem officiis."], ["created_at", "2015-03-25 21:11:38.422744"], ["updated_at", "2015-03-25 21:11:38.422744"]]
976
+  (0.7ms) commit transaction
977
+ Processing by FinePrint::ContractsController#create as HTML
978
+ Parameters: {"contract"=>"attributes"}
979
+ Filter chain halted as :can_manage rendered or redirected
980
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
981
+ Processing by FinePrint::ContractsController#create as HTML
982
+ Parameters: {"contract"=>"attributes"}
983
+ Filter chain halted as :can_manage rendered or redirected
984
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
985
+  (0.0ms) begin transaction
986
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.429070"], ["updated_at", "2015-03-25 21:11:38.429070"]]
987
+  (0.6ms) commit transaction
988
+  (0.0ms) begin transaction
989
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.430951"], ["updated_at", "2015-03-25 21:11:38.430951"]]
990
+  (1.8ms) commit transaction
991
+  (0.0ms) begin transaction
992
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "sit_nemo_esse"], ["title", "Nihil quae enim"], ["content", "In deserunt atque omnis voluptatum nam impedit praesentium. Ipsum nesciunt soluta rem. Accusantium aspernatur fuga eum.\nQuia reiciendis et voluptatem in sapiente maxime fugiat. Quisquam porro vitae aliquid quis corrupti explicabo. Illo sunt omnis quis perspiciatis quod rem. Quo reprehenderit assumenda ex rem id quia voluptatem.\nRepellat officiis et laudantium quia natus hic. Ex voluptas nesciunt quam inventore ut praesentium perferendis. Itaque architecto recusandae fuga."], ["created_at", "2015-03-25 21:11:38.434670"], ["updated_at", "2015-03-25 21:11:38.434670"]]
993
+  (1.8ms) commit transaction
994
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sit_nemo_esse"]]
995
+  (0.0ms) begin transaction
996
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'sit_nemo_esse') LIMIT 1
997
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]]
998
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:11:38.439897"], ["id", 16]]
999
+  (1.9ms) commit transaction
1000
+ Processing by FinePrint::ContractsController#new_version as HTML
1001
+ Parameters: {"id"=>"16"}
1002
+ Filter chain halted as :can_manage rendered or redirected
1003
+ Completed 403 Forbidden in 1ms (ActiveRecord: 0.0ms)
1004
+ Processing by FinePrint::ContractsController#new_version as HTML
1005
+ Parameters: {"id"=>"16"}
1006
+ Filter chain halted as :can_manage rendered or redirected
1007
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1008
+  (0.1ms) begin transaction
1009
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.448341"], ["updated_at", "2015-03-25 21:11:38.448341"]]
1010
+  (0.8ms) commit transaction
1011
+  (0.0ms) begin transaction
1012
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.450713"], ["updated_at", "2015-03-25 21:11:38.450713"]]
1013
+  (0.7ms) commit transaction
1014
+  (0.0ms) begin transaction
1015
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "quis_voluptatibus_qui"], ["title", "Assumenda sed sit"], ["content", "Veniam dolores et praesentium exercitationem voluptatem et ut. Magni voluptatibus veniam quia molestiae non. Ut rem nihil nobis totam sunt. Alias occaecati possimus veniam quia ipsam itaque et. Quae qui voluptas iste.\nEius modi vero dolor dolores est dicta voluptatibus. Est fuga natus iste veritatis fugiat qui. Dolores pariatur possimus omnis aut commodi et et.\nUt tempore porro. Accusantium reprehenderit dicta aut. Repellendus deserunt quod."], ["created_at", "2015-03-25 21:11:38.453626"], ["updated_at", "2015-03-25 21:11:38.453626"]]
1016
+  (0.6ms) commit transaction
1017
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quis_voluptatibus_qui"]]
1018
+  (0.1ms) begin transaction
1019
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 17 AND "fine_print_contracts"."name" = 'quis_voluptatibus_qui') LIMIT 1
1020
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 17]]
1021
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:11:38.457396"], ["id", 17]]
1022
+  (1.9ms) commit transaction
1023
+ Processing by FinePrint::ContractsController#new_version as HTML
1024
+ Parameters: {"id"=>"17"}
1025
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 17]]
1026
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quis_voluptatibus_qui"]]
1027
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new_version.html.erb within layouts/application (0.2ms)
1028
+ Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.1ms)
1029
+  (0.1ms) begin transaction
1030
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.470242"], ["updated_at", "2015-03-25 21:11:38.470242"]]
1031
+  (0.7ms) commit transaction
1032
+  (0.0ms) begin transaction
1033
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.472274"], ["updated_at", "2015-03-25 21:11:38.472274"]]
1034
+  (0.8ms) commit transaction
1035
+  (0.0ms) begin transaction
1036
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "nihil_quaerat_earum"], ["title", "Natus reprehenderit et"], ["content", "Aperiam autem consequuntur sunt. Tempora dolores unde et. Adipisci iusto ut repellendus. Ipsum consectetur quibusdam qui.\nDeserunt distinctio omnis repudiandae. Quos et rerum dolores perspiciatis aspernatur. Et eligendi maxime accusantium. Voluptatem reiciendis dolore voluptatum.\nCorporis eius consectetur vel. Repudiandae ad commodi. Molestias esse repudiandae accusantium."], ["created_at", "2015-03-25 21:11:38.475096"], ["updated_at", "2015-03-25 21:11:38.475096"]]
1037
+  (1.8ms) commit transaction
1038
+ Processing by FinePrint::ContractsController#index as HTML
1039
+ Filter chain halted as :can_manage rendered or redirected
1040
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1041
+ Processing by FinePrint::ContractsController#index as HTML
1042
+ Filter chain halted as :can_manage rendered or redirected
1043
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1044
+  (0.0ms) begin transaction
1045
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.480714"], ["updated_at", "2015-03-25 21:11:38.480714"]]
1046
+  (0.6ms) commit transaction
1047
+  (0.0ms) begin transaction
1048
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.482451"], ["updated_at", "2015-03-25 21:11:38.482451"]]
1049
+  (2.0ms) commit transaction
1050
+  (0.0ms) begin transaction
1051
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "est_nam_maxime"], ["title", "Quia excepturi quo"], ["content", "Numquam molestiae consequuntur voluptate voluptatem. Libero sint sed molestias nesciunt iste reprehenderit vel. Mollitia reprehenderit quia error eveniet tempore.\nUt ad quo nisi ut eveniet ipsam eum. Exercitationem sunt sit in corporis molestiae dolorem. Ab enim saepe aspernatur ipsa.\nMaxime explicabo et ipsa omnis. Veniam dolores cumque omnis. Rem voluptatibus soluta ut. Perspiciatis enim vero distinctio ut nesciunt odio. Molestiae et beatae aliquam quis recusandae autem magni."], ["created_at", "2015-03-25 21:11:38.486533"], ["updated_at", "2015-03-25 21:11:38.486533"]]
1052
+  (0.7ms) commit transaction
1053
+ Processing by FinePrint::ContractsController#update as HTML
1054
+ Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"19"}
1055
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]
1056
+  (0.0ms) begin transaction
1057
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]]
1058
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["name", "another_name"], ["title", "Another title"], ["content", "Another content"], ["updated_at", "2015-03-25 21:11:38.490953"], ["id", 19]]
1059
+  (2.8ms) commit transaction
1060
+ Redirected to http://test.host/fine_print/contracts/19
1061
+ Completed 302 Found in 8ms (ActiveRecord: 3.1ms)
1062
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]
1063
+  (0.1ms) begin transaction
1064
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.501514"], ["updated_at", "2015-03-25 21:11:38.501514"]]
1065
+  (11.4ms) commit transaction
1066
+  (0.1ms) begin transaction
1067
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.514742"], ["updated_at", "2015-03-25 21:11:38.514742"]]
1068
+  (0.9ms) commit transaction
1069
+  (0.1ms) begin transaction
1070
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "autem_qui_ducimus"], ["title", "Fugiat sunt laboriosam"], ["content", "Saepe molestiae pariatur error porro quas ut voluptatem. Iusto voluptas ducimus. Est adipisci totam. Doloribus distinctio sed sed numquam praesentium aut. Voluptatem at sint perferendis.\nPerferendis et consequatur dolorem omnis labore. Fugiat velit maiores voluptas facere aliquam. Odit eveniet expedita et commodi corrupti aut dignissimos. Aperiam aut ad asperiores.\nQuis maxime omnis totam rerum est sit architecto. Delectus dolorum ullam hic fuga. Fugit ut et consequatur minus non."], ["created_at", "2015-03-25 21:11:38.519006"], ["updated_at", "2015-03-25 21:11:38.519006"]]
1071
+  (2.3ms) commit transaction
1072
+ Processing by FinePrint::ContractsController#create as HTML
1073
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}
1074
+  (0.1ms) begin transaction
1075
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["created_at", "2015-03-25 21:11:38.525226"], ["updated_at", "2015-03-25 21:11:38.525226"]]
1076
+  (1.9ms) commit transaction
1077
+ Redirected to http://test.host/fine_print/contracts/21
1078
+ Completed 302 Found in 5ms (ActiveRecord: 2.1ms)
1079
+  (0.0ms) begin transaction
1080
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.530300"], ["updated_at", "2015-03-25 21:11:38.530300"]]
1081
+  (2.0ms) commit transaction
1082
+  (0.0ms) begin transaction
1083
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.533370"], ["updated_at", "2015-03-25 21:11:38.533370"]]
1084
+  (0.8ms) commit transaction
1085
+  (0.0ms) begin transaction
1086
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "repellat_nesciunt_temporibus"], ["title", "Sapiente aut ut"], ["content", "Numquam omnis ad magni doloribus. Et nemo molestias velit quasi est est. Exercitationem asperiores maxime ut mollitia adipisci aut alias. Sed eum mollitia quae sunt fugit. Quam unde iusto quia id.\nEt et nulla distinctio hic natus autem excepturi. Saepe asperiores sequi sunt. Ea aut eum. Laborum omnis dolores pariatur vitae at. Et sed nisi sit labore excepturi.\nDeserunt voluptatem reiciendis recusandae et omnis saepe. Veniam et quas eum qui. Excepturi sed explicabo quod quaerat."], ["created_at", "2015-03-25 21:11:38.536268"], ["updated_at", "2015-03-25 21:11:38.536268"]]
1087
+  (0.7ms) commit transaction
1088
+ Processing by FinePrint::ContractsController#edit as HTML
1089
+ Parameters: {"id"=>"22"}
1090
+ Filter chain halted as :can_manage rendered or redirected
1091
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1092
+ Processing by FinePrint::ContractsController#edit as HTML
1093
+ Parameters: {"id"=>"22"}
1094
+ Filter chain halted as :can_manage rendered or redirected
1095
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1096
+  (0.0ms) begin transaction
1097
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.540684"], ["updated_at", "2015-03-25 21:11:38.540684"]]
1098
+  (0.7ms) commit transaction
1099
+  (0.0ms) begin transaction
1100
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.542538"], ["updated_at", "2015-03-25 21:11:38.542538"]]
1101
+  (0.8ms) commit transaction
1102
+  (0.0ms) begin transaction
1103
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "non_dolores_aut"], ["title", "Aut et quia"], ["content", "Et explicabo totam aut vel maxime rerum deserunt. Ut accusantium error debitis impedit a ad corporis. Similique ipsa sint assumenda et sed dolorem. Alias nostrum rerum.\nEa exercitationem soluta quaerat voluptatem hic qui optio. Est quod maxime est illo quis. Sunt hic rerum.\nRerum earum quod natus. Optio omnis consequatur. Eum est et id eos."], ["created_at", "2015-03-25 21:11:38.545223"], ["updated_at", "2015-03-25 21:11:38.545223"]]
1104
+  (1.9ms) commit transaction
1105
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "non_dolores_aut"]]
1106
+  (0.0ms) begin transaction
1107
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 23 AND "fine_print_contracts"."name" = 'non_dolores_aut') LIMIT 1
1108
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]
1109
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:11:38.550797"], ["id", 23]]
1110
+  (0.7ms) commit transaction
1111
+ Processing by FinePrint::ContractsController#unpublish as HTML
1112
+ Parameters: {"id"=>"23"}
1113
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]
1114
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "non_dolores_aut"]]
1115
+  (0.0ms) begin transaction
1116
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 23]]
1117
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", nil], ["updated_at", "2015-03-25 21:11:38.556851"], ["id", 23]]
1118
+  (2.1ms) commit transaction
1119
+ Redirected to http://test.host/fine_print/contracts
1120
+ Completed 302 Found in 7ms (ActiveRecord: 2.4ms)
1121
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 23]]
1122
+  (0.0ms) begin transaction
1123
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.563280"], ["updated_at", "2015-03-25 21:11:38.563280"]]
1124
+  (2.0ms) commit transaction
1125
+  (0.1ms) begin transaction
1126
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.566352"], ["updated_at", "2015-03-25 21:11:38.566352"]]
1127
+  (0.7ms) commit transaction
1128
+  (0.0ms) begin transaction
1129
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "doloremque_veniam_aut"], ["title", "Maiores veniam facere"], ["content", "Delectus sunt nostrum. Odit provident corrupti quisquam omnis recusandae. Inventore corporis numquam vel id. Est rerum sunt nulla.\nVoluptatum eaque rerum dicta deleniti iure asperiores excepturi. Assumenda aut et accusantium eveniet sequi. Illum est qui cupiditate eos voluptas. Suscipit consequatur quo. Cum ea sit ut aut sapiente id et.\nQuia eum cum laboriosam. Odio ad laboriosam repellat totam maiores consequuntur. Sit possimus temporibus incidunt ea."], ["created_at", "2015-03-25 21:11:38.569020"], ["updated_at", "2015-03-25 21:11:38.569020"]]
1130
+  (1.7ms) commit transaction
1131
+ Processing by FinePrint::ContractsController#destroy as HTML
1132
+ Parameters: {"id"=>"24"}
1133
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]]
1134
+  (0.1ms) begin transaction
1135
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 24]]
1136
+ SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 24]]
1137
+  (2.4ms) commit transaction
1138
+ Redirected to http://test.host/fine_print/contracts
1139
+ Completed 302 Found in 7ms (ActiveRecord: 3.0ms)
1140
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]]
1141
+  (0.1ms) begin transaction
1142
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.582888"], ["updated_at", "2015-03-25 21:11:38.582888"]]
1143
+  (2.0ms) commit transaction
1144
+  (0.0ms) begin transaction
1145
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.586127"], ["updated_at", "2015-03-25 21:11:38.586127"]]
1146
+  (2.0ms) commit transaction
1147
+  (0.0ms) begin transaction
1148
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "qui_nobis_saepe"], ["title", "Perferendis fuga cum"], ["content", "Quis sed nesciunt eum. Blanditiis enim similique. Ea autem ut. Vitae et adipisci necessitatibus nemo explicabo sed dignissimos.\nA vel porro. Voluptatibus sed autem rerum facilis. Maiores reprehenderit laboriosam accusamus non hic est. Aliquid est consequatur dolorem quis.\nAccusantium hic debitis dolores alias. Assumenda tempora corporis culpa nam sunt ex ut. Et quos nulla vero. At architecto consectetur veritatis."], ["created_at", "2015-03-25 21:11:38.590524"], ["updated_at", "2015-03-25 21:11:38.590524"]]
1149
+  (0.5ms) commit transaction
1150
+ Processing by FinePrint::ContractsController#publish as HTML
1151
+ Parameters: {"id"=>"25"}
1152
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]]
1153
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "qui_nobis_saepe"]]
1154
+  (0.0ms) begin transaction
1155
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'qui_nobis_saepe') LIMIT 1
1156
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]]
1157
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:11:38.596643"], ["id", 25]]
1158
+  (0.7ms) commit transaction
1159
+ Redirected to http://test.host/fine_print/contracts
1160
+ Completed 302 Found in 7ms (ActiveRecord: 1.2ms)
1161
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]
1162
+  (0.0ms) begin transaction
1163
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.601924"], ["updated_at", "2015-03-25 21:11:38.601924"]]
1164
+  (2.0ms) commit transaction
1165
+  (0.0ms) begin transaction
1166
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.605055"], ["updated_at", "2015-03-25 21:11:38.605055"]]
1167
+  (0.7ms) commit transaction
1168
+  (0.0ms) begin transaction
1169
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "ducimus_dignissimos_culpa"], ["title", "Dolores deserunt facilis"], ["content", "Doloremque debitis accusantium repellat rerum expedita. Est cupiditate corporis distinctio ea. Architecto non maiores praesentium voluptatum id in sint. Qui eos ipsam.\nQui architecto non eaque voluptatem. Culpa nobis ipsum voluptates repudiandae omnis recusandae. Soluta praesentium eum placeat voluptatem a modi tempore. Voluptas odio et consequuntur iure enim inventore et.\nConsectetur explicabo pariatur hic quam rem harum doloremque. Consequatur hic delectus. Corporis velit doloribus eligendi porro quam. Nesciunt itaque consectetur est nam et et. Odit est laborum quam dolorem aperiam."], ["created_at", "2015-03-25 21:11:38.607761"], ["updated_at", "2015-03-25 21:11:38.607761"]]
1170
+  (0.6ms) commit transaction
1171
+ Processing by FinePrint::ContractsController#destroy as HTML
1172
+ Parameters: {"id"=>"26"}
1173
+ Filter chain halted as :can_manage rendered or redirected
1174
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1175
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]]
1176
+ Processing by FinePrint::ContractsController#destroy as HTML
1177
+ Parameters: {"id"=>"26"}
1178
+ Filter chain halted as :can_manage rendered or redirected
1179
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1180
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 26]]
1181
+  (0.0ms) begin transaction
1182
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.613419"], ["updated_at", "2015-03-25 21:11:38.613419"]]
1183
+  (0.6ms) commit transaction
1184
+  (0.0ms) begin transaction
1185
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.615139"], ["updated_at", "2015-03-25 21:11:38.615139"]]
1186
+  (0.6ms) commit transaction
1187
+  (0.0ms) begin transaction
1188
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "nemo_repellendus_esse"], ["title", "A architecto non"], ["content", "Facilis quam repellendus omnis fuga et. Adipisci dolore quaerat occaecati. Iusto aperiam aliquam cupiditate totam eveniet itaque tempora. Delectus ad qui deleniti. Aut inventore id eligendi ea quos porro.\nIncidunt dolore atque. Sit et dignissimos cum. Veniam repellendus doloremque quia voluptatem ea. Non consequatur qui corporis et.\nAccusantium nihil est fugiat saepe rerum quasi et. Omnis sit et omnis. Illum molestias quibusdam quis laudantium iusto quis. Magnam illum fuga explicabo quia in dolores."], ["created_at", "2015-03-25 21:11:38.617946"], ["updated_at", "2015-03-25 21:11:38.617946"]]
1189
+  (0.7ms) commit transaction
1190
+ Processing by FinePrint::ContractsController#update as HTML
1191
+ Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"27"}
1192
+ Filter chain halted as :can_manage rendered or redirected
1193
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1194
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]
1195
+ Processing by FinePrint::ContractsController#update as HTML
1196
+ Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"27"}
1197
+ Filter chain halted as :can_manage rendered or redirected
1198
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1199
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 27]]
1200
+  (0.0ms) begin transaction
1201
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.623943"], ["updated_at", "2015-03-25 21:11:38.623943"]]
1202
+  (2.1ms) commit transaction
1203
+  (0.0ms) begin transaction
1204
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.627199"], ["updated_at", "2015-03-25 21:11:38.627199"]]
1205
+  (9.6ms) commit transaction
1206
+  (0.1ms) begin transaction
1207
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "odit_temporibus_corporis"], ["title", "Est laboriosam deleniti"], ["content", "Vel neque ipsam incidunt quo mollitia blanditiis. Aut est autem voluptates accusantium. Sunt deserunt et. Voluptate consequatur temporibus quis distinctio recusandae perspiciatis qui.\nError quod eum et sint. Deleniti natus distinctio facilis autem. Ut molestias dolorem. Sunt consectetur iusto hic illum modi a ad.\nSuscipit corporis eius porro fugiat perferendis soluta. Adipisci non est sed facilis doloremque. Amet ullam enim eveniet illo eum."], ["created_at", "2015-03-25 21:11:38.640136"], ["updated_at", "2015-03-25 21:11:38.640136"]]
1208
+  (0.8ms) commit transaction
1209
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "odit_temporibus_corporis"]]
1210
+  (0.0ms) begin transaction
1211
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'odit_temporibus_corporis') LIMIT 1
1212
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]
1213
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:11:38.645288"], ["id", 28]]
1214
+  (0.8ms) commit transaction
1215
+ Processing by FinePrint::ContractsController#unpublish as HTML
1216
+ Parameters: {"id"=>"28"}
1217
+ Filter chain halted as :can_manage rendered or redirected
1218
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1219
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]
1220
+ Processing by FinePrint::ContractsController#unpublish as HTML
1221
+ Parameters: {"id"=>"28"}
1222
+ Filter chain halted as :can_manage rendered or redirected
1223
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1224
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]
1225
+  (0.1ms) begin transaction
1226
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.652818"], ["updated_at", "2015-03-25 21:11:38.652818"]]
1227
+  (2.6ms) commit transaction
1228
+  (0.1ms) begin transaction
1229
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.657116"], ["updated_at", "2015-03-25 21:11:38.657116"]]
1230
+  (0.7ms) commit transaction
1231
+  (0.1ms) begin transaction
1232
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "molestias_ea_aut"], ["title", "Maxime cum exercitationem"], ["content", "Ut laborum veniam. Est dolorem sit tenetur ut praesentium quas. Nesciunt harum enim a.\nEt delectus rem dolorem doloribus. Consectetur ipsum quibusdam. Cum illum quia corporis est. Neque debitis ducimus. Illo doloribus recusandae.\nUnde maiores qui nobis quia est magnam. Possimus ratione beatae aut. Natus error deserunt dolore. Modi et qui magni."], ["created_at", "2015-03-25 21:11:38.660632"], ["updated_at", "2015-03-25 21:11:38.660632"]]
1233
+  (2.1ms) commit transaction
1234
+ Processing by FinePrint::ContractsController#new as HTML
1235
+ Filter chain halted as :can_manage rendered or redirected
1236
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1237
+ Processing by FinePrint::ContractsController#new as HTML
1238
+ Filter chain halted as :can_manage rendered or redirected
1239
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1240
+  (0.1ms) begin transaction
1241
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.667950"], ["updated_at", "2015-03-25 21:11:38.667950"]]
1242
+  (2.3ms) commit transaction
1243
+  (0.0ms) begin transaction
1244
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.671906"], ["updated_at", "2015-03-25 21:11:38.671906"]]
1245
+  (2.1ms) commit transaction
1246
+  (0.1ms) begin transaction
1247
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "maxime_molestiae_neque"], ["title", "Ut saepe pariatur"], ["content", "Quaerat est minus dicta odio. At maiores quis et. Reprehenderit tempore laborum enim aut. Blanditiis culpa qui error quia et. Minus consequuntur dolorem eos sed.\nNulla cumque ea. Voluptas ipsum sed labore dignissimos praesentium aut esse. Mollitia aut deleniti expedita.\nVoluptatem at omnis saepe asperiores doloribus odio est. Molestiae beatae temporibus optio fugit dolores ut. Non repellat quae eos dolor et."], ["created_at", "2015-03-25 21:11:38.676323"], ["updated_at", "2015-03-25 21:11:38.676323"]]
1248
+  (0.7ms) commit transaction
1249
+ Processing by FinePrint::ContractsController#index as HTML
1250
+ FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC
1251
+ FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (12, 10, 9, 7, 6, 4, 3, 1, 19, 20, 11, 8, 5, 2, 26, 15, 30, 29, 27, 18, 23, 28, 25, 17, 22, 13, 16, 21, 14) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC
1252
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/index.html.erb within layouts/application (0.2ms)
1253
+ Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 0.6ms)
1254
+  (0.1ms) begin transaction
1255
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.689037"], ["updated_at", "2015-03-25 21:11:38.689037"]]
1256
+  (2.0ms) commit transaction
1257
+  (0.0ms) begin transaction
1258
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.692364"], ["updated_at", "2015-03-25 21:11:38.692364"]]
1259
+  (0.7ms) commit transaction
1260
+  (0.0ms) begin transaction
1261
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "et_ut_nemo"], ["title", "Aspernatur impedit ratione"], ["content", "Ut eum veritatis totam. Inventore nulla odit quod sint. Est quibusdam aut pariatur quam. Nemo cumque aut iure.\nVoluptas id consequatur cupiditate vitae. Sunt dolorem similique adipisci. Mollitia et voluptas consectetur qui aut aliquid minima. Officiis rerum consequatur rem inventore consectetur at deleniti.\nAccusamus atque et voluptate modi qui odio ut. Adipisci sint accusantium consectetur. Cum quo eligendi qui veritatis."], ["created_at", "2015-03-25 21:11:38.695202"], ["updated_at", "2015-03-25 21:11:38.695202"]]
1262
+  (0.7ms) commit transaction
1263
+ Processing by FinePrint::ContractsController#publish as HTML
1264
+ Parameters: {"id"=>"31"}
1265
+ Filter chain halted as :can_manage rendered or redirected
1266
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1267
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]
1268
+ Processing by FinePrint::ContractsController#publish as HTML
1269
+ Parameters: {"id"=>"31"}
1270
+ Filter chain halted as :can_manage rendered or redirected
1271
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1272
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 31]]
1273
+  (0.0ms) begin transaction
1274
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.700888"], ["updated_at", "2015-03-25 21:11:38.700888"]]
1275
+  (1.5ms) commit transaction
1276
+  (0.0ms) begin transaction
1277
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.703693"], ["updated_at", "2015-03-25 21:11:38.703693"]]
1278
+  (1.9ms) commit transaction
1279
+  (0.0ms) begin transaction
1280
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "at_magnam_quaerat"], ["title", "Est et iste"], ["content", "A et veniam corporis aspernatur enim dolorem. Enim ut velit dignissimos et esse. Beatae expedita odit.\nAliquam totam omnis eos consequatur doloremque dolores. Sed corrupti autem quaerat. Voluptatem reprehenderit officiis perspiciatis in libero ipsum. Aliquid odit eaque doloremque ducimus laboriosam dolorem temporibus. Aut voluptates excepturi quasi quas beatae est.\nReiciendis nihil et sunt necessitatibus sunt. Totam illo dolorem omnis aspernatur est eum et. Est voluptas quis. Nihil non eveniet. Harum provident hic temporibus qui inventore ut."], ["created_at", "2015-03-25 21:11:38.707633"], ["updated_at", "2015-03-25 21:11:38.707633"]]
1281
+  (0.7ms) commit transaction
1282
+ Processing by FinePrint::ContractsController#new as HTML
1283
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new.html.erb within layouts/application (0.2ms)
1284
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
1285
+  (0.1ms) begin transaction
1286
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.713519"], ["updated_at", "2015-03-25 21:11:38.713519"]]
1287
+  (2.0ms) commit transaction
1288
+  (0.0ms) begin transaction
1289
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.716927"], ["updated_at", "2015-03-25 21:11:38.716927"]]
1290
+  (0.8ms) commit transaction
1291
+  (0.0ms) begin transaction
1292
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "quia_ex_inventore"], ["title", "Incidunt itaque doloremque"], ["content", "Reprehenderit nesciunt sit quibusdam inventore. Earum vitae hic. Culpa aut velit et aliquam nobis necessitatibus maiores.\nSint velit qui et. Quia commodi ut. Harum totam quas rerum. Quis occaecati sint vel omnis sed et. Corporis corrupti commodi culpa ut nemo velit nesciunt.\nFacere voluptatem quam nihil exercitationem placeat necessitatibus illo. Minima et consectetur eos. Ut natus ex expedita qui. Commodi voluptatem et eius. Temporibus ad sit ut."], ["created_at", "2015-03-25 21:11:38.720025"], ["updated_at", "2015-03-25 21:11:38.720025"]]
1293
+  (1.8ms) commit transaction
1294
+ Processing by FinePrint::ContractsController#edit as HTML
1295
+ Parameters: {"id"=>"33"}
1296
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]]
1297
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]]
1298
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/edit.html.erb within layouts/application (0.3ms)
1299
+ Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.2ms)
1300
+  (0.1ms) begin transaction
1301
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.735989"], ["updated_at", "2015-03-25 21:11:38.735989"]]
1302
+  (2.1ms) commit transaction
1303
+  (0.0ms) begin transaction
1304
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.739405"], ["updated_at", "2015-03-25 21:11:38.739405"]]
1305
+  (0.7ms) commit transaction
1306
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptas_sapiente_officia"]]
1307
+  (0.0ms) begin transaction
1308
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptas_sapiente_officia') LIMIT 1
1309
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "voluptas_sapiente_officia"], ["title", "Dolor cum et"], ["content", "Vero corporis repudiandae. Asperiores est tenetur. Omnis est eligendi ad eius.\nQui saepe enim corporis. Reiciendis ad doloribus quis vel. Nemo alias numquam. Facere fugit itaque harum tempora et.\nAut in expedita unde. Quo rem magni aut sed eos. Et perferendis quidem."], ["version", 1], ["created_at", "2015-03-25 21:11:38.744640"], ["updated_at", "2015-03-25 21:11:38.744640"]]
1310
+  (1.7ms) commit transaction
1311
+  (0.1ms) begin transaction
1312
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
1313
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.749914"], ["updated_at", "2015-03-25 21:11:38.749914"]]
1314
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["user_type", "DummyUser"], ["user_id", 43], ["created_at", "2015-03-25 21:11:38.751311"], ["updated_at", "2015-03-25 21:11:38.751311"]]
1315
+  (0.8ms) commit transaction
1316
+ Processing by FinePrint::SignaturesController#create as HTML
1317
+ Parameters: {"contract_id"=>"34"}
1318
+ Filter chain halted as :can_sign rendered or redirected
1319
+ Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
1320
+  (0.1ms) begin transaction
1321
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.757588"], ["updated_at", "2015-03-25 21:11:38.757588"]]
1322
+  (2.3ms) commit transaction
1323
+  (0.0ms) begin transaction
1324
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.761249"], ["updated_at", "2015-03-25 21:11:38.761249"]]
1325
+  (2.1ms) commit transaction
1326
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_id_asperiores"]]
1327
+  (0.0ms) begin transaction
1328
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ut_id_asperiores') LIMIT 1
1329
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "ut_id_asperiores"], ["title", "Voluptatem officiis voluptatibus"], ["content", "Expedita asperiores dolorum quasi fuga eos. Beatae sit nisi accusamus aut. Architecto dolores animi odio suscipit ipsum expedita. Est consectetur ullam quo ad.\nMinima beatae quos. Debitis dolor provident. Iste rerum consequuntur quibusdam iusto dolorum esse. Inventore illo architecto vitae cumque ullam. Sunt quasi impedit aperiam perspiciatis.\nOccaecati ab optio. Assumenda culpa est quo consequuntur quod illum. Officiis sequi consequatur soluta quis eligendi occaecati et. Nam ipsam nisi rerum voluptas perferendis."], ["version", 1], ["created_at", "2015-03-25 21:11:38.768337"], ["updated_at", "2015-03-25 21:11:38.768337"]]
1330
+  (2.0ms) commit transaction
1331
+  (0.1ms) begin transaction
1332
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
1333
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.773492"], ["updated_at", "2015-03-25 21:11:38.773492"]]
1334
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["user_type", "DummyUser"], ["user_id", 46], ["created_at", "2015-03-25 21:11:38.774541"], ["updated_at", "2015-03-25 21:11:38.774541"]]
1335
+  (0.7ms) commit transaction
1336
+ Processing by FinePrint::SignaturesController#destroy as HTML
1337
+ Parameters: {"id"=>"11"}
1338
+ Filter chain halted as :can_manage rendered or redirected
1339
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1340
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]
1341
+ Processing by FinePrint::SignaturesController#destroy as HTML
1342
+ Parameters: {"id"=>"11"}
1343
+ Filter chain halted as :can_manage rendered or redirected
1344
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1345
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 11]]
1346
+  (0.0ms) begin transaction
1347
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.781047"], ["updated_at", "2015-03-25 21:11:38.781047"]]
1348
+  (0.6ms) commit transaction
1349
+  (0.1ms) begin transaction
1350
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.782918"], ["updated_at", "2015-03-25 21:11:38.782918"]]
1351
+  (0.7ms) commit transaction
1352
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "facilis_consequatur_voluptatem"]]
1353
+  (0.0ms) begin transaction
1354
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'facilis_consequatur_voluptatem') LIMIT 1
1355
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "facilis_consequatur_voluptatem"], ["title", "Excepturi perspiciatis aut"], ["content", "Quia suscipit harum blanditiis laudantium ipsum natus. Quis laborum rerum. Aliquid nesciunt similique consequatur vel odio quaerat consequuntur. Sit velit voluptatem a. Suscipit animi quidem voluptatem illo officia.\nTotam sapiente natus est quis expedita. Velit exercitationem quas. Est est enim qui aliquid rerum rerum. Voluptas et ad. Nam magnam quia voluptates rerum cum ut similique.\nVel nemo adipisci. Sapiente dicta saepe sit dolorem. Voluptatem praesentium omnis laborum at labore quas debitis. Vel ratione perferendis a. Hic voluptatem deleniti dicta illum commodi provident dolor."], ["version", 1], ["created_at", "2015-03-25 21:11:38.797646"], ["updated_at", "2015-03-25 21:11:38.797646"]]
1356
+  (0.8ms) commit transaction
1357
+  (0.1ms) begin transaction
1358
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
1359
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.802386"], ["updated_at", "2015-03-25 21:11:38.802386"]]
1360
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["user_type", "DummyUser"], ["user_id", 49], ["created_at", "2015-03-25 21:11:38.803701"], ["updated_at", "2015-03-25 21:11:38.803701"]]
1361
+  (0.8ms) commit transaction
1362
+ Processing by FinePrint::SignaturesController#index as HTML
1363
+ Parameters: {"contract_id"=>"36"}
1364
+ Filter chain halted as :can_manage rendered or redirected
1365
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1366
+ Processing by FinePrint::SignaturesController#index as HTML
1367
+ Parameters: {"contract_id"=>"36"}
1368
+ Filter chain halted as :can_manage rendered or redirected
1369
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1370
+  (0.0ms) begin transaction
1371
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.809489"], ["updated_at", "2015-03-25 21:11:38.809489"]]
1372
+  (0.7ms) commit transaction
1373
+  (0.0ms) begin transaction
1374
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.812119"], ["updated_at", "2015-03-25 21:11:38.812119"]]
1375
+  (1.8ms) commit transaction
1376
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "aut_ex_eos"]]
1377
+  (0.0ms) begin transaction
1378
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'aut_ex_eos') LIMIT 1
1379
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "aut_ex_eos"], ["title", "Corrupti magni aliquam"], ["content", "Aspernatur facilis magni voluptas magnam ipsam. Sint omnis dicta ut consequatur modi. Excepturi ad rem. Nam aut qui dolorem sint repellat. Est aut sequi hic sit facilis.\nItaque natus aut porro expedita. Dolore ullam ut labore cumque eos nisi. Ipsam asperiores iusto eveniet illum eos quos. Asperiores enim facere voluptatum error consequuntur eos. Quaerat iure totam aperiam vel est odio.\nVoluptate ducimus illum autem. Qui praesentium fugiat ratione. Labore nulla delectus velit esse id eius."], ["version", 1], ["created_at", "2015-03-25 21:11:38.819437"], ["updated_at", "2015-03-25 21:11:38.819437"]]
1380
+  (0.8ms) commit transaction
1381
+  (0.1ms) begin transaction
1382
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
1383
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.824116"], ["updated_at", "2015-03-25 21:11:38.824116"]]
1384
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["user_type", "DummyUser"], ["user_id", 52], ["created_at", "2015-03-25 21:11:38.825249"], ["updated_at", "2015-03-25 21:11:38.825249"]]
1385
+  (0.7ms) commit transaction
1386
+ Processing by FinePrint::SignaturesController#new as HTML
1387
+ Parameters: {"contract_id"=>"37"}
1388
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]
1389
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/application (0.2ms)
1390
+ Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)
1391
+  (0.1ms) begin transaction
1392
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.833581"], ["updated_at", "2015-03-25 21:11:38.833581"]]
1393
+  (0.7ms) commit transaction
1394
+  (0.0ms) begin transaction
1395
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.835529"], ["updated_at", "2015-03-25 21:11:38.835529"]]
1396
+  (0.7ms) commit transaction
1397
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptatem_qui_suscipit"]]
1398
+  (0.0ms) begin transaction
1399
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'voluptatem_qui_suscipit') LIMIT 1
1400
+ SQL (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "voluptatem_qui_suscipit"], ["title", "Ad aut omnis"], ["content", "Iste eaque recusandae laboriosam natus deserunt tempore. Voluptas non sed laboriosam occaecati. Expedita odit illum ea sit eligendi necessitatibus.\nVoluptatem sint alias ut dicta ipsum in. Rerum quis quia sed error incidunt. Eveniet temporibus aperiam eos laboriosam eos ab et.\nVelit distinctio sit facere doloremque necessitatibus. Molestiae tempora iste exercitationem iure qui. Neque quis et. Odio maiores natus qui perferendis iste. Fuga qui maiores itaque aut."], ["version", 1], ["created_at", "2015-03-25 21:11:38.843621"], ["updated_at", "2015-03-25 21:11:38.843621"]]
1401
+  (0.7ms) commit transaction
1402
+  (0.0ms) begin transaction
1403
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
1404
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.847617"], ["updated_at", "2015-03-25 21:11:38.847617"]]
1405
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["user_type", "DummyUser"], ["user_id", 55], ["created_at", "2015-03-25 21:11:38.848506"], ["updated_at", "2015-03-25 21:11:38.848506"]]
1406
+  (0.7ms) commit transaction
1407
+ Processing by FinePrint::SignaturesController#new as HTML
1408
+ Parameters: {"contract_id"=>"38"}
1409
+ Filter chain halted as :can_sign rendered or redirected
1410
+ Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
1411
+  (0.0ms) begin transaction
1412
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.853082"], ["updated_at", "2015-03-25 21:11:38.853082"]]
1413
+  (0.6ms) commit transaction
1414
+  (0.0ms) begin transaction
1415
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.855287"], ["updated_at", "2015-03-25 21:11:38.855287"]]
1416
+  (0.7ms) commit transaction
1417
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_totam_cupiditate"]]
1418
+  (0.1ms) begin transaction
1419
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dolor_totam_cupiditate') LIMIT 1
1420
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "dolor_totam_cupiditate"], ["title", "Iure similique facilis"], ["content", "Fugit esse dignissimos explicabo. Suscipit repellendus occaecati. In consequuntur nulla id ut qui eius. Totam distinctio a dolor et id cum. Et aut a vero nisi dolores.\nId magni eum. Qui fugit sunt reprehenderit ratione quidem explicabo. Repellendus debitis inventore vitae sapiente voluptatem velit perspiciatis.\nIpsam nisi ratione necessitatibus animi autem quia. Necessitatibus reprehenderit nobis aliquam porro laborum deserunt. Eaque sunt quod et. Quo voluptatem ipsum ullam ut et ipsa."], ["version", 1], ["created_at", "2015-03-25 21:11:38.861996"], ["updated_at", "2015-03-25 21:11:38.861996"]]
1421
+  (0.7ms) commit transaction
1422
+  (0.0ms) begin transaction
1423
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
1424
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.865143"], ["updated_at", "2015-03-25 21:11:38.865143"]]
1425
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["user_type", "DummyUser"], ["user_id", 58], ["created_at", "2015-03-25 21:11:38.865945"], ["updated_at", "2015-03-25 21:11:38.865945"]]
1426
+  (0.8ms) commit transaction
1427
+ Processing by FinePrint::SignaturesController#new as HTML
1428
+ Parameters: {"contract_id"=>"39"}
1429
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]]
1430
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/application (0.2ms)
1431
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
1432
+  (0.0ms) begin transaction
1433
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.872249"], ["updated_at", "2015-03-25 21:11:38.872249"]]
1434
+  (0.7ms) commit transaction
1435
+  (0.0ms) begin transaction
1436
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.874176"], ["updated_at", "2015-03-25 21:11:38.874176"]]
1437
+  (0.9ms) commit transaction
1438
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_suscipit_et"]]
1439
+  (0.0ms) begin transaction
1440
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ut_suscipit_et') LIMIT 1
1441
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "ut_suscipit_et"], ["title", "Culpa quod et"], ["content", "Est provident reiciendis. Iure nobis dolor itaque harum blanditiis et laborum. Quas exercitationem rerum. Nam delectus dolorum ducimus error est nemo quas.\nAt impedit soluta sit aut voluptas magni eaque. Quae qui amet beatae sequi tenetur distinctio placeat. Quo neque ea quam reprehenderit.\nQuae aut alias dolor molestiae fugit officia. Quo ipsam et rerum sequi quia doloremque odit. Quibusdam voluptatibus sit et."], ["version", 1], ["created_at", "2015-03-25 21:11:38.880197"], ["updated_at", "2015-03-25 21:11:38.880197"]]
1442
+  (1.5ms) commit transaction
1443
+  (0.1ms) begin transaction
1444
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
1445
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.886612"], ["updated_at", "2015-03-25 21:11:38.886612"]]
1446
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["user_type", "DummyUser"], ["user_id", 61], ["created_at", "2015-03-25 21:11:38.887901"], ["updated_at", "2015-03-25 21:11:38.887901"]]
1447
+  (0.7ms) commit transaction
1448
+ Processing by FinePrint::SignaturesController#index as HTML
1449
+ Parameters: {"contract_id"=>"40"}
1450
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]]
1451
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/index.html.erb within layouts/application (0.2ms)
1452
+ Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.1ms)
1453
+  (0.0ms) begin transaction
1454
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.899874"], ["updated_at", "2015-03-25 21:11:38.899874"]]
1455
+  (0.7ms) commit transaction
1456
+  (0.0ms) begin transaction
1457
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.902558"], ["updated_at", "2015-03-25 21:11:38.902558"]]
1458
+  (0.7ms) commit transaction
1459
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sapiente_itaque_repellendus"]]
1460
+  (0.0ms) begin transaction
1461
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sapiente_itaque_repellendus') LIMIT 1
1462
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "sapiente_itaque_repellendus"], ["title", "Vitae voluptatum qui"], ["content", "Aut distinctio qui aut sed officia. Consequatur quia fugiat ducimus aliquam qui. Iste aut voluptatem non nesciunt recusandae.\nEnim maxime inventore ut vel soluta earum ea. Illo aliquam autem dolores consequatur. In et ipsam iusto ut. Ea sed qui consequatur aperiam voluptas. Velit et rerum ea labore ut.\nNon ut ea est cumque laudantium porro vero. Ut exercitationem vel deleniti est. Nihil maxime et est."], ["version", 1], ["created_at", "2015-03-25 21:11:38.908987"], ["updated_at", "2015-03-25 21:11:38.908987"]]
1463
+  (1.5ms) commit transaction
1464
+  (0.0ms) begin transaction
1465
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
1466
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.913129"], ["updated_at", "2015-03-25 21:11:38.913129"]]
1467
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["user_type", "DummyUser"], ["user_id", 64], ["created_at", "2015-03-25 21:11:38.913920"], ["updated_at", "2015-03-25 21:11:38.913920"]]
1468
+  (2.8ms) commit transaction
1469
+ Processing by FinePrint::SignaturesController#destroy as HTML
1470
+ Parameters: {"id"=>"17"}
1471
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]]
1472
+  (0.1ms) begin transaction
1473
+ SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 17]]
1474
+  (0.7ms) commit transaction
1475
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 41]]
1476
+ Redirected to http://test.host/fine_print/contracts/41/signatures
1477
+ Completed 302 Found in 5ms (ActiveRecord: 1.2ms)
1478
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]]
1479
+  (0.0ms) begin transaction
1480
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "iste_dolores_voluptatem"], ["title", "Dolores iste veritatis"], ["content", "Natus asperiores quas sed qui earum quisquam sequi. Non omnis porro ut. Quo quis eum cum commodi in ut. Et eaque officiis ipsum temporibus non quia voluptas.\nNon id quam praesentium quae similique. Nobis non quam suscipit mollitia quis rem. Quia temporibus consequatur itaque.\nRatione et aperiam excepturi omnis sed ut eveniet. Ipsam itaque quod asperiores molestiae similique harum. Voluptas porro impedit."], ["created_at", "2015-03-25 21:11:38.927782"], ["updated_at", "2015-03-25 21:11:38.927782"]]
1481
+  (0.7ms) commit transaction
1482
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]
1483
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iste_dolores_voluptatem"]]
1484
+  (0.0ms) begin transaction
1485
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'iste_dolores_voluptatem') LIMIT 1
1486
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]
1487
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:11:38.933007"], ["id", 42]]
1488
+  (0.6ms) commit transaction
1489
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iste_dolores_voluptatem"]]
1490
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]
1491
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iste_dolores_voluptatem"]]
1492
+  (0.0ms) begin transaction
1493
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]
1494
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", nil], ["updated_at", "2015-03-25 21:11:38.938719"], ["id", 42]]
1495
+  (0.7ms) commit transaction
1496
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "cupiditate_omnis_illo"]]
1497
+  (0.0ms) begin transaction
1498
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'cupiditate_omnis_illo') LIMIT 1
1499
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "cupiditate_omnis_illo"], ["title", "Odit facere distinctio"], ["content", "Id dolore facilis. Modi error quidem. Alias sit ducimus dignissimos iusto animi.\nIste voluptatum repudiandae quaerat et rerum esse doloribus. Autem nesciunt assumenda quas sit est architecto omnis. Ipsum ea reiciendis nobis animi doloremque ducimus est.\nNecessitatibus soluta facere exercitationem commodi nulla. Et at soluta. Reprehenderit et dolorum quas. Tempora ex at ut beatae qui explicabo laudantium. Sequi quia officiis aut."], ["version", 1], ["created_at", "2015-03-25 21:11:38.944463"], ["updated_at", "2015-03-25 21:11:38.944463"]]
1500
+  (0.7ms) commit transaction
1501
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "cupiditate_omnis_illo"]]
1502
+  (0.0ms) begin transaction
1503
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "cupiditate_omnis_illo"], ["title", "Odit facere distinctio"], ["content", "Id dolore facilis. Modi error quidem. Alias sit ducimus dignissimos iusto animi.\nIste voluptatum repudiandae quaerat et rerum esse doloribus. Autem nesciunt assumenda quas sit est architecto omnis. Ipsum ea reiciendis nobis animi doloremque ducimus est.\nNecessitatibus soluta facere exercitationem commodi nulla. Et at soluta. Reprehenderit et dolorum quas. Tempora ex at ut beatae qui explicabo laudantium. Sequi quia officiis aut."], ["created_at", "2015-03-25 21:11:38.948061"], ["updated_at", "2015-03-25 21:11:38.948061"]]
1504
+  (0.7ms) commit transaction
1505
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "cupiditate_omnis_illo"]]
1506
+  (0.0ms) begin transaction
1507
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'cupiditate_omnis_illo') LIMIT 1
1508
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]]
1509
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 2], ["updated_at", "2015-03-25 21:11:38.951873"], ["id", 44]]
1510
+  (1.8ms) commit transaction
1511
+  (0.0ms) begin transaction
1512
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "eos_harum_et"], ["title", "Explicabo nulla natus"], ["content", "Est vitae beatae magnam est deleniti voluptas. Voluptate quo qui laboriosam nemo soluta iure molestiae. Minus veritatis perspiciatis illum consectetur. Soluta quas saepe. Dolores occaecati sit molestiae.\nEligendi blanditiis adipisci ea sint voluptatem provident. Sunt vitae eveniet et. Qui qui deleniti dolores iusto. Ut in dolores dolorum aspernatur rerum vitae magni. Et iste ut ipsa rem.\nEum accusantium eveniet delectus deserunt itaque ut. Non porro est ut omnis temporibus. Aut repellat aspernatur magnam dolore officia officiis. Sunt veniam magnam tenetur consequatur."], ["created_at", "2015-03-25 21:11:38.957350"], ["updated_at", "2015-03-25 21:11:38.957350"]]
1513
+  (1.7ms) commit transaction
1514
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eos_harum_et"]]
1515
+  (0.0ms) begin transaction
1516
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'eos_harum_et') LIMIT 1
1517
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]
1518
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:11:38.962243"], ["id", 45]]
1519
+  (2.0ms) commit transaction
1520
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]
1521
+  (0.0ms) begin transaction
1522
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
1523
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.969755"], ["updated_at", "2015-03-25 21:11:38.969755"]]
1524
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["user_type", "DummyUser"], ["user_id", 65], ["created_at", "2015-03-25 21:11:38.970608"], ["updated_at", "2015-03-25 21:11:38.970608"]]
1525
+  (0.7ms) commit transaction
1526
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]]
1527
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]
1528
+  (0.0ms) begin transaction
1529
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'eos_harum_et') LIMIT 1
1530
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]
1531
+  (0.0ms) rollback transaction
1532
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "eos_harum_et"]]
1533
+  (0.1ms) begin transaction
1534
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]
1535
+  (0.1ms) rollback transaction
1536
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]]
1537
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ipsa_debitis_earum"]]
1538
+  (0.1ms) begin transaction
1539
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ipsa_debitis_earum') LIMIT 1
1540
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "ipsa_debitis_earum"], ["title", "Non dignissimos voluptate"], ["content", "Nisi quas molestiae omnis at. Quo consectetur quasi doloremque ex praesentium omnis. Sed rem nihil et. Est qui dolore impedit qui.\nVoluptas sequi magnam vel recusandae. Rem sed vel consequuntur et omnis velit et. Quas incidunt minima odio quaerat. Fuga deserunt ipsum vitae. Voluptatem ullam aliquid enim est ut laboriosam dolorum.\nMinima ducimus doloribus sed molestias consequatur a maiores. Et temporibus qui rem. Et et saepe sit omnis. Quia a maxime repellendus dolore voluptates. Commodi quia aut possimus qui reiciendis."], ["version", 1], ["created_at", "2015-03-25 21:11:38.984483"], ["updated_at", "2015-03-25 21:11:38.984483"]]
1541
+  (0.7ms) commit transaction
1542
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ipsa_debitis_earum"]]
1543
+  (0.0ms) begin transaction
1544
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "joe"], ["title", "Non dignissimos voluptate"], ["content", "Nisi quas molestiae omnis at. Quo consectetur quasi doloremque ex praesentium omnis. Sed rem nihil et. Est qui dolore impedit qui.\nVoluptas sequi magnam vel recusandae. Rem sed vel consequuntur et omnis velit et. Quas incidunt minima odio quaerat. Fuga deserunt ipsum vitae. Voluptatem ullam aliquid enim est ut laboriosam dolorum.\nMinima ducimus doloribus sed molestias consequatur a maiores. Et temporibus qui rem. Et et saepe sit omnis. Quia a maxime repellendus dolore voluptates. Commodi quia aut possimus qui reiciendis."], ["created_at", "2015-03-25 21:11:38.987677"], ["updated_at", "2015-03-25 21:11:38.987677"]]
1545
+  (1.7ms) commit transaction
1546
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]
1547
+  (0.0ms) begin transaction
1548
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'joe') LIMIT 1
1549
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]
1550
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:11:38.992421"], ["id", 47]]
1551
+  (0.7ms) commit transaction
1552
+  (0.0ms) begin transaction
1553
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.996575"], ["updated_at", "2015-03-25 21:11:38.996575"]]
1554
+  (0.8ms) commit transaction
1555
+  (0.0ms) begin transaction
1556
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:38.998647"], ["updated_at", "2015-03-25 21:11:38.998647"]]
1557
+  (1.8ms) commit transaction
1558
+ Processing by FinePrint::HomeController#index as HTML
1559
+ Filter chain halted as :can_manage rendered or redirected
1560
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1561
+ Processing by FinePrint::HomeController#index as HTML
1562
+ Filter chain halted as :can_manage rendered or redirected
1563
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1564
+  (0.0ms) begin transaction
1565
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:39.004765"], ["updated_at", "2015-03-25 21:11:39.004765"]]
1566
+  (0.7ms) commit transaction
1567
+  (0.0ms) begin transaction
1568
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:11:39.006637"], ["updated_at", "2015-03-25 21:11:39.006637"]]
1569
+  (2.0ms) commit transaction
1570
+ Processing by FinePrint::HomeController#index as HTML
1571
+ Redirected to http://test.host/fine_print/contracts
1572
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1573
+  (1.7ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime) 
1574
+  (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "version" integer, "title" varchar NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)
1575
+  (0.1ms) select sqlite_version(*)
1576
+  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")
1577
+  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar NOT NULL, "created_at" datetime, "updated_at" datetime) 
1578
+  (0.8ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")
1579
+  (0.1ms)  SELECT sql
1580
+ FROM sqlite_master
1581
+ WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'
1582
+ UNION ALL
1583
+ SELECT sql
1584
+ FROM sqlite_temp_master
1585
+ WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'
1586
+ 
1587
+  (0.6ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")
1588
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1589
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1590
+  (0.1ms) SELECT version FROM "schema_migrations"
1591
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
1592
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1593
+  (0.1ms) begin transaction
1594
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "deleniti_consequatur_fugit"], ["title", "Esse sint quos"], ["content", "Omnis provident quia quia veniam officiis iste at. Quidem rerum facere impedit nam. Enim omnis magnam qui non atque qui. Recusandae ea molestiae ipsum ut. Quam aut necessitatibus numquam et quibusdam praesentium.\nDolores hic quod rerum nobis est distinctio tenetur. Dignissimos voluptatem commodi. Est perferendis iure nihil eos harum. Rerum aperiam est eum sit. Qui et omnis.\nNeque eum impedit sed nostrum ut ipsum quis. Quaerat quis tempora ipsam inventore impedit mollitia. Non aut error."], ["created_at", "2015-03-25 21:14:41.701021"], ["updated_at", "2015-03-25 21:14:41.701021"]]
1595
+  (1.6ms) commit transaction
1596
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "deleniti_consequatur_fugit"]]
1597
+  (0.1ms) begin transaction
1598
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'deleniti_consequatur_fugit') LIMIT 1
1599
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]
1600
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:14:41.718020"], ["id", 1]]
1601
+  (0.6ms) commit transaction
1602
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]
1603
+  (0.0ms) begin transaction
1604
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
1605
+ SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.735646"], ["updated_at", "2015-03-25 21:14:41.735646"]]
1606
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["user_type", "DummyUser"], ["user_id", 1], ["created_at", "2015-03-25 21:14:41.737324"], ["updated_at", "2015-03-25 21:14:41.737324"]]
1607
+  (0.9ms) commit transaction
1608
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
1609
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]
1610
+  (0.1ms) begin transaction
1611
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'deleniti_consequatur_fugit') LIMIT 1
1612
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]
1613
+  (0.1ms) rollback transaction
1614
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "deleniti_consequatur_fugit"]]
1615
+  (0.0ms) begin transaction
1616
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]
1617
+  (0.0ms) rollback transaction
1618
+ FinePrint::Contract Load (0.0ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
1619
+  (0.0ms) begin transaction
1620
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "ut_ut_enim"], ["title", "Pariatur sit quos"], ["content", "Nam doloremque praesentium. Quia et quia. Ab unde nemo qui delectus nihil quia recusandae. Enim saepe perferendis hic facere repellendus quis. Explicabo doloremque iusto amet illum aut ab.\nHic deleniti et et. Aut consequatur qui. Vitae dolorem ad.\nVoluptatum ad nesciunt illum possimus commodi. In qui omnis. Consequatur ut nemo nihil esse necessitatibus unde. Deserunt sit officiis quis. Totam omnis iste ducimus."], ["created_at", "2015-03-25 21:14:41.749231"], ["updated_at", "2015-03-25 21:14:41.749231"]]
1621
+  (0.7ms) commit transaction
1622
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]
1623
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_ut_enim"]]
1624
+  (0.0ms) begin transaction
1625
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 2 AND "fine_print_contracts"."name" = 'ut_ut_enim') LIMIT 1
1626
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]
1627
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:14:41.754002"], ["id", 2]]
1628
+  (0.7ms) commit transaction
1629
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_ut_enim"]]
1630
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]
1631
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_ut_enim"]]
1632
+  (0.0ms) begin transaction
1633
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 2]]
1634
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", nil], ["updated_at", "2015-03-25 21:14:41.758980"], ["id", 2]]
1635
+  (0.5ms) commit transaction
1636
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_ex_odit"]]
1637
+  (0.0ms) begin transaction
1638
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ut_ex_odit') LIMIT 1
1639
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "ut_ex_odit"], ["title", "Quidem sed ducimus"], ["content", "Nihil officiis ea saepe ipsum at ad. Illum quo deserunt. Voluptas maxime fugit. Cumque repellendus dolorem veritatis est.\nAut aut commodi repellendus debitis fugiat minus. Sed porro sint. Est in repellendus est. Reiciendis et et vitae voluptatum eligendi est.\nDeserunt autem dolores est. Consequuntur maiores fugit officiis repellendus. Harum est sequi expedita suscipit temporibus."], ["version", 1], ["created_at", "2015-03-25 21:14:41.764405"], ["updated_at", "2015-03-25 21:14:41.764405"]]
1640
+  (0.7ms) commit transaction
1641
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_ex_odit"]]
1642
+  (0.0ms) begin transaction
1643
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "ut_ex_odit"], ["title", "Quidem sed ducimus"], ["content", "Nihil officiis ea saepe ipsum at ad. Illum quo deserunt. Voluptas maxime fugit. Cumque repellendus dolorem veritatis est.\nAut aut commodi repellendus debitis fugiat minus. Sed porro sint. Est in repellendus est. Reiciendis et et vitae voluptatum eligendi est.\nDeserunt autem dolores est. Consequuntur maiores fugit officiis repellendus. Harum est sequi expedita suscipit temporibus."], ["created_at", "2015-03-25 21:14:41.768551"], ["updated_at", "2015-03-25 21:14:41.768551"]]
1644
+  (0.7ms) commit transaction
1645
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_ex_odit"]]
1646
+  (0.1ms) begin transaction
1647
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 4 AND "fine_print_contracts"."name" = 'ut_ex_odit') LIMIT 1
1648
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 4]]
1649
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 2], ["updated_at", "2015-03-25 21:14:41.772319"], ["id", 4]]
1650
+  (0.6ms) commit transaction
1651
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consectetur_nulla_sed"]]
1652
+  (0.0ms) begin transaction
1653
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'consectetur_nulla_sed') LIMIT 1
1654
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "consectetur_nulla_sed"], ["title", "Quo quam non"], ["content", "Delectus dolorem quaerat cum sed. Possimus repudiandae velit sed consequatur molestiae. Culpa rerum eum sunt autem.\nDoloribus velit est nobis quam dicta vel placeat. Est voluptatem ullam delectus error enim ut doloremque. Non aliquam adipisci sapiente a id voluptate.\nAut cupiditate at quas est. Quos nihil dicta exercitationem ut quo dolore provident. Quisquam porro consequatur natus. Qui et excepturi in harum possimus."], ["version", 1], ["created_at", "2015-03-25 21:14:41.778184"], ["updated_at", "2015-03-25 21:14:41.778184"]]
1655
+  (0.7ms) commit transaction
1656
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "consectetur_nulla_sed"]]
1657
+  (0.0ms) begin transaction
1658
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "joe"], ["title", "Quo quam non"], ["content", "Delectus dolorem quaerat cum sed. Possimus repudiandae velit sed consequatur molestiae. Culpa rerum eum sunt autem.\nDoloribus velit est nobis quam dicta vel placeat. Est voluptatem ullam delectus error enim ut doloremque. Non aliquam adipisci sapiente a id voluptate.\nAut cupiditate at quas est. Quos nihil dicta exercitationem ut quo dolore provident. Quisquam porro consequatur natus. Qui et excepturi in harum possimus."], ["created_at", "2015-03-25 21:14:41.781073"], ["updated_at", "2015-03-25 21:14:41.781073"]]
1659
+  (1.6ms) commit transaction
1660
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]
1661
+  (0.1ms) begin transaction
1662
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 6 AND "fine_print_contracts"."name" = 'joe') LIMIT 1
1663
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 6]]
1664
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:14:41.785688"], ["id", 6]]
1665
+  (0.7ms) commit transaction
1666
+  (0.0ms) begin transaction
1667
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.789603"], ["updated_at", "2015-03-25 21:14:41.789603"]]
1668
+  (0.7ms) commit transaction
1669
+  (0.0ms) begin transaction
1670
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.791416"], ["updated_at", "2015-03-25 21:14:41.791416"]]
1671
+  (0.6ms) commit transaction
1672
+ Processing by FinePrint::HomeController#index as HTML
1673
+ Filter chain halted as :can_manage rendered or redirected
1674
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1675
+ Processing by FinePrint::HomeController#index as HTML
1676
+ Filter chain halted as :can_manage rendered or redirected
1677
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1678
+  (0.1ms) begin transaction
1679
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.798058"], ["updated_at", "2015-03-25 21:14:41.798058"]]
1680
+  (0.7ms) commit transaction
1681
+  (0.0ms) begin transaction
1682
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.800030"], ["updated_at", "2015-03-25 21:14:41.800030"]]
1683
+  (0.7ms) commit transaction
1684
+ Processing by FinePrint::HomeController#index as HTML
1685
+ Redirected to http://test.host/fine_print/contracts
1686
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
1687
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
1688
+  (0.0ms) begin transaction
1689
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
1690
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Aut aut quis"], ["content", "Rerum qui ipsa non. Molestias sint sit ut est doloribus. Reprehenderit earum aut.\nNam consectetur nesciunt aut qui officia. Atque voluptate quisquam architecto maxime ipsam. Ea quia ducimus animi voluptas error.\nQuidem ipsam in. Qui officia vel expedita. Consequatur fuga cum."], ["version", 1], ["created_at", "2015-03-25 21:14:41.810612"], ["updated_at", "2015-03-25 21:14:41.810612"]]
1691
+  (0.7ms) commit transaction
1692
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
1693
+  (0.0ms) begin transaction
1694
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
1695
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Ducimus totam a"], ["content", "Ea saepe officiis accusamus. Nostrum beatae sunt. Doloribus delectus sed ullam. Possimus vitae omnis ut quo. Ipsam quasi et magni.\nQuia illo voluptatum laudantium unde iusto veniam. Animi tempore quo possimus cum molestiae et eveniet. Repellendus minus consequatur voluptatem velit et et ducimus.\nCum consequatur unde ea ut. Voluptatem fugit officia. Facere dolores magni sed aliquam vitae odio. Cumque officia reiciendis porro. Ea nihil illum id aut sequi."], ["version", 1], ["created_at", "2015-03-25 21:14:41.815109"], ["updated_at", "2015-03-25 21:14:41.815109"]]
1696
+  (0.7ms) commit transaction
1697
+  (0.0ms) begin transaction
1698
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.817021"], ["updated_at", "2015-03-25 21:14:41.817021"]]
1699
+  (0.7ms) commit transaction
1700
+  (0.0ms) begin transaction
1701
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1
1702
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["user_id", 6], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:14:41.820410"], ["updated_at", "2015-03-25 21:14:41.820410"]]
1703
+  (0.6ms) commit transaction
1704
+  (0.0ms) begin transaction
1705
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 6) LIMIT 1
1706
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["user_id", 6], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:14:41.823668"], ["updated_at", "2015-03-25 21:14:41.823668"]]
1707
+  (0.7ms) commit transaction
1708
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
1709
+  (0.0ms) begin transaction
1710
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Aut aut quis"], ["content", "foo"], ["created_at", "2015-03-25 21:14:41.827269"], ["updated_at", "2015-03-25 21:14:41.827269"]]
1711
+  (0.9ms) commit transaction
1712
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
1713
+  (0.0ms) begin transaction
1714
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 9 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
1715
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]]
1716
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 2], ["updated_at", "2015-03-25 21:14:41.832068"], ["id", 9]]
1717
+  (0.7ms) commit transaction
1718
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."version" IS NOT NULL AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["user_id", 6], ["user_type", "DummyUser"]]
1719
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
1720
+  (0.0ms) begin transaction
1721
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
1722
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Consequuntur nihil minus"], ["content", "Debitis sit tempora accusamus consequatur laboriosam voluptatum ut. Impedit qui laudantium autem iste. Voluptatem quos magnam quasi. Sit fugit sunt perspiciatis in ut maiores. Quaerat quas nemo.\nNam consequuntur veniam magni beatae id sit iure. Culpa doloremque odio et odit dolore aut. Ut sapiente quia. Ut quisquam repudiandae aut vitae exercitationem quod et.\nIpsum excepturi accusamus accusantium officiis omnis nostrum ipsa. Incidunt voluptatem et laborum praesentium aliquam dolorum voluptate. Dolor minus quas laudantium esse ab. Voluptatem hic ad quo consequatur non."], ["version", 3], ["created_at", "2015-03-25 21:14:41.842068"], ["updated_at", "2015-03-25 21:14:41.842068"]]
1723
+  (0.7ms) commit transaction
1724
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
1725
+  (0.0ms) begin transaction
1726
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
1727
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Ex blanditiis qui"], ["content", "Et quia dolores consectetur quam. Et illum ut quia porro laboriosam. Vel velit id sed et sint. Et quibusdam perferendis quia voluptas sit labore.\nEt iusto sit quo id et architecto autem. Provident aut mollitia est aut reiciendis. Laborum fugiat itaque. Quidem itaque in laudantium sequi numquam.\nQuo eos consectetur. Et vel qui magni saepe. Esse aut sint quos. Repudiandae vero et itaque."], ["version", 2], ["created_at", "2015-03-25 21:14:41.846749"], ["updated_at", "2015-03-25 21:14:41.846749"]]
1728
+  (1.7ms) commit transaction
1729
+  (0.0ms) begin transaction
1730
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.849644"], ["updated_at", "2015-03-25 21:14:41.849644"]]
1731
+  (0.8ms) commit transaction
1732
+  (0.0ms) begin transaction
1733
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 10 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1
1734
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 10], ["user_id", 7], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:14:41.853182"], ["updated_at", "2015-03-25 21:14:41.853182"]]
1735
+  (0.7ms) commit transaction
1736
+  (0.0ms) begin transaction
1737
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 11 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 7) LIMIT 1
1738
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 11], ["user_id", 7], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:14:41.856364"], ["updated_at", "2015-03-25 21:14:41.856364"]]
1739
+  (0.7ms) commit transaction
1740
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
1741
+  (0.0ms) begin transaction
1742
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Consequuntur nihil minus"], ["content", "foo"], ["created_at", "2015-03-25 21:14:41.859279"], ["updated_at", "2015-03-25 21:14:41.859279"]]
1743
+  (0.8ms) commit transaction
1744
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
1745
+  (0.0ms) begin transaction
1746
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
1747
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]]
1748
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 4], ["updated_at", "2015-03-25 21:14:41.863098"], ["id", 12]]
1749
+  (1.7ms) commit transaction
1750
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 11]]
1751
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
1752
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 10]]
1753
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
1754
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
1755
+  (0.0ms) begin transaction
1756
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
1757
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Alias et eum"], ["content", "Explicabo sunt est deleniti sit nesciunt eos. Quod quis laborum quia. Veritatis sit perspiciatis ipsum quidem ratione. Sequi doloremque fuga.\nIusto sunt at facere possimus sit maxime ad. Perspiciatis est enim. Dolores error exercitationem et consequuntur quaerat quidem.\nVel est alias. Et saepe amet optio sapiente recusandae eaque autem. Aperiam omnis labore asperiores perferendis laboriosam aut."], ["version", 5], ["created_at", "2015-03-25 21:14:41.873171"], ["updated_at", "2015-03-25 21:14:41.873171"]]
1758
+  (0.7ms) commit transaction
1759
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
1760
+  (0.0ms) begin transaction
1761
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
1762
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Ut qui sit"], ["content", "Numquam porro et neque. Nemo odio accusamus. Repudiandae sed vel harum.\nReiciendis amet dolorem. Ab qui consectetur officia deserunt. Vel autem nihil repudiandae sit dolorum maxime ad. Adipisci reiciendis provident molestiae laboriosam quas et. Aut velit nobis.\nLaudantium id recusandae voluptatem. Sapiente minima facilis dolor ut rerum. Optio esse cupiditate voluptas iusto."], ["version", 3], ["created_at", "2015-03-25 21:14:41.878099"], ["updated_at", "2015-03-25 21:14:41.878099"]]
1763
+  (1.0ms) commit transaction
1764
+  (0.0ms) begin transaction
1765
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.880638"], ["updated_at", "2015-03-25 21:14:41.880638"]]
1766
+  (0.6ms) commit transaction
1767
+  (0.0ms) begin transaction
1768
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 13 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1
1769
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 13], ["user_id", 8], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:14:41.884110"], ["updated_at", "2015-03-25 21:14:41.884110"]]
1770
+  (0.8ms) commit transaction
1771
+  (0.1ms) begin transaction
1772
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 8) LIMIT 1
1773
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["user_id", 8], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:14:41.887844"], ["updated_at", "2015-03-25 21:14:41.887844"]]
1774
+  (0.6ms) commit transaction
1775
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
1776
+  (0.0ms) begin transaction
1777
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Alias et eum"], ["content", "foo"], ["created_at", "2015-03-25 21:14:41.890926"], ["updated_at", "2015-03-25 21:14:41.890926"]]
1778
+  (0.7ms) commit transaction
1779
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
1780
+  (0.0ms) begin transaction
1781
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 15 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
1782
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]
1783
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 6], ["updated_at", "2015-03-25 21:14:41.894748"], ["id", 15]]
1784
+  (0.6ms) commit transaction
1785
+ FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL AND "fine_print_contracts"."name" IN ('alpha', 'beta') GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC
1786
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."version" IS NOT NULL AND "fine_print_contracts"."name" IN ('alpha', 'beta') AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["user_id", 8], ["user_type", "DummyUser"]]
1787
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
1788
+  (0.0ms) begin transaction
1789
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
1790
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Officia assumenda quam"], ["content", "Et voluptate pariatur. Dolor velit enim. Et sit ducimus velit sit dolores ut sed.\nMolestiae aut facere. Ut sunt et qui maxime laboriosam asperiores minus. Cum porro qui excepturi magni debitis dolore aut. Illum culpa beatae enim.\nDolore dolorem amet. Natus unde autem consequatur. Fuga veniam cum."], ["version", 7], ["created_at", "2015-03-25 21:14:41.904428"], ["updated_at", "2015-03-25 21:14:41.904428"]]
1791
+  (0.7ms) commit transaction
1792
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
1793
+  (0.0ms) begin transaction
1794
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
1795
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Ipsam ipsa debitis"], ["content", "Nobis quae sed sed voluptatum. Necessitatibus impedit autem in nam corporis labore eum. Occaecati maiores accusamus. Cum corporis consequatur dolorem accusamus facere nam.\nEt exercitationem aspernatur vel et facere. Aliquid harum cumque odit consectetur. Quaerat minus aut quo est dolore ratione. Consequatur totam velit unde ut ea qui expedita. Id quia quia a necessitatibus.\nEt autem rerum dolore ea ex. Error quod doloribus deserunt. Quisquam at repellendus labore odit ipsum corrupti voluptatum. Aperiam magnam dicta excepturi."], ["version", 4], ["created_at", "2015-03-25 21:14:41.909120"], ["updated_at", "2015-03-25 21:14:41.909120"]]
1796
+  (1.4ms) commit transaction
1797
+  (0.0ms) begin transaction
1798
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.911691"], ["updated_at", "2015-03-25 21:14:41.911691"]]
1799
+  (0.7ms) commit transaction
1800
+  (0.0ms) begin transaction
1801
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 16 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1
1802
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 16], ["user_id", 9], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:14:41.914963"], ["updated_at", "2015-03-25 21:14:41.914963"]]
1803
+  (0.7ms) commit transaction
1804
+  (0.1ms) begin transaction
1805
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 17 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1
1806
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 17], ["user_id", 9], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:14:41.918197"], ["updated_at", "2015-03-25 21:14:41.918197"]]
1807
+  (0.7ms) commit transaction
1808
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
1809
+  (0.1ms) begin transaction
1810
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Officia assumenda quam"], ["content", "foo"], ["created_at", "2015-03-25 21:14:41.921025"], ["updated_at", "2015-03-25 21:14:41.921025"]]
1811
+  (0.7ms) commit transaction
1812
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
1813
+  (0.0ms) begin transaction
1814
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 18 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
1815
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 18]]
1816
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 8], ["updated_at", "2015-03-25 21:14:41.924740"], ["id", 18]]
1817
+  (0.8ms) commit transaction
1818
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 16], ["user_id", 9], ["user_type", "DummyUser"]]
1819
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 18], ["user_id", 9], ["user_type", "DummyUser"]]
1820
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 17], ["user_id", 9], ["user_type", "DummyUser"]]
1821
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 9], ["user_type", "DummyUser"]]
1822
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 9], ["user_type", "DummyUser"]]
1823
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "beta"], ["user_id", 9], ["user_type", "DummyUser"]]
1824
+  (0.0ms) begin transaction
1825
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 18 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 9) LIMIT 1
1826
+ SQL (0.3ms) INSERT INTO "fine_print_signatures" ("user_id", "user_type", "contract_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["user_id", 9], ["user_type", "DummyUser"], ["contract_id", 18], ["created_at", "2015-03-25 21:14:41.936577"], ["updated_at", "2015-03-25 21:14:41.936577"]]
1827
+  (0.7ms) commit transaction
1828
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 16], ["user_id", 9], ["user_type", "DummyUser"]]
1829
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 18], ["user_id", 9], ["user_type", "DummyUser"]]
1830
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 17], ["user_id", 9], ["user_type", "DummyUser"]]
1831
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 9], ["user_type", "DummyUser"]]
1832
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 9], ["user_type", "DummyUser"]]
1833
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "beta"], ["user_id", 9], ["user_type", "DummyUser"]]
1834
+  (0.0ms) begin transaction
1835
+ SQL (0.5ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.945941"], ["updated_at", "2015-03-25 21:14:41.945941"]]
1836
+  (0.7ms) commit transaction
1837
+  (0.0ms) begin transaction
1838
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.948502"], ["updated_at", "2015-03-25 21:14:41.948502"]]
1839
+  (0.7ms) commit transaction
1840
+  (0.0ms) begin transaction
1841
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "id_quam_aut"], ["title", "Et sit odio"], ["content", "Odio blanditiis doloribus fugiat qui aperiam. Nesciunt quaerat doloribus et laboriosam. Optio praesentium est veritatis porro et modi.\nTenetur sit fuga. Sunt voluptate unde aut voluptatem. Similique explicabo et. Cupiditate facilis qui.\nLabore aut sit eaque sunt et laudantium commodi. Quia iusto voluptates vitae. Facere ab eveniet vitae et."], ["created_at", "2015-03-25 21:14:41.951477"], ["updated_at", "2015-03-25 21:14:41.951477"]]
1842
+  (0.7ms) commit transaction
1843
+ Processing by FinePrint::ContractsController#publish as HTML
1844
+ Parameters: {"id"=>"19"}
1845
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]
1846
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "id_quam_aut"]]
1847
+  (0.1ms) begin transaction
1848
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 19 AND "fine_print_contracts"."name" = 'id_quam_aut') LIMIT 1
1849
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 19]]
1850
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:14:41.958735"], ["id", 19]]
1851
+  (0.8ms) commit transaction
1852
+ Redirected to http://test.host/fine_print/contracts
1853
+ Completed 302 Found in 7ms (ActiveRecord: 1.2ms)
1854
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 19]]
1855
+  (0.1ms) begin transaction
1856
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.964082"], ["updated_at", "2015-03-25 21:14:41.964082"]]
1857
+  (0.6ms) commit transaction
1858
+  (0.0ms) begin transaction
1859
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.965898"], ["updated_at", "2015-03-25 21:14:41.965898"]]
1860
+  (1.0ms) commit transaction
1861
+  (0.0ms) begin transaction
1862
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "suscipit_eum_sint"], ["title", "Veniam nesciunt ullam"], ["content", "Quidem commodi quia architecto laborum qui doloremque accusantium. Maiores et aut sunt ipsa labore. Sed vitae quasi sit eos nihil reprehenderit. Illum quo quia delectus quis autem architecto.\nQuis sapiente vero. Voluptatum laudantium aperiam similique quia dolorem deleniti ut. Quo explicabo et in.\nDelectus ex quae. Asperiores commodi ratione laboriosam. Explicabo aut expedita."], ["created_at", "2015-03-25 21:14:41.968846"], ["updated_at", "2015-03-25 21:14:41.968846"]]
1863
+  (1.3ms) commit transaction
1864
+ Processing by FinePrint::ContractsController#create as HTML
1865
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}
1866
+  (0.0ms) begin transaction
1867
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["created_at", "2015-03-25 21:14:41.972892"], ["updated_at", "2015-03-25 21:14:41.972892"]]
1868
+  (4.5ms) commit transaction
1869
+ Redirected to http://test.host/fine_print/contracts/21
1870
+ Completed 302 Found in 7ms (ActiveRecord: 4.7ms)
1871
+  (0.1ms) begin transaction
1872
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.980903"], ["updated_at", "2015-03-25 21:14:41.980903"]]
1873
+  (0.6ms) commit transaction
1874
+  (0.1ms) begin transaction
1875
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.982678"], ["updated_at", "2015-03-25 21:14:41.982678"]]
1876
+  (0.7ms) commit transaction
1877
+  (0.0ms) begin transaction
1878
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alias_consequatur_temporibus"], ["title", "Nisi beatae dolorem"], ["content", "Quam delectus repudiandae pariatur. Eaque officia ad impedit fugit voluptatem aut accusantium. Amet autem eum deleniti voluptas.\nMagnam et quam officiis perspiciatis et. Quisquam quae omnis perspiciatis sed. Architecto culpa enim mollitia sint exercitationem eius aliquid.\nConsequatur aut voluptas laudantium eos. Est molestiae tenetur quasi qui excepturi error commodi. Deserunt cupiditate necessitatibus et recusandae odit quis. Id officiis molestiae nobis. Et omnis et quia reiciendis numquam placeat."], ["created_at", "2015-03-25 21:14:41.985315"], ["updated_at", "2015-03-25 21:14:41.985315"]]
1879
+  (0.7ms) commit transaction
1880
+ Processing by FinePrint::ContractsController#edit as HTML
1881
+ Parameters: {"id"=>"22"}
1882
+ Filter chain halted as :can_manage rendered or redirected
1883
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1884
+ Processing by FinePrint::ContractsController#edit as HTML
1885
+ Parameters: {"id"=>"22"}
1886
+ Filter chain halted as :can_manage rendered or redirected
1887
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1888
+  (0.0ms) begin transaction
1889
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.989740"], ["updated_at", "2015-03-25 21:14:41.989740"]]
1890
+  (0.7ms) commit transaction
1891
+  (0.0ms) begin transaction
1892
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:41.991541"], ["updated_at", "2015-03-25 21:14:41.991541"]]
1893
+  (1.9ms) commit transaction
1894
+  (0.0ms) begin transaction
1895
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "saepe_accusamus_nobis"], ["title", "Fuga ad ipsum"], ["content", "Omnis doloribus autem. Nihil inventore accusantium fugit ab cupiditate blanditiis totam. Id facilis a dolorem.\nQuia soluta nam. Officiis voluptas voluptatum tempore. Est quia et asperiores. Corrupti ipsa omnis enim accusamus nulla tenetur. Dolor ratione sed.\nVelit quod quibusdam exercitationem consequatur corrupti veritatis. Ut dolor illo voluptas reprehenderit ea. In in qui nostrum."], ["created_at", "2015-03-25 21:14:41.995466"], ["updated_at", "2015-03-25 21:14:41.995466"]]
1896
+  (0.8ms) commit transaction
1897
+ Processing by FinePrint::ContractsController#destroy as HTML
1898
+ Parameters: {"id"=>"23"}
1899
+ Filter chain halted as :can_manage rendered or redirected
1900
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1901
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]
1902
+ Processing by FinePrint::ContractsController#destroy as HTML
1903
+ Parameters: {"id"=>"23"}
1904
+ Filter chain halted as :can_manage rendered or redirected
1905
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1906
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 23]]
1907
+  (0.0ms) begin transaction
1908
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.002284"], ["updated_at", "2015-03-25 21:14:42.002284"]]
1909
+  (0.6ms) commit transaction
1910
+  (0.0ms) begin transaction
1911
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.004092"], ["updated_at", "2015-03-25 21:14:42.004092"]]
1912
+  (0.5ms) commit transaction
1913
+  (0.0ms) begin transaction
1914
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "optio_ab_maiores"], ["title", "Et dignissimos et"], ["content", "Aspernatur iusto ut et voluptatum numquam. Ab qui quos libero vitae. Qui atque quam nesciunt est magni. Quaerat dolorem reiciendis excepturi adipisci aut nobis. Officiis nisi ea hic ut.\nRepudiandae quia ipsa similique quaerat maiores. Perspiciatis et omnis impedit et. Natus temporibus quod earum odit perferendis asperiores. Reiciendis neque ad ipsa quia. Vitae provident sequi dolorem ut voluptates.\nQuia itaque sunt possimus et cumque. Impedit voluptas nihil velit recusandae quaerat provident. Illum ad esse quas."], ["created_at", "2015-03-25 21:14:42.006879"], ["updated_at", "2015-03-25 21:14:42.006879"]]
1915
+  (0.6ms) commit transaction
1916
+ Processing by FinePrint::ContractsController#destroy as HTML
1917
+ Parameters: {"id"=>"24"}
1918
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]]
1919
+  (0.0ms) begin transaction
1920
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 24]]
1921
+ SQL (0.1ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 24]]
1922
+  (0.7ms) commit transaction
1923
+ Redirected to http://test.host/fine_print/contracts
1924
+ Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
1925
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 24]]
1926
+  (0.1ms) begin transaction
1927
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.016378"], ["updated_at", "2015-03-25 21:14:42.016378"]]
1928
+  (1.9ms) commit transaction
1929
+  (0.0ms) begin transaction
1930
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.019555"], ["updated_at", "2015-03-25 21:14:42.019555"]]
1931
+  (2.0ms) commit transaction
1932
+  (0.0ms) begin transaction
1933
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "amet_illum_iure"], ["title", "Et ullam mollitia"], ["content", "Odio ipsum numquam explicabo. Eaque rerum odit. Rem commodi eos explicabo amet quo et optio.\nArchitecto quaerat temporibus consequatur cumque. Eaque sint distinctio et ratione nesciunt hic dolorem. Est inventore officia.\nAdipisci dolorem labore dolores. Itaque dolores ducimus. Consequatur sint similique modi dolorem. Aut porro est."], ["created_at", "2015-03-25 21:14:42.023478"], ["updated_at", "2015-03-25 21:14:42.023478"]]
1934
+  (1.7ms) commit transaction
1935
+ Processing by FinePrint::ContractsController#update as HTML
1936
+ Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"25"}
1937
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 25]]
1938
+  (0.0ms) begin transaction
1939
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]]
1940
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["name", "another_name"], ["title", "Another title"], ["content", "Another content"], ["updated_at", "2015-03-25 21:14:42.028988"], ["id", 25]]
1941
+  (0.7ms) commit transaction
1942
+ Redirected to http://test.host/fine_print/contracts/25
1943
+ Completed 302 Found in 6ms (ActiveRecord: 1.1ms)
1944
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 25]]
1945
+  (0.0ms) begin transaction
1946
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.035619"], ["updated_at", "2015-03-25 21:14:42.035619"]]
1947
+  (0.7ms) commit transaction
1948
+  (0.0ms) begin transaction
1949
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.037568"], ["updated_at", "2015-03-25 21:14:42.037568"]]
1950
+  (0.6ms) commit transaction
1951
+  (0.0ms) begin transaction
1952
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "necessitatibus_quod_sequi"], ["title", "Sequi doloribus tempore"], ["content", "Optio asperiores iure qui illum aliquid quas odit. Non architecto excepturi eligendi. Saepe ipsa nesciunt inventore id rerum eos. Consequatur quisquam iste magnam pariatur aut facere. Sit dignissimos ut dolore ipsam optio eos.\nOmnis sed tenetur magnam veniam voluptatem. Ab voluptas est autem et minus tempora. Adipisci aliquam labore magnam tempore facere. Voluptates est veritatis aliquam et.\nIpsam voluptate perspiciatis totam repellat in. Tenetur a ipsam fuga laborum cupiditate ea eos. Commodi totam aut quod aperiam nihil accusantium aliquid."], ["created_at", "2015-03-25 21:14:42.040658"], ["updated_at", "2015-03-25 21:14:42.040658"]]
1953
+  (1.8ms) commit transaction
1954
+ Processing by FinePrint::ContractsController#index as HTML
1955
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC
1956
+ FinePrint::Signature Load (0.4ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (22, 18, 16, 15, 13, 12, 10, 9, 7, 25, 17, 14, 11, 8, 5, 1, 19, 6, 26, 23, 21, 20, 4, 3, 2) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC
1957
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/index.html.erb within layouts/application (0.2ms)
1958
+ Completed 200 OK in 15ms (Views: 5.3ms | ActiveRecord: 0.6ms)
1959
+  (0.0ms) begin transaction
1960
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.060455"], ["updated_at", "2015-03-25 21:14:42.060455"]]
1961
+  (0.8ms) commit transaction
1962
+  (0.1ms) begin transaction
1963
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.062791"], ["updated_at", "2015-03-25 21:14:42.062791"]]
1964
+  (1.0ms) commit transaction
1965
+  (0.1ms) begin transaction
1966
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "quos_consequatur_reprehenderit"], ["title", "Quibusdam fugit odit"], ["content", "Excepturi totam quod maxime unde culpa. Aut vel ullam vitae. Culpa qui architecto quibusdam ea eum ex.\nCumque non occaecati omnis et harum consequatur. Officiis quisquam ad itaque. Voluptate rerum sed commodi neque consequatur dignissimos laboriosam.\nReiciendis facere sequi aliquid non sint. Possimus est repellendus molestiae ut et aut omnis. Voluptas aut rerum sunt a."], ["created_at", "2015-03-25 21:14:42.066930"], ["updated_at", "2015-03-25 21:14:42.066930"]]
1967
+  (1.9ms) commit transaction
1968
+ Processing by FinePrint::ContractsController#edit as HTML
1969
+ Parameters: {"id"=>"27"}
1970
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 27]]
1971
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]]
1972
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/edit.html.erb within layouts/application (0.2ms)
1973
+ Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms)
1974
+  (0.1ms) begin transaction
1975
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.077245"], ["updated_at", "2015-03-25 21:14:42.077245"]]
1976
+  (0.8ms) commit transaction
1977
+  (0.0ms) begin transaction
1978
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.079281"], ["updated_at", "2015-03-25 21:14:42.079281"]]
1979
+  (2.2ms) commit transaction
1980
+  (0.0ms) begin transaction
1981
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "perferendis_modi_quasi"], ["title", "Ea itaque dolorum"], ["content", "Labore molestias incidunt aut architecto iusto ut. Eum quidem est placeat. Ut eum voluptas ut cum maxime voluptas vero.\nFacilis perspiciatis laboriosam aut. Ex omnis enim ipsa molestiae voluptates tempore eos. Sapiente magni quo eos.\nEnim inventore quos. Saepe sit voluptas ipsum consectetur doloribus. Aperiam et recusandae reprehenderit provident quae tempore animi. Rerum recusandae magni. Sit necessitatibus minus nam aut illo et."], ["created_at", "2015-03-25 21:14:42.083528"], ["updated_at", "2015-03-25 21:14:42.083528"]]
1982
+  (0.7ms) commit transaction
1983
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "perferendis_modi_quasi"]]
1984
+  (0.0ms) begin transaction
1985
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'perferendis_modi_quasi') LIMIT 1
1986
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]
1987
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:14:42.087558"], ["id", 28]]
1988
+  (0.7ms) commit transaction
1989
+ Processing by FinePrint::ContractsController#new_version as HTML
1990
+ Parameters: {"id"=>"28"}
1991
+ Filter chain halted as :can_manage rendered or redirected
1992
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1993
+ Processing by FinePrint::ContractsController#new_version as HTML
1994
+ Parameters: {"id"=>"28"}
1995
+ Filter chain halted as :can_manage rendered or redirected
1996
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
1997
+  (0.0ms) begin transaction
1998
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.093213"], ["updated_at", "2015-03-25 21:14:42.093213"]]
1999
+  (2.4ms) commit transaction
2000
+  (0.0ms) begin transaction
2001
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.097021"], ["updated_at", "2015-03-25 21:14:42.097021"]]
2002
+  (2.1ms) commit transaction
2003
+  (0.1ms) begin transaction
2004
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "totam_at_ea"], ["title", "Ipsum et quisquam"], ["content", "Sed ea aliquid beatae quia alias ut. Quia sit harum consectetur dignissimos maiores sit quos. Officiis adipisci at vero est. Enim ad quia et inventore. Omnis sunt quo non.\nNon dolorem delectus dolor. Eos qui voluptatum consequatur ea sint enim. Nobis occaecati repellendus ut blanditiis ea. Sapiente reprehenderit accusantium est possimus esse aut cupiditate. Corrupti ducimus est.\nSunt doloremque ex. Qui inventore accusamus illo. Aut eligendi sed. Corporis maxime vel. Sed sapiente quisquam similique voluptate omnis."], ["created_at", "2015-03-25 21:14:42.101504"], ["updated_at", "2015-03-25 21:14:42.101504"]]
2005
+  (1.7ms) commit transaction
2006
+ Processing by FinePrint::ContractsController#publish as HTML
2007
+ Parameters: {"id"=>"29"}
2008
+ Filter chain halted as :can_manage rendered or redirected
2009
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2010
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]
2011
+ Processing by FinePrint::ContractsController#publish as HTML
2012
+ Parameters: {"id"=>"29"}
2013
+ Filter chain halted as :can_manage rendered or redirected
2014
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2015
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 29]]
2016
+  (0.1ms) begin transaction
2017
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.108541"], ["updated_at", "2015-03-25 21:14:42.108541"]]
2018
+  (2.1ms) commit transaction
2019
+  (0.0ms) begin transaction
2020
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.111992"], ["updated_at", "2015-03-25 21:14:42.111992"]]
2021
+  (0.7ms) commit transaction
2022
+  (0.0ms) begin transaction
2023
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "adipisci_eaque_voluptatem"], ["title", "Et pariatur voluptatibus"], ["content", "Facere recusandae repellat maiores dignissimos ullam distinctio. Ipsum delectus et odit voluptatem. Sed temporibus explicabo eos eveniet aperiam. Quibusdam non quidem commodi.\nIn assumenda ea temporibus qui nobis. Quibusdam nobis debitis asperiores. Dolores adipisci rerum alias omnis quis aut.\nRecusandae nisi quibusdam. Eum tempora culpa. Veniam fugit doloribus."], ["created_at", "2015-03-25 21:14:42.114905"], ["updated_at", "2015-03-25 21:14:42.114905"]]
2024
+  (1.9ms) commit transaction
2025
+ Processing by FinePrint::ContractsController#update as HTML
2026
+ Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"30"}
2027
+ Filter chain halted as :can_manage rendered or redirected
2028
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2029
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]
2030
+ Processing by FinePrint::ContractsController#update as HTML
2031
+ Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"30"}
2032
+ Filter chain halted as :can_manage rendered or redirected
2033
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2034
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]
2035
+  (0.1ms) begin transaction
2036
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.123843"], ["updated_at", "2015-03-25 21:14:42.123843"]]
2037
+  (2.2ms) commit transaction
2038
+  (0.0ms) begin transaction
2039
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.127464"], ["updated_at", "2015-03-25 21:14:42.127464"]]
2040
+  (0.8ms) commit transaction
2041
+  (0.0ms) begin transaction
2042
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "sunt_similique_et"], ["title", "Atque sint rerum"], ["content", "Et voluptas iste ducimus praesentium aperiam nam error. Qui sed aperiam nemo voluptatum nostrum unde. Perspiciatis facere dolores ullam quia. Sequi dignissimos autem quisquam totam non aliquid ipsa. Deserunt dolore doloremque ipsum in.\nLabore recusandae consequatur eos totam et sint velit. Sit culpa laboriosam cumque. Dolorem molestiae quo rerum quia animi qui molestiae. Voluptas reiciendis quia. Et vel voluptas quisquam quaerat repellendus corrupti impedit.\nSint iure recusandae illo rerum. Perspiciatis aut animi ut ea nihil. Officia ipsa minus. Aliquam rerum eos ipsam hic illo."], ["created_at", "2015-03-25 21:14:42.130509"], ["updated_at", "2015-03-25 21:14:42.130509"]]
2043
+  (1.8ms) commit transaction
2044
+ Processing by FinePrint::ContractsController#new as HTML
2045
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new.html.erb within layouts/application (0.2ms)
2046
+ Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2047
+  (0.1ms) begin transaction
2048
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.136914"], ["updated_at", "2015-03-25 21:14:42.136914"]]
2049
+  (2.0ms) commit transaction
2050
+  (0.0ms) begin transaction
2051
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.140095"], ["updated_at", "2015-03-25 21:14:42.140095"]]
2052
+  (1.9ms) commit transaction
2053
+  (0.1ms) begin transaction
2054
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "qui_deleniti_aut"], ["title", "Dolores nisi temporibus"], ["content", "Officiis veritatis aut assumenda ratione quaerat. A ab quas in sit accusamus reiciendis. Sunt illum delectus quaerat et molestias impedit. Sunt impedit animi neque quaerat.\nDolore iusto soluta. Harum aut et modi eos non. Distinctio in neque accusamus officia ea temporibus facilis.\nNeque ipsa odit deleniti. Aspernatur sed pariatur aut accusantium atque in et. Corporis perferendis magnam sint. Et ut rerum dolorem similique."], ["created_at", "2015-03-25 21:14:42.144125"], ["updated_at", "2015-03-25 21:14:42.144125"]]
2055
+  (1.8ms) commit transaction
2056
+ Processing by FinePrint::ContractsController#create as HTML
2057
+ Parameters: {"contract"=>"attributes"}
2058
+ Filter chain halted as :can_manage rendered or redirected
2059
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2060
+ Processing by FinePrint::ContractsController#create as HTML
2061
+ Parameters: {"contract"=>"attributes"}
2062
+ Filter chain halted as :can_manage rendered or redirected
2063
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2064
+  (0.1ms) begin transaction
2065
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.151351"], ["updated_at", "2015-03-25 21:14:42.151351"]]
2066
+  (0.7ms) commit transaction
2067
+  (0.0ms) begin transaction
2068
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.153764"], ["updated_at", "2015-03-25 21:14:42.153764"]]
2069
+  (0.8ms) commit transaction
2070
+  (0.1ms) begin transaction
2071
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "consectetur_ex_itaque"], ["title", "Possimus ea ut"], ["content", "Dignissimos quaerat sint ratione in sunt sed. Ut alias consequuntur ipsam corrupti cum perspiciatis. Et soluta impedit.\nFugiat aliquam error. Autem voluptatem aut. Ab voluptas optio et et. Et quaerat saepe consequatur voluptas ut mollitia.\nFacere ut reiciendis qui consectetur praesentium dolores voluptatem. Sequi quisquam autem modi perspiciatis. Eveniet cumque saepe. Maxime quisquam qui."], ["created_at", "2015-03-25 21:14:42.156983"], ["updated_at", "2015-03-25 21:14:42.156983"]]
2072
+  (1.9ms) commit transaction
2073
+ Processing by FinePrint::ContractsController#index as HTML
2074
+ Filter chain halted as :can_manage rendered or redirected
2075
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2076
+ Processing by FinePrint::ContractsController#index as HTML
2077
+ Filter chain halted as :can_manage rendered or redirected
2078
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2079
+  (0.1ms) begin transaction
2080
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.163866"], ["updated_at", "2015-03-25 21:14:42.163866"]]
2081
+  (0.8ms) commit transaction
2082
+  (0.1ms) begin transaction
2083
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.166293"], ["updated_at", "2015-03-25 21:14:42.166293"]]
2084
+  (0.8ms) commit transaction
2085
+  (0.0ms) begin transaction
2086
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "expedita_cumque_minima"], ["title", "Debitis corrupti quos"], ["content", "Debitis autem aut. Omnis sunt aliquam cumque. Ut quia ullam adipisci ut quod autem. Doloremque nobis eaque maxime quia ut. Veniam est asperiores eos.\nQuod dolores atque sunt. Totam sed consequatur impedit. Aperiam quo veritatis omnis eaque hic veniam.\nVoluptatem non totam non corrupti fugiat sint. Est culpa ratione praesentium. Suscipit ipsam asperiores. Eligendi aliquid sequi ut."], ["created_at", "2015-03-25 21:14:42.169601"], ["updated_at", "2015-03-25 21:14:42.169601"]]
2087
+  (0.8ms) commit transaction
2088
+ Processing by FinePrint::ContractsController#new as HTML
2089
+ Filter chain halted as :can_manage rendered or redirected
2090
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2091
+ Processing by FinePrint::ContractsController#new as HTML
2092
+ Filter chain halted as :can_manage rendered or redirected
2093
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2094
+  (0.1ms) begin transaction
2095
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.175287"], ["updated_at", "2015-03-25 21:14:42.175287"]]
2096
+  (0.7ms) commit transaction
2097
+  (0.1ms) begin transaction
2098
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.177612"], ["updated_at", "2015-03-25 21:14:42.177612"]]
2099
+  (0.8ms) commit transaction
2100
+  (0.1ms) begin transaction
2101
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "tempore_blanditiis_consequatur"], ["title", "Repudiandae atque vero"], ["content", "Deleniti quia repellendus dicta dolorem molestias nam et. Quas et eius qui totam. Reiciendis quidem at est qui eum provident assumenda. Corporis modi odio voluptatem sint.\nExercitationem qui natus illo repellat molestiae. Dolores ducimus sint tenetur quia. Quae et consectetur dignissimos. Sed illum sunt tenetur aspernatur explicabo. Ex molestias quidem ea aliquam voluptates hic.\nDolore ut et dolor enim illum totam quibusdam. Nihil dolorem modi repudiandae voluptates magni. Aliquam nihil odit sint sunt."], ["created_at", "2015-03-25 21:14:42.180925"], ["updated_at", "2015-03-25 21:14:42.180925"]]
2102
+  (2.0ms) commit transaction
2103
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "tempore_blanditiis_consequatur"]]
2104
+  (0.1ms) begin transaction
2105
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 35 AND "fine_print_contracts"."name" = 'tempore_blanditiis_consequatur') LIMIT 1
2106
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 35]]
2107
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:14:42.187801"], ["id", 35]]
2108
+  (2.6ms) commit transaction
2109
+ Processing by FinePrint::ContractsController#unpublish as HTML
2110
+ Parameters: {"id"=>"35"}
2111
+ Filter chain halted as :can_manage rendered or redirected
2112
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2113
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]
2114
+ Processing by FinePrint::ContractsController#unpublish as HTML
2115
+ Parameters: {"id"=>"35"}
2116
+ Filter chain halted as :can_manage rendered or redirected
2117
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2118
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 35]]
2119
+  (0.1ms) begin transaction
2120
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.198732"], ["updated_at", "2015-03-25 21:14:42.198732"]]
2121
+  (0.7ms) commit transaction
2122
+  (0.0ms) begin transaction
2123
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.200828"], ["updated_at", "2015-03-25 21:14:42.200828"]]
2124
+  (0.7ms) commit transaction
2125
+  (0.0ms) begin transaction
2126
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "maiores_itaque_molestiae"], ["title", "Voluptatem omnis similique"], ["content", "Quae officia ut. Dolor officiis inventore vel ipsa sed magni voluptatem. Sunt voluptas dolore ratione.\nFacilis magnam illum repudiandae et. Delectus in doloribus inventore vel quasi. Ullam laborum et sit voluptate vero enim possimus.\nSint ut hic non magni fuga dolores non. Deserunt rem sit molestias. Fugiat enim deleniti. Iste id porro. Sed ea consequatur sunt."], ["created_at", "2015-03-25 21:14:42.203524"], ["updated_at", "2015-03-25 21:14:42.203524"]]
2127
+  (1.8ms) commit transaction
2128
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "maiores_itaque_molestiae"]]
2129
+  (0.1ms) begin transaction
2130
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'maiores_itaque_molestiae') LIMIT 1
2131
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]
2132
+ SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:14:42.209562"], ["id", 36]]
2133
+  (0.9ms) commit transaction
2134
+ Processing by FinePrint::ContractsController#new_version as HTML
2135
+ Parameters: {"id"=>"36"}
2136
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]]
2137
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "maiores_itaque_molestiae"]]
2138
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new_version.html.erb within layouts/application (0.2ms)
2139
+ Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms)
2140
+  (0.1ms) begin transaction
2141
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.230581"], ["updated_at", "2015-03-25 21:14:42.230581"]]
2142
+  (2.0ms) commit transaction
2143
+  (0.0ms) begin transaction
2144
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.233835"], ["updated_at", "2015-03-25 21:14:42.233835"]]
2145
+  (0.7ms) commit transaction
2146
+  (0.0ms) begin transaction
2147
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "sunt_minima_dolor"], ["title", "Ab debitis maxime"], ["content", "Nisi veniam explicabo ipsum voluptates enim necessitatibus. In ducimus sit doloribus ratione omnis. Ipsa ea quae. Doloremque consequuntur saepe consequatur.\nIusto incidunt fuga nemo quam iure eos. Mollitia adipisci culpa sed. Quis harum ut. Quo enim at ut voluptatem aut qui.\nAut non facilis fugiat voluptatem aut qui. Facilis adipisci totam. Ut numquam eius aut voluptas laborum aliquam. Repellendus voluptatem ullam occaecati consequatur ab quia neque. Exercitationem rerum dolores quasi magnam."], ["created_at", "2015-03-25 21:14:42.236705"], ["updated_at", "2015-03-25 21:14:42.236705"]]
2148
+  (2.0ms) commit transaction
2149
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sunt_minima_dolor"]]
2150
+  (0.0ms) begin transaction
2151
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 37 AND "fine_print_contracts"."name" = 'sunt_minima_dolor') LIMIT 1
2152
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]
2153
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:14:42.244588"], ["id", 37]]
2154
+  (0.7ms) commit transaction
2155
+ Processing by FinePrint::ContractsController#unpublish as HTML
2156
+ Parameters: {"id"=>"37"}
2157
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]
2158
+ FinePrint::Contract Load (0.4ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sunt_minima_dolor"]]
2159
+  (0.0ms) begin transaction
2160
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 37]]
2161
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", nil], ["updated_at", "2015-03-25 21:14:42.253691"], ["id", 37]]
2162
+  (0.6ms) commit transaction
2163
+ Redirected to http://test.host/fine_print/contracts
2164
+ Completed 302 Found in 7ms (ActiveRecord: 1.4ms)
2165
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 37]]
2166
+  (0.1ms) begin transaction
2167
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.259254"], ["updated_at", "2015-03-25 21:14:42.259254"]]
2168
+  (1.8ms) commit transaction
2169
+  (0.0ms) begin transaction
2170
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.262592"], ["updated_at", "2015-03-25 21:14:42.262592"]]
2171
+  (2.0ms) commit transaction
2172
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_non_perspiciatis"]]
2173
+  (0.0ms) begin transaction
2174
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ea_non_perspiciatis') LIMIT 1
2175
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "ea_non_perspiciatis"], ["title", "Iusto exercitationem architecto"], ["content", "Eligendi et sit incidunt et. Distinctio minus veritatis maxime dolores est. Iste et inventore reprehenderit aspernatur nulla. Quasi et qui corrupti enim deserunt sit. Unde quos non expedita quidem.\nVelit laudantium a modi veniam rem perferendis. Sint eligendi vitae. Non corrupti in nulla est qui quidem cupiditate.\nMaiores quos ad voluptatem quam consequatur fugiat est. Dolorem cupiditate hic sapiente quod. Molestias aspernatur saepe autem molestiae. Tenetur mollitia quae est aperiam neque quisquam quia."], ["version", 1], ["created_at", "2015-03-25 21:14:42.269985"], ["updated_at", "2015-03-25 21:14:42.269985"]]
2176
+  (13.4ms) commit transaction
2177
+  (0.1ms) begin transaction
2178
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2179
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.286779"], ["updated_at", "2015-03-25 21:14:42.286779"]]
2180
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["user_type", "DummyUser"], ["user_id", 48], ["created_at", "2015-03-25 21:14:42.287819"], ["updated_at", "2015-03-25 21:14:42.287819"]]
2181
+  (0.7ms) commit transaction
2182
+ Processing by FinePrint::SignaturesController#new as HTML
2183
+ Parameters: {"contract_id"=>"38"}
2184
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]]
2185
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/application (0.3ms)
2186
+ Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms)
2187
+  (0.1ms) begin transaction
2188
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.297687"], ["updated_at", "2015-03-25 21:14:42.297687"]]
2189
+  (0.7ms) commit transaction
2190
+  (0.0ms) begin transaction
2191
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.299911"], ["updated_at", "2015-03-25 21:14:42.299911"]]
2192
+  (19.2ms) commit transaction
2193
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "delectus_asperiores_commodi"]]
2194
+  (0.0ms) begin transaction
2195
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'delectus_asperiores_commodi') LIMIT 1
2196
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "delectus_asperiores_commodi"], ["title", "Modi debitis non"], ["content", "Dolore itaque harum consequuntur natus quia a. Rem deserunt architecto. Dignissimos cupiditate qui quod numquam praesentium.\nId eum dolores occaecati. Sit blanditiis illum et voluptates dolore. Repellendus inventore aut quia in sed laudantium.\nPraesentium accusamus dolores distinctio voluptas nulla. Occaecati voluptas in perferendis ratione mollitia id deleniti. Qui nisi et nihil ut. Aspernatur et autem ut veniam et. Tempore dicta voluptatem qui unde."], ["version", 1], ["created_at", "2015-03-25 21:14:42.325784"], ["updated_at", "2015-03-25 21:14:42.325784"]]
2197
+  (0.9ms) commit transaction
2198
+  (0.1ms) begin transaction
2199
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2200
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.330565"], ["updated_at", "2015-03-25 21:14:42.330565"]]
2201
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["user_type", "DummyUser"], ["user_id", 51], ["created_at", "2015-03-25 21:14:42.331884"], ["updated_at", "2015-03-25 21:14:42.331884"]]
2202
+  (1.9ms) commit transaction
2203
+ Processing by FinePrint::SignaturesController#index as HTML
2204
+ Parameters: {"contract_id"=>"39"}
2205
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]]
2206
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/index.html.erb within layouts/application (0.2ms)
2207
+ Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.1ms)
2208
+  (0.1ms) begin transaction
2209
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.341863"], ["updated_at", "2015-03-25 21:14:42.341863"]]
2210
+  (0.7ms) commit transaction
2211
+  (0.0ms) begin transaction
2212
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.343946"], ["updated_at", "2015-03-25 21:14:42.343946"]]
2213
+  (0.7ms) commit transaction
2214
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "incidunt_quo_eaque"]]
2215
+  (0.0ms) begin transaction
2216
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'incidunt_quo_eaque') LIMIT 1
2217
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "incidunt_quo_eaque"], ["title", "Cum et adipisci"], ["content", "Quo iure illum ad. Et odio porro et impedit. Totam debitis nesciunt. Totam eius rem consequatur omnis occaecati cumque quos. Rem quas tenetur quibusdam tempora tempore.\nEst provident numquam. Ratione ipsa ad rerum. Dolorem dolorem adipisci voluptatem voluptate. Dicta consequatur non beatae enim. Quo ipsum enim deserunt consequatur amet eum veritatis.\nQuo omnis dolor molestiae esse sed. Vel occaecati voluptas illum quas et dolores quae. Omnis doloremque et non in nobis totam reiciendis. Fuga provident aut iusto itaque omnis non."], ["version", 1], ["created_at", "2015-03-25 21:14:42.350244"], ["updated_at", "2015-03-25 21:14:42.350244"]]
2218
+  (1.5ms) commit transaction
2219
+  (0.0ms) begin transaction
2220
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2221
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.355600"], ["updated_at", "2015-03-25 21:14:42.355600"]]
2222
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["user_type", "DummyUser"], ["user_id", 54], ["created_at", "2015-03-25 21:14:42.357660"], ["updated_at", "2015-03-25 21:14:42.357660"]]
2223
+  (2.1ms) commit transaction
2224
+ Processing by FinePrint::SignaturesController#new as HTML
2225
+ Parameters: {"contract_id"=>"40"}
2226
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 40]]
2227
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/application (0.2ms)
2228
+ Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.1ms)
2229
+  (0.1ms) begin transaction
2230
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.368485"], ["updated_at", "2015-03-25 21:14:42.368485"]]
2231
+  (2.0ms) commit transaction
2232
+  (0.0ms) begin transaction
2233
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.371778"], ["updated_at", "2015-03-25 21:14:42.371778"]]
2234
+  (0.8ms) commit transaction
2235
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alias_non_magni"]]
2236
+  (0.0ms) begin transaction
2237
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alias_non_magni') LIMIT 1
2238
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alias_non_magni"], ["title", "Ea illum alias"], ["content", "Deleniti quia rem delectus. Officiis pariatur quasi velit consequuntur est quo in. Natus corporis neque et consequatur et qui. Nemo amet reprehenderit. Sed accusamus vel atque cumque officia omnis aut.\nEt voluptatem ut. Voluptates ullam dolore quaerat a consequatur officia temporibus. Vel eius velit sunt consequatur. In quia quod velit.\nUt voluptas possimus quia odio. Vero voluptatem earum voluptatibus. Dolorem saepe et voluptatum."], ["version", 1], ["created_at", "2015-03-25 21:14:42.378685"], ["updated_at", "2015-03-25 21:14:42.378685"]]
2239
+  (2.1ms) commit transaction
2240
+  (0.1ms) begin transaction
2241
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2242
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.385115"], ["updated_at", "2015-03-25 21:14:42.385115"]]
2243
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["user_type", "DummyUser"], ["user_id", 57], ["created_at", "2015-03-25 21:14:42.386584"], ["updated_at", "2015-03-25 21:14:42.386584"]]
2244
+  (1.9ms) commit transaction
2245
+ Processing by FinePrint::SignaturesController#create as HTML
2246
+ Parameters: {"contract_id"=>"41"}
2247
+ Filter chain halted as :can_sign rendered or redirected
2248
+ Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
2249
+  (0.0ms) begin transaction
2250
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.393830"], ["updated_at", "2015-03-25 21:14:42.393830"]]
2251
+  (0.7ms) commit transaction
2252
+  (0.0ms) begin transaction
2253
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.395812"], ["updated_at", "2015-03-25 21:14:42.395812"]]
2254
+  (2.2ms) commit transaction
2255
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "qui_molestiae_totam"]]
2256
+  (0.0ms) begin transaction
2257
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'qui_molestiae_totam') LIMIT 1
2258
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "qui_molestiae_totam"], ["title", "Hic in enim"], ["content", "Maxime numquam omnis non. Numquam consequatur qui cum autem similique. Facilis quibusdam vel ad iusto sunt.\nFugit eligendi iusto ad delectus. Iste ea quia aperiam quasi rerum sint. Et culpa dolorum delectus id et earum accusamus.\nVoluptatem est quia ut. Aspernatur dolorum perspiciatis cupiditate. Autem nemo est fuga maiores quae in adipisci. Aliquam vel unde quod cum temporibus sunt enim."], ["version", 1], ["created_at", "2015-03-25 21:14:42.403449"], ["updated_at", "2015-03-25 21:14:42.403449"]]
2259
+  (0.7ms) commit transaction
2260
+  (0.1ms) begin transaction
2261
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2262
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.407595"], ["updated_at", "2015-03-25 21:14:42.407595"]]
2263
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 42], ["user_type", "DummyUser"], ["user_id", 60], ["created_at", "2015-03-25 21:14:42.408813"], ["updated_at", "2015-03-25 21:14:42.408813"]]
2264
+  (1.8ms) commit transaction
2265
+ Processing by FinePrint::SignaturesController#index as HTML
2266
+ Parameters: {"contract_id"=>"42"}
2267
+ Filter chain halted as :can_manage rendered or redirected
2268
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2269
+ Processing by FinePrint::SignaturesController#index as HTML
2270
+ Parameters: {"contract_id"=>"42"}
2271
+ Filter chain halted as :can_manage rendered or redirected
2272
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2273
+  (0.0ms) begin transaction
2274
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.415048"], ["updated_at", "2015-03-25 21:14:42.415048"]]
2275
+  (2.1ms) commit transaction
2276
+  (0.0ms) begin transaction
2277
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.418400"], ["updated_at", "2015-03-25 21:14:42.418400"]]
2278
+  (2.1ms) commit transaction
2279
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quisquam_sit_sed"]]
2280
+  (0.0ms) begin transaction
2281
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quisquam_sit_sed') LIMIT 1
2282
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "quisquam_sit_sed"], ["title", "Voluptatem ut molestiae"], ["content", "Adipisci est mollitia sint occaecati. Enim maxime et. Doloribus laborum velit. Est autem quia necessitatibus quas ratione sunt. Molestias aut temporibus non velit.\nDeleniti excepturi et. Cumque qui distinctio nemo. Temporibus ipsam nobis quia dolore. Aut ipsum molestiae ullam deserunt facere occaecati dolorem.\nExercitationem aut quia enim. Autem molestiae qui assumenda. Et itaque sed et exercitationem ut soluta. Amet molestiae sunt hic. Molestiae qui fuga ut nesciunt."], ["version", 1], ["created_at", "2015-03-25 21:14:42.425240"], ["updated_at", "2015-03-25 21:14:42.425240"]]
2283
+  (1.7ms) commit transaction
2284
+  (0.1ms) begin transaction
2285
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2286
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.430617"], ["updated_at", "2015-03-25 21:14:42.430617"]]
2287
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["user_type", "DummyUser"], ["user_id", 63], ["created_at", "2015-03-25 21:14:42.431891"], ["updated_at", "2015-03-25 21:14:42.431891"]]
2288
+  (2.1ms) commit transaction
2289
+ Processing by FinePrint::SignaturesController#new as HTML
2290
+ Parameters: {"contract_id"=>"43"}
2291
+ Filter chain halted as :can_sign rendered or redirected
2292
+ Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
2293
+  (0.1ms) begin transaction
2294
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.438664"], ["updated_at", "2015-03-25 21:14:42.438664"]]
2295
+  (2.3ms) commit transaction
2296
+  (0.0ms) begin transaction
2297
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.442267"], ["updated_at", "2015-03-25 21:14:42.442267"]]
2298
+  (2.0ms) commit transaction
2299
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "id_libero_quis"]]
2300
+  (0.0ms) begin transaction
2301
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'id_libero_quis') LIMIT 1
2302
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "id_libero_quis"], ["title", "Neque et mollitia"], ["content", "Quia eaque qui. Sit voluptatem dolor ullam. Ea ut provident alias qui itaque architecto est. Et aliquid ipsa commodi blanditiis.\nEos quod fugiat qui quia voluptas. Alias ex harum et eaque omnis. Voluptates minima assumenda. Nesciunt minus illo rerum quia totam voluptatum.\nTemporibus autem animi sunt. Dicta repellendus pariatur et illo placeat. Provident neque consequuntur. Aut ullam praesentium."], ["version", 1], ["created_at", "2015-03-25 21:14:42.449045"], ["updated_at", "2015-03-25 21:14:42.449045"]]
2303
+  (0.8ms) commit transaction
2304
+  (0.0ms) begin transaction
2305
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2306
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.452623"], ["updated_at", "2015-03-25 21:14:42.452623"]]
2307
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["user_type", "DummyUser"], ["user_id", 66], ["created_at", "2015-03-25 21:14:42.453562"], ["updated_at", "2015-03-25 21:14:42.453562"]]
2308
+  (33.7ms) commit transaction
2309
+ Processing by FinePrint::SignaturesController#destroy as HTML
2310
+ Parameters: {"id"=>"17"}
2311
+ Filter chain halted as :can_manage rendered or redirected
2312
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2313
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]]
2314
+ Processing by FinePrint::SignaturesController#destroy as HTML
2315
+ Parameters: {"id"=>"17"}
2316
+ Filter chain halted as :can_manage rendered or redirected
2317
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2318
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 17]]
2319
+  (0.0ms) begin transaction
2320
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.493303"], ["updated_at", "2015-03-25 21:14:42.493303"]]
2321
+  (4.1ms) commit transaction
2322
+  (0.0ms) begin transaction
2323
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.498725"], ["updated_at", "2015-03-25 21:14:42.498725"]]
2324
+  (37.0ms) commit transaction
2325
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quae_soluta_vero"]]
2326
+  (0.0ms) begin transaction
2327
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quae_soluta_vero') LIMIT 1
2328
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "quae_soluta_vero"], ["title", "Quis dolorem iste"], ["content", "Placeat sit ipsum fugit velit ut excepturi. Deserunt earum sint corrupti natus et. Eveniet perferendis eaque. Rerum in at vel recusandae.\nBeatae omnis autem veniam consequatur. Ratione ut dolorum velit. Repudiandae ipsa iste velit. Voluptatem sit totam praesentium libero natus odio.\nMaiores ut dolores ipsam velit. Qui dolore voluptas. Cupiditate saepe iste a. Provident maiores consequatur quisquam. Aut eos occaecati et dignissimos ut voluptatem."], ["version", 1], ["created_at", "2015-03-25 21:14:42.540651"], ["updated_at", "2015-03-25 21:14:42.540651"]]
2329
+  (14.8ms) commit transaction
2330
+  (0.0ms) begin transaction
2331
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2332
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:14:42.558224"], ["updated_at", "2015-03-25 21:14:42.558224"]]
2333
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["user_type", "DummyUser"], ["user_id", 69], ["created_at", "2015-03-25 21:14:42.559057"], ["updated_at", "2015-03-25 21:14:42.559057"]]
2334
+  (1.5ms) commit transaction
2335
+ Processing by FinePrint::SignaturesController#destroy as HTML
2336
+ Parameters: {"id"=>"18"}
2337
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 18]]
2338
+  (0.0ms) begin transaction
2339
+ SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 18]]
2340
+  (1.7ms) commit transaction
2341
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 45]]
2342
+ Redirected to http://test.host/fine_print/contracts/45/signatures
2343
+ Completed 302 Found in 5ms (ActiveRecord: 2.1ms)
2344
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 18]]
2345
+  (0.0ms) begin transaction
2346
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "aspernatur_ex_tenetur"], ["title", "Ad omnis nobis"], ["content", "Debitis maxime dolorum autem error laudantium. At officia ad dolores voluptas. Quos aperiam ad eveniet non.\nConsectetur est impedit dolores occaecati error. Pariatur maxime sunt sit aperiam nisi itaque. Laudantium accusamus fugit qui ullam repudiandae amet.\nEt ipsa occaecati neque. Voluptatem et vitae dolorem. Corporis aperiam qui. Dolorum commodi eligendi et eum."], ["created_at", "2015-03-25 21:14:42.571696"], ["updated_at", "2015-03-25 21:14:42.571696"]]
2347
+  (0.7ms) commit transaction
2348
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]
2349
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "distinctio_ipsum_ut"]]
2350
+  (0.0ms) begin transaction
2351
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'distinctio_ipsum_ut') LIMIT 1
2352
+ SQL (0.4ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "distinctio_ipsum_ut"], ["title", "Asperiores rerum voluptas"], ["content", "Itaque molestias et sit sed tenetur. Sint aperiam omnis ut. Laborum aut ut.\nAssumenda quos quia tempora recusandae. Quos est similique rerum. Architecto iusto officia quidem ea. Quia placeat eum deleniti consequatur. Ad qui distinctio.\nDignissimos illo dolorem placeat reprehenderit dolorem in et. Sint maiores quas. Consequuntur blanditiis autem. Et molestiae modi. Quibusdam ut placeat id ab est debitis."], ["version", 1], ["created_at", "2015-03-25 21:14:42.578114"], ["updated_at", "2015-03-25 21:14:42.578114"]]
2353
+  (1.6ms) commit transaction
2354
+  (0.0ms) begin transaction
2355
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2356
+  (0.0ms) rollback transaction
2357
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]]
2358
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]
2359
+  (1.9ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime) 
2360
+  (0.9ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "version" integer, "title" varchar NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)
2361
+  (0.1ms) select sqlite_version(*)
2362
+  (0.9ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")
2363
+  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar NOT NULL, "created_at" datetime, "updated_at" datetime) 
2364
+  (0.9ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")
2365
+  (0.2ms)  SELECT sql
2366
+ FROM sqlite_master
2367
+ WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'
2368
+ UNION ALL
2369
+ SELECT sql
2370
+ FROM sqlite_temp_master
2371
+ WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'
2372
+ 
2373
+  (0.7ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")
2374
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2375
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2376
+  (0.1ms) SELECT version FROM "schema_migrations"
2377
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
2378
+  (1.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
2379
+  (0.1ms) begin transaction
2380
+ SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.528391"], ["updated_at", "2015-03-25 21:15:24.528391"]]
2381
+  (1.6ms) commit transaction
2382
+  (0.1ms) begin transaction
2383
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.534146"], ["updated_at", "2015-03-25 21:15:24.534146"]]
2384
+  (0.8ms) commit transaction
2385
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quia_at_unde"]]
2386
+  (0.0ms) begin transaction
2387
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quia_at_unde') LIMIT 1
2388
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "quia_at_unde"], ["title", "Et labore maxime"], ["content", "Omnis fugit totam eaque voluptatem. Sequi omnis perferendis. Autem placeat velit.\nQuae voluptas molestiae animi enim quas consequuntur et. Consequuntur reprehenderit eius soluta sed voluptas. Occaecati itaque ipsum est et iste. Occaecati est non ex repellat. Esse sed qui ad fugiat perspiciatis dolorum nihil.\nIn est voluptatem veniam mollitia. Nihil enim dolorum amet et. Tempora adipisci qui omnis eum eligendi. Ut nisi in qui non dolores quidem neque. Molestiae voluptatum temporibus tenetur est nobis culpa illo."], ["version", 1], ["created_at", "2015-03-25 21:15:24.810632"], ["updated_at", "2015-03-25 21:15:24.810632"]]
2389
+  (2.5ms) commit transaction
2390
+  (0.1ms) begin transaction
2391
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 1 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2392
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.821498"], ["updated_at", "2015-03-25 21:15:24.821498"]]
2393
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 1], ["user_type", "DummyUser"], ["user_id", 3], ["created_at", "2015-03-25 21:15:24.822825"], ["updated_at", "2015-03-25 21:15:24.822825"]]
2394
+  (2.3ms) commit transaction
2395
+ Processing by FinePrint::SignaturesController#new as HTML
2396
+ Parameters: {"contract_id"=>"1"}
2397
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]]
2398
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/application (0.2ms)
2399
+ Completed 200 OK in 10ms (Views: 4.9ms | ActiveRecord: 0.2ms)
2400
+  (0.1ms) begin transaction
2401
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.842145"], ["updated_at", "2015-03-25 21:15:24.842145"]]
2402
+  (2.1ms) commit transaction
2403
+  (0.0ms) begin transaction
2404
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.845612"], ["updated_at", "2015-03-25 21:15:24.845612"]]
2405
+  (2.2ms) commit transaction
2406
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "autem_eius_vero"]]
2407
+  (0.0ms) begin transaction
2408
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'autem_eius_vero') LIMIT 1
2409
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "autem_eius_vero"], ["title", "Distinctio laudantium autem"], ["content", "Est inventore ea voluptatem nihil. Earum quis fugit. Fugiat maiores quasi eius. Hic minima libero consectetur. Vel illum aut omnis qui.\nSapiente cum ad quidem et itaque et dicta. Tempore maxime modi est ratione dolore. Enim consectetur nesciunt aliquid repellendus et voluptatum. Eos aspernatur et et aut molestiae velit corporis. Omnis fugit eum aut.\nFacere est nobis dolorem voluptas aliquid. Eius ipsa sed id totam illo expedita voluptatibus. Est ratione qui eos et accusamus et repellendus. Rerum vitae sapiente a. Explicabo quia et veniam temporibus esse."], ["version", 1], ["created_at", "2015-03-25 21:15:24.852893"], ["updated_at", "2015-03-25 21:15:24.852893"]]
2410
+  (0.8ms) commit transaction
2411
+  (0.0ms) begin transaction
2412
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 2 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2413
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.856337"], ["updated_at", "2015-03-25 21:15:24.856337"]]
2414
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 2], ["user_type", "DummyUser"], ["user_id", 6], ["created_at", "2015-03-25 21:15:24.857101"], ["updated_at", "2015-03-25 21:15:24.857101"]]
2415
+  (1.4ms) commit transaction
2416
+ Processing by FinePrint::SignaturesController#new as HTML
2417
+ Parameters: {"contract_id"=>"2"}
2418
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 2]]
2419
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/application (0.2ms)
2420
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
2421
+  (0.0ms) begin transaction
2422
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.863710"], ["updated_at", "2015-03-25 21:15:24.863710"]]
2423
+  (0.5ms) commit transaction
2424
+  (0.0ms) begin transaction
2425
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.865435"], ["updated_at", "2015-03-25 21:15:24.865435"]]
2426
+  (1.9ms) commit transaction
2427
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_culpa_maiores"]]
2428
+  (0.1ms) begin transaction
2429
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'est_culpa_maiores') LIMIT 1
2430
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "est_culpa_maiores"], ["title", "Rerum non cumque"], ["content", "Est dignissimos velit ut. Eos esse corrupti. Nemo autem nulla esse alias nihil magni. Quasi nihil quia unde id dolor. Expedita rerum commodi minima voluptatibus sit et.\nEarum eaque vero distinctio et fuga voluptatibus. A voluptas rerum pariatur ea et ipsum beatae. Expedita est dolor animi quos quia corporis. Voluptate officia maiores. Vitae repudiandae animi eum adipisci.\nOdio eum officia ad nobis reiciendis rem. Natus et aut error. Ea ad maxime blanditiis cum adipisci. Culpa accusantium officiis et iste."], ["version", 1], ["created_at", "2015-03-25 21:15:24.871791"], ["updated_at", "2015-03-25 21:15:24.871791"]]
2431
+  (0.7ms) commit transaction
2432
+  (0.1ms) begin transaction
2433
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 3 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2434
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.875257"], ["updated_at", "2015-03-25 21:15:24.875257"]]
2435
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 3], ["user_type", "DummyUser"], ["user_id", 9], ["created_at", "2015-03-25 21:15:24.876165"], ["updated_at", "2015-03-25 21:15:24.876165"]]
2436
+  (0.9ms) commit transaction
2437
+ Processing by FinePrint::SignaturesController#new as HTML
2438
+ Parameters: {"contract_id"=>"3"}
2439
+ Filter chain halted as :can_sign rendered or redirected
2440
+ Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
2441
+  (0.0ms) begin transaction
2442
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.880278"], ["updated_at", "2015-03-25 21:15:24.880278"]]
2443
+  (2.1ms) commit transaction
2444
+  (0.0ms) begin transaction
2445
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.883453"], ["updated_at", "2015-03-25 21:15:24.883453"]]
2446
+  (2.2ms) commit transaction
2447
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quaerat_vero_praesentium"]]
2448
+  (0.0ms) begin transaction
2449
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quaerat_vero_praesentium') LIMIT 1
2450
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "quaerat_vero_praesentium"], ["title", "Libero id quam"], ["content", "Repudiandae aspernatur necessitatibus quasi. Voluptatum iure sunt laboriosam ipsum laborum dolore. Provident hic voluptas dolorum ut doloremque aut ea. Aperiam eaque quia beatae. Quis vel in.\nAccusantium voluptas totam. Non voluptatem dolor ut. Velit est sint ratione doloremque. Dolorum quo repellat debitis molestiae doloremque et.\nEst nisi nihil nesciunt molestiae eos sunt quaerat. Deleniti quo quae modi cumque occaecati corporis molestiae. Quidem voluptate dolore. Nobis vero iste nulla. Nihil commodi vel iusto aut tenetur tempora."], ["version", 1], ["created_at", "2015-03-25 21:15:24.890401"], ["updated_at", "2015-03-25 21:15:24.890401"]]
2451
+  (1.7ms) commit transaction
2452
+  (0.1ms) begin transaction
2453
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 4 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2454
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.895840"], ["updated_at", "2015-03-25 21:15:24.895840"]]
2455
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 4], ["user_type", "DummyUser"], ["user_id", 12], ["created_at", "2015-03-25 21:15:24.897209"], ["updated_at", "2015-03-25 21:15:24.897209"]]
2456
+  (2.0ms) commit transaction
2457
+ Processing by FinePrint::SignaturesController#destroy as HTML
2458
+ Parameters: {"id"=>"4"}
2459
+ Filter chain halted as :can_manage rendered or redirected
2460
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2461
+ FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]
2462
+ Processing by FinePrint::SignaturesController#destroy as HTML
2463
+ Parameters: {"id"=>"4"}
2464
+ Filter chain halted as :can_manage rendered or redirected
2465
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2466
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 4]]
2467
+  (0.0ms) begin transaction
2468
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.906856"], ["updated_at", "2015-03-25 21:15:24.906856"]]
2469
+  (2.2ms) commit transaction
2470
+  (0.0ms) begin transaction
2471
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.910274"], ["updated_at", "2015-03-25 21:15:24.910274"]]
2472
+  (0.7ms) commit transaction
2473
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dignissimos_ducimus_cupiditate"]]
2474
+  (0.0ms) begin transaction
2475
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'dignissimos_ducimus_cupiditate') LIMIT 1
2476
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "dignissimos_ducimus_cupiditate"], ["title", "Veritatis at enim"], ["content", "Repellat nesciunt ut. Eos ex dolores. Est dolor molestias. Ex quos ut quibusdam tenetur.\nBeatae suscipit iure facere numquam hic. Earum qui esse adipisci ut asperiores. Quas vitae dolores sunt asperiores non laboriosam quia.\nIn et error excepturi quae delectus quo aperiam. Eaque ratione voluptas. A doloremque fugiat repudiandae sapiente voluptatem in."], ["version", 1], ["created_at", "2015-03-25 21:15:24.915590"], ["updated_at", "2015-03-25 21:15:24.915590"]]
2477
+  (0.8ms) commit transaction
2478
+  (0.1ms) begin transaction
2479
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 5 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2480
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.920495"], ["updated_at", "2015-03-25 21:15:24.920495"]]
2481
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 5], ["user_type", "DummyUser"], ["user_id", 15], ["created_at", "2015-03-25 21:15:24.921679"], ["updated_at", "2015-03-25 21:15:24.921679"]]
2482
+  (0.7ms) commit transaction
2483
+ Processing by FinePrint::SignaturesController#index as HTML
2484
+ Parameters: {"contract_id"=>"5"}
2485
+ Filter chain halted as :can_manage rendered or redirected
2486
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2487
+ Processing by FinePrint::SignaturesController#index as HTML
2488
+ Parameters: {"contract_id"=>"5"}
2489
+ Filter chain halted as :can_manage rendered or redirected
2490
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2491
+  (0.0ms) begin transaction
2492
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.926519"], ["updated_at", "2015-03-25 21:15:24.926519"]]
2493
+  (2.0ms) commit transaction
2494
+  (0.0ms) begin transaction
2495
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.929593"], ["updated_at", "2015-03-25 21:15:24.929593"]]
2496
+  (2.0ms) commit transaction
2497
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "possimus_enim_dicta"]]
2498
+  (0.1ms) begin transaction
2499
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'possimus_enim_dicta') LIMIT 1
2500
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "possimus_enim_dicta"], ["title", "Harum quae aut"], ["content", "Eum doloremque aut ipsum reprehenderit alias. Voluptatem totam et saepe ullam. Dolor ut cumque quia doloremque iste incidunt eius. Fuga aut quia voluptatem rerum qui. Velit beatae at ut sequi qui maxime.\nModi sapiente nobis beatae. Nisi velit voluptate non reprehenderit. Quia dolore necessitatibus dolorem ex id ab sit.\nLibero id voluptate et asperiores omnis sunt quia. Non voluptas perspiciatis reprehenderit. Voluptatum ipsam vel. Laudantium iste nobis explicabo non."], ["version", 1], ["created_at", "2015-03-25 21:15:24.935975"], ["updated_at", "2015-03-25 21:15:24.935975"]]
2501
+  (1.8ms) commit transaction
2502
+  (0.0ms) begin transaction
2503
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 6 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2504
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.940168"], ["updated_at", "2015-03-25 21:15:24.940168"]]
2505
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 6], ["user_type", "DummyUser"], ["user_id", 18], ["created_at", "2015-03-25 21:15:24.940919"], ["updated_at", "2015-03-25 21:15:24.940919"]]
2506
+  (1.5ms) commit transaction
2507
+ Processing by FinePrint::SignaturesController#create as HTML
2508
+ Parameters: {"contract_id"=>"6"}
2509
+ Filter chain halted as :can_sign rendered or redirected
2510
+ Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
2511
+  (0.1ms) begin transaction
2512
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.945859"], ["updated_at", "2015-03-25 21:15:24.945859"]]
2513
+  (2.1ms) commit transaction
2514
+  (0.0ms) begin transaction
2515
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.949013"], ["updated_at", "2015-03-25 21:15:24.949013"]]
2516
+  (2.0ms) commit transaction
2517
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "modi_ipsam_reiciendis"]]
2518
+  (0.0ms) begin transaction
2519
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'modi_ipsam_reiciendis') LIMIT 1
2520
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "modi_ipsam_reiciendis"], ["title", "Non debitis odio"], ["content", "Rerum omnis earum rerum velit eum. Libero molestias sed sunt aliquam. Mollitia quia aut. Incidunt consectetur fugiat aut ad in et est.\nOccaecati enim aliquam rerum eum. Quia cupiditate distinctio sapiente. Quas et accusamus qui nihil voluptatum. Fugit et architecto labore quia. Facere quia dolorem.\nDistinctio non nihil ut maxime ducimus quo. Et nulla molestias sint laudantium. Nulla cupiditate quaerat aut sit omnis."], ["version", 1], ["created_at", "2015-03-25 21:15:24.955318"], ["updated_at", "2015-03-25 21:15:24.955318"]]
2521
+  (1.8ms) commit transaction
2522
+  (0.0ms) begin transaction
2523
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 7 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2524
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.959445"], ["updated_at", "2015-03-25 21:15:24.959445"]]
2525
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 7], ["user_type", "DummyUser"], ["user_id", 21], ["created_at", "2015-03-25 21:15:24.960328"], ["updated_at", "2015-03-25 21:15:24.960328"]]
2526
+  (1.5ms) commit transaction
2527
+ Processing by FinePrint::SignaturesController#destroy as HTML
2528
+ Parameters: {"id"=>"7"}
2529
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 7]]
2530
+  (0.0ms) begin transaction
2531
+ SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 7]]
2532
+  (0.7ms) commit transaction
2533
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 7]]
2534
+ Redirected to http://test.host/fine_print/contracts/7/signatures
2535
+ Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
2536
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 7]]
2537
+  (0.0ms) begin transaction
2538
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.970823"], ["updated_at", "2015-03-25 21:15:24.970823"]]
2539
+  (2.1ms) commit transaction
2540
+  (0.0ms) begin transaction
2541
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:24.974185"], ["updated_at", "2015-03-25 21:15:24.974185"]]
2542
+  (2.0ms) commit transaction
2543
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "enim_exercitationem_omnis"]]
2544
+  (0.0ms) begin transaction
2545
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'enim_exercitationem_omnis') LIMIT 1
2546
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "enim_exercitationem_omnis"], ["title", "In modi excepturi"], ["content", "Qui facilis asperiores odit eum dolores consequatur. Minima impedit tempora eos quia. Ut autem magni corporis excepturi rerum. Excepturi aut eum debitis temporibus.\nVel dolorum cupiditate deserunt. Amet fugit debitis itaque eveniet sunt. Fuga molestias eos delectus. Ipsa eveniet itaque autem qui laboriosam quo voluptas.\nQuia cum ad architecto est optio porro. Rerum cumque voluptatem. Ut nostrum eaque cumque aspernatur. Distinctio sed repudiandae doloribus minus non."], ["version", 1], ["created_at", "2015-03-25 21:15:24.980690"], ["updated_at", "2015-03-25 21:15:24.980690"]]
2547
+  (38.2ms) commit transaction
2548
+  (0.1ms) begin transaction
2549
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 8 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2550
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.022018"], ["updated_at", "2015-03-25 21:15:25.022018"]]
2551
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 8], ["user_type", "DummyUser"], ["user_id", 24], ["created_at", "2015-03-25 21:15:25.022994"], ["updated_at", "2015-03-25 21:15:25.022994"]]
2552
+  (9.8ms) commit transaction
2553
+ Processing by FinePrint::SignaturesController#index as HTML
2554
+ Parameters: {"contract_id"=>"8"}
2555
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 8]]
2556
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/index.html.erb within layouts/application (0.2ms)
2557
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)
2558
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sequi_quo_quis"]]
2559
+  (0.0ms) begin transaction
2560
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'sequi_quo_quis') LIMIT 1
2561
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "sequi_quo_quis"], ["title", "Voluptatem voluptas occaecati"], ["content", "Id omnis quia animi voluptates. Rerum tempora dolorum et ipsum at. Voluptas exercitationem reiciendis aut dolor. Dignissimos similique rerum fuga aut. Assumenda consectetur dolor nisi id provident quibusdam itaque.\nDoloremque quam reprehenderit possimus at sint voluptas. Quo omnis mollitia dolorem. Nam eius qui temporibus pariatur aperiam quos esse.\nAut sint quia nisi tempore repellendus eligendi. Et quia impedit. Totam est qui."], ["version", 1], ["created_at", "2015-03-25 21:15:25.042309"], ["updated_at", "2015-03-25 21:15:25.042309"]]
2562
+  (1.8ms) commit transaction
2563
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sequi_quo_quis"]]
2564
+  (0.0ms) begin transaction
2565
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "sequi_quo_quis"], ["title", "Voluptatem voluptas occaecati"], ["content", "Id omnis quia animi voluptates. Rerum tempora dolorum et ipsum at. Voluptas exercitationem reiciendis aut dolor. Dignissimos similique rerum fuga aut. Assumenda consectetur dolor nisi id provident quibusdam itaque.\nDoloremque quam reprehenderit possimus at sint voluptas. Quo omnis mollitia dolorem. Nam eius qui temporibus pariatur aperiam quos esse.\nAut sint quia nisi tempore repellendus eligendi. Et quia impedit. Totam est qui."], ["created_at", "2015-03-25 21:15:25.047591"], ["updated_at", "2015-03-25 21:15:25.047591"]]
2566
+  (1.8ms) commit transaction
2567
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "sequi_quo_quis"]]
2568
+  (0.0ms) begin transaction
2569
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 10 AND "fine_print_contracts"."name" = 'sequi_quo_quis') LIMIT 1
2570
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 10]]
2571
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 2], ["updated_at", "2015-03-25 21:15:25.052599"], ["id", 10]]
2572
+  (2.1ms) commit transaction
2573
+  (0.0ms) begin transaction
2574
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "voluptas_cum_nihil"], ["title", "Voluptate in nam"], ["content", "Commodi voluptas dolorum aspernatur id voluptatibus hic. Provident velit blanditiis rerum sint aliquam suscipit rerum. Harum quo ut facilis aut est.\nCommodi voluptatibus delectus repellendus. Aut natus assumenda nostrum aut cupiditate. Corrupti quo minus beatae debitis inventore accusamus. Quos laudantium quibusdam.\nEos in consequatur ab. Porro eum repellendus. Sed quis quo voluptates soluta minus fugiat vero. Eum distinctio omnis tempore. Corrupti sit officiis provident fuga sunt omnis."], ["created_at", "2015-03-25 21:15:25.059716"], ["updated_at", "2015-03-25 21:15:25.059716"]]
2575
+  (1.9ms) commit transaction
2576
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]
2577
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptas_cum_nihil"]]
2578
+  (0.0ms) begin transaction
2579
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 11 AND "fine_print_contracts"."name" = 'voluptas_cum_nihil') LIMIT 1
2580
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]
2581
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:15:25.065859"], ["id", 11]]
2582
+  (1.9ms) commit transaction
2583
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptas_cum_nihil"]]
2584
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]
2585
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "voluptas_cum_nihil"]]
2586
+  (0.0ms) begin transaction
2587
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 11]]
2588
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", nil], ["updated_at", "2015-03-25 21:15:25.072184"], ["id", 11]]
2589
+  (2.3ms) commit transaction
2590
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "unde_et_porro"]]
2591
+  (0.1ms) begin transaction
2592
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'unde_et_porro') LIMIT 1
2593
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "unde_et_porro"], ["title", "Natus repellendus error"], ["content", "Blanditiis cum aut minus. Accusantium ducimus omnis ut. Tenetur libero iusto aut ea totam sequi beatae. Corrupti itaque id et iure sit. Molestiae iste magnam nulla.\nVoluptas recusandae sequi libero. Accusamus veniam temporibus. Explicabo tenetur sint doloremque deserunt quas corrupti. Suscipit est hic ea.\nIllo doloribus dolor iste quo accusamus. Amet nemo vitae et sequi eos impedit sint. Ipsa deserunt quos aut amet quo labore doloribus. Tempora dolores est voluptate saepe."], ["version", 1], ["created_at", "2015-03-25 21:15:25.080534"], ["updated_at", "2015-03-25 21:15:25.080534"]]
2594
+  (1.8ms) commit transaction
2595
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "unde_et_porro"]]
2596
+  (0.0ms) begin transaction
2597
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "joe"], ["title", "Natus repellendus error"], ["content", "Blanditiis cum aut minus. Accusantium ducimus omnis ut. Tenetur libero iusto aut ea totam sequi beatae. Corrupti itaque id et iure sit. Molestiae iste magnam nulla.\nVoluptas recusandae sequi libero. Accusamus veniam temporibus. Explicabo tenetur sint doloremque deserunt quas corrupti. Suscipit est hic ea.\nIllo doloribus dolor iste quo accusamus. Amet nemo vitae et sequi eos impedit sint. Ipsa deserunt quos aut amet quo labore doloribus. Tempora dolores est voluptate saepe."], ["created_at", "2015-03-25 21:15:25.085534"], ["updated_at", "2015-03-25 21:15:25.085534"]]
2598
+  (1.8ms) commit transaction
2599
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]
2600
+  (0.0ms) begin transaction
2601
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'joe') LIMIT 1
2602
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]
2603
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:15:25.090497"], ["id", 13]]
2604
+  (2.0ms) commit transaction
2605
+  (0.0ms) begin transaction
2606
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "ea_laborum_expedita"], ["title", "Est ducimus voluptatem"], ["content", "Et natus vel minima amet. Doloribus assumenda voluptatem magni. Qui repellat molestiae et hic accusamus non eligendi.\nMollitia harum temporibus provident. Hic consequatur quam fugit deserunt eius molestiae. Ut eligendi cumque molestiae rerum magni.\nIpsum enim provident nemo consequatur sint quia. Fugiat illum consectetur adipisci. Quo suscipit rerum accusamus quidem quisquam nulla similique. Inventore asperiores ea fugit. Sunt ut reprehenderit facere."], ["created_at", "2015-03-25 21:15:25.096189"], ["updated_at", "2015-03-25 21:15:25.096189"]]
2607
+  (1.8ms) commit transaction
2608
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_laborum_expedita"]]
2609
+  (0.0ms) begin transaction
2610
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'ea_laborum_expedita') LIMIT 1
2611
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]
2612
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:15:25.101043"], ["id", 14]]
2613
+  (2.1ms) commit transaction
2614
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]
2615
+  (0.0ms) begin transaction
2616
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 14 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
2617
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.107762"], ["updated_at", "2015-03-25 21:15:25.107762"]]
2618
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 14], ["user_type", "DummyUser"], ["user_id", 25], ["created_at", "2015-03-25 21:15:25.108608"], ["updated_at", "2015-03-25 21:15:25.108608"]]
2619
+  (1.5ms) commit transaction
2620
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]
2621
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]
2622
+  (0.0ms) begin transaction
2623
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 14 AND "fine_print_contracts"."name" = 'ea_laborum_expedita') LIMIT 1
2624
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]
2625
+  (0.0ms) rollback transaction
2626
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ea_laborum_expedita"]]
2627
+  (0.0ms) begin transaction
2628
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 14]]
2629
+  (0.0ms) rollback transaction
2630
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 14]]
2631
+  (0.1ms) begin transaction
2632
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.119494"], ["updated_at", "2015-03-25 21:15:25.119494"]]
2633
+  (2.2ms) commit transaction
2634
+  (0.0ms) begin transaction
2635
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.122992"], ["updated_at", "2015-03-25 21:15:25.122992"]]
2636
+  (2.2ms) commit transaction
2637
+  (0.1ms) begin transaction
2638
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "rem_et_labore"], ["title", "Necessitatibus ut accusantium"], ["content", "Quo officiis consequuntur et rem sed quisquam. Blanditiis eveniet quis ipsum non laborum neque et. Aliquid aut adipisci facere suscipit dolorum. Consequatur culpa vel distinctio saepe perferendis maxime cumque. Dolorum ea animi cupiditate.\nQuia excepturi sed nesciunt eos ut sint voluptatem. Illo totam doloremque molestiae. Non vel et soluta quia qui.\nSuscipit nisi nemo dolores sed est. Ipsam quia dicta asperiores et qui numquam. Labore qui molestias maiores dolor minus. Sunt vero nesciunt maiores inventore voluptates iure qui. Vel nostrum sunt tempore facere et sint tempora."], ["created_at", "2015-03-25 21:15:25.128409"], ["updated_at", "2015-03-25 21:15:25.128409"]]
2639
+  (2.3ms) commit transaction
2640
+ Processing by FinePrint::ContractsController#new as HTML
2641
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new.html.erb within layouts/application (0.3ms)
2642
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
2643
+  (0.1ms) begin transaction
2644
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.138559"], ["updated_at", "2015-03-25 21:15:25.138559"]]
2645
+  (38.1ms) commit transaction
2646
+  (0.1ms) begin transaction
2647
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.178057"], ["updated_at", "2015-03-25 21:15:25.178057"]]
2648
+  (2.1ms) commit transaction
2649
+  (0.1ms) begin transaction
2650
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "asperiores_voluptas_assumenda"], ["title", "Aut corporis nihil"], ["content", "Eaque aut doloribus. Odit dolor harum et voluptatem. Et tempore at pariatur dolore officia maiores. Maxime animi sapiente laboriosam sit repellat minima.\nReiciendis enim repudiandae expedita. Reprehenderit ea maxime id et voluptates quo voluptatum. Esse nihil ut provident sed.\nLaboriosam est laudantium excepturi corrupti ut sint. Tenetur itaque nemo eos autem repellat. Ut sunt et. Enim laboriosam quae in harum."], ["created_at", "2015-03-25 21:15:25.182758"], ["updated_at", "2015-03-25 21:15:25.182758"]]
2651
+  (1.9ms) commit transaction
2652
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "asperiores_voluptas_assumenda"]]
2653
+  (0.1ms) begin transaction
2654
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'asperiores_voluptas_assumenda') LIMIT 1
2655
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]]
2656
+ SQL (0.3ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:15:25.188917"], ["id", 16]]
2657
+  (2.1ms) commit transaction
2658
+ Processing by FinePrint::ContractsController#unpublish as HTML
2659
+ Parameters: {"id"=>"16"}
2660
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]]
2661
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "asperiores_voluptas_assumenda"]]
2662
+  (0.0ms) begin transaction
2663
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]]
2664
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", nil], ["updated_at", "2015-03-25 21:15:25.197170"], ["id", 16]]
2665
+  (2.0ms) commit transaction
2666
+ Redirected to http://test.host/fine_print/contracts
2667
+ Completed 302 Found in 7ms (ActiveRecord: 2.3ms)
2668
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]
2669
+  (0.0ms) begin transaction
2670
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.203543"], ["updated_at", "2015-03-25 21:15:25.203543"]]
2671
+  (0.7ms) commit transaction
2672
+  (0.0ms) begin transaction
2673
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.205402"], ["updated_at", "2015-03-25 21:15:25.205402"]]
2674
+  (0.8ms) commit transaction
2675
+  (0.0ms) begin transaction
2676
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "dicta_eius_ducimus"], ["title", "Velit quo reiciendis"], ["content", "Consectetur minus ut earum. Harum omnis eaque. Assumenda qui ut aut voluptate qui dolore id. Harum id sunt mollitia voluptas. Quod id est voluptas vel consequatur.\nCupiditate est veritatis. Maxime quidem minus voluptate debitis nulla. Aut quia aperiam et velit magnam rerum pariatur. Accusantium modi quae dicta ipsa.\nEst voluptatem hic repudiandae qui magni. Reprehenderit praesentium aliquam quae facilis quasi magni eligendi. Est vel laudantium autem."], ["created_at", "2015-03-25 21:15:25.208306"], ["updated_at", "2015-03-25 21:15:25.208306"]]
2677
+  (0.6ms) commit transaction
2678
+ Processing by FinePrint::ContractsController#create as HTML
2679
+ Parameters: {"contract"=>"attributes"}
2680
+ Filter chain halted as :can_manage rendered or redirected
2681
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2682
+ Processing by FinePrint::ContractsController#create as HTML
2683
+ Parameters: {"contract"=>"attributes"}
2684
+ Filter chain halted as :can_manage rendered or redirected
2685
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2686
+  (0.0ms) begin transaction
2687
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.212750"], ["updated_at", "2015-03-25 21:15:25.212750"]]
2688
+  (0.7ms) commit transaction
2689
+  (0.0ms) begin transaction
2690
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.214558"], ["updated_at", "2015-03-25 21:15:25.214558"]]
2691
+  (0.7ms) commit transaction
2692
+  (0.0ms) begin transaction
2693
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "unde_tempora_consectetur"], ["title", "Dolores nostrum et"], ["content", "In ex excepturi vel alias. Reprehenderit dolore quis provident similique molestiae consequuntur. Officiis neque rerum debitis alias quia deserunt fugiat. Recusandae adipisci qui et sequi voluptatem. Porro sed voluptas itaque.\nEst eos voluptates sunt illo dicta eum. Et alias temporibus qui voluptatibus earum enim magnam. Corrupti quisquam saepe. Et quo quia dolorem dolorum et.\nSequi nobis ipsum omnis perferendis neque blanditiis. Dolores non repudiandae et. Qui recusandae nulla et. Alias illo et reprehenderit voluptatem vel tempora qui."], ["created_at", "2015-03-25 21:15:25.217238"], ["updated_at", "2015-03-25 21:15:25.217238"]]
2694
+  (0.7ms) commit transaction
2695
+ Processing by FinePrint::ContractsController#index as HTML
2696
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC
2697
+ FinePrint::Signature Load (0.2ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (16, 2, 17, 5, 14, 8, 3, 13, 7, 6, 4, 1, 15, 10, 9, 12, 18, 11) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC
2698
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/index.html.erb within layouts/application (0.2ms)
2699
+ Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 0.4ms)
2700
+  (0.0ms) begin transaction
2701
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.229281"], ["updated_at", "2015-03-25 21:15:25.229281"]]
2702
+  (0.7ms) commit transaction
2703
+  (0.0ms) begin transaction
2704
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.231151"], ["updated_at", "2015-03-25 21:15:25.231151"]]
2705
+  (0.7ms) commit transaction
2706
+  (0.0ms) begin transaction
2707
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "beatae_molestiae_id"], ["title", "Molestiae id dignissimos"], ["content", "Aliquid exercitationem beatae asperiores cumque. Voluptas aliquam sapiente. Blanditiis et fugiat eum. Voluptatibus provident aspernatur et.\nEt ratione architecto. Natus voluptatem enim. Quia rerum vero est sit. Qui ut itaque molestiae suscipit deserunt est. Suscipit fugiat minus dolorem.\nSimilique illo porro in est dolorem perferendis mollitia. Unde aut et doloribus cupiditate provident. Sed pariatur doloremque provident impedit in."], ["created_at", "2015-03-25 21:15:25.234006"], ["updated_at", "2015-03-25 21:15:25.234006"]]
2708
+  (0.6ms) commit transaction
2709
+ Processing by FinePrint::ContractsController#destroy as HTML
2710
+ Parameters: {"id"=>"19"}
2711
+ Filter chain halted as :can_manage rendered or redirected
2712
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2713
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]
2714
+ Processing by FinePrint::ContractsController#destroy as HTML
2715
+ Parameters: {"id"=>"19"}
2716
+ Filter chain halted as :can_manage rendered or redirected
2717
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2718
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]
2719
+  (0.0ms) begin transaction
2720
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.240343"], ["updated_at", "2015-03-25 21:15:25.240343"]]
2721
+  (0.7ms) commit transaction
2722
+  (0.0ms) begin transaction
2723
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.242264"], ["updated_at", "2015-03-25 21:15:25.242264"]]
2724
+  (0.7ms) commit transaction
2725
+  (0.0ms) begin transaction
2726
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "fuga_ut_quis"], ["title", "Ipsum repudiandae ut"], ["content", "Ut sunt dolor rerum. Et saepe ut est ut cupiditate vel velit. Et at quia earum sed quos. In temporibus sunt eveniet ut iure numquam est. Distinctio accusamus illum ab et.\nBlanditiis ad delectus autem hic ratione at reiciendis. Sed amet impedit ut voluptas tempora et. Dolor sit odit. Architecto odit ratione sint. Quasi temporibus deserunt omnis ut debitis voluptates.\nEaque est et autem. Ut dolor eligendi eos voluptatem modi quae. Facilis perferendis harum autem. Ea perferendis consequatur et voluptas. Nemo laborum assumenda dignissimos iste."], ["created_at", "2015-03-25 21:15:25.245103"], ["updated_at", "2015-03-25 21:15:25.245103"]]
2727
+  (0.7ms) commit transaction
2728
+ Processing by FinePrint::ContractsController#destroy as HTML
2729
+ Parameters: {"id"=>"20"}
2730
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]]
2731
+  (0.0ms) begin transaction
2732
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 20]]
2733
+ SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 20]]
2734
+  (0.6ms) commit transaction
2735
+ Redirected to http://test.host/fine_print/contracts
2736
+ Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
2737
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]]
2738
+  (0.0ms) begin transaction
2739
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.254930"], ["updated_at", "2015-03-25 21:15:25.254930"]]
2740
+  (0.7ms) commit transaction
2741
+  (0.0ms) begin transaction
2742
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.256951"], ["updated_at", "2015-03-25 21:15:25.256951"]]
2743
+  (0.7ms) commit transaction
2744
+  (0.1ms) begin transaction
2745
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "vel_placeat_praesentium"], ["title", "Dolorem est et"], ["content", "Doloremque dolore sit eum et ipsa quibusdam et. Qui nostrum consectetur atque delectus. Beatae et debitis.\nAutem dolores vero ut eos facere explicabo non. Ea animi hic quae quo. Distinctio explicabo accusantium eligendi voluptates et odio. Soluta et sint.\nEum reprehenderit est. Possimus qui omnis et qui facilis. Animi nobis quia occaecati tenetur perspiciatis repudiandae debitis."], ["created_at", "2015-03-25 21:15:25.260053"], ["updated_at", "2015-03-25 21:15:25.260053"]]
2746
+  (0.7ms) commit transaction
2747
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "vel_placeat_praesentium"]]
2748
+  (0.1ms) begin transaction
2749
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 21 AND "fine_print_contracts"."name" = 'vel_placeat_praesentium') LIMIT 1
2750
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 21]]
2751
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:15:25.265317"], ["id", 21]]
2752
+  (0.7ms) commit transaction
2753
+ Processing by FinePrint::ContractsController#unpublish as HTML
2754
+ Parameters: {"id"=>"21"}
2755
+ Filter chain halted as :can_manage rendered or redirected
2756
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2757
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]
2758
+ Processing by FinePrint::ContractsController#unpublish as HTML
2759
+ Parameters: {"id"=>"21"}
2760
+ Filter chain halted as :can_manage rendered or redirected
2761
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2762
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 21]]
2763
+  (0.0ms) begin transaction
2764
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.273714"], ["updated_at", "2015-03-25 21:15:25.273714"]]
2765
+  (0.6ms) commit transaction
2766
+  (0.1ms) begin transaction
2767
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.275637"], ["updated_at", "2015-03-25 21:15:25.275637"]]
2768
+  (0.9ms) commit transaction
2769
+  (0.1ms) begin transaction
2770
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "soluta_dolorem_ad"], ["title", "Ducimus cumque tenetur"], ["content", "Quia molestias totam explicabo. Saepe sed magnam soluta. Error nesciunt dolor. Et omnis minus eius et inventore itaque quia.\nArchitecto est sit facilis. Laboriosam temporibus laudantium vitae quia et. Dolor adipisci qui voluptatem aut non. Velit ab ex nisi voluptate rerum neque assumenda. Minima assumenda suscipit iusto ab et dicta.\nDebitis quis et. Dolores assumenda itaque. Odio voluptate dolorum harum aut ea."], ["created_at", "2015-03-25 21:15:25.278930"], ["updated_at", "2015-03-25 21:15:25.278930"]]
2771
+  (0.7ms) commit transaction
2772
+ Processing by FinePrint::ContractsController#update as HTML
2773
+ Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"22"}
2774
+ Filter chain halted as :can_manage rendered or redirected
2775
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2776
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]
2777
+ Processing by FinePrint::ContractsController#update as HTML
2778
+ Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"22"}
2779
+ Filter chain halted as :can_manage rendered or redirected
2780
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2781
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 22]]
2782
+  (0.1ms) begin transaction
2783
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.285424"], ["updated_at", "2015-03-25 21:15:25.285424"]]
2784
+  (0.7ms) commit transaction
2785
+  (0.0ms) begin transaction
2786
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.287423"], ["updated_at", "2015-03-25 21:15:25.287423"]]
2787
+  (0.7ms) commit transaction
2788
+  (0.1ms) begin transaction
2789
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "sint_facere_ipsa"], ["title", "Earum iusto voluptate"], ["content", "Vel ut assumenda qui sed similique. Ratione praesentium ut dicta qui. Asperiores dolor sed exercitationem quo consequatur dolores et. Et nulla nisi cum quae aut.\nNon suscipit nobis adipisci explicabo ipsa. Sequi ab perspiciatis sint sit. Ipsum rerum non cumque beatae sit. Voluptate minima vel accusantium. Maiores fugit voluptatibus consequuntur eveniet ipsum quos.\nNisi repudiandae atque voluptatibus ut ratione voluptatem. In ex et. Aspernatur praesentium autem neque accusamus omnis eum. Placeat nostrum reiciendis."], ["created_at", "2015-03-25 21:15:25.290383"], ["updated_at", "2015-03-25 21:15:25.290383"]]
2790
+  (1.5ms) commit transaction
2791
+ Processing by FinePrint::ContractsController#create as HTML
2792
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}
2793
+  (0.0ms) begin transaction
2794
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["created_at", "2015-03-25 21:15:25.294830"], ["updated_at", "2015-03-25 21:15:25.294830"]]
2795
+  (0.7ms) commit transaction
2796
+ Redirected to http://test.host/fine_print/contracts/24
2797
+ Completed 302 Found in 3ms (ActiveRecord: 0.9ms)
2798
+  (0.0ms) begin transaction
2799
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.299039"], ["updated_at", "2015-03-25 21:15:25.299039"]]
2800
+  (0.6ms) commit transaction
2801
+  (0.0ms) begin transaction
2802
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.301313"], ["updated_at", "2015-03-25 21:15:25.301313"]]
2803
+  (0.7ms) commit transaction
2804
+  (0.0ms) begin transaction
2805
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "repellendus_et_deleniti"], ["title", "Quia illum qui"], ["content", "Optio eligendi voluptatum porro officia fugit sapiente. Amet maiores quos porro. Ea odit consequatur quisquam fuga quod sunt porro. Quisquam fugit nihil quasi dolorem.\nUnde nisi quia ea autem odio quisquam ut. Excepturi velit aut totam voluptatem. Voluptas sunt enim in perspiciatis necessitatibus nam est. Dolores voluptatum debitis nam unde.\nSoluta ipsum ut eaque ullam corrupti. Illum eligendi inventore beatae. Fugit deserunt sint dolores quia."], ["created_at", "2015-03-25 21:15:25.303966"], ["updated_at", "2015-03-25 21:15:25.303966"]]
2806
+  (0.8ms) commit transaction
2807
+ Processing by FinePrint::ContractsController#edit as HTML
2808
+ Parameters: {"id"=>"25"}
2809
+ Filter chain halted as :can_manage rendered or redirected
2810
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2811
+ Processing by FinePrint::ContractsController#edit as HTML
2812
+ Parameters: {"id"=>"25"}
2813
+ Filter chain halted as :can_manage rendered or redirected
2814
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2815
+  (0.0ms) begin transaction
2816
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.308450"], ["updated_at", "2015-03-25 21:15:25.308450"]]
2817
+  (0.7ms) commit transaction
2818
+  (0.1ms) begin transaction
2819
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.310221"], ["updated_at", "2015-03-25 21:15:25.310221"]]
2820
+  (0.7ms) commit transaction
2821
+  (0.0ms) begin transaction
2822
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "quos_dolores_non"], ["title", "Tempore blanditiis rerum"], ["content", "Labore atque sequi. Inventore et corrupti aut. In alias quam sint. Quia in quia eum voluptatem fugit. Ipsum hic sint quia nisi asperiores dolorem sit.\nPossimus sed temporibus neque a vitae sapiente qui. Ea perferendis mollitia aut voluptatem et. Quis soluta est sed similique iusto recusandae.\nPraesentium deserunt id minima nostrum quibusdam aut. Harum molestiae est tenetur reprehenderit. Aut optio officiis velit fugiat. Odit ullam ut quia alias fugit eligendi excepturi. Repellat nemo fuga voluptatibus molestiae in rerum."], ["created_at", "2015-03-25 21:15:25.313143"], ["updated_at", "2015-03-25 21:15:25.313143"]]
2823
+  (0.7ms) commit transaction
2824
+ Processing by FinePrint::ContractsController#publish as HTML
2825
+ Parameters: {"id"=>"26"}
2826
+ Filter chain halted as :can_manage rendered or redirected
2827
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2828
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]
2829
+ Processing by FinePrint::ContractsController#publish as HTML
2830
+ Parameters: {"id"=>"26"}
2831
+ Filter chain halted as :can_manage rendered or redirected
2832
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2833
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 26]]
2834
+  (0.1ms) begin transaction
2835
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.319980"], ["updated_at", "2015-03-25 21:15:25.319980"]]
2836
+  (0.7ms) commit transaction
2837
+  (0.0ms) begin transaction
2838
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.321958"], ["updated_at", "2015-03-25 21:15:25.321958"]]
2839
+  (0.7ms) commit transaction
2840
+  (0.1ms) begin transaction
2841
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "dolor_illo_et"], ["title", "Unde nihil vitae"], ["content", "Ut odit earum rerum eius iusto. Quidem enim architecto nesciunt quam natus dolor autem. Ducimus mollitia rerum sed voluptatem. Nulla qui occaecati tenetur corrupti ut perspiciatis. Qui voluptas reiciendis dolorem tempora labore beatae ullam.\nEst facilis ipsa. Quod earum voluptatem assumenda aut magni. Sed veritatis iusto. Dolor nulla eum debitis. Velit dicta blanditiis saepe.\nEius enim voluptas. Temporibus in voluptas quasi. Reprehenderit non aliquam eos et. Ut incidunt ad quo temporibus."], ["created_at", "2015-03-25 21:15:25.325288"], ["updated_at", "2015-03-25 21:15:25.325288"]]
2842
+  (0.9ms) commit transaction
2843
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "dolor_illo_et"]]
2844
+  (0.1ms) begin transaction
2845
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 27 AND "fine_print_contracts"."name" = 'dolor_illo_et') LIMIT 1
2846
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 27]]
2847
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:15:25.330317"], ["id", 27]]
2848
+  (1.5ms) commit transaction
2849
+ Processing by FinePrint::ContractsController#new_version as HTML
2850
+ Parameters: {"id"=>"27"}
2851
+ Filter chain halted as :can_manage rendered or redirected
2852
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2853
+ Processing by FinePrint::ContractsController#new_version as HTML
2854
+ Parameters: {"id"=>"27"}
2855
+ Filter chain halted as :can_manage rendered or redirected
2856
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2857
+  (0.1ms) begin transaction
2858
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.337833"], ["updated_at", "2015-03-25 21:15:25.337833"]]
2859
+  (0.8ms) commit transaction
2860
+  (0.0ms) begin transaction
2861
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.340288"], ["updated_at", "2015-03-25 21:15:25.340288"]]
2862
+  (0.7ms) commit transaction
2863
+  (0.1ms) begin transaction
2864
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "illo_culpa_officiis"], ["title", "Assumenda dignissimos et"], ["content", "Harum ut rerum ipsa quis qui vero. Facilis est totam rem omnis voluptates. Deserunt ratione quo ut repellat occaecati natus dolor.\nEligendi repudiandae sequi. Esse consequatur vero. Exercitationem unde qui libero qui.\nDignissimos commodi nisi ipsam ea provident suscipit sapiente. Ducimus sed fugit similique. Ut modi eum. Sed occaecati minima quia odit unde."], ["created_at", "2015-03-25 21:15:25.343976"], ["updated_at", "2015-03-25 21:15:25.343976"]]
2865
+  (2.3ms) commit transaction
2866
+ Processing by FinePrint::ContractsController#update as HTML
2867
+ Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"28"}
2868
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 28]]
2869
+  (0.1ms) begin transaction
2870
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]
2871
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["name", "another_name"], ["title", "Another title"], ["content", "Another content"], ["updated_at", "2015-03-25 21:15:25.351477"], ["id", 28]]
2872
+  (0.8ms) commit transaction
2873
+ Redirected to http://test.host/fine_print/contracts/28
2874
+ Completed 302 Found in 7ms (ActiveRecord: 1.2ms)
2875
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 28]]
2876
+  (0.1ms) begin transaction
2877
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.358642"], ["updated_at", "2015-03-25 21:15:25.358642"]]
2878
+  (2.0ms) commit transaction
2879
+  (0.0ms) begin transaction
2880
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.361953"], ["updated_at", "2015-03-25 21:15:25.361953"]]
2881
+  (0.7ms) commit transaction
2882
+  (0.1ms) begin transaction
2883
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "doloribus_numquam_unde"], ["title", "Vel expedita veniam"], ["content", "Explicabo labore harum nihil. Rerum eum ullam aliquam veritatis et. Aut exercitationem quas. Autem voluptas animi ducimus.\nUt et libero sint ea. Eos soluta iure. Est iusto enim. Quia fugiat quisquam quas velit molestiae voluptas. Nihil repudiandae quas tempora qui rerum et.\nRem asperiores fugiat possimus delectus corporis quo eum. Repellat non non rerum beatae aut libero ducimus. Cumque assumenda soluta."], ["created_at", "2015-03-25 21:15:25.365086"], ["updated_at", "2015-03-25 21:15:25.365086"]]
2884
+  (1.8ms) commit transaction
2885
+ Processing by FinePrint::ContractsController#new as HTML
2886
+ Filter chain halted as :can_manage rendered or redirected
2887
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2888
+ Processing by FinePrint::ContractsController#new as HTML
2889
+ Filter chain halted as :can_manage rendered or redirected
2890
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2891
+  (0.1ms) begin transaction
2892
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.371204"], ["updated_at", "2015-03-25 21:15:25.371204"]]
2893
+  (0.7ms) commit transaction
2894
+  (0.0ms) begin transaction
2895
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.373162"], ["updated_at", "2015-03-25 21:15:25.373162"]]
2896
+  (0.7ms) commit transaction
2897
+  (0.0ms) begin transaction
2898
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "quaerat_et_dicta"], ["title", "Quis molestias accusantium"], ["content", "Aut nam ullam esse. Voluptatem quia ipsam doloribus enim in at deleniti. Expedita possimus iure. Fuga quo est ea. At in modi eum qui.\nUt iusto vel aperiam suscipit nisi sed. Neque ut veniam amet pariatur ullam saepe. Reiciendis velit ducimus quo ex impedit amet. Et velit doloribus delectus.\nSit magni vel sed et inventore. Veniam odit fuga perferendis quod quis. Consequatur veniam nulla. Mollitia ab unde sed voluptatem inventore accusamus a."], ["created_at", "2015-03-25 21:15:25.376256"], ["updated_at", "2015-03-25 21:15:25.376256"]]
2899
+  (1.0ms) commit transaction
2900
+ Processing by FinePrint::ContractsController#publish as HTML
2901
+ Parameters: {"id"=>"30"}
2902
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 30]]
2903
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quaerat_et_dicta"]]
2904
+  (0.1ms) begin transaction
2905
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 30 AND "fine_print_contracts"."name" = 'quaerat_et_dicta') LIMIT 1
2906
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 30]]
2907
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:15:25.384384"], ["id", 30]]
2908
+  (2.0ms) commit transaction
2909
+ Redirected to http://test.host/fine_print/contracts
2910
+ Completed 302 Found in 10ms (ActiveRecord: 2.6ms)
2911
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 30]]
2912
+  (0.0ms) begin transaction
2913
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.391509"], ["updated_at", "2015-03-25 21:15:25.391509"]]
2914
+  (0.8ms) commit transaction
2915
+  (0.0ms) begin transaction
2916
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.393492"], ["updated_at", "2015-03-25 21:15:25.393492"]]
2917
+  (0.7ms) commit transaction
2918
+  (0.0ms) begin transaction
2919
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "repudiandae_quis_eos"], ["title", "Quisquam laudantium a"], ["content", "Asperiores molestias sed qui vero qui iste amet. Iure numquam praesentium id accusantium laudantium vero ab. Praesentium est a voluptas. Minus unde eum omnis.\nNesciunt voluptates aperiam. Soluta tenetur aut error nulla. Necessitatibus sed voluptatem numquam et repellat consequuntur repudiandae. Et fugiat voluptas iure omnis vitae tenetur.\nVelit sint ut. Ut qui non eos magni alias. Harum eos vel sunt corporis. Ea ducimus repellat odit id. Ipsa in est placeat voluptatem ea."], ["created_at", "2015-03-25 21:15:25.396349"], ["updated_at", "2015-03-25 21:15:25.396349"]]
2920
+  (0.7ms) commit transaction
2921
+ Processing by FinePrint::ContractsController#index as HTML
2922
+ Filter chain halted as :can_manage rendered or redirected
2923
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2924
+ Processing by FinePrint::ContractsController#index as HTML
2925
+ Filter chain halted as :can_manage rendered or redirected
2926
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
2927
+  (0.1ms) begin transaction
2928
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.401295"], ["updated_at", "2015-03-25 21:15:25.401295"]]
2929
+  (51.3ms) commit transaction
2930
+  (0.1ms) begin transaction
2931
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.454115"], ["updated_at", "2015-03-25 21:15:25.454115"]]
2932
+  (0.7ms) commit transaction
2933
+  (0.1ms) begin transaction
2934
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "rem_laudantium_est"], ["title", "Dolorem aut officia"], ["content", "Eos alias dolor incidunt illo velit veniam. Aut ab totam. Qui non iure laboriosam aut sint ipsum. Dignissimos impedit amet iusto sit. Libero molestiae recusandae blanditiis.\nId impedit ducimus amet. Sint reprehenderit veniam delectus eaque. Dolores et temporibus commodi. Ab earum aut fuga voluptatem reiciendis asperiores qui.\nSuscipit doloremque dolorem voluptates incidunt. Natus vel dolorem eveniet. Omnis quia quia officiis quis magnam."], ["created_at", "2015-03-25 21:15:25.457465"], ["updated_at", "2015-03-25 21:15:25.457465"]]
2935
+  (1.8ms) commit transaction
2936
+ Processing by FinePrint::ContractsController#edit as HTML
2937
+ Parameters: {"id"=>"32"}
2938
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 32]]
2939
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 32]]
2940
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/edit.html.erb within layouts/application (0.3ms)
2941
+ Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.2ms)
2942
+  (0.1ms) begin transaction
2943
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.468328"], ["updated_at", "2015-03-25 21:15:25.468328"]]
2944
+  (0.7ms) commit transaction
2945
+  (0.1ms) begin transaction
2946
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.470524"], ["updated_at", "2015-03-25 21:15:25.470524"]]
2947
+  (2.2ms) commit transaction
2948
+  (0.0ms) begin transaction
2949
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "adipisci_quam_aut"], ["title", "Dicta iste neque"], ["content", "Quibusdam rerum et. Voluptatem quia consectetur vitae corrupti nobis. Aperiam ea nemo nihil. Quis natus omnis perspiciatis consequatur repudiandae non.\nCum sunt saepe quasi quam quia fugiat. Tenetur in voluptatem magni. Et consequatur adipisci.\nDeleniti natus expedita ducimus inventore non quia. Aut quaerat non dolor. Hic illo ut voluptate aut. Et corrupti sint voluptas."], ["created_at", "2015-03-25 21:15:25.485003"], ["updated_at", "2015-03-25 21:15:25.485003"]]
2950
+  (1.7ms) commit transaction
2951
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "adipisci_quam_aut"]]
2952
+  (0.0ms) begin transaction
2953
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 33 AND "fine_print_contracts"."name" = 'adipisci_quam_aut') LIMIT 1
2954
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 33]]
2955
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-03-25 21:15:25.490259"], ["id", 33]]
2956
+  (0.7ms) commit transaction
2957
+ Processing by FinePrint::ContractsController#new_version as HTML
2958
+ Parameters: {"id"=>"33"}
2959
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 33]]
2960
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "adipisci_quam_aut"]]
2961
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new_version.html.erb within layouts/application (0.2ms)
2962
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms)
2963
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
2964
+  (0.0ms) begin transaction
2965
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
2966
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Non perspiciatis sed"], ["content", "Dolor et accusantium maxime. Quaerat aut possimus sunt quia blanditiis. Dicta alias ipsam ut soluta amet. Debitis quibusdam rem cumque nihil in error.\nDolorum sapiente illo fugiat. Rerum id voluptas illum sint est sint. Amet ea iusto autem officia laborum rem culpa. Corporis repellendus et quam architecto voluptas fugit voluptate. Atque iure adipisci maiores.\nLaudantium odio maxime et et fuga. Commodi officiis aut consequatur doloribus qui sunt quibusdam. Pariatur id excepturi est placeat blanditiis saepe quas."], ["version", 1], ["created_at", "2015-03-25 21:15:25.508740"], ["updated_at", "2015-03-25 21:15:25.508740"]]
2967
+  (0.8ms) commit transaction
2968
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
2969
+  (0.0ms) begin transaction
2970
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
2971
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Eius aperiam tenetur"], ["content", "Odit totam eligendi molestias voluptas cumque. Hic quia harum voluptas necessitatibus. At culpa soluta sed. Quia quo porro.\nUt sint incidunt ex aspernatur. Maiores velit facilis mollitia dolorem. Neque voluptas non vel quia dolore. Voluptatibus eum dolorem accusantium iusto magnam sapiente.\nMollitia suscipit soluta dolorum ut maiores esse. Et omnis tempore repudiandae tenetur. Numquam commodi quia natus ipsa ipsam. Et voluptatem repudiandae quaerat."], ["version", 1], ["created_at", "2015-03-25 21:15:25.515235"], ["updated_at", "2015-03-25 21:15:25.515235"]]
2972
+  (2.2ms) commit transaction
2973
+  (0.0ms) begin transaction
2974
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.518928"], ["updated_at", "2015-03-25 21:15:25.518928"]]
2975
+  (0.6ms) commit transaction
2976
+  (0.0ms) begin transaction
2977
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1
2978
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["user_id", 62], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:15:25.523540"], ["updated_at", "2015-03-25 21:15:25.523540"]]
2979
+  (1.7ms) commit transaction
2980
+  (0.1ms) begin transaction
2981
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 62) LIMIT 1
2982
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["user_id", 62], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:15:25.528576"], ["updated_at", "2015-03-25 21:15:25.528576"]]
2983
+  (0.6ms) commit transaction
2984
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
2985
+  (0.1ms) begin transaction
2986
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Non perspiciatis sed"], ["content", "foo"], ["created_at", "2015-03-25 21:15:25.532023"], ["updated_at", "2015-03-25 21:15:25.532023"]]
2987
+  (0.8ms) commit transaction
2988
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
2989
+  (0.0ms) begin transaction
2990
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 36 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
2991
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 36]]
2992
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 2], ["updated_at", "2015-03-25 21:15:25.536947"], ["id", 36]]
2993
+  (0.7ms) commit transaction
2994
+ FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL AND "fine_print_contracts"."name" IN ('alpha', 'beta') GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC
2995
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."version" IS NOT NULL AND "fine_print_contracts"."name" IN ('alpha', 'beta') AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["user_id", 62], ["user_type", "DummyUser"]]
2996
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
2997
+  (0.0ms) begin transaction
2998
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
2999
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Corporis magnam dolores"], ["content", "Voluptatem vel corrupti asperiores dolorem perspiciatis sunt non. Voluptates hic harum consequatur odio qui nobis. Quia autem ab ratione maxime provident dicta eveniet. Commodi tempore pariatur repellendus aspernatur animi. Ut ut incidunt perferendis.\nRepellat qui at repellendus neque odit libero. Quia iste et in illo rem ab. Voluptatem veniam provident eligendi. Atque labore eum ratione eum. Nam voluptatem id a eum sapiente.\nCupiditate quo labore pariatur dolorem. Numquam iure eum vel voluptas. Est voluptatum quod voluptas earum quas voluptate. Debitis autem eveniet voluptas temporibus fugiat quo."], ["version", 3], ["created_at", "2015-03-25 21:15:25.551981"], ["updated_at", "2015-03-25 21:15:25.551981"]]
3000
+  (0.8ms) commit transaction
3001
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
3002
+  (0.0ms) begin transaction
3003
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
3004
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Iste nisi unde"], ["content", "Eum quisquam placeat qui reiciendis officiis ipsum. Provident unde ab nulla. Dicta eveniet eum. Unde magnam et. Excepturi ea voluptas id omnis nostrum.\nDolor autem delectus odio quo id. Dolorem dolores est illum omnis unde. Laudantium saepe iste dolor aut. Voluptas adipisci dicta est consequuntur labore est fugiat. Esse saepe mollitia quos voluptate.\nDolor qui laboriosam sunt deserunt non aspernatur nihil. Blanditiis aut aliquam. Rerum omnis deleniti nam aut velit. Commodi placeat quis delectus labore. Quia vero recusandae quasi."], ["version", 2], ["created_at", "2015-03-25 21:15:25.558682"], ["updated_at", "2015-03-25 21:15:25.558682"]]
3005
+  (1.6ms) commit transaction
3006
+  (0.0ms) begin transaction
3007
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.561744"], ["updated_at", "2015-03-25 21:15:25.561744"]]
3008
+  (61.0ms) commit transaction
3009
+  (0.0ms) begin transaction
3010
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 63) LIMIT 1
3011
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["user_id", 63], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:15:25.626549"], ["updated_at", "2015-03-25 21:15:25.626549"]]
3012
+  (1.8ms) commit transaction
3013
+  (0.1ms) begin transaction
3014
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 63) LIMIT 1
3015
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["user_id", 63], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:15:25.633389"], ["updated_at", "2015-03-25 21:15:25.633389"]]
3016
+  (2.1ms) commit transaction
3017
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3018
+  (0.0ms) begin transaction
3019
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Corporis magnam dolores"], ["content", "foo"], ["created_at", "2015-03-25 21:15:25.639608"], ["updated_at", "2015-03-25 21:15:25.639608"]]
3020
+  (1.9ms) commit transaction
3021
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3022
+  (0.0ms) begin transaction
3023
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 39 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
3024
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 39]]
3025
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 4], ["updated_at", "2015-03-25 21:15:25.646583"], ["id", 39]]
3026
+  (1.0ms) commit transaction
3027
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]]
3028
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
3029
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 37]]
3030
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3031
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3032
+  (0.0ms) begin transaction
3033
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
3034
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Non id rerum"], ["content", "Voluptate nesciunt culpa dicta esse itaque. Provident quo aspernatur illum optio. Consequuntur fugiat labore dicta saepe quibusdam tenetur itaque. Qui explicabo et cumque repudiandae officia aut.\nEa natus non vitae omnis suscipit voluptates quia. Possimus nostrum est ipsum. Natus aspernatur qui rem debitis tempora recusandae. Similique necessitatibus est cumque.\nEos rerum optio aut dolores accusantium. Fugit quod reiciendis a non velit. Rerum enim unde aut dolor nesciunt earum. Molestiae odio vitae. Quo repellendus beatae."], ["version", 5], ["created_at", "2015-03-25 21:15:25.658960"], ["updated_at", "2015-03-25 21:15:25.658960"]]
3035
+  (1.9ms) commit transaction
3036
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
3037
+  (0.0ms) begin transaction
3038
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
3039
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Pariatur perspiciatis quia"], ["content", "Quibusdam sunt ullam omnis qui. Et quae sit optio ducimus quas modi dolorum. Et deleniti molestiae. Voluptas rerum suscipit sed qui dolores.\nNon maxime sint asperiores ut quaerat repellat. Occaecati a et ut iste et officia sapiente. Dolore pariatur autem fugit et. Rerum nemo laudantium nobis ea et aut sint.\nEst voluptatum iusto enim autem ipsa. Earum voluptatem animi aut. At sit itaque. Molestiae non laborum et sint dolorum. Aut voluptatum quis enim."], ["version", 3], ["created_at", "2015-03-25 21:15:25.664911"], ["updated_at", "2015-03-25 21:15:25.664911"]]
3040
+  (1.8ms) commit transaction
3041
+  (0.0ms) begin transaction
3042
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.667920"], ["updated_at", "2015-03-25 21:15:25.667920"]]
3043
+  (2.1ms) commit transaction
3044
+  (0.0ms) begin transaction
3045
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 64) LIMIT 1
3046
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 40], ["user_id", 64], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:15:25.672818"], ["updated_at", "2015-03-25 21:15:25.672818"]]
3047
+  (1.7ms) commit transaction
3048
+  (0.0ms) begin transaction
3049
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 41 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 64) LIMIT 1
3050
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 41], ["user_id", 64], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:15:25.677300"], ["updated_at", "2015-03-25 21:15:25.677300"]]
3051
+  (1.6ms) commit transaction
3052
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3053
+  (0.1ms) begin transaction
3054
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Non id rerum"], ["content", "foo"], ["created_at", "2015-03-25 21:15:25.681065"], ["updated_at", "2015-03-25 21:15:25.681065"]]
3055
+  (1.8ms) commit transaction
3056
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3057
+  (0.0ms) begin transaction
3058
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
3059
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]
3060
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 6], ["updated_at", "2015-03-25 21:15:25.685937"], ["id", 42]]
3061
+  (2.0ms) commit transaction
3062
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 40], ["user_id", 64], ["user_type", "DummyUser"]]
3063
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 42], ["user_id", 64], ["user_type", "DummyUser"]]
3064
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 41], ["user_id", 64], ["user_type", "DummyUser"]]
3065
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 64], ["user_type", "DummyUser"]]
3066
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 64], ["user_type", "DummyUser"]]
3067
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "beta"], ["user_id", 64], ["user_type", "DummyUser"]]
3068
+  (0.0ms) begin transaction
3069
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 42 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 64) LIMIT 1
3070
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("user_id", "user_type", "contract_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["user_id", 64], ["user_type", "DummyUser"], ["contract_id", 42], ["created_at", "2015-03-25 21:15:25.705863"], ["updated_at", "2015-03-25 21:15:25.705863"]]
3071
+  (1.8ms) commit transaction
3072
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 40], ["user_id", 64], ["user_type", "DummyUser"]]
3073
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 42], ["user_id", 64], ["user_type", "DummyUser"]]
3074
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 41], ["user_id", 64], ["user_type", "DummyUser"]]
3075
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 64], ["user_type", "DummyUser"]]
3076
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 64], ["user_type", "DummyUser"]]
3077
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "beta"], ["user_id", 64], ["user_type", "DummyUser"]]
3078
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3079
+  (0.0ms) begin transaction
3080
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
3081
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Quasi aliquam ut"], ["content", "Laboriosam blanditiis sint molestiae ducimus ratione. Facere et aut tenetur. Culpa cupiditate eos corporis molestiae.\nAspernatur libero corporis modi quas. Quia possimus velit tempore est adipisci. Hic culpa eum. Doloremque error voluptates dolores quam necessitatibus debitis commodi.\nVel aut dolorem quasi et aut. Accusamus delectus atque et repellendus omnis. Ut sit et dolor nisi optio odio. Explicabo nobis corrupti quaerat sint nisi sit."], ["version", 7], ["created_at", "2015-03-25 21:15:25.720971"], ["updated_at", "2015-03-25 21:15:25.720971"]]
3082
+  (1.8ms) commit transaction
3083
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
3084
+  (0.0ms) begin transaction
3085
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
3086
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Voluptatem quasi praesentium"], ["content", "Aut et veritatis saepe. Odio rerum aut modi quisquam eos officia sed. Amet culpa qui aut repellat nihil perspiciatis rem. Ipsa optio labore.\nUt aut ipsa ab explicabo. Sint corrupti quia amet ipsum voluptatibus adipisci quos. Voluptatibus a ullam sint laboriosam nemo molestiae perspiciatis. Tenetur aliquid maxime ea. Culpa reiciendis adipisci dolore ut sapiente.\nEarum odit quis voluptatum aperiam necessitatibus. Molestiae quaerat quod officia nihil. Quia commodi assumenda. Voluptate nostrum aliquid at."], ["version", 4], ["created_at", "2015-03-25 21:15:25.727528"], ["updated_at", "2015-03-25 21:15:25.727528"]]
3087
+  (1.8ms) commit transaction
3088
+  (0.0ms) begin transaction
3089
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.730687"], ["updated_at", "2015-03-25 21:15:25.730687"]]
3090
+  (2.1ms) commit transaction
3091
+  (0.0ms) begin transaction
3092
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 43 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1
3093
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 43], ["user_id", 65], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:15:25.735904"], ["updated_at", "2015-03-25 21:15:25.735904"]]
3094
+  (1.7ms) commit transaction
3095
+  (0.1ms) begin transaction
3096
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 44 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 65) LIMIT 1
3097
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 44], ["user_id", 65], ["user_type", "DummyUser"], ["created_at", "2015-03-25 21:15:25.741064"], ["updated_at", "2015-03-25 21:15:25.741064"]]
3098
+  (2.0ms) commit transaction
3099
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3100
+  (0.0ms) begin transaction
3101
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Quasi aliquam ut"], ["content", "foo"], ["created_at", "2015-03-25 21:15:25.746072"], ["updated_at", "2015-03-25 21:15:25.746072"]]
3102
+  (1.9ms) commit transaction
3103
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3104
+  (0.0ms) begin transaction
3105
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
3106
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]
3107
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 8], ["updated_at", "2015-03-25 21:15:25.751499"], ["id", 45]]
3108
+  (2.0ms) commit transaction
3109
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."version" IS NOT NULL AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["user_id", 65], ["user_type", "DummyUser"]]
3110
+  (0.0ms) begin transaction
3111
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "doloribus_blanditiis_beatae"], ["title", "Distinctio laborum aut"], ["content", "Omnis deleniti illo. Ut quos assumenda non sint quis explicabo. Aperiam suscipit qui rerum necessitatibus possimus ea mollitia. Et quia qui pariatur officia sunt distinctio nemo. Voluptatibus aut doloribus quibusdam aliquid.\nAut at nisi est illum. Quam omnis minima. Occaecati dolorem ut. Reprehenderit qui necessitatibus sapiente.\nId autem voluptas ipsa inventore quasi fugiat. Et est dignissimos earum consequatur. Corporis voluptate sapiente et nam numquam et quos. Quia quam dolor quis qui. Itaque sint est amet illo eos consequatur a."], ["created_at", "2015-03-25 21:15:25.759721"], ["updated_at", "2015-03-25 21:15:25.759721"]]
3112
+  (0.7ms) commit transaction
3113
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]
3114
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "asperiores_quo_temporibus"]]
3115
+  (0.0ms) begin transaction
3116
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'asperiores_quo_temporibus') LIMIT 1
3117
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "asperiores_quo_temporibus"], ["title", "Earum quia aliquam"], ["content", "Et consequatur et. Distinctio perspiciatis suscipit veritatis necessitatibus impedit dolor. Repellat mollitia et ut. Ipsum eligendi quis.\nVoluptatum ab et quos praesentium. Itaque soluta et consequatur. Laborum odit minima quod qui vel nesciunt. Dicta a distinctio sunt vel. Modi eveniet impedit ut.\nEum qui facere vel provident at reiciendis est. Aut non quasi. Saepe odio nostrum. Et harum repellendus aliquam facilis ipsam."], ["version", 1], ["created_at", "2015-03-25 21:15:25.766793"], ["updated_at", "2015-03-25 21:15:25.766793"]]
3118
+  (0.7ms) commit transaction
3119
+  (0.0ms) begin transaction
3120
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 46 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
3121
+  (0.0ms) rollback transaction
3122
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 46]]
3123
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 46]]
3124
+  (0.0ms) begin transaction
3125
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.774393"], ["updated_at", "2015-03-25 21:15:25.774393"]]
3126
+  (23.2ms) commit transaction
3127
+  (0.0ms) begin transaction
3128
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.798962"], ["updated_at", "2015-03-25 21:15:25.798962"]]
3129
+  (77.5ms) commit transaction
3130
+ Processing by FinePrint::HomeController#index as HTML
3131
+ Filter chain halted as :can_manage rendered or redirected
3132
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3133
+ Processing by FinePrint::HomeController#index as HTML
3134
+ Filter chain halted as :can_manage rendered or redirected
3135
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3136
+  (0.1ms) begin transaction
3137
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.882052"], ["updated_at", "2015-03-25 21:15:25.882052"]]
3138
+  (2.1ms) commit transaction
3139
+  (0.1ms) begin transaction
3140
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-03-25 21:15:25.885616"], ["updated_at", "2015-03-25 21:15:25.885616"]]
3141
+  (2.0ms) commit transaction
3142
+ Processing by FinePrint::HomeController#index as HTML
3143
+ Redirected to http://test.host/fine_print/contracts
3144
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
3145
+  (1.1ms) CREATE TABLE "dummy_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "is_admin" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime) 
3146
+  (0.8ms) CREATE TABLE "fine_print_contracts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "version" integer, "title" varchar NOT NULL, "content" text NOT NULL, "created_at" datetime, "updated_at" datetime)
3147
+  (0.1ms) select sqlite_version(*)
3148
+  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_contracts_on_name_and_version" ON "fine_print_contracts" ("name", "version")
3149
+  (0.8ms) CREATE TABLE "fine_print_signatures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contract_id" integer NOT NULL, "user_id" integer NOT NULL, "user_type" varchar NOT NULL, "created_at" datetime, "updated_at" datetime) 
3150
+  (0.7ms) CREATE INDEX "index_fine_print_signatures_on_contract_id" ON "fine_print_signatures" ("contract_id")
3151
+  (0.1ms)  SELECT sql
3152
+ FROM sqlite_master
3153
+ WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'
3154
+ UNION ALL
3155
+ SELECT sql
3156
+ FROM sqlite_temp_master
3157
+ WHERE name='index_fine_print_signatures_on_contract_id' AND type='index'
3158
+ 
3159
+  (0.8ms) CREATE UNIQUE INDEX "index_fine_print_s_on_u_id_and_u_type_and_c_id" ON "fine_print_signatures" ("user_id", "user_type", "contract_id")
3160
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
3161
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3162
+  (0.1ms) SELECT version FROM "schema_migrations"
3163
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
3164
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
3165
+  (0.1ms) begin transaction
3166
+ SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.283085"], ["updated_at", "2015-07-21 15:43:18.283085"]]
3167
+  (0.6ms) commit transaction
3168
+  (0.0ms) begin transaction
3169
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.288924"], ["updated_at", "2015-07-21 15:43:18.288924"]]
3170
+  (0.6ms) commit transaction
3171
+  (0.1ms) begin transaction
3172
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "tenetur_sed_quos"], ["title", "Tempore sint dolorem"], ["content", "Inventore distinctio perspiciatis fugit consequatur. Delectus doloremque et tenetur. Molestiae voluptates repellendus ab. Dignissimos assumenda aut ut.\nAb commodi molestiae iure corporis ut harum. Est eum animi cupiditate. Autem tempora enim reprehenderit quasi sit corporis quia.\nMagnam omnis quibusdam hic excepturi ad. Cum in doloribus dolor sed. Animi nobis dolor nihil. Labore velit distinctio qui. Aut velit dolores asperiores est."], ["created_at", "2015-07-21 15:43:18.524955"], ["updated_at", "2015-07-21 15:43:18.524955"]]
3173
+  (0.9ms) commit transaction
3174
+ Processing by FinePrint::ContractsController#publish as HTML
3175
+ Parameters: {"id"=>"1"}
3176
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 1]]
3177
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "tenetur_sed_quos"]]
3178
+  (0.0ms) begin transaction
3179
+ FinePrint::Contract Exists (0.2ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 1 AND "fine_print_contracts"."name" = 'tenetur_sed_quos') LIMIT 1
3180
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 1]]
3181
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-07-21 15:43:18.552720"], ["id", 1]]
3182
+  (0.9ms) commit transaction
3183
+ Redirected to http://test.host/fine_print/contracts
3184
+ Completed 302 Found in 28ms (ActiveRecord: 1.8ms)
3185
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 1]]
3186
+  (0.1ms) begin transaction
3187
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.563439"], ["updated_at", "2015-07-21 15:43:18.563439"]]
3188
+  (0.7ms) commit transaction
3189
+  (0.1ms) begin transaction
3190
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.565831"], ["updated_at", "2015-07-21 15:43:18.565831"]]
3191
+  (0.7ms) commit transaction
3192
+  (0.1ms) begin transaction
3193
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "est_qui_provident"], ["title", "Et delectus ipsam"], ["content", "Quae quia possimus suscipit recusandae. Neque dolor necessitatibus voluptatum odio autem odit sed. Rerum vel omnis. Aut unde consequuntur.\nQuod sed dolores incidunt fuga velit corporis. Officiis eos consequatur itaque blanditiis. Repudiandae sit quae ex necessitatibus est explicabo tempora. Dolor consequatur inventore nulla est pariatur. Id sed ipsa.\nFuga maxime cupiditate accusantium facilis ratione occaecati modi. Ea nihil quibusdam nihil quia eaque sed consequatur. Necessitatibus totam soluta illum architecto et."], ["created_at", "2015-07-21 15:43:18.569221"], ["updated_at", "2015-07-21 15:43:18.569221"]]
3194
+  (0.7ms) commit transaction
3195
+ Processing by FinePrint::ContractsController#new as HTML
3196
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new.html.erb within layouts/application (0.2ms)
3197
+ Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
3198
+  (0.1ms) begin transaction
3199
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.581261"], ["updated_at", "2015-07-21 15:43:18.581261"]]
3200
+  (0.6ms) commit transaction
3201
+  (0.0ms) begin transaction
3202
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.583320"], ["updated_at", "2015-07-21 15:43:18.583320"]]
3203
+  (0.7ms) commit transaction
3204
+  (0.0ms) begin transaction
3205
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "eveniet_quasi_ex"], ["title", "Est consequatur totam"], ["content", "Aut ullam et maiores voluptate officiis omnis quis. Rem quasi aut aut. Est omnis nulla maiores et.\nEt harum maiores inventore mollitia cum ducimus. Dolorem non temporibus reprehenderit doloribus rerum. Est ea ad excepturi quia soluta sed ea. Eaque consectetur pariatur aspernatur culpa deleniti et. Iure nesciunt reiciendis quo aut.\nDeserunt rerum et soluta neque voluptatem. Possimus ut deserunt consequatur cumque distinctio eligendi id. Dolor libero tempore cum in alias et. Atque est tempore optio id qui in."], ["created_at", "2015-07-21 15:43:18.586241"], ["updated_at", "2015-07-21 15:43:18.586241"]]
3206
+  (0.7ms) commit transaction
3207
+ Processing by FinePrint::ContractsController#index as HTML
3208
+ Filter chain halted as :can_manage rendered or redirected
3209
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3210
+ Processing by FinePrint::ContractsController#index as HTML
3211
+ Filter chain halted as :can_manage rendered or redirected
3212
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3213
+  (0.0ms) begin transaction
3214
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.590571"], ["updated_at", "2015-07-21 15:43:18.590571"]]
3215
+  (0.6ms) commit transaction
3216
+  (0.0ms) begin transaction
3217
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.592370"], ["updated_at", "2015-07-21 15:43:18.592370"]]
3218
+  (0.6ms) commit transaction
3219
+  (0.0ms) begin transaction
3220
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "ut_harum_nam"], ["title", "Ab aliquid harum"], ["content", "Modi et earum nam accusamus sed. Blanditiis omnis voluptate dolor voluptas sed ipsam quod. Dolorum praesentium nihil soluta eaque. Sint autem aperiam facere laboriosam non architecto. Et sunt similique occaecati qui exercitationem sint totam.\nEt minus quos tempore velit unde. Maiores repellendus quibusdam quod hic. Voluptas rerum dicta.\nNemo error quia cupiditate minima voluptate. Nulla velit quod est quisquam sed. Magnam et aperiam numquam sit dignissimos est."], ["created_at", "2015-07-21 15:43:18.594965"], ["updated_at", "2015-07-21 15:43:18.594965"]]
3221
+  (0.7ms) commit transaction
3222
+ Processing by FinePrint::ContractsController#new as HTML
3223
+ Filter chain halted as :can_manage rendered or redirected
3224
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3225
+ Processing by FinePrint::ContractsController#new as HTML
3226
+ Filter chain halted as :can_manage rendered or redirected
3227
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3228
+  (0.1ms) begin transaction
3229
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.600715"], ["updated_at", "2015-07-21 15:43:18.600715"]]
3230
+  (0.6ms) commit transaction
3231
+  (0.1ms) begin transaction
3232
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.602687"], ["updated_at", "2015-07-21 15:43:18.602687"]]
3233
+  (0.6ms) commit transaction
3234
+  (0.0ms) begin transaction
3235
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "occaecati_voluptatibus_non"], ["title", "Veritatis quas odit"], ["content", "Facilis nobis est tempore iusto ipsa magnam possimus. Consectetur perferendis earum omnis vel. Enim eum id cumque.\nMolestias et eos veniam in. Est in aut in temporibus eius. Molestiae sit dolores quisquam nisi. Est id delectus sint sit.\nVoluptatem iure blanditiis. A dolore nihil et. Nihil optio cumque deserunt excepturi repellendus iure. Id sunt a veniam quidem sit. Et excepturi sunt."], ["created_at", "2015-07-21 15:43:18.605369"], ["updated_at", "2015-07-21 15:43:18.605369"]]
3236
+  (0.6ms) commit transaction
3237
+ Processing by FinePrint::ContractsController#create as HTML
3238
+ Parameters: {"contract"=>"attributes"}
3239
+ Filter chain halted as :can_manage rendered or redirected
3240
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3241
+ Processing by FinePrint::ContractsController#create as HTML
3242
+ Parameters: {"contract"=>"attributes"}
3243
+ Filter chain halted as :can_manage rendered or redirected
3244
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3245
+  (0.0ms) begin transaction
3246
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.609482"], ["updated_at", "2015-07-21 15:43:18.609482"]]
3247
+  (0.6ms) commit transaction
3248
+  (0.0ms) begin transaction
3249
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.611218"], ["updated_at", "2015-07-21 15:43:18.611218"]]
3250
+  (0.6ms) commit transaction
3251
+  (0.0ms) begin transaction
3252
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "ad_quia_magnam"], ["title", "Ut ducimus eum"], ["content", "Ab eos vel quod. Labore ipsa fugit dolor sint sit molestiae. Quis blanditiis doloribus quia voluptatem eos vitae aspernatur. Ut placeat similique ad sed odio.\nQui fugiat quisquam tenetur velit magni repellat eveniet. Eum quis amet rerum nobis fugiat. Eum placeat ut ipsa consequuntur.\nVelit perspiciatis sit sint reiciendis fugiat velit. Mollitia quia ut voluptatibus. Quod delectus molestiae. Magnam optio nemo. Voluptates qui dolores sint dolorem."], ["created_at", "2015-07-21 15:43:18.613751"], ["updated_at", "2015-07-21 15:43:18.613751"]]
3253
+  (0.5ms) commit transaction
3254
+ Processing by FinePrint::ContractsController#destroy as HTML
3255
+ Parameters: {"id"=>"6"}
3256
+ Filter chain halted as :can_manage rendered or redirected
3257
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3258
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]]
3259
+ Processing by FinePrint::ContractsController#destroy as HTML
3260
+ Parameters: {"id"=>"6"}
3261
+ Filter chain halted as :can_manage rendered or redirected
3262
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3263
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 6]]
3264
+  (0.1ms) begin transaction
3265
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.619618"], ["updated_at", "2015-07-21 15:43:18.619618"]]
3266
+  (0.7ms) commit transaction
3267
+  (0.0ms) begin transaction
3268
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.621439"], ["updated_at", "2015-07-21 15:43:18.621439"]]
3269
+  (0.6ms) commit transaction
3270
+  (0.1ms) begin transaction
3271
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "est_rerum_aut"], ["title", "In est soluta"], ["content", "Sunt qui accusamus. Repudiandae voluptas laudantium in aut non cumque. Odit itaque dolore repellendus.\nNulla omnis consequuntur. Sapiente porro occaecati illum voluptatum voluptas. Molestiae possimus ea harum. A sapiente quibusdam ea sunt magnam. Ut tenetur pariatur officiis quo dolorem libero.\nNostrum adipisci debitis. Non nobis quidem. Necessitatibus possimus qui."], ["created_at", "2015-07-21 15:43:18.624235"], ["updated_at", "2015-07-21 15:43:18.624235"]]
3272
+  (0.7ms) commit transaction
3273
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_rerum_aut"]]
3274
+  (0.0ms) begin transaction
3275
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 7 AND "fine_print_contracts"."name" = 'est_rerum_aut') LIMIT 1
3276
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 7]]
3277
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-07-21 15:43:18.628081"], ["id", 7]]
3278
+  (0.6ms) commit transaction
3279
+ Processing by FinePrint::ContractsController#unpublish as HTML
3280
+ Parameters: {"id"=>"7"}
3281
+ Filter chain halted as :can_manage rendered or redirected
3282
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3283
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]
3284
+ Processing by FinePrint::ContractsController#unpublish as HTML
3285
+ Parameters: {"id"=>"7"}
3286
+ Filter chain halted as :can_manage rendered or redirected
3287
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3288
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 7]]
3289
+  (0.0ms) begin transaction
3290
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.634638"], ["updated_at", "2015-07-21 15:43:18.634638"]]
3291
+  (0.7ms) commit transaction
3292
+  (0.0ms) begin transaction
3293
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.636575"], ["updated_at", "2015-07-21 15:43:18.636575"]]
3294
+  (0.7ms) commit transaction
3295
+  (0.0ms) begin transaction
3296
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "maiores_molestiae_iusto"], ["title", "Omnis enim vel"], ["content", "Aut velit autem assumenda similique ducimus. Debitis eum sed. Soluta vel sunt temporibus hic aperiam est.\nVelit nam ut saepe. Quaerat illo aut est culpa. Hic iste nostrum.\nSaepe incidunt quam. Repudiandae aliquid aspernatur modi id nihil et. Sunt quod quos. Ex sint tempore."], ["created_at", "2015-07-21 15:43:18.639352"], ["updated_at", "2015-07-21 15:43:18.639352"]]
3297
+  (0.8ms) commit transaction
3298
+ Processing by FinePrint::ContractsController#update as HTML
3299
+ Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"8"}
3300
+ Filter chain halted as :can_manage rendered or redirected
3301
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3302
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]
3303
+ Processing by FinePrint::ContractsController#update as HTML
3304
+ Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"8"}
3305
+ Filter chain halted as :can_manage rendered or redirected
3306
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3307
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 8]]
3308
+  (0.0ms) begin transaction
3309
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.645550"], ["updated_at", "2015-07-21 15:43:18.645550"]]
3310
+  (0.6ms) commit transaction
3311
+  (0.0ms) begin transaction
3312
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.647195"], ["updated_at", "2015-07-21 15:43:18.647195"]]
3313
+  (0.6ms) commit transaction
3314
+  (0.1ms) begin transaction
3315
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "et_nesciunt_corrupti"], ["title", "Non illo nihil"], ["content", "Repellendus hic animi illo qui maiores excepturi sint. Animi a deserunt ut enim pariatur doloribus quo. Unde atque facilis eligendi omnis iusto velit occaecati. Nostrum delectus vitae officia minus quas dolores provident. Sit rem est nisi minus saepe aut.\nSed molestiae harum. Delectus est harum vitae porro. Ut quia a et ab.\nPraesentium qui est animi id saepe voluptas. Et sint explicabo. Quis ut est eos."], ["created_at", "2015-07-21 15:43:18.650513"], ["updated_at", "2015-07-21 15:43:18.650513"]]
3316
+  (0.7ms) commit transaction
3317
+ Processing by FinePrint::ContractsController#update as HTML
3318
+ Parameters: {"contract"=>{"name"=>"another_name", "title"=>"Another title", "content"=>"Another content"}, "id"=>"9"}
3319
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 9]]
3320
+  (0.0ms) begin transaction
3321
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 9]]
3322
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "name" = ?, "title" = ?, "content" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["name", "another_name"], ["title", "Another title"], ["content", "Another content"], ["updated_at", "2015-07-21 15:43:18.655054"], ["id", 9]]
3323
+  (0.7ms) commit transaction
3324
+ Redirected to http://test.host/fine_print/contracts/9
3325
+ Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
3326
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 9]]
3327
+  (0.0ms) begin transaction
3328
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.660888"], ["updated_at", "2015-07-21 15:43:18.660888"]]
3329
+  (0.7ms) commit transaction
3330
+  (0.0ms) begin transaction
3331
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.662654"], ["updated_at", "2015-07-21 15:43:18.662654"]]
3332
+  (0.6ms) commit transaction
3333
+  (0.0ms) begin transaction
3334
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "officia_aut_blanditiis"], ["title", "Quis in omnis"], ["content", "Asperiores possimus ut quia. Et eligendi ullam aut iusto. Ad aut qui sequi quis tenetur. Autem aliquid id quis quia.\nQuis temporibus aut qui cumque. Sit qui perspiciatis aut. Neque sed molestiae consequatur laudantium ipsam.\nIpsum et deserunt quos. Quis mollitia qui. Nam ut et suscipit placeat sed harum."], ["created_at", "2015-07-21 15:43:18.665155"], ["updated_at", "2015-07-21 15:43:18.665155"]]
3335
+  (0.7ms) commit transaction
3336
+ Processing by FinePrint::ContractsController#index as HTML
3337
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC
3338
+ FinePrint::Signature Load (0.3ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" IN (6, 9, 2, 7, 3, 8, 5, 10, 1, 4) ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC
3339
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/index.html.erb within layouts/application (0.2ms)
3340
+ Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 0.4ms)
3341
+  (0.1ms) begin transaction
3342
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.678812"], ["updated_at", "2015-07-21 15:43:18.678812"]]
3343
+  (0.7ms) commit transaction
3344
+  (0.0ms) begin transaction
3345
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.680994"], ["updated_at", "2015-07-21 15:43:18.680994"]]
3346
+  (0.7ms) commit transaction
3347
+  (0.0ms) begin transaction
3348
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "et_eum_praesentium"], ["title", "Et quia molestias"], ["content", "Voluptate voluptas pariatur possimus reprehenderit saepe asperiores. In et cum voluptatum nihil ut facilis illum. Sed cupiditate ducimus reprehenderit sequi est rerum et. Possimus voluptas incidunt nisi qui pariatur. Iusto officiis voluptate unde.\nEnim voluptatem nam eos in ipsum officia sed. Neque aspernatur cupiditate repellat ea. Est laudantium ut.\nEt tempore libero dolores odit omnis aperiam voluptas. Laudantium et aspernatur non. Eligendi consequatur maiores placeat ad cum porro et."], ["created_at", "2015-07-21 15:43:18.684356"], ["updated_at", "2015-07-21 15:43:18.684356"]]
3349
+  (0.7ms) commit transaction
3350
+ Processing by FinePrint::ContractsController#publish as HTML
3351
+ Parameters: {"id"=>"11"}
3352
+ Filter chain halted as :can_manage rendered or redirected
3353
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3354
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]
3355
+ Processing by FinePrint::ContractsController#publish as HTML
3356
+ Parameters: {"id"=>"11"}
3357
+ Filter chain halted as :can_manage rendered or redirected
3358
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3359
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 11]]
3360
+  (0.0ms) begin transaction
3361
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.690876"], ["updated_at", "2015-07-21 15:43:18.690876"]]
3362
+  (0.7ms) commit transaction
3363
+  (0.0ms) begin transaction
3364
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.692881"], ["updated_at", "2015-07-21 15:43:18.692881"]]
3365
+  (0.7ms) commit transaction
3366
+  (0.0ms) begin transaction
3367
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "maiores_accusamus_omnis"], ["title", "In sed et"], ["content", "Unde illo nisi minus quo. Est non molestiae in. Consequatur aut in aliquam sunt omnis. Nesciunt aut corporis voluptas omnis delectus vel. Nulla velit aut quia ducimus eum.\nIure rerum amet est fugiat. Consequatur quia voluptas magnam. Est et non velit consequuntur eligendi officia ducimus. Ratione sint eos velit rerum error eum veritatis.\nCorporis ullam perferendis voluptatem et enim aperiam. Similique soluta sequi tempora earum minima. Quae repellendus iure placeat et maiores. Explicabo velit ut perspiciatis. Et repudiandae praesentium eos neque."], ["created_at", "2015-07-21 15:43:18.695726"], ["updated_at", "2015-07-21 15:43:18.695726"]]
3368
+  (0.6ms) commit transaction
3369
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "maiores_accusamus_omnis"]]
3370
+  (0.0ms) begin transaction
3371
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 12 AND "fine_print_contracts"."name" = 'maiores_accusamus_omnis') LIMIT 1
3372
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 12]]
3373
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-07-21 15:43:18.699669"], ["id", 12]]
3374
+  (0.6ms) commit transaction
3375
+ Processing by FinePrint::ContractsController#new_version as HTML
3376
+ Parameters: {"id"=>"12"}
3377
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 12]]
3378
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "maiores_accusamus_omnis"]]
3379
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/new_version.html.erb within layouts/application (0.2ms)
3380
+ Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.2ms)
3381
+  (0.0ms) begin transaction
3382
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.709873"], ["updated_at", "2015-07-21 15:43:18.709873"]]
3383
+  (0.6ms) commit transaction
3384
+  (0.0ms) begin transaction
3385
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.711806"], ["updated_at", "2015-07-21 15:43:18.711806"]]
3386
+  (0.6ms) commit transaction
3387
+  (0.0ms) begin transaction
3388
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "fugit_nulla_repellendus"], ["title", "Molestias reiciendis vitae"], ["content", "Nulla quasi debitis eligendi consequatur. Tempora quasi dolores. Voluptas omnis necessitatibus asperiores qui praesentium. Sit magnam vitae.\nEaque ea omnis alias eligendi aliquam ut. Et in nobis. Esse harum quisquam ut velit. Dolor harum esse odio consequatur voluptates recusandae. Excepturi ab mollitia et.\nDoloremque eum et non. Voluptatem perspiciatis unde in ut. Dolore sunt quia ipsam aut modi corrupti praesentium. Iure quo molestias vitae ut et."], ["created_at", "2015-07-21 15:43:18.714965"], ["updated_at", "2015-07-21 15:43:18.714965"]]
3389
+  (0.9ms) commit transaction
3390
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "fugit_nulla_repellendus"]]
3391
+  (0.1ms) begin transaction
3392
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 13 AND "fine_print_contracts"."name" = 'fugit_nulla_repellendus') LIMIT 1
3393
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 13]]
3394
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-07-21 15:43:18.730508"], ["id", 13]]
3395
+  (0.6ms) commit transaction
3396
+ Processing by FinePrint::ContractsController#new_version as HTML
3397
+ Parameters: {"id"=>"13"}
3398
+ Filter chain halted as :can_manage rendered or redirected
3399
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3400
+ Processing by FinePrint::ContractsController#new_version as HTML
3401
+ Parameters: {"id"=>"13"}
3402
+ Filter chain halted as :can_manage rendered or redirected
3403
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3404
+  (0.0ms) begin transaction
3405
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.737556"], ["updated_at", "2015-07-21 15:43:18.737556"]]
3406
+  (0.7ms) commit transaction
3407
+  (0.0ms) begin transaction
3408
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.739660"], ["updated_at", "2015-07-21 15:43:18.739660"]]
3409
+  (0.7ms) commit transaction
3410
+  (0.0ms) begin transaction
3411
+ SQL (0.5ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "blanditiis_saepe_placeat"], ["title", "Vel a non"], ["content", "Vitae molestias iure dolore harum tempore. Doloremque recusandae quidem nam inventore. Aperiam et fugiat corporis fugit optio molestiae et. Qui dignissimos et. Adipisci alias accusamus nobis ad qui.\nNemo corporis perspiciatis consectetur doloribus. Ducimus quo aut quidem optio. Quia rerum tempora. Harum voluptatem ab ratione ipsam sed. Nobis aliquam voluptatibus expedita ipsum.\nEst voluptatem id. Corrupti impedit omnis qui quasi. Dolor et eligendi expedita reiciendis eveniet ratione. Ut et et architecto nulla veritatis."], ["created_at", "2015-07-21 15:43:18.743048"], ["updated_at", "2015-07-21 15:43:18.743048"]]
3412
+  (0.7ms) commit transaction
3413
+ Processing by FinePrint::ContractsController#edit as HTML
3414
+ Parameters: {"id"=>"14"}
3415
+ Filter chain halted as :can_manage rendered or redirected
3416
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3417
+ Processing by FinePrint::ContractsController#edit as HTML
3418
+ Parameters: {"id"=>"14"}
3419
+ Filter chain halted as :can_manage rendered or redirected
3420
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3421
+  (0.0ms) begin transaction
3422
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.747974"], ["updated_at", "2015-07-21 15:43:18.747974"]]
3423
+  (0.6ms) commit transaction
3424
+  (0.0ms) begin transaction
3425
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.749701"], ["updated_at", "2015-07-21 15:43:18.749701"]]
3426
+  (0.7ms) commit transaction
3427
+  (0.0ms) begin transaction
3428
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "animi_aspernatur_id"], ["title", "Optio maxime ad"], ["content", "Voluptatum repellendus quae velit doloribus optio. Doloribus dolores quae pariatur rerum. Dolores accusantium fugit deserunt veniam.\nIn nam sint a itaque eligendi. Illum facere quia dolores modi quibusdam facilis. Nihil quod veritatis autem amet soluta.\nIllum corporis error molestiae dolorem sit. Excepturi aut sint quis velit vitae. Et recusandae provident. Itaque et aut facere impedit mollitia. Sed illo quasi corrupti eum."], ["created_at", "2015-07-21 15:43:18.752443"], ["updated_at", "2015-07-21 15:43:18.752443"]]
3429
+  (0.6ms) commit transaction
3430
+ Processing by FinePrint::ContractsController#edit as HTML
3431
+ Parameters: {"id"=>"15"}
3432
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 15]]
3433
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 15]]
3434
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/contracts/edit.html.erb within layouts/application (0.2ms)
3435
+ Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms)
3436
+  (0.0ms) begin transaction
3437
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.760928"], ["updated_at", "2015-07-21 15:43:18.760928"]]
3438
+  (0.6ms) commit transaction
3439
+  (0.0ms) begin transaction
3440
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.763257"], ["updated_at", "2015-07-21 15:43:18.763257"]]
3441
+  (0.7ms) commit transaction
3442
+  (0.0ms) begin transaction
3443
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "est_eveniet_voluptatem"], ["title", "Minus voluptatum quasi"], ["content", "Id aperiam omnis sint aut. Soluta et pariatur quia qui atque maiores voluptatum. Autem esse a sit quia neque. Nesciunt ratione explicabo.\nDolores officiis ut delectus et in minima. Quasi ut quis totam. Consequatur molestias officia.\nPorro rerum vel quibusdam. Voluptatibus provident rerum eveniet aut. Qui ab quia distinctio sit et."], ["created_at", "2015-07-21 15:43:18.766645"], ["updated_at", "2015-07-21 15:43:18.766645"]]
3444
+  (0.7ms) commit transaction
3445
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_eveniet_voluptatem"]]
3446
+  (0.0ms) begin transaction
3447
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 16 AND "fine_print_contracts"."name" = 'est_eveniet_voluptatem') LIMIT 1
3448
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]]
3449
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-07-21 15:43:18.771387"], ["id", 16]]
3450
+  (0.7ms) commit transaction
3451
+ Processing by FinePrint::ContractsController#unpublish as HTML
3452
+ Parameters: {"id"=>"16"}
3453
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 16]]
3454
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "est_eveniet_voluptatem"]]
3455
+  (0.0ms) begin transaction
3456
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 16]]
3457
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", nil], ["updated_at", "2015-07-21 15:43:18.778555"], ["id", 16]]
3458
+  (0.6ms) commit transaction
3459
+ Redirected to http://test.host/fine_print/contracts
3460
+ Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
3461
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 16]]
3462
+  (0.0ms) begin transaction
3463
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.784546"], ["updated_at", "2015-07-21 15:43:18.784546"]]
3464
+  (0.8ms) commit transaction
3465
+  (0.1ms) begin transaction
3466
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.786833"], ["updated_at", "2015-07-21 15:43:18.786833"]]
3467
+  (0.7ms) commit transaction
3468
+  (0.0ms) begin transaction
3469
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "vel_quis_possimus"], ["title", "Eos et molestias"], ["content", "Et quidem et quibusdam ut. Atque aut et odit autem reprehenderit quos impedit. Voluptatem nemo ipsam qui et totam libero ut. Sint molestias autem perspiciatis. Nostrum excepturi et qui.\nDucimus laboriosam ab non. Labore rem facilis quia nesciunt voluptates. Dignissimos et quae reiciendis ex quidem. Sed recusandae possimus. Quia non earum possimus aliquam modi.\nOdit qui explicabo. Perferendis maxime eum officia provident. Nam repellat inventore nesciunt unde optio et. Tempore culpa modi tenetur incidunt repellendus. Sit non et voluptatum et at consequatur."], ["created_at", "2015-07-21 15:43:18.790566"], ["updated_at", "2015-07-21 15:43:18.790566"]]
3470
+  (0.7ms) commit transaction
3471
+ Processing by FinePrint::ContractsController#create as HTML
3472
+ Parameters: {"contract"=>{"name"=>"some_name", "title"=>"Some title", "content"=>"Some content"}}
3473
+  (0.1ms) begin transaction
3474
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "some_name"], ["title", "Some title"], ["content", "Some content"], ["created_at", "2015-07-21 15:43:18.795602"], ["updated_at", "2015-07-21 15:43:18.795602"]]
3475
+  (0.7ms) commit transaction
3476
+ Redirected to http://test.host/fine_print/contracts/18
3477
+ Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
3478
+  (0.1ms) begin transaction
3479
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.800538"], ["updated_at", "2015-07-21 15:43:18.800538"]]
3480
+  (0.6ms) commit transaction
3481
+  (0.0ms) begin transaction
3482
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.802613"], ["updated_at", "2015-07-21 15:43:18.802613"]]
3483
+  (0.7ms) commit transaction
3484
+  (0.0ms) begin transaction
3485
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "et_quis_qui"], ["title", "Quam saepe nesciunt"], ["content", "Illo laboriosam sint. Ab velit doloremque consectetur. Nobis tempore est error cum laboriosam totam alias. Assumenda minus dignissimos et quae doloremque ut cum.\nVoluptatibus omnis voluptatem at cum impedit. Consequatur et suscipit sed nulla ipsam aliquid. Et magni dolor culpa deleniti labore laborum dolores.\nRepellendus qui deserunt aspernatur quasi. Quisquam sit et animi dolores atque. Laudantium dolores soluta aliquam consequatur expedita necessitatibus. In dolorem nostrum rem quaerat velit. Quia error rem et ipsum illo dolorum nostrum."], ["created_at", "2015-07-21 15:43:18.805543"], ["updated_at", "2015-07-21 15:43:18.805543"]]
3486
+  (0.6ms) commit transaction
3487
+ Processing by FinePrint::ContractsController#destroy as HTML
3488
+ Parameters: {"id"=>"19"}
3489
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]
3490
+  (0.0ms) begin transaction
3491
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC [["contract_id", 19]]
3492
+ SQL (0.2ms) DELETE FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? [["id", 19]]
3493
+  (0.7ms) commit transaction
3494
+ Redirected to http://test.host/fine_print/contracts
3495
+ Completed 302 Found in 4ms (ActiveRecord: 1.1ms)
3496
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 19]]
3497
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3498
+  (0.0ms) begin transaction
3499
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
3500
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Quia sed et"], ["content", "Est harum alias enim aut aut repudiandae. Ipsum itaque dolor accusamus sed. Omnis perferendis eos id expedita quia recusandae reiciendis.\nLabore enim vitae accusantium. Quis tempora quia. Nobis accusamus modi. Est quia sed mollitia adipisci in. Beatae labore et corporis ullam.\nId itaque consequatur. Est incidunt assumenda reprehenderit iusto voluptate fuga ullam. Nulla sit fuga perspiciatis molestiae est. Doloribus ut molestiae blanditiis et quas."], ["version", 1], ["created_at", "2015-07-21 15:43:18.817919"], ["updated_at", "2015-07-21 15:43:18.817919"]]
3501
+  (0.7ms) commit transaction
3502
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
3503
+  (0.0ms) begin transaction
3504
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
3505
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Enim facilis ullam"], ["content", "Et qui adipisci. Sint ab nulla. Incidunt voluptatem explicabo ut. Mollitia beatae error id eveniet accusamus dolorum sunt. Possimus et ipsum et et.\nMolestias magnam culpa dolor accusamus aperiam corrupti et. Ut ad iste aliquam quidem doloremque neque. Autem mollitia quae. Facilis nostrum qui impedit ab ipsam quasi.\nDeleniti deserunt magnam ducimus commodi vero. Nisi sed assumenda eum est. Omnis aut aut repellendus odit blanditiis."], ["version", 1], ["created_at", "2015-07-21 15:43:18.824047"], ["updated_at", "2015-07-21 15:43:18.824047"]]
3506
+  (0.7ms) commit transaction
3507
+  (0.0ms) begin transaction
3508
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.826578"], ["updated_at", "2015-07-21 15:43:18.826578"]]
3509
+  (0.7ms) commit transaction
3510
+  (0.1ms) begin transaction
3511
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 20 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1
3512
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 20], ["user_id", 37], ["user_type", "DummyUser"], ["created_at", "2015-07-21 15:43:18.838913"], ["updated_at", "2015-07-21 15:43:18.838913"]]
3513
+  (0.8ms) commit transaction
3514
+  (0.1ms) begin transaction
3515
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 21 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 37) LIMIT 1
3516
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 21], ["user_id", 37], ["user_type", "DummyUser"], ["created_at", "2015-07-21 15:43:18.843744"], ["updated_at", "2015-07-21 15:43:18.843744"]]
3517
+  (0.7ms) commit transaction
3518
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3519
+  (0.0ms) begin transaction
3520
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Quia sed et"], ["content", "foo"], ["created_at", "2015-07-21 15:43:18.847921"], ["updated_at", "2015-07-21 15:43:18.847921"]]
3521
+  (0.6ms) commit transaction
3522
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3523
+  (0.0ms) begin transaction
3524
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 22 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
3525
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 22]]
3526
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 2], ["updated_at", "2015-07-21 15:43:18.852787"], ["id", 22]]
3527
+  (0.7ms) commit transaction
3528
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 21]]
3529
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
3530
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 20]]
3531
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3532
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3533
+  (0.0ms) begin transaction
3534
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
3535
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Aut deleniti voluptas"], ["content", "Voluptatem rerum quidem veniam. Qui veniam aut ut. Repellat ut voluptas quaerat totam. Dolores doloremque ut voluptate recusandae consequatur officiis impedit. Rerum ducimus voluptatem non quis magnam natus sint.\nArchitecto animi iste culpa. Et in et consequatur est dolor sed. Et sed eligendi.\nIpsa nisi qui velit. Eaque vel consequatur suscipit cum tempora unde. Molestias natus dolorum aliquid asperiores distinctio facere quidem. Autem commodi in quia tempore consequatur."], ["version", 3], ["created_at", "2015-07-21 15:43:18.864910"], ["updated_at", "2015-07-21 15:43:18.864910"]]
3536
+  (0.6ms) commit transaction
3537
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
3538
+  (0.0ms) begin transaction
3539
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
3540
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Consequatur fugit voluptates"], ["content", "Excepturi repellat perferendis qui qui. Et odit quisquam esse quia nulla explicabo ipsum. In atque ut quae ipsum aut rerum et. Est qui et. Ut corporis commodi fugiat non et numquam eius.\nEligendi deleniti quos ipsa minima unde quidem. Laborum totam fugiat consequatur beatae. Aperiam amet sit officiis rerum aut qui illum.\nEt odio dolorum. Dolore ab eos est aperiam minima non. Nostrum fuga quibusdam rerum modi facere architecto. Voluptas iusto nihil. Qui fugit maxime."], ["version", 2], ["created_at", "2015-07-21 15:43:18.869850"], ["updated_at", "2015-07-21 15:43:18.869850"]]
3541
+  (0.6ms) commit transaction
3542
+  (0.0ms) begin transaction
3543
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.871792"], ["updated_at", "2015-07-21 15:43:18.871792"]]
3544
+  (0.7ms) commit transaction
3545
+  (0.0ms) begin transaction
3546
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 23 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1
3547
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 23], ["user_id", 38], ["user_type", "DummyUser"], ["created_at", "2015-07-21 15:43:18.875547"], ["updated_at", "2015-07-21 15:43:18.875547"]]
3548
+  (0.6ms) commit transaction
3549
+  (0.0ms) begin transaction
3550
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 24 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 38) LIMIT 1
3551
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 24], ["user_id", 38], ["user_type", "DummyUser"], ["created_at", "2015-07-21 15:43:18.879241"], ["updated_at", "2015-07-21 15:43:18.879241"]]
3552
+  (0.7ms) commit transaction
3553
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3554
+  (0.0ms) begin transaction
3555
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Aut deleniti voluptas"], ["content", "foo"], ["created_at", "2015-07-21 15:43:18.882115"], ["updated_at", "2015-07-21 15:43:18.882115"]]
3556
+  (0.6ms) commit transaction
3557
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3558
+  (0.1ms) begin transaction
3559
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."id" != 25 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
3560
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 25]]
3561
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 4], ["updated_at", "2015-07-21 15:43:18.887743"], ["id", 25]]
3562
+  (0.6ms) commit transaction
3563
+ FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" WHERE "fine_print_contracts"."version" IS NOT NULL AND "fine_print_contracts"."name" IN ('alpha', 'beta') GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC
3564
+ FinePrint::Contract Load (0.3ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."version" IS NOT NULL AND "fine_print_contracts"."name" IN ('alpha', 'beta') AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["user_id", 38], ["user_type", "DummyUser"]]
3565
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3566
+  (0.0ms) begin transaction
3567
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 5 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
3568
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Similique sint id"], ["content", "Quia aperiam nihil quasi corrupti. Odit quaerat consequuntur nihil officiis qui inventore. Quam dolorem doloribus quis temporibus. A similique expedita exercitationem commodi quibusdam. Nobis quaerat ullam et aliquid sint veritatis.\nUt rerum amet inventore. Enim aspernatur ut enim quas. Esse sint ea odit quia. Atque dolore quo ut. Dolorum quis eum labore molestiae nam nemo hic.\nEst id blanditiis laboriosam ut unde optio earum. Dolor optio sed laborum atque et. Suscipit est possimus et natus aliquam veniam. Tempore distinctio nulla quia. Corporis corrupti voluptatum ducimus."], ["version", 5], ["created_at", "2015-07-21 15:43:18.907779"], ["updated_at", "2015-07-21 15:43:18.907779"]]
3569
+  (0.7ms) commit transaction
3570
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
3571
+  (0.0ms) begin transaction
3572
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 3 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
3573
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Voluptatem pariatur aperiam"], ["content", "Doloremque saepe velit debitis ut non. Quo enim saepe iure occaecati. Qui voluptas possimus laboriosam aut dolorem quisquam repellat. Beatae omnis aspernatur.\nUt labore et. Facilis id dicta vel architecto fuga. Aut est sed optio perferendis nihil.\nEa sit molestias nihil laborum doloremque et. Officiis et aliquid sunt nam. Cupiditate alias non ut cumque incidunt. Facilis similique nesciunt amet porro. Voluptatem qui et dolor nesciunt incidunt provident quas."], ["version", 3], ["created_at", "2015-07-21 15:43:18.913390"], ["updated_at", "2015-07-21 15:43:18.913390"]]
3574
+  (0.7ms) commit transaction
3575
+  (0.0ms) begin transaction
3576
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.915505"], ["updated_at", "2015-07-21 15:43:18.915505"]]
3577
+  (0.7ms) commit transaction
3578
+  (0.0ms) begin transaction
3579
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 26 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1
3580
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 26], ["user_id", 39], ["user_type", "DummyUser"], ["created_at", "2015-07-21 15:43:18.919232"], ["updated_at", "2015-07-21 15:43:18.919232"]]
3581
+  (0.7ms) commit transaction
3582
+  (0.0ms) begin transaction
3583
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 27 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 39) LIMIT 1
3584
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 27], ["user_id", 39], ["user_type", "DummyUser"], ["created_at", "2015-07-21 15:43:18.923010"], ["updated_at", "2015-07-21 15:43:18.923010"]]
3585
+  (0.7ms) commit transaction
3586
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3587
+  (0.0ms) begin transaction
3588
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Similique sint id"], ["content", "foo"], ["created_at", "2015-07-21 15:43:18.926440"], ["updated_at", "2015-07-21 15:43:18.926440"]]
3589
+  (0.7ms) commit transaction
3590
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3591
+  (0.0ms) begin transaction
3592
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 6 AND "fine_print_contracts"."id" != 28 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
3593
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 28]]
3594
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 6], ["updated_at", "2015-07-21 15:43:18.930420"], ["id", 28]]
3595
+  (0.7ms) commit transaction
3596
+ FinePrint::Contract Load (0.2ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" INNER JOIN "fine_print_contracts" "same_names_fine_print_contracts" ON "same_names_fine_print_contracts"."name" = "fine_print_contracts"."name" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."version" IS NOT NULL AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) GROUP BY "fine_print_contracts"."id" HAVING "fine_print_contracts"."version" = max("same_names_fine_print_contracts"."version") ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC [["user_id", 39], ["user_type", "DummyUser"]]
3597
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3598
+  (0.0ms) begin transaction
3599
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 7 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
3600
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Pariatur at nesciunt"], ["content", "Occaecati reprehenderit dolores. Nobis at praesentium corporis. Deleniti et quod quam perferendis est recusandae et. Et consequatur eaque voluptate. Dolorum molestiae sit.\nNumquam atque alias. Et est maxime et iure fugit aut dolorem. Numquam quia id qui. Deleniti ad omnis nihil laudantium consequatur qui.\nBlanditiis molestiae adipisci aut. Enim necessitatibus quam eos. Quis officia cupiditate cum rerum aliquam saepe. Sed ut sunt."], ["version", 7], ["created_at", "2015-07-21 15:43:18.941064"], ["updated_at", "2015-07-21 15:43:18.941064"]]
3601
+  (0.7ms) commit transaction
3602
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "beta"]]
3603
+  (0.0ms) begin transaction
3604
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 4 AND "fine_print_contracts"."name" = 'beta') LIMIT 1
3605
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "beta"], ["title", "Rerum voluptate quam"], ["content", "Qui quisquam dignissimos autem nisi totam at. Vel qui aut laboriosam necessitatibus cupiditate quos. Quia autem qui ducimus. Enim ut nihil quos inventore voluptatem voluptatibus est.\nAut nam omnis consequatur cum. Perferendis consequuntur temporibus distinctio explicabo aut. Voluptates deleniti expedita dolores dolorem. Aut beatae molestiae quaerat in ex. Sit enim et qui vel architecto atque perspiciatis.\nLaudantium et excepturi voluptatem nihil. Mollitia ratione temporibus et molestiae dolores illum totam. Et perferendis quod corporis reiciendis rerum autem omnis. Eveniet et ut temporibus."], ["version", 4], ["created_at", "2015-07-21 15:43:18.946013"], ["updated_at", "2015-07-21 15:43:18.946013"]]
3606
+  (0.7ms) commit transaction
3607
+  (0.0ms) begin transaction
3608
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.948004"], ["updated_at", "2015-07-21 15:43:18.948004"]]
3609
+  (0.7ms) commit transaction
3610
+  (0.0ms) begin transaction
3611
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 29 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1
3612
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 29], ["user_id", 40], ["user_type", "DummyUser"], ["created_at", "2015-07-21 15:43:18.952200"], ["updated_at", "2015-07-21 15:43:18.952200"]]
3613
+  (0.7ms) commit transaction
3614
+  (0.0ms) begin transaction
3615
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 30 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1
3616
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_id", "user_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 30], ["user_id", 40], ["user_type", "DummyUser"], ["created_at", "2015-07-21 15:43:18.955530"], ["updated_at", "2015-07-21 15:43:18.955530"]]
3617
+  (0.7ms) commit transaction
3618
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3619
+  (0.0ms) begin transaction
3620
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "alpha"], ["title", "Pariatur at nesciunt"], ["content", "foo"], ["created_at", "2015-07-21 15:43:18.958448"], ["updated_at", "2015-07-21 15:43:18.958448"]]
3621
+  (0.7ms) commit transaction
3622
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "alpha"]]
3623
+  (0.0ms) begin transaction
3624
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 8 AND "fine_print_contracts"."id" != 31 AND "fine_print_contracts"."name" = 'alpha') LIMIT 1
3625
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 31]]
3626
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 8], ["updated_at", "2015-07-21 15:43:18.962390"], ["id", 31]]
3627
+  (0.5ms) commit transaction
3628
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 29], ["user_id", 40], ["user_type", "DummyUser"]]
3629
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 31], ["user_id", 40], ["user_type", "DummyUser"]]
3630
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 30], ["user_id", 40], ["user_type", "DummyUser"]]
3631
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 40], ["user_type", "DummyUser"]]
3632
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 40], ["user_type", "DummyUser"]]
3633
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "beta"], ["user_id", 40], ["user_type", "DummyUser"]]
3634
+  (0.0ms) begin transaction
3635
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 31 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" = 40) LIMIT 1
3636
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("user_id", "user_type", "contract_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["user_id", 40], ["user_type", "DummyUser"], ["contract_id", 31], ["created_at", "2015-07-21 15:43:18.975040"], ["updated_at", "2015-07-21 15:43:18.975040"]]
3637
+  (0.7ms) commit transaction
3638
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 29], ["user_id", 40], ["user_type", "DummyUser"]]
3639
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 31], ["user_id", 40], ["user_type", "DummyUser"]]
3640
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? AND "fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ? LIMIT 1 [["contract_id", 30], ["user_id", 40], ["user_type", "DummyUser"]]
3641
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 40], ["user_type", "DummyUser"]]
3642
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "alpha"], ["user_id", 40], ["user_type", "DummyUser"]]
3643
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" INNER JOIN "fine_print_signatures" ON "fine_print_signatures"."contract_id" = "fine_print_contracts"."id" WHERE "fine_print_contracts"."name" = ? AND ("fine_print_signatures"."user_id" = ? AND "fine_print_signatures"."user_type" = ?) LIMIT 1 [["name", "beta"], ["user_id", 40], ["user_type", "DummyUser"]]
3644
+  (0.1ms) begin transaction
3645
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.986649"], ["updated_at", "2015-07-21 15:43:18.986649"]]
3646
+  (0.7ms) commit transaction
3647
+  (0.0ms) begin transaction
3648
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.988953"], ["updated_at", "2015-07-21 15:43:18.988953"]]
3649
+  (0.6ms) commit transaction
3650
+ Processing by FinePrint::HomeController#index as HTML
3651
+ Filter chain halted as :can_manage rendered or redirected
3652
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3653
+ Processing by FinePrint::HomeController#index as HTML
3654
+ Filter chain halted as :can_manage rendered or redirected
3655
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3656
+  (0.0ms) begin transaction
3657
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.994197"], ["updated_at", "2015-07-21 15:43:18.994197"]]
3658
+  (0.7ms) commit transaction
3659
+  (0.1ms) begin transaction
3660
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:18.996238"], ["updated_at", "2015-07-21 15:43:18.996238"]]
3661
+  (0.7ms) commit transaction
3662
+ Processing by FinePrint::HomeController#index as HTML
3663
+ Redirected to http://test.host/fine_print/contracts
3664
+ Completed 302 Found in 0ms (ActiveRecord: 0.0ms)
3665
+  (0.1ms) begin transaction
3666
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.001396"], ["updated_at", "2015-07-21 15:43:19.001396"]]
3667
+  (0.7ms) commit transaction
3668
+  (0.0ms) begin transaction
3669
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.003504"], ["updated_at", "2015-07-21 15:43:19.003504"]]
3670
+  (0.8ms) commit transaction
3671
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "animi_quaerat_ea"]]
3672
+  (0.1ms) begin transaction
3673
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'animi_quaerat_ea') LIMIT 1
3674
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "animi_quaerat_ea"], ["title", "Modi dolorem eum"], ["content", "Vero adipisci nesciunt. Corporis magni quisquam et dolorum. Ab et delectus quod eos velit et quas. Consectetur dolorem sit perspiciatis delectus.\nEum porro minus possimus et minima omnis. Quam at non. Ratione rerum repudiandae facilis ipsam.\nCulpa velit necessitatibus omnis repellat laudantium hic tenetur. Dolores odio iusto. In id molestiae expedita omnis. Necessitatibus molestiae repellat est similique reiciendis."], ["version", 1], ["created_at", "2015-07-21 15:43:19.011661"], ["updated_at", "2015-07-21 15:43:19.011661"]]
3675
+  (0.6ms) commit transaction
3676
+  (0.1ms) begin transaction
3677
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 32 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
3678
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.016408"], ["updated_at", "2015-07-21 15:43:19.016408"]]
3679
+ SQL (0.2ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 32], ["user_type", "DummyUser"], ["user_id", 47], ["created_at", "2015-07-21 15:43:19.017713"], ["updated_at", "2015-07-21 15:43:19.017713"]]
3680
+  (0.7ms) commit transaction
3681
+ Processing by FinePrint::SignaturesController#index as HTML
3682
+ Parameters: {"contract_id"=>"32"}
3683
+ Filter chain halted as :can_manage rendered or redirected
3684
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3685
+ Processing by FinePrint::SignaturesController#index as HTML
3686
+ Parameters: {"contract_id"=>"32"}
3687
+ Filter chain halted as :can_manage rendered or redirected
3688
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3689
+  (0.1ms) begin transaction
3690
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.024418"], ["updated_at", "2015-07-21 15:43:19.024418"]]
3691
+  (0.7ms) commit transaction
3692
+  (0.0ms) begin transaction
3693
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.026637"], ["updated_at", "2015-07-21 15:43:19.026637"]]
3694
+  (0.6ms) commit transaction
3695
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "et_molestias_distinctio"]]
3696
+  (0.0ms) begin transaction
3697
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'et_molestias_distinctio') LIMIT 1
3698
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "et_molestias_distinctio"], ["title", "Similique doloremque aut"], ["content", "Modi ut distinctio. Ea quidem voluptas. Libero nostrum ullam quisquam ut. Sunt repellendus animi et odio exercitationem.\nOmnis esse architecto aut. Officiis alias officia incidunt voluptatum odit. Ipsum dignissimos quis id omnis voluptas quae. Numquam et est. Quasi expedita libero voluptate sit similique nisi.\nSoluta reiciendis saepe. Voluptatem dolore autem perspiciatis iure. Cupiditate temporibus odio consequatur earum dolores."], ["version", 1], ["created_at", "2015-07-21 15:43:19.032565"], ["updated_at", "2015-07-21 15:43:19.032565"]]
3699
+  (0.8ms) commit transaction
3700
+  (0.1ms) begin transaction
3701
+ FinePrint::Signature Exists (0.2ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 33 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
3702
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.037566"], ["updated_at", "2015-07-21 15:43:19.037566"]]
3703
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 33], ["user_type", "DummyUser"], ["user_id", 50], ["created_at", "2015-07-21 15:43:19.038843"], ["updated_at", "2015-07-21 15:43:19.038843"]]
3704
+  (0.9ms) commit transaction
3705
+ Processing by FinePrint::SignaturesController#create as HTML
3706
+ Parameters: {"contract_id"=>"33"}
3707
+ Filter chain halted as :can_sign rendered or redirected
3708
+ Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
3709
+  (0.0ms) begin transaction
3710
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.044642"], ["updated_at", "2015-07-21 15:43:19.044642"]]
3711
+  (0.6ms) commit transaction
3712
+  (0.0ms) begin transaction
3713
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.046777"], ["updated_at", "2015-07-21 15:43:19.046777"]]
3714
+  (0.7ms) commit transaction
3715
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "modi_sed_non"]]
3716
+  (0.0ms) begin transaction
3717
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'modi_sed_non') LIMIT 1
3718
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "modi_sed_non"], ["title", "Neque autem nesciunt"], ["content", "Sit ratione ut minus accusamus inventore illo ut. Dignissimos sapiente maiores vel. Ab dolore corporis.\nQuo deleniti veniam enim amet. Maiores quo facere et ut corrupti voluptatem cum. Numquam cumque labore. Sunt ratione molestiae voluptas est. Deserunt delectus consectetur neque.\nVero aspernatur et et quo. Minima aut iure cum rerum. Et recusandae aut doloremque dolorum at ut earum."], ["version", 1], ["created_at", "2015-07-21 15:43:19.053238"], ["updated_at", "2015-07-21 15:43:19.053238"]]
3719
+  (0.6ms) commit transaction
3720
+  (0.0ms) begin transaction
3721
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 34 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
3722
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.057385"], ["updated_at", "2015-07-21 15:43:19.057385"]]
3723
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 34], ["user_type", "DummyUser"], ["user_id", 53], ["created_at", "2015-07-21 15:43:19.058288"], ["updated_at", "2015-07-21 15:43:19.058288"]]
3724
+  (0.7ms) commit transaction
3725
+ Processing by FinePrint::SignaturesController#index as HTML
3726
+ Parameters: {"contract_id"=>"34"}
3727
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 34]]
3728
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/index.html.erb within layouts/application (0.2ms)
3729
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)
3730
+  (0.1ms) begin transaction
3731
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.066331"], ["updated_at", "2015-07-21 15:43:19.066331"]]
3732
+  (0.7ms) commit transaction
3733
+  (0.0ms) begin transaction
3734
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.068503"], ["updated_at", "2015-07-21 15:43:19.068503"]]
3735
+  (0.8ms) commit transaction
3736
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "porro_in_magnam"]]
3737
+  (0.0ms) begin transaction
3738
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'porro_in_magnam') LIMIT 1
3739
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "porro_in_magnam"], ["title", "Ut doloremque odio"], ["content", "A ut repellat ipsam eum. Perspiciatis id quia tempore recusandae doloribus facilis. Omnis vero et qui. Aperiam cupiditate voluptatem iure enim.\nQui et a dicta nemo accusantium quaerat. Recusandae aut natus esse delectus omnis at ea. Esse quaerat aperiam aspernatur.\nQui ex veniam sunt hic odit. Tempore voluptatem dolorem quam. Et doloremque harum totam recusandae. Odio recusandae aliquam dolorem tempore eligendi vitae."], ["version", 1], ["created_at", "2015-07-21 15:43:19.075577"], ["updated_at", "2015-07-21 15:43:19.075577"]]
3740
+  (0.7ms) commit transaction
3741
+  (0.0ms) begin transaction
3742
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 35 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
3743
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.079182"], ["updated_at", "2015-07-21 15:43:19.079182"]]
3744
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 35], ["user_type", "DummyUser"], ["user_id", 56], ["created_at", "2015-07-21 15:43:19.079998"], ["updated_at", "2015-07-21 15:43:19.079998"]]
3745
+  (0.7ms) commit transaction
3746
+ Processing by FinePrint::SignaturesController#new as HTML
3747
+ Parameters: {"contract_id"=>"35"}
3748
+ Filter chain halted as :can_sign rendered or redirected
3749
+ Completed 401 Unauthorized in 0ms (ActiveRecord: 0.0ms)
3750
+  (0.1ms) begin transaction
3751
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.085138"], ["updated_at", "2015-07-21 15:43:19.085138"]]
3752
+  (0.7ms) commit transaction
3753
+  (0.1ms) begin transaction
3754
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.087437"], ["updated_at", "2015-07-21 15:43:19.087437"]]
3755
+  (0.7ms) commit transaction
3756
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "officiis_nisi_dolorem"]]
3757
+  (0.0ms) begin transaction
3758
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'officiis_nisi_dolorem') LIMIT 1
3759
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "officiis_nisi_dolorem"], ["title", "Facere illum non"], ["content", "Modi est maiores beatae eum saepe aut. Consequatur consequatur maxime molestiae vitae. Assumenda voluptate impedit est doloribus incidunt id veritatis. Optio qui sapiente omnis sed ex rerum similique. Est molestias iusto qui occaecati.\nQuia et velit sint et. Beatae consequatur non. Nisi nesciunt voluptas nemo.\nEst eveniet voluptates ea ut. Quo vitae minima sint et. Repudiandae est et fuga ab harum."], ["version", 1], ["created_at", "2015-07-21 15:43:19.093761"], ["updated_at", "2015-07-21 15:43:19.093761"]]
3760
+  (0.7ms) commit transaction
3761
+  (0.0ms) begin transaction
3762
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 36 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
3763
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.097200"], ["updated_at", "2015-07-21 15:43:19.097200"]]
3764
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 36], ["user_type", "DummyUser"], ["user_id", 59], ["created_at", "2015-07-21 15:43:19.098085"], ["updated_at", "2015-07-21 15:43:19.098085"]]
3765
+  (0.6ms) commit transaction
3766
+ Processing by FinePrint::SignaturesController#destroy as HTML
3767
+ Parameters: {"id"=>"14"}
3768
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]]
3769
+  (0.0ms) begin transaction
3770
+ SQL (0.2ms) DELETE FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? [["id", 14]]
3771
+  (0.7ms) commit transaction
3772
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 36]]
3773
+ Redirected to http://test.host/fine_print/contracts/36/signatures
3774
+ Completed 302 Found in 5ms (ActiveRecord: 1.1ms)
3775
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 14]]
3776
+  (0.0ms) begin transaction
3777
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.108781"], ["updated_at", "2015-07-21 15:43:19.108781"]]
3778
+  (0.6ms) commit transaction
3779
+  (0.0ms) begin transaction
3780
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.110566"], ["updated_at", "2015-07-21 15:43:19.110566"]]
3781
+  (0.7ms) commit transaction
3782
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "minus_dolores_quis"]]
3783
+  (0.0ms) begin transaction
3784
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'minus_dolores_quis') LIMIT 1
3785
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "minus_dolores_quis"], ["title", "Aliquid et ullam"], ["content", "Sunt odit commodi. Cumque aut iure. Saepe occaecati qui qui doloremque ut.\nEt qui tempora facilis id. Error maxime impedit rerum et unde illum sapiente. Ut ad quam veniam excepturi autem est. Enim quia inventore quos.\nEt cum odio et error enim. Officiis libero sed quam sequi. Velit animi doloribus voluptatibus. Incidunt nobis praesentium voluptatibus amet quia."], ["version", 1], ["created_at", "2015-07-21 15:43:19.115752"], ["updated_at", "2015-07-21 15:43:19.115752"]]
3786
+  (0.7ms) commit transaction
3787
+  (0.0ms) begin transaction
3788
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 37 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
3789
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.119286"], ["updated_at", "2015-07-21 15:43:19.119286"]]
3790
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 37], ["user_type", "DummyUser"], ["user_id", 62], ["created_at", "2015-07-21 15:43:19.120042"], ["updated_at", "2015-07-21 15:43:19.120042"]]
3791
+  (0.6ms) commit transaction
3792
+ Processing by FinePrint::SignaturesController#destroy as HTML
3793
+ Parameters: {"id"=>"15"}
3794
+ Filter chain halted as :can_manage rendered or redirected
3795
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3796
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 15]]
3797
+ Processing by FinePrint::SignaturesController#destroy as HTML
3798
+ Parameters: {"id"=>"15"}
3799
+ Filter chain halted as :can_manage rendered or redirected
3800
+ Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
3801
+ FinePrint::Signature Load (0.1ms) SELECT "fine_print_signatures".* FROM "fine_print_signatures" WHERE "fine_print_signatures"."id" = ? ORDER BY "fine_print_signatures"."contract_id" ASC, "fine_print_signatures"."user_type" ASC, "fine_print_signatures"."user_id" ASC LIMIT 1 [["id", 15]]
3802
+  (0.0ms) begin transaction
3803
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.126083"], ["updated_at", "2015-07-21 15:43:19.126083"]]
3804
+  (0.7ms) commit transaction
3805
+  (0.0ms) begin transaction
3806
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.127925"], ["updated_at", "2015-07-21 15:43:19.127925"]]
3807
+  (0.7ms) commit transaction
3808
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quam_iusto_unde"]]
3809
+  (0.0ms) begin transaction
3810
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quam_iusto_unde') LIMIT 1
3811
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "quam_iusto_unde"], ["title", "Quia laudantium nostrum"], ["content", "Omnis praesentium impedit vitae esse sed. Quibusdam error rem autem. Nobis aut saepe. Reprehenderit qui explicabo omnis assumenda illo alias aliquid. Tempore omnis rerum illum pariatur qui facere.\nVoluptatem fugiat culpa animi corrupti neque et. Et est aut repellendus quaerat totam nam voluptatum. Quia hic quaerat ipsam. Aliquid debitis odio eveniet distinctio at autem. Voluptatem quibusdam mollitia velit.\nLaudantium alias quod quasi dolore. Ut sint nihil. Aut rerum sed non maiores tenetur."], ["version", 1], ["created_at", "2015-07-21 15:43:19.133040"], ["updated_at", "2015-07-21 15:43:19.133040"]]
3812
+  (0.7ms) commit transaction
3813
+  (0.1ms) begin transaction
3814
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 38 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
3815
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.137314"], ["updated_at", "2015-07-21 15:43:19.137314"]]
3816
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 38], ["user_type", "DummyUser"], ["user_id", 65], ["created_at", "2015-07-21 15:43:19.138472"], ["updated_at", "2015-07-21 15:43:19.138472"]]
3817
+  (0.7ms) commit transaction
3818
+ Processing by FinePrint::SignaturesController#new as HTML
3819
+ Parameters: {"contract_id"=>"38"}
3820
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 38]]
3821
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/application (0.2ms)
3822
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.1ms)
3823
+  (0.1ms) begin transaction
3824
+ SQL (0.2ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.146316"], ["updated_at", "2015-07-21 15:43:19.146316"]]
3825
+  (0.6ms) commit transaction
3826
+  (0.1ms) begin transaction
3827
+ SQL (0.3ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.148352"], ["updated_at", "2015-07-21 15:43:19.148352"]]
3828
+  (0.7ms) commit transaction
3829
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "quisquam_repellat_provident"]]
3830
+  (0.0ms) begin transaction
3831
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'quisquam_repellat_provident') LIMIT 1
3832
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "quisquam_repellat_provident"], ["title", "Dignissimos ad quaerat"], ["content", "A molestias placeat voluptatem eum. Distinctio illo dolorem voluptates. Pariatur qui illum.\nSunt occaecati mollitia et similique quia aut. Voluptates cupiditate earum. Cum adipisci doloribus reprehenderit molestiae aut inventore. Necessitatibus ab tempora quis est. Et porro fugiat quia.\nExercitationem repellendus veritatis ipsa nihil quia rerum illo. Sequi omnis totam. Ea labore saepe perferendis aut repellendus."], ["version", 1], ["created_at", "2015-07-21 15:43:19.154406"], ["updated_at", "2015-07-21 15:43:19.154406"]]
3833
+  (0.7ms) commit transaction
3834
+  (0.0ms) begin transaction
3835
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 39 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
3836
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.157719"], ["updated_at", "2015-07-21 15:43:19.157719"]]
3837
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 39], ["user_type", "DummyUser"], ["user_id", 68], ["created_at", "2015-07-21 15:43:19.158529"], ["updated_at", "2015-07-21 15:43:19.158529"]]
3838
+  (0.7ms) commit transaction
3839
+ Processing by FinePrint::SignaturesController#new as HTML
3840
+ Parameters: {"contract_id"=>"39"}
3841
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["id", 39]]
3842
+ Rendered /Users/dante/Desktop/fine_print/app/views/fine_print/signatures/new.html.erb within layouts/application (0.2ms)
3843
+ Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
3844
+  (0.0ms) begin transaction
3845
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "illum_laborum_in"], ["title", "Accusamus dolores quo"], ["content", "Laboriosam est rerum praesentium minus. Harum reiciendis ipsum. Ut voluptas tempore. Doloribus consequatur laudantium et deleniti aut.\nConsectetur dolores dicta. Molestias tempora magni voluptas voluptatem quod. Vitae rerum omnis ratione.\nUllam sit eius atque. Et id non repellendus perspiciatis. Iusto quis illum et voluptates."], ["created_at", "2015-07-21 15:43:19.165259"], ["updated_at", "2015-07-21 15:43:19.165259"]]
3846
+  (0.7ms) commit transaction
3847
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]]
3848
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "ut_et_ab"]]
3849
+  (0.0ms) begin transaction
3850
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'ut_et_ab') LIMIT 1
3851
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "ut_et_ab"], ["title", "Deserunt dignissimos tempore"], ["content", "Dolorem natus enim qui id. Voluptatem consequuntur ratione. Esse maiores aut cum tempore. Voluptas veniam est minima ut eligendi.\nVoluptatem temporibus est ipsa velit dicta consequatur. Soluta non delectus. Voluptas suscipit rerum mollitia.\nOfficia sit natus nobis nesciunt ullam. Labore non aut natus unde. Quibusdam tempora quasi. Ea occaecati aliquid qui veritatis dolores."], ["version", 1], ["created_at", "2015-07-21 15:43:19.171519"], ["updated_at", "2015-07-21 15:43:19.171519"]]
3852
+  (0.7ms) commit transaction
3853
+  (0.0ms) begin transaction
3854
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 40 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
3855
+  (0.0ms) rollback transaction
3856
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 40]]
3857
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 40]]
3858
+  (0.0ms) begin transaction
3859
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "distinctio_facilis_rerum"], ["title", "Quia modi aliquid"], ["content", "Cupiditate ad fugiat incidunt. Excepturi maxime ratione aut et. At voluptatem sequi delectus molestiae.\nNulla expedita dolor blanditiis id aut. Neque aut molestias qui. Asperiores est aut rerum illo eaque.\nFacere libero similique eos consequatur nemo asperiores. Recusandae iste et tempora ducimus voluptate necessitatibus. Iure dolorem quis repudiandae. Aut iste facilis aut. Qui exercitationem dolor et quis."], ["created_at", "2015-07-21 15:43:19.178056"], ["updated_at", "2015-07-21 15:43:19.178056"]]
3860
+  (0.7ms) commit transaction
3861
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]
3862
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "distinctio_facilis_rerum"]]
3863
+  (0.0ms) begin transaction
3864
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 42 AND "fine_print_contracts"."name" = 'distinctio_facilis_rerum') LIMIT 1
3865
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]
3866
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-07-21 15:43:19.183932"], ["id", 42]]
3867
+  (0.8ms) commit transaction
3868
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "distinctio_facilis_rerum"]]
3869
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]
3870
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "distinctio_facilis_rerum"]]
3871
+  (0.1ms) begin transaction
3872
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 42]]
3873
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", nil], ["updated_at", "2015-07-21 15:43:19.190939"], ["id", 42]]
3874
+  (0.6ms) commit transaction
3875
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "velit_omnis_voluptas"]]
3876
+  (0.0ms) begin transaction
3877
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'velit_omnis_voluptas') LIMIT 1
3878
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "velit_omnis_voluptas"], ["title", "Necessitatibus voluptates quaerat"], ["content", "Atque illum praesentium odit quia. A temporibus sint sunt magnam. Itaque iure sequi. Corporis id enim nihil voluptatem eos quo vel. Beatae sit ipsa reprehenderit et quae velit ut.\nEos sit expedita itaque. Eum sapiente velit. Et et at eum quisquam eum et. Ullam consequatur suscipit. Nam accusamus quo vero recusandae delectus esse.\nCumque necessitatibus cum ipsum odio sint quia. Non cupiditate qui vel eius quibusdam cum. In illo et iure delectus saepe. Earum qui saepe quis recusandae dolorum. In nihil ut atque corporis et qui."], ["version", 1], ["created_at", "2015-07-21 15:43:19.197627"], ["updated_at", "2015-07-21 15:43:19.197627"]]
3879
+  (0.7ms) commit transaction
3880
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "velit_omnis_voluptas"]]
3881
+  (0.0ms) begin transaction
3882
+ SQL (0.1ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "velit_omnis_voluptas"], ["title", "Necessitatibus voluptates quaerat"], ["content", "Atque illum praesentium odit quia. A temporibus sint sunt magnam. Itaque iure sequi. Corporis id enim nihil voluptatem eos quo vel. Beatae sit ipsa reprehenderit et quae velit ut.\nEos sit expedita itaque. Eum sapiente velit. Et et at eum quisquam eum et. Ullam consequatur suscipit. Nam accusamus quo vero recusandae delectus esse.\nCumque necessitatibus cum ipsum odio sint quia. Non cupiditate qui vel eius quibusdam cum. In illo et iure delectus saepe. Earum qui saepe quis recusandae dolorum. In nihil ut atque corporis et qui."], ["created_at", "2015-07-21 15:43:19.200544"], ["updated_at", "2015-07-21 15:43:19.200544"]]
3883
+  (0.6ms) commit transaction
3884
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "velit_omnis_voluptas"]]
3885
+  (0.0ms) begin transaction
3886
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 2 AND "fine_print_contracts"."id" != 44 AND "fine_print_contracts"."name" = 'velit_omnis_voluptas') LIMIT 1
3887
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 44]]
3888
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 2], ["updated_at", "2015-07-21 15:43:19.204293"], ["id", 44]]
3889
+  (0.6ms) commit transaction
3890
+  (0.0ms) begin transaction
3891
+ SQL (0.3ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "omnis_error_et"], ["title", "Ut cumque quasi"], ["content", "Consequuntur minima asperiores omnis magni. Dignissimos voluptas aspernatur. Culpa aut est enim quia rerum. Hic vel adipisci consequatur sed. Aut vel perferendis eius.\nVelit in voluptatem. Ea est incidunt tempora praesentium. Nihil exercitationem eligendi accusamus. Modi tempore aut impedit necessitatibus est et. Saepe sunt non cupiditate iste nam omnis.\nEst culpa repellat maxime amet optio. Est quia est ut. Odit doloribus mollitia."], ["created_at", "2015-07-21 15:43:19.208446"], ["updated_at", "2015-07-21 15:43:19.208446"]]
3892
+  (0.6ms) commit transaction
3893
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "omnis_error_et"]]
3894
+  (0.0ms) begin transaction
3895
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'omnis_error_et') LIMIT 1
3896
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]
3897
+ SQL (0.2ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-07-21 15:43:19.212292"], ["id", 45]]
3898
+  (0.7ms) commit transaction
3899
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]
3900
+  (0.0ms) begin transaction
3901
+ FinePrint::Signature Exists (0.1ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE ("fine_print_signatures"."contract_id" = 45 AND "fine_print_signatures"."user_type" = 'DummyUser' AND "fine_print_signatures"."user_id" IS NULL) LIMIT 1
3902
+ SQL (0.1ms) INSERT INTO "dummy_users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-07-21 15:43:19.217610"], ["updated_at", "2015-07-21 15:43:19.217610"]]
3903
+ SQL (0.1ms) INSERT INTO "fine_print_signatures" ("contract_id", "user_type", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["contract_id", 45], ["user_type", "DummyUser"], ["user_id", 69], ["created_at", "2015-07-21 15:43:19.218422"], ["updated_at", "2015-07-21 15:43:19.218422"]]
3904
+  (0.6ms) commit transaction
3905
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]]
3906
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]
3907
+  (0.0ms) begin transaction
3908
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 45 AND "fine_print_contracts"."name" = 'omnis_error_et') LIMIT 1
3909
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]
3910
+  (0.0ms) rollback transaction
3911
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "omnis_error_et"]]
3912
+  (0.0ms) begin transaction
3913
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 45]]
3914
+  (0.0ms) rollback transaction
3915
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."id" = ? LIMIT 1 [["id", 45]]
3916
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iusto_repellendus_et"]]
3917
+  (0.1ms) begin transaction
3918
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."name" = 'iusto_repellendus_et') LIMIT 1
3919
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "version", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "iusto_repellendus_et"], ["title", "Optio soluta molestiae"], ["content", "Asperiores magnam perferendis. Non suscipit laudantium non aut. Porro doloremque nostrum consectetur.\nHic a ex harum. Non ullam sint temporibus alias beatae fuga dolor. Natus et aut a dignissimos non cumque magni. Culpa assumenda non sunt.\nEt maiores ex quo. Possimus qui magnam error dolores aut et. Qui eligendi reprehenderit. Eaque officia deserunt magni veniam."], ["version", 1], ["created_at", "2015-07-21 15:43:19.230187"], ["updated_at", "2015-07-21 15:43:19.230187"]]
3920
+  (0.9ms) commit transaction
3921
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "iusto_repellendus_et"]]
3922
+  (0.0ms) begin transaction
3923
+ SQL (0.2ms) INSERT INTO "fine_print_contracts" ("name", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "joe"], ["title", "Optio soluta molestiae"], ["content", "Asperiores magnam perferendis. Non suscipit laudantium non aut. Porro doloremque nostrum consectetur.\nHic a ex harum. Non ullam sint temporibus alias beatae fuga dolor. Natus et aut a dignissimos non cumque magni. Culpa assumenda non sunt.\nEt maiores ex quo. Possimus qui magnam error dolores aut et. Qui eligendi reprehenderit. Eaque officia deserunt magni veniam."], ["created_at", "2015-07-21 15:43:19.233824"], ["updated_at", "2015-07-21 15:43:19.233824"]]
3924
+  (0.8ms) commit transaction
3925
+ FinePrint::Contract Load (0.1ms) SELECT "fine_print_contracts".* FROM "fine_print_contracts" WHERE "fine_print_contracts"."name" = ? AND "fine_print_contracts"."version" IS NOT NULL ORDER BY "fine_print_contracts"."name" ASC, "fine_print_contracts"."version" DESC LIMIT 1 [["name", "joe"]]
3926
+  (0.1ms) begin transaction
3927
+ FinePrint::Contract Exists (0.1ms) SELECT 1 AS one FROM "fine_print_contracts" WHERE ("fine_print_contracts"."version" = 1 AND "fine_print_contracts"."id" != 47 AND "fine_print_contracts"."name" = 'joe') LIMIT 1
3928
+ FinePrint::Signature Exists (0.0ms) SELECT 1 AS one FROM "fine_print_signatures" WHERE "fine_print_signatures"."contract_id" = ? LIMIT 1 [["contract_id", 47]]
3929
+ SQL (0.1ms) UPDATE "fine_print_contracts" SET "version" = ?, "updated_at" = ? WHERE "fine_print_contracts"."id" = ? [["version", 1], ["updated_at", "2015-07-21 15:43:19.238272"], ["id", 47]]
3930
+  (0.7ms) commit transaction